Modify

Ticket #3878 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

read_file '/var/lib/zentyal-usercorner/conf/redis.passwd' - sysopen: Permission denied

Reported by: john@… Owned by: jamor@…
Milestone: 2.2.X Component: usercorner
Severity: normal Keywords:
Cc:

Description (last modified by jamor@…) (diff)

I was loading the Usercorner module and starting it.

Error

read_file '/var/lib/zentyal-usercorner/conf/redis.passwd' - sysopen: Permission denied

Trace

read_file '/var/lib/zentyal-usercorner/conf/redis.passwd' - sysopen: Permission denied at /usr/share/perl5/EBox/Config/Redis.pm line 825.

Attachments

zentyal.log Download (60.8 KB) - added by anonymous 16 months ago.
zentyal.log

Change History

Changed 16 months ago by anonymous

zentyal.log

comment:1 Changed 16 months ago by jamor@…

  • Component changed from base to usercorner
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to read_file '/var/lib/zentyal-usercorner/conf/redis.passwd' - sysopen: Permission denied

Hello John and thanks for your report,

could you paste hre the output of the following command?:

ls -l var/lib/zentyal-usercorner/conf/redis.passwd

Regards,

Javier

comment:2 Changed 16 months ago by john@…

Javier,

Here is the output of the requested command:

-rw-rw---- 1 ebox-usercorner ebox 10 2012-02-17 11:26 /var/lib/zentyal-usercorner/conf/redis.passwd

Thanks, John

comment:3 Changed 16 months ago by jamor@…

Hello John,

this permissions are correct. I think that maybe some of the directories that contain this file has wrong permissions.

The correct permissions are:

root@z22:~# ls -l /var/lib/zentyal-usercorner/conf/redis.passwd
-rw-rw---- 1 ebox-usercorner ebox 10 2012-01-20 14:27 /var/lib/zentyal-usercorner/conf/redis.passwd
root@z22:~# ls -ld /var/lib/zentyal-usercorner/conf
drwxr-xr-x 2 ebox-usercorner ebox-usercorner 4096 2012-01-20 14:32 /var/lib/zentyal-usercorner/conf
root@z22:~# ls -ld /var/lib/zentyal-usercorner
drwxr-xr-x 5 ebox-usercorner ebox-usercorner 4096 2012-01-20 14:32 /var/lib/zentyal-usercorner
root@z22:~# ls -ld /var/lib
drwxr-xr-x 64 root root 4096 2012-01-26 16:04 /var/lib

If some of the directories has incorrect permissions, set them to the shown values should correct the problem. However, if I am right, I don't know what had changed them. You remember any operation which could change them?.

Regards,

Javier

comment:4 Changed 16 months ago by jamor@…

  • Status changed from new to accepted

comment:5 Changed 16 months ago by john@…

  • Status changed from accepted to closed
  • Resolution set to fixed

Javier,

I did check the various directory permissions and found:

sysadmin@penguin:~$ sudo ls -ld /var/lib/zentyal-usercorner drwxr-x--- 6 ebox-usercorner ebox-usercorner 4096 2012-02-17 12:38 /var/lib/zentyal-usercorner

I do not know how the directory was created without the world read and execute permissions. I have made no changes to the directories or run any other applications that would have changed it.

I have changed the permissions for that directory and enabled world read and execute. Usercorner starts correctly now.

Thanks much for your help.

John

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.