When I attempt to run ~/webapps/python_app/apache2/bin/restart most times it errors out with the message: sh: line 0: kill: (912065) - No such process Im pretty sure I can just kill the process manually but im not sure how to get the process ID properly. When I do a es -ef | grep username I get a number of processes but I am not sure which is correct one to kill. Any advice? asked 24 Sep '14, 18:55 leotemp |
This is just a side effect of the way our apache app "stop" script works. The script looks like this:
It basically looks for processes that contain "/home/username/webapps/app/apache2/conf/httpd.conf" and kills them as it finds them. If it kills your WSGI parent process first, then the children will sometimes die before the script kills them, which results in the "No such process" error message. This is, admittedly, not a great technique, but the error message is harmless. If it's causing problems for you, then you could replace your
Hope that helps! answered 24 Sep '14, 19:32 seanf Okay thanks Seanf. I'm attempting to get a static application to work correctly and I was sure i just needed to restart the app. So if I understand you correctly the app is being restarted the msg isn't something to worry about?
(24 Sep '14, 19:39)
leotemp
That's correct.
(24 Sep '14, 20:35)
seanf
|