Bekijk de volledige versie : how do I kill the port 80 web server?
does anyone know how I can stop the asus webserver?
I can kill it with 'kill...' but it instantly restarts
anyone?
I tried too, and had the same results. This is indeed very strange. The only thing I can think of is that the web server catches all signals and won't allow itself to be killed. I didn't even think that was possible... I thought a -9 always worked.
Maybe writing a script to send a fast series of killall's to httpd before it can register a signal handler might kill it?
- K.C.
Kill watchdog to kill restarts. For Oleg firmware I've wrote httpd patch that can move http to other port with setting httpd_lanport nvram variable.
Maybe attached patch will help you.
It isn't watchdog. Both of us have killed watchdog (killall -9 watchdog) and yet httpd still keeps springing back to life.
Watchdog was my first thought too...
- K.C.
costinel
16-01-2007, 22:24
It isn't watchdog. Both of us have killed watchdog (killall -9 watchdog) and yet httpd still keeps springing back to life.
Watchdog was my first thought too...
- K.C.
one could strace each existing process while webkilling and catch the one that re-launches the web server
strace is available via ipkg
I'm pretty sure it's relaunching itself. Try killing it in rapid succession. It died for me when I did this.
- K.C.
Change 80 port to another (8001 for example):
nvram set web_configuration_port=8001
nvram commit
and reboot router