Dear Max,<br><br>Many thanks for your help.<br><br>I don't get the same effect - now it just does not bind to *any* IP and does not produce any logs:<br><br><span style="font-family: courier new,monospace;">[root@trust1 log]# service tux stop
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Stopping tux:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
[root@trust1 log]# ps aux | grep tux</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">root      6617  0.0  0.0  5396  656 pts/0    S+   16:21   0:00 grep tux</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[root@trust1 log]# echo "<a href="http://83.223.121.93:80">http://83.223.121.93:80</a>" > /proc/net/tux/0/listen/0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[root@</span><span style="font-family: courier new,monospace;">trust1 log]# service tux start</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
Starting tux:                                              [  OK  ]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[root@trust1 log]# lynx <a href="http://83.223.121.93:80">
http://83.223.121.93:80</a></span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
Exiting via interrupt: 2 <span style="font-style: italic;">(did not work)</span></span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
[root@trust1 log]# tail /proc/net/tux/0/listen/0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">http:/</span><span style="font-family: courier new,monospace;">/83.223.121.93:80
</span><br><br>My netstat shows a very different output too:<br><br><span style="font-family: courier new,monospace;">[root@trust1 log]# netstat -lt</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
Active Internet connections (only servers)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Proto Recv-Q Send-Q Local Address               Foreign Address             State
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">tcp        0      0 *:835                       *:*                         LISTEN</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">tcp        0      0 *:sunrpc                    *:*                         LISTEN</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
tcp        0      0 *:10000                     *:*                         LISTEN</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">tcp        0      0 *:ftp                       *:*                         LISTEN
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">tcp        0      0 *:ipp                       *:*                         LISTEN</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">tcp        0      0 localhost.localdomain:smtp  *:*                         LISTEN</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
tcp        0      0 *:ssh                       *:*                         LISTEN</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[root@trust1 log]#</span><br style="font-family: courier new,monospace;">
<br>Many thanks for your continued help on this!<br><br>Alex<br><br>On 08/02/06, Max Helmet <<a href="mailto:max@expires-2004.workforce.de">max@expires-2004.workforce.de</a>> wrote:<br>> Hi Alex,<br>> <br>> You probably altered /proc/net/tux/0/listen/0 while TUX was running. I think
<br>> TUX needs to be stopped when you alter the file.<br>> <br>> I just tried the following, and it worked on my end:<br>> <br>> $ /etc/init.d/tux stop<br>> $ echo "<a href="http://192.168.0.198:8080">
http://192.168.0.198:8080</a>" > /proc/net/tux/0/listen/0<br>> $ /etc/init.d/tux start<br>> $ netstat -lt<br>> Active Internet connections (only servers)<br>> Proto Recv-Q Send-Q Local Address           Foreign Address         State
<br>> tcp        0      0 192.168.0.198:webcache  *:*                     LISTEN<br>> <br>> Regards,<br>> Maximilian<br>> <br>> > Dear Max,<br>> ><br>> > I want to run Tux on one IP to serve up soley static content (images
<br>> > and so on). I am under the impression that this will give me greater<br>> > performance than thttpd.<br>> ><br>> > I want to run Apache on another IP to server up PHP websites.<br>> >
<br>> > echo "<a href="http://x.x.x.x:80">http://x.x.x.x:80</a>" > /proc/net/tux/0/listen/0<br>> ><br>> > Indeed changes that file, but when I restart tux it is still listening<br>> > on all IP addresses bound to that server!
<br>> ><br>> > If I change the port it just ignores it and remains bound to port 80.<br>> ><br>> > With many thanks,<br>> ><br>> > Alex<br>> <br>> _______________________________________________
<br>> tux-list mailing list<br>> <a href="mailto:tux-list@redhat.com">tux-list@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/tux-list">https://www.redhat.com/mailman/listinfo/tux-list</a><br>
> <br><br><br>-- <br>Alex Davies // <a href="http://www.davz.net">http://www.davz.net</a><br><br>This email and any files transmitted with it are confidential and<br>intended solely for the use of the individual or entity to whom they
<br>are addressed. If you have received this email in error please notify<br>the sender immediately by e-mail and delete this e-mail permanently.<br><br>Contact me - MSN: <a href="mailto:a_davs@hotmail.com">a_davs@hotmail.com
</a> SKYPE: alex.davies<br>