Weird System Information sh

Mrak

Verified User
Joined
Oct 6, 2007
Messages
5
Just installed a clean DA 1.31.0 on VPS with Centos5 & Custombuild, php5,ap2.2,mysql5.

Logged into admin on DA and clicked "System Information" DA hangs and then reports that the request must have timed out. So okay i try again, same issue. Check top and see that for every time i tried it, it started a new sh process running as nobody that were all fighting for the processor.

It only seems to do this with the System Information page so it's not a huge issue for me as i can resist the temptation to click on it, but if anyone has had a similar issue to this and has solved it, or somebody wants to suggest something to fix it then it would be much appreciated.

M
 
Try running the same sh command from the command line, to see what errors, if any you get.

It's some kind of timeout problem, as DirectAdmin is telling you, but if you want to resolve it you'll need more information.

Jeff
 
So yeah, the command was

sh -c /usr/sbin/httpd -v and i get

(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

So i turn off apache try again, several more are showing up as processes now.

sh -c /usr/sbin/dovecot --version
sh -c /usr/sbin/exim -bV
sh -c /usr/sbin/exim -bV
sh -c /usr/sbin/named -v

All of them report some sort of error in the way they are being called. I'm not even running dovecot so i don't know why it would even bother running that version check

So yeah everything called like : sh -c causes some sort of error. if i do: /usr/sbin/httpd -v (without sh -c) then it responds fine.

So it's not passing -v to httpd or -bV to exim. So i guess my question is, where is the file that contains what direct admin runs so i can change it to ensure it does specify -v correctly.

Thanks
 
Last edited:
So yeah,

Any ideas anybody? I have no idea why it is trying to run them this way. Could somebody please give me some information as to where the pages in the direct admin web server are executed from so i can try to modify them.

Or suggest something else?

Mrak.
 
Are you somehow running code specific to DirectAdmin for one OS, on another?

Not that I now how to do that, but I don't know anything else that could cause it.

Have you contacted DirectAdmin support?

Jeff
 
I'm running the right OS for the direct admin license.

Contacted support, they have no idea what is up with it :/

I'm just so lost :/ I have tried everything i can think of.
 
Additional:

Direct Admin is running as nobody, if i change nobody in /etc/passwd to run as root then direct admin works fine.

Obviously it wouldn't be a good idea to leave it like this, so any ideas on what i can do now you have this information?

Mark
 
Mrak , today , i have same **** problem



Starting httpd: [Fri Nov 02 13:19:28 2007] [warn] module php5_module is already loaded, skipping
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
 
I have the same problem. This is a XEN VPS. I tried Fedora6 and CentOS5 ostemplates from HyperVM
 
Try:
Code:
killall exim
killall -9 exim
service httpd start
service exim start
 
Back
Top