Re: [SlimDevices: Plugins] [Announce] SlimNAS 0.9 Beta forSqueezeCenter 7.0

2008-04-12 Thread ceejayemm

Mine too is a FreeNAS FULL installation and I also find the .pid file is
left behind in /slimnas/var.  As I mentioned earlier I am also missing
the /slimnas/usr/www/services_slimserver_stop.php file which should run
when FreeNAS shuts down.  Could it be that this 'stop' file clears down
the .pid file and because its missing / not happening the .pid gets
left behind ?  With a FreeNAS 'embedded' version all of this would
happen in memory and so when an embedded version of FreeNAS shuts down
the .pid file goes automatically ?

Just some thoughts.

Chris


-- 
ceejayemm

ceejayemm's Profile: http://forums.slimdevices.com/member.php?userid=13296
View this thread: http://forums.slimdevices.com/showthread.php?t=40159

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] SlimNAS 0.9 Beta forSqueezeCenter 7.0

2008-04-09 Thread ceejayemm

I have upgraded my SC installation to the same as Michael's
(7.0.1-18530) and can now get FreeNAS to reliably restart SC on a
reboot or after a clean shutdown of the FreeNAS installation. However
if FreeNAS screws up its shutdown for some reason then on the next
clean start of FreeNAS I have to manually start SC but I don't have to
re-install it.

As part of the SlimNAS installation a startup and a shutdown command
are added to System: Advanced: Command scripts.  The shutdown script
(/usr/local/bin/php 
-f /mnt/Disk1/slimnas/usr/www/services_slimserver_stop.php) appears to
be missing from my installation of SlimNAS.  Could this be the problem
?  If during a clean shutdown or reboot could FreeNAS being doing
something that equates to a clean shutdown of SlimNAS but if the
shutdown gets screwed up  THEN it leaves SlimNAS in a 'damaged' state
until it is next manually restarted which cleans it up again ?

BTW - FreeNAS 0.69 is the latest FreeNAS installation builing on
FreeBSD 6.3 rather than FreeBSD 6.2 used for the earlier versions. 
Other than this problem with occasionally failing to restart, SlimNAS
works incredibly well on this version of FreeNAS as it has on previous
versions thanks to Michael's hard work and the improved facilities of
SqueezeCenter.  I get the impression that he is struggling a bit with
this problem but I am sure he will work it out in the end. Michael,
thanks very much for your efforts.

Chris


-- 
ceejayemm

ceejayemm's Profile: http://forums.slimdevices.com/member.php?userid=13296
View this thread: http://forums.slimdevices.com/showthread.php?t=40159

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] SlimNAS 0.9 Beta forSqueezeCenter 7.0

2008-04-08 Thread ceejayemm

Michael

I am getting exactly the same problem as your other users.  I am using
FreeNAS 0.69.3072 Full Installation, your latest SlimNAS install
scripts and the SC 7.0.1 NB 17914.  During the installation SlimNAS
will start up correctly but on a reboot of FreeNAS it fails to start. 
I have checked your previous comments about running Perl etc and cannot
see a problem here.  Out of desperation I took the startup command line
and ran it from a console session, here's what happened:

freenas:~# usr/local/bin/php -f 
/mnt/Disk1/slimnas/usr/www/services_slimserver_init.php
usr/local/bin/php: Command not found.

If I check the directory for php it is there:

freenas:~# ls -lrt /usr/local/bin/php
-r-xr-xr-x  1 root  wheel  3162956 Mar 24 09:01 /usr/local/bin/php

However services_slimserver.php from the same directory does run (with
errors) but it does at least try to run:

freenas:~# /usr/local/bin/php -f 
/mnt/Disk1/slimnas/usr/www/services_slimserver.php

Fatal error: Cannot redeclare slimserver_configure() (previously
declared in 
/mnt/Disk1/slimnas/usr/www/functions.inc:3) in
/usr/local/www/ext/slimserver/functions.inc on line 13

A full list of /mnt/Disk1/slimnas/usr/www gives:

freenas:~# ls -lrt /mnt/Disk1/slimnas/usr/www
total 34
-rwxrwxrwx  1 www   wheel   201 Jan 23  2007
services_slimserver_init.php
-rw-rw-rw-  1 1002  wheel   101 Nov 11 15:33 menu.inc
-rwxrwxrwx  1 www   wheel  6631 Dec 14 11:43 services_slimserver.php
-rwxrw-rw-  1 ftp   wheel   468 Mar 17 07:59
services_slimserver_logfile.php
-rwxrwxrwx  1 www   wheel  2776 Mar 17 08:04
services_slimserver_maintenance.php
-rw-rw-rw-  1 1002  wheel  5361 Mar 17 08:32 lang.inc
-rw-rw-rw-  1 1002  wheel  7412 Mar 17 08:36 functions.inc
drwxrwxrwx  3 www   wheel   512 Mar 27 13:10 par-www

Does this help at all ?

Chris


-- 
ceejayemm

ceejayemm's Profile: http://forums.slimdevices.com/member.php?userid=13296
View this thread: http://forums.slimdevices.com/showthread.php?t=40159

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins