Dear all,
I have a piratebox running on a TPLink WR842ND router. Everything had been working until one week ago when I could not access the http server, because the lighttpd server was not running.
The piratebox has been unable to start lighttpd ever since. I could easily have everyhing working again by reinstalling piratebox. However, it is the second time this has happened, and I would like to know what has been causing this problem. The first it happened to a TP-Link WR703N box.
I haven't been able to find log information that could pinpoint the cause of the problem.
Here are some information:
Router model : Tp-link WR842ND
OpenWRT: ATTITUDE ADJUSTMENT (12.09.2, r40431, V0.2)
Piratebox output:
root@2141530006545:~# /etc/init.d/piratebox start
Setting static PBx IP fdc0:ffea::1 to depricated
Starting script piratebox
Generating config for radvd..
Generating hosts file ....
Generating dnsmasq.conf .....
Generating Environment-config for ligttpd .....
Appending local node-name hosts entry 2141530006545.wifibible.lan
Empty tmp folder
rm: /opt/piratebox/tmp: is a directory
Starting dnsmasq...
0
Starting radvd...
0
Illegal instruction
Starting lighttpd...
0
------------------ Running /opt/piratebox/bin/hooks/hook_piratebox_start_done.sh ------------------
Generating json configuration file: /opt/piratebox/www/config.json
Howeverm no lighttpd running:
root@2141530006545:~# ps | grep lighttpd
1944 root 1492 S grep lighttpd
Log file:
root@2141530006545:~# cat /opt/piratebox/tmp/error.log
1970-01-01 00:04:18: (log.c.166) server started
1970-01-01 00:04:18: (server.c.968) WARNING: unknown config-key: url.access-deny (ignored)
Dmesg output:
[ 51.330000] br-lan: port 2(wlan0) entered forwarding state
[ 52.920000] Adding 32760k swap on /mnt/usb/external_fs/OpenWRT.swap. Priority:-1 extents:1 across:32760k
[ 254.860000] EXT4-fs error (device loop1): ext4_mb_generate_buddy:739: group 2, 3840 clusters in bitmap, 3846 in gd
[ 254.870000] JBD2: Spotted dirty metadata buffer (dev = loop1, blocknr = 1). There's a risk of filesystem corruption in case of system crash.
The 2 last lines of dmesg output were logged after I ran piratebox.
Has anyone face this kind of problem? Could anyone shed some light on it? I appreciate any help. Thanks
I have a piratebox running on a TPLink WR842ND router. Everything had been working until one week ago when I could not access the http server, because the lighttpd server was not running.
The piratebox has been unable to start lighttpd ever since. I could easily have everyhing working again by reinstalling piratebox. However, it is the second time this has happened, and I would like to know what has been causing this problem. The first it happened to a TP-Link WR703N box.
I haven't been able to find log information that could pinpoint the cause of the problem.
Here are some information:
Router model : Tp-link WR842ND
OpenWRT: ATTITUDE ADJUSTMENT (12.09.2, r40431, V0.2)
Piratebox output:
root@2141530006545:~# /etc/init.d/piratebox start
Setting static PBx IP fdc0:ffea::1 to depricated
Starting script piratebox
Generating config for radvd..
Generating hosts file ....
Generating dnsmasq.conf .....
Generating Environment-config for ligttpd .....
Appending local node-name hosts entry 2141530006545.wifibible.lan
Empty tmp folder
rm: /opt/piratebox/tmp: is a directory
Starting dnsmasq...
0
Starting radvd...
0
Illegal instruction
Starting lighttpd...
0
------------------ Running /opt/piratebox/bin/hooks/hook_piratebox_start_done.sh ------------------
Generating json configuration file: /opt/piratebox/www/config.json
Howeverm no lighttpd running:
root@2141530006545:~# ps | grep lighttpd
1944 root 1492 S grep lighttpd
Log file:
root@2141530006545:~# cat /opt/piratebox/tmp/error.log
1970-01-01 00:04:18: (log.c.166) server started
1970-01-01 00:04:18: (server.c.968) WARNING: unknown config-key: url.access-deny (ignored)
Dmesg output:
[ 51.330000] br-lan: port 2(wlan0) entered forwarding state
[ 52.920000] Adding 32760k swap on /mnt/usb/external_fs/OpenWRT.swap. Priority:-1 extents:1 across:32760k
[ 254.860000] EXT4-fs error (device loop1): ext4_mb_generate_buddy:739: group 2, 3840 clusters in bitmap, 3846 in gd
[ 254.870000] JBD2: Spotted dirty metadata buffer (dev = loop1, blocknr = 1). There's a risk of filesystem corruption in case of system crash.
The 2 last lines of dmesg output were logged after I ran piratebox.
Has anyone face this kind of problem? Could anyone shed some light on it? I appreciate any help. Thanks