PDA

View Full Version : Show Services problem


existenz
01-09-2004, 01:52 PM
The page that says Show Services says:

Process is stopped

for everything.

I know the services are NOT down but they show that they are. You can't do anything.

This happened after a reboot on my 5.1 box.

alpha
01-09-2004, 11:36 PM
you probably need to have add a line like this to /etc/fstab so that it will mount the procfs during boot time:

procfs /proc procfs rw 0 0

existenz
01-09-2004, 11:40 PM
Is that not included in the fstab by default?

DirectAdmin Support
01-10-2004, 01:18 PM
Hello,

The /proc procfs partition isn't mounted by default for FreeBSD 5.1... not too sure why, but as of about a week ago, the new installer should 1) add it to your /etc/fstab and 2) mount it for you.

John

existenz
01-10-2004, 02:58 PM
John,

I did a clean build and after rebooting the box that is what happened. I verfied that it was added to the procfs which it was.

Any other suggestions?

DirectAdmin Support
01-11-2004, 10:56 AM
Hello,

I think I found the cause. The /proc/1234 directories are chmodded 710, which means that a non-root user can't see whats in them. DA runs the status checker as "nobody", hence it can't find any running programs. I've upgraded the checking privilege to root for the next release, so that it works.

For now, just set all programs to "OFF" in the /usr/local/directadmin/data/admin/services.status file, so the dataskq doesn't try to restart them all every minute.

John