Permission denied message when starting gfs2

Posted by sashang on Server Fault See other posts from Server Fault or by sashang
Published on 2011-01-14T01:30:43Z Indexed on 2011/01/14 1:55 UTC
Read the original article Hit count: 421

Filed under:
|
|

Can anyone please explain why I get this permission denied error? I try starting the script and it fails with a permission denied message. So I create a copy of it and run that instead and that works.

[root@node2 ~]# /etc/init.d/gfs2 stop
Unmounting GFS2 filesystem (/drbd):                        [  OK  ]
[root@node2 ~]# /etc/init.d/gfs2 start
Mounting GFS2 filesystem (/drbd): gfs_controld join connect error: Permission denied
error mounting lockproto lock_dlm
                                                       [FAILED]
[root@node2 ~]# cp /etc/init.d/gfs2 /etc/init.d/gfs2_test
[root@node2 ~]# /etc/init.d/gfs2_test start
Mounting GFS2 filesystem (/drbd):                          [  OK  ]
[root@node2 ~]#

[root@node2 ~]# ls -l /etc/init.d/gfs2*
-rwxr-xr-x. 1 root root 3365 Jan 15 12:11 /etc/init.d/gfs2
-rwxr-xr-x. 1 root root 3365 Jan 15 12:19 /etc/init.d/gfs2_test
[root@node2 ~]#

© Server Fault or respective owner

Related posts about linux

Related posts about init.d