Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
1294 posts
|
Centos 7
Dear Erman, how are you? I have a question on Linux permission. Striim is giving error: WA-100 : Unexpected Exception. Cause: Trying to recovery from file {cbs_cdr_voice_20211102_601_101_161779.add.gz} which is not found but file is present on disk. Striim is running as user striim. [root@RB-BIGD-STRIIM1 archive]# id striim uid=101(striim) gid=1(bin) groups=1(bin),10(wheel),100(users),1003(other) source # ls -ltr /data//CDR/inocs/voice/archive/cbs_cdr_voice_20211102_601_101_161779.a dd.gz -rw-r----- 1 inocs other 36140 Nov 2 17:44 /data//CDR/inocs/voice/arc hive/cbs_cdr_voice_20211102_601_101_161779.add.gz target server(striim) [root@RB-BIGD-STRIIM1 archive]# ls -ltr cbs_cdr_voice_20211102_601_101_161779.add.gz -rw-r-----+ 1 60075 bin 36140 Nov 2 17:44 cbs_cdr_voice_20211102_601_101_161779.add.gz Kindly advise why striim fails to recover from this file? Regards, Roshan |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
I am not an expert in Striim, but the file permissions seem so restrictive..
You may try adding some more permissions to the group-related part of the permissions and retry. Actually, target permissions seem okay.. However; as for the source, you didn't send me the output of the "id striim" command, so there may be some lack in the permissions.. In source, you have "other" for the group ownership, so check an eye on that. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Also check the permission of the file residing in the same directory.. The ones that Striim was able to use for doing the recovery, so compare them.. If everything (in terms of permission) seem identical, then you may have another problem, and that error may just be misleading.. So we got to check these as a whole.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
1294 posts
|
In reply to this post by ErmanArslansOracleBlog
Hi Erman,
thanks for the update. the id for user striim I sent you is on target(striim server). [root@RB-BIGD-STRIIM1 archive]# id striim uid=101(striim) gid=1(bin) groups=1(bin),10(wheel),100(users),1003(other) target server(striim) [root@RB-BIGD-STRIIM1 archive]# ls -ltr cbs_cdr_voice_20211102_601_101_161779.add.gz -rw-r-----+ 1 60075 bin 36140 Nov 2 17:44 cbs_cdr_voice_20211102_601_101_161779.add.gz source # ls -ltr /data//CDR/inocs/voice/archive/cbs_cdr_voice_20211102_601_101_161779.a dd.gz -rw-r----- 1 inocs other 36140 Nov 2 17:44 /data//CDR/inocs/voice/arc hive/cbs_cdr_voice_20211102_601_101_161779.add.gz Can you please advise how to add more permissions to the group related part? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
1294 posts
|
This post was updated on Nov 12, 2021; 3:25am.
In reply to this post by ErmanArslansOracleBlog
source does not have user striim.
I check the directory permissions. Files are actually located in the archive directory e.g /data/CDR/inocs/voice/archive drwxrwxr-x. 22 60075 101 34 Nov 6 19:04 inocs drwxr-xr-x+ 59 60093 bin 67 Nov 11 10:12 CDR drwxrwxrwx. 6 60075 101 42 Nov 12 07:05 voice drwxrwxrwx. 2 60075 101 396701 Nov 12 07:03 archive user striim does not have group 101. I noticed on source permission is -rwxrwxrwx 1 inocs other 32816 Nov 2 17:00 archive/cbs_cdr_voice_20211102_601_101_161251.add.gz while on target: -bash-4.2$ ls -ltr archive/cbs_cdr_voice_20211102_601_101_161251.add.gz -rwxrwxrwx. 1 60075 bin 32816 Nov 2 17:00 archive/cbs_cdr_voice_20211102_601_101_161251.add.gz |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Roshan, the outputs you provided doesn't help.
Please use the OS user that Striim uses to do its work and try to read those .gz files..(with zcat or something.. Dont unzip/extract them, just tryo to read their contents) If you can read them by going into the directory where they reside with the relevant OS user, then it means Striim should be able to read them and the problem is somewhere:) But if you can't read them, then we will modify the permissions.. In the mean time, if you have a direct question (related to OS user/group permissions) for me, please ask. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
1294 posts
|
Hi,
yes, Striim os user is able to read the files (gz). |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
5727 posts
|
Can it read the file both on source and target?
|
Free forum by Nabble | Edit this page |