logo       

Re: Problem starting appWeb: msg#00273

misc.nslu2.linux

Subject: Re: Problem starting appWeb

I'ts normal to die when you log off if it was started by that shell.
In the next version 1.3.3 they added a flag -d to run as a deamon
 
I have no idea why is not working when restarting, at least is the process running ?
 
Corneliu

wettingus <walter_hollenstein-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx> wrote:

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< BR>
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 ]



Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!

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


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

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

News | FAQ | advertise