logo       

Problem starting appWeb: msg#00271

misc.nslu2.linux

Subject: Problem starting appWeb



Dear all,


I am running V2.3R25-uNSLUng-standard-3.18-beta
having openssl, openssh and appWeb installed.

now I am facing the problem that I can start appWeb by running
/opt/etc/init.d/S81appweb from the command line and everything looks
fine.


ps shows /opt/sbin/appWeb -f etc/appWeb.conf running and I can access
the sample web page.

But as soon as I log off the telnet session the appWeb process is
terminated as well.

when rebooting the SLUG the startup script S81appweb is called (added
some logging in there), but appWeb is not started,
no errors, nothing....


this is my /opt/etc/init.d/S81appweb
-------------------------------------------
#!/bin/sh
/bin/echo "start S81appweb" >> /test.log

sleep 2
if [ -n "`pidof appWeb`" ]; then
/bin/killall appWeb 2>/dev/null
fi
sleep 2


cd /dev
rm /dev/random
ln -s /dev/urandom /dev/random

/bin/echo "call appweb" >> /test.log

cd /opt/var/appWeb

/opt/sbin/appWeb -f etc/appWeb.conf &

cd /
/bin/echo "end S81appweb" >> /test.log
sleep 2
-------------------------------------------





I am stuck.....

Walter








[ Moderator Note: All static information is slowly moving to the Wiki at
http://www.nslu2-linux.org ]


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise