Well, the server started once.  I killed it and now I can't restart:

[EMAIL PROTECTED]:~/SlimServer_v6.1.1$ ./start.sh 
Out of memory!
Failed to start server -- no pid file 
(/home/moseley/SlimServer_v6.1.1/server.pid) found

I actually did the unthinkable and rebooted just to see if anything
was really odd.  There goes a year of uptime.

[EMAIL PROTECTED]:~/SlimServer_v6.1.1$ free
             total       used       free     shared    buffers     cached
Mem:        905892     253648     652244          0      12664     117048
-/+ buffers/cache:     123936     781956
Swap:       498004          0     498004


Here's my start script:

#!/bin/sh

CWD=$(pwd)
PIDFILE=$CWD/server.pid

./slimserver.pl --daemon \
    --audiodir      $HOME/music \
    --playlistdir   $HOME/playlists \
    --logfile       $CWD/server.log \
    --pidfile       $PIDFILE \
    "$@"

if [ ! -e $PIDFILE ]; then
    echo "Failed to start server -- no pid file ($PIDFILE) found"
    exit 0;
fi

PID=$(cat $PIDFILE)
echo "Started with pid $PID"


RUNNING=$(pidof slimserver)
echo "running pid is $RUNNING"





-- 
Bill Moseley
[EMAIL PROTECTED]

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to