OK, lets have a look around, first reboot the plug for a clean start, open
http://192.168.2.101/ using Windows Internet Explorer, and then....
tail -10 /var/log/lighttpd/error.log
tail -10 /var/log/lighttpd/access.log
tail -10 /var/log/messages
netstat -tapn
Thank, in order I've did the halt command and then removed the DreamPlug power cord, then I've reset minicom in Fedora and then I've plugged the power cord into the DreamPlug to perform the boot starting sequence then finally I'm logged into the Dreamplug.
From the booting stream I can see the DreamPlug network registration, here the snippet:
[CUT...]
Listening on LPF/eth0/f0:ad:4e:00:8e:15
Sending on LPF/eth0/f0:ad:4e:00:8e:15
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPOFFER from 192.168.2.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.2.1
bound to 192.168.2.101 -- renewal in 35244 seconds.
if-up.d/mountnfs[eth0]: waiting for interface eth1 before doing NFS mounts (war.
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/ [CUT...]
then after the boot end I'm logged in:
dreamplug-debian login: root
Password:
Last login: Tue Feb 7 09:19:43 UTC 2012 on ttyS0
Linux dreamplug-debian 2.6.33.6 #1 PREEMPT Tue Feb 8 03:18:41 EST 2011 armv5tel
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Now I've started Internet Explorer directly from my Windows XP machine (the machine that I'm using also to execute VirtualBOX and the Fedora Virtual Machine) and issued the command:
http://192.168.2.101IE return me a error, not able to show the page.
Now into the Fedora shell of the DreamPlug I wrote all the command that you have reported and into the reported sequence, here below the result:
dreamplug-debian:~# tail -10 /var/log/lighttpd/error.log
2012-02-06 19:11:51: (mod_fastcgi.c.1358) [ERROR]: spawning fcgi failed.
2012-02-06 19:11:51: (server.c.908) Configuration of plugins failed. Going down.
2012-02-07 09:19:29: (log.c.75) server started
2012-02-07 09:19:29: (mod_fastcgi.c.904) bind failed for: unix:/tmp/php.socket-0 Permission denied
2012-02-07 09:19:29: (mod_fastcgi.c.1358) [ERROR]: spawning fcgi failed.
2012-02-07 09:19:29: (server.c.908) Configuration of plugins failed. Going down.
2012-02-07 10:33:58: (log.c.75) server started
2012-02-07 10:33:58: (mod_fastcgi.c.904) bind failed for: unix:/tmp/php.socket-0 Permission denied
2012-02-07 10:33:58: (mod_fastcgi.c.1358) [ERROR]: spawning fcgi failed.
2012-02-07 10:33:58: (server.c.908) Configuration of plugins failed. Going down.
dreamplug-debian:~#
dreamplug-debian:~# tail -10 /var/log/lighttpd/access.log
dreamplug-debian:~# tail -10 /var/log/messages
Feb 7 10:34:03 dreamplug-debian kernel: Bluetooth: L2CAP ver 2.14
Feb 7 10:34:03 dreamplug-debian kernel: Bluetooth: L2CAP socket layer initialid
Feb 7 10:34:03 dreamplug-debian kernel: Bluetooth: RFCOMM TTY layer initialized
Feb 7 10:34:03 dreamplug-debian kernel: Bluetooth: RFCOMM socket layer initiald
Feb 7 10:34:03 dreamplug-debian kernel: Bluetooth: RFCOMM ver 1.11
Feb 7 10:34:03 dreamplug-debian kernel: Bluetooth: SCO (Voice Link) ver 0.6
Feb 7 10:34:03 dreamplug-debian kernel: Bluetooth: SCO socket layer initialized
Feb 7 10:34:03 dreamplug-debian kernel: Bluetooth: vendor=0x2df, device=0x91052
Feb 7 10:34:03 dreamplug-debian kernel: Bluetooth: BNEP (Ethernet Emulation) v3
Feb 7 10:34:03 dreamplug-debian kernel: Bridge firewalling registered
dreamplug-debian:~# netstat -tapn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State e
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:915 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::139 :::* LISTEN
tcp6 0 0 :::53 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::445 :::* LISTEN
dreamplug-debian:~#
Now I've also did a server stop and start and then read the error log, here below the result:
dreamplug-debian:~# date
Tue Feb 7 11:13:02 UTC 2012
dreamplug-debian:~# /etc/init.d/lighttpd stop
Stopping web server: lighttpd.
dreamplug-debian:~# /etc/init.d/lighttpd start
Starting web server: lighttpd.
dreamplug-debian:~# tail -10 /var/log/lighttpd/error.log
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mysqli.so' - /usr/lib/php5/20060613+lfs/mysqli.so0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo_mysql.so' - /usr/lib/php5/20060613+lfs/pdo_my0
2012-02-07 11:13:09: (server.c.1475) server stopped by UID = 0 PID = 2843
2012-02-07 11:13:12: (log.c.75) server started
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mysql.so' - /usr/lib/php5/20060613+lfs/mysql.so: 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mysqli.so' - /usr/lib/php5/20060613+lfs/mysqli.so0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo_mysql.so' - /usr/lib/php5/20060613+lfs/pdo_my0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mysql.so' - /usr/lib/php5/20060613+lfs/mysql.so: 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mysqli.so' - /usr/lib/php5/20060613+lfs/mysqli.so0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo_mysql.so' - /usr/lib/php5/20060613+lfs/pdo_my0
dreamplug-debian:~#
I've also attached the conf file taken from the DreamPlug by using the scp command.
scp root@192.168.2.101:/etc/lighttpd/lighttpd.conf .
for all beginner like to me this command retrieve the file at the path "/etc/lighttpd/lighttpd.conf" and copy it to the current directory on the machine where this command is being executed. Of course in my case the IP address of the DreamPlug was equal to 192.168.2.101.
Hope to be useful.
Thanks as usual!!
The Grinch