Krisbee wrote: 
> 
> Is this simply a permissions problems?  Should all the files/dirs under 
> /opt  have an owner/group of  "root:root", or
> "squeezeboxserver:nogroup"?  My untar of 
> logitechmediaserver-7.7.2-noCPAN.tgz  resulted in odd values for
> owner/group of 201:201 and I wasn't sure what it should really be.  
> 

Everything in /opt should be owned by root:root. Programs are not
supposed to write anything there.

> 
> I need to fix this error before testing any initscript. 
> 

Not necessarily - your testing it this way is part of the problem (see
below).

> 
> If you created your own initscript is there any reason why can cannot
> use refs to the Logs, Plugin and perfs directories that exist under 
> /opt/logitechmediaserver-7.7.2-33893-noCPAN/?

There is a structure to a Unix filesystem (see 'here'
(http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)).
Runtime data goes to /var (that's why the squeezebox user gets
permissions to write there (the chown commands in my original post))

If you start slimserver.pl manually, you have make sure it runs as the
correct user (squeezeboxserver) and to pass the appropriate --prefsdir,
--logdir and --cachedir flags, otherwise it will try to write somewhere
(probably the current directory), which is not what you want (If you
start it with the init script, the script will take care of this). You
should also remove all stuff created in the /opt/logitech.../ directory
from your previous attempts.


btw, could you kindly refrain from randomly posting  to two different
threads - how about keeping everything related to building your own LMS
here...



[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (http://code.google.com/p/extgui4lms/) ]
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=99584

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to