Permission denied message when starting gfs2
- by sashang
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 ~]#