powered by Jive Software

Starting openfire: sh: /opt/openfire/logs/nohup.out: Permission denied

Dear All,

I found this error when running Openfire on my linux:

Starting openfire: sh: /opt/openfire/logs/nohup.out: Permission denied

Do you know why?

-Oki Bayu

Hi Oki,

I assume that you want to run Openfire as user “jive” while /op/openfire belongs to “root”. So “jive” can not create any files in “logs”. A simple “chmod” should fix this.

LG

Hello LG,

I was tried it with chmod and logon with root, but it still doesn’t work.

**[root@oki ~]# ls -al /opt/openfire/
total 192
**

drwxr-x— 10 daemon daemon 4096 Feb 23 00:41 .
drwx------ 3 root root 4096 Feb 22 22:25 …
drwxr-xr-x 2 daemon daemon 4096 Feb 23 00:41 bin
-rw-r–r-- 1 daemon daemon 120765 Jan 9 09:18 changelog.html
drwxr-xr-x 2 daemon daemon 4096 Feb 23 00:41 conf
drwxr-xr-x 4 daemon daemon 4096 Jan 9 09:18 documentation
drwxr-xr-x 4 daemon daemon 4096 Feb 23 00:41 jre
drwxr-xr-x 2 daemon daemon 4096 Feb 23 00:41 lib
-rw-r–r-- 1 daemon daemon 18329 Jan 9 09:18 LICENSE.html

drwxrwxr-- 2 daemon daemon 4096 Jan 9 09:18 logs
drwxr-xr-x 3 daemon daemon 4096 Feb 23 00:41 plugins
-rw-r–r-- 1 daemon daemon 5477 Jan 9 09:18 README.html
drwxr-xr-x 6 daemon daemon 4096 Jan 9 09:18 resources

Do you have any silutions?

Regards,

Oki Bayu.

For file /opt/openfire/logs/nohup.out, what is the stat (e.g. permissions, user/group)?

Hi,

I’ve tried to modify with the group : root on /opt folder

drwxr-xr-x 3 root root 4096 Feb 22 22:40 opt

And it’s work now!

Regards,

Oki Bayu.