restart service

gate2vn

Verified User
Joined
Nov 9, 2004
Messages
483
Location
Oslo
After ddosing, the httpd and vm-pop3d are dead. I hav tried to restart by
service httpd restart
service vm-pop3d restart

but they keep FAILED. The results are always
Stopping..... FAILED
Starting..... OK

checking in /var/log/messages
Apr 26 16:36:02 mercury vm-pop3d: vm-pop3d shutdown succeeded
Apr 26 16:36:02 mercury vm-pop3d: vm-pop3d startup succeeded
Apr 26 16:36:05 mercury vm-pop3d: vm-pop3d shutdown succeeded
Apr 26 16:36:05 mercury vm-pop3d: vm-pop3d startup succeeded
Apr 26 16:36:13 mercury vm-pop3d: vm-pop3d shutdown failed
Apr 26 16:36:13 mercury vm-pop3d: vm-pop3d startup succeeded


Is there any idea that I can bring services back? Of course, if I reboot server, everything is ok

thanks
 
Possibly try this:

service httpd stop
killall -9 httpd stop
service vm-pop3d stop
killall vm-pop3d stop
killall -9 vm-pop3d stop
service httpd start
service vm-pop3d start

And for extra credit :) can anyone tell me why I suggest what I do, and in that specific order?

Jeff
 
hmm.... I think I have tried killall already. anyway, will try if it happens again

thanks
 
killall is not the same as killall -9

killall will tell the processes nicely to shut down.

killall -9 won't give them any option.

The services may not be starting up properly if some instances of them are still running.

Jeff
 
Back
Top