Bekijk de volledige versie : why php-thttpd can't up?
sharkman2008cn
07-11-2007, 01:54
reference by http://www.macsat.com/macsat/content/view/23/29/
when i install it ok!
which is php-thttpd threaded? http://192.168.1.1:81/ can't open web !
[admin@(none) etc]$ cat thttpd.conf
dir=/opt/share/www
port=81
user=nobody
nochroot
nosymlink
novhost
logfile=/opt/var/log/thttpd.log
# Please do not edit pidfile path at it is use to kill thttpd process during init
pidfile=/opt/var/run/thttpd.pid
my english is poor thx for reply!
Check if all services are started.
You really should try to give more info.
maybe you have to put 'index.php' or something similar behind the slash?
sharkman2008cn
08-11-2007, 08:38
$ps:
[admin@shark log]$ ps
PID Uid VmSize Stat Command
1 admin 688 S /sbin/init
2 admin SW [keventd]
3 admin SWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
59 admin 308 S telnetd
64 admin 376 S httpd vlan1
71 admin 368 S klogd
72 nobody 444 S dnsmasq
73 admin 400 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
74 admin SW [khubd]
83 admin 276 S lpd
85 admin 260 S p9100d -f /dev/usb/lp0 0
88 admin 340 S waveservermain
90 admin 344 S rcamdmain
94 admin SW [usb-storage-0]
95 admin SW [scsi_eh_0]
101 admin 692 S pppd file /tmp/ppp/options.wan0
103 admin 320 S infosvr br0
104 admin 464 S watchdog
106 admin 340 S ntp
113 admin SW [kjournald]
131 admin 392 S /opt/sbin/cron
137 admin 620 S /opt/sbin/xinetd
145 admin 1008 S /usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/et
147 admin 996 S /usr/sbin/nmbd -D -n shark -o -l /tmp -s /opt/etc/sam
150 admin 480 S dropbear
163 admin 452 S upnp -D -L br0 -W ppp0
165 admin 748 S dropbear
166 admin 576 S -sh
167 admin 556 S -sh
183 admin 880 S nano thttpd.conf
186 admin 1248 S /usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/et
187 admin 404 R ps
i start it by manual
[admin@shark init.d]$ /opt/etc/init.d/S80thttpd start
Starting thttpd... /opt/sbin/thttpd: can't load library 'libiconv.so.2'
done
how can i do?thx!
sharkman2008cn
08-11-2007, 10:51
[admin@shark init.d]$ ipkg install libiconv
Installing libiconv (1.11-2) to root...
Downloading
http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/libiconv_1
.11-2_mipsel.ipk
Configuring libiconv
Successfully terminated.