Project

General

Profile

lighttpd not responding after copying the setup files across device

Added by harshasrisri over 11 years ago

Hi,
I have two i386 embedded boards running customized Linux. The vendor provided lighttpd installed along with the OS in an older version (say, X). However, OS image was updated and the new version (say, Y) doesn't contain lighttpd installed. It also has some minor hardware changes, but its just some peripheral and none related to the processor or the board as such.

I am just getting started with these boards and do not want to put in too much time to cross compile lighttpd. So, i just copied all files starting as "light*" from device X to device Y. This included all the files in the document-root directory as well.

I can start the daemon on device Y with the command
lighttpd -f /etc/lighttpd.conf
and I can see the command respond saying that the server has started running.

However, when I try to connect to the device by pointing the browser to its IP address (static), it is timing out the connection.

I am just getting started with lighttpd (and webservers in general). The information given here may be very inadequate. I can provide any details about either devices or the setup, that I can find.

It would be greatly helpful if anyone could point out what I am doing wrong.


Replies (1)

RE: lighttpd not responding after copying the setup files across device - Added by kiran over 11 years ago

If you have access to terminal just check if lighttpd is running at the indended port( assuming 80)

ps aux | grep  lighttpd
netstat -plan | grep lighttpd
OR
netstat  | grep lighttpd

If all are showing proper output. Then test that port locally using telnet.

telnet localhost 80

If this is connecting, then use wget to see the index page

wget -O- http://localhost

If this also works, then the issue is with your networking.

Check if you can ping/telnet the device from outside using the device's IP address.

Kiran

    (1-1/1)