[prev in list] [next in list] [prev in thread] [next in thread] 

List:       thttpd
Subject:    Re: [THTTPD] thttpd query
From:       Alex King <alex () king ! net ! nz>
Date:       2003-08-17 20:26:32
[Download RAW message or body]

try:

usr/sbin/thttpd -D -C /etc/thttpd.conf

in your inittab.

The -D will stop thttpd going into the background, and init will not
think it has died and start another every second.

Alex

On Sun, Aug 17, 2003 at 10:44:32AM +0100, tag wrote:
> I am running thttpd on a small embedded install.  I have compiled it 
> with uClibc.  thttpd is basically working.  With a test.html page in 
> /home/httpd/html, I can view the page from another computer.
> 
> However, with thttpd started using inittab (respawn:/usr/sbin/thttpd -C 
> /etc/thttpd.conf), I get the following messages in my /var/log/messages 
> file:
> 
> daemon.info init: Starting pid 135, console /dev/tty1: '/usr/sbin/thttpd'
> daemon.crit thttpd[137]: bind 0.0.0.0 - Address already in use
> daemon.info init: Process 'usr/sbin/thttpd -C /etc/thttpd.conf' pid 135 
> exited.  Scheduling it for restart.
> 
> These messages appear every second, as the respawn command in my inittab 
> restarts a thttpd process.
> 
> What could cause this sort of problem?
> 
> The procedure I have used to build thttpd is ./configure followed by 
> make.  I then copy the thttpd executable to my target hardware along 
> with a thttpd.conf file.  Maybe I need to do something else too?
> 
> 
> 
> 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic