Help - Search - Members - Calendar
Full Version: check status, touch initiated?
The Planet Forums > System Administration > Other
DragonSmoke
I usually don't do much unless SU, but when I went to check on status after a reboot in admin I received the following.

[admin@secure ~]$ /etc/rc.d/init.d/httpd status
/bin/touch: cannot touch `/var/lock/qsvc/httpd': Permission denied
httpd is stopped
[admin@secure ~]$ /etc/rc.d/init.d/httpd status
/bin/touch: cannot touch `/var/lock/qsvc/httpd': Permission denied
httpd (pid 5088) is running...
/bin/rm: cannot remove `/var/lock/qsvc/httpd': Permission denied
[admin@secure ~]$

Never came across this message before. Any suggestions?
James Jhurani
QUOTE (DragonSmoke @ Nov 24 2007, 03:10 PM) *
I usually don't do much unless SU, but when I went to check on status after a reboot in admin I received the following.

[admin@secure ~]$ /etc/rc.d/init.d/httpd status
/bin/touch: cannot touch `/var/lock/qsvc/httpd': Permission denied
httpd is stopped
[admin@secure ~]$ /etc/rc.d/init.d/httpd status
/bin/touch: cannot touch `/var/lock/qsvc/httpd': Permission denied
httpd (pid 5088) is running...
/bin/rm: cannot remove `/var/lock/qsvc/httpd': Permission denied
[admin@secure ~]$

Never came across this message before. Any suggestions?


Your using the user admin... su to root and try it... If the same problem occurs move the lock file (eg: mv /var/lock/qsvc/httpd /var/lock/qsvc/httpd.old) then restart httpd, and try status again.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.