There is no log, presumably since I cannot even get the service started. I assume whatever line in /etc/init.d/subsonic is using the -p extension, it is expecting something to show up Below is the full text I receive when trying to start the subsonic service
- Code: Select all
Executing /etc/init.d/subsonic start ..
ERROR: List of process IDs must follow -p.
********* simple selection ********* ********* selection by list *********
-A all processes -C by command name
-N negate selection -G by real group ID (supports names)
-a all w/ tty except session leaders -U by real user ID (supports names)
-d all except session leaders -g by session OR by effective group name
-e all processes -p by process ID
T all processes on this terminal -s processes in the sessions given
a all w/ tty, including other users -t by tty
g OBSOLETE -- DO NOT USE -u by effective user ID (supports names)
r only running processes U processes for specified users
x processes w/o controlling ttys t by tty
*********** output format ********** *********** long options ***********
-o,o user-defined -f full --Group --User --pid --cols --ppid
-j,j job control s signal --group --user --sid --rows --info
-O,O preloaded -o v virtual memory --cumulative --format --deselect
-l,l long u user-oriented --sort --tty --forest --version
-F extra full X registers --heading --no-heading --context
********* misc options *********
-V,V show version L list format codes f ASCII art forest
-m,m,-L,-T,H threads S children in sum -y change -l format
-M,Z security data c true command name -c scheduling class
-w,w wide output n numeric WCHAN,UID -H process hierarchy
Usage: subsonic.sh [options]
--help This small usage guide.
--home=DIR The directory where Subsonic will create files.
Make sure it is writable. Default: /var/subsonic
--host=HOST The host name or IP address on which to bind Subsonic.
Only relevant if you have multiple network interfaces and want
to make Subsonic available on only one of them. The default value
will bind Subsonic to all available network interfaces. Default: 0.0.0.0
--port=PORT The port on which Subsonic will listen for
incoming HTTP traffic. Default: 4040
--https-port=PORT The port on which Subsonic will listen for
incoming HTTPS traffic. Default: 0 (disabled)
--context-path=PATH The context path, i.e., the last part of the Subsonic
URL. Typically '/' or '/subsonic'. Default '/'
--max-memory=MB The memory limit (max Java heap size) in megabytes.
Default: 100
--pidfile=PIDFILE Write PID to this file. Default not created.
--quiet Don't print anything to standard out. Default false.
--default-music-folder=DIR Configure Subsonic to use this folder for music. This option
only has effect the first time Subsonic is started. Default '/var/music'
--default-podcast-folder=DIR Configure Subsonic to use this folder for Podcasts. This option
only has effect the first time Subsonic is started. Default '/var/music/Podcast'
--default-playlist-folder=DIR Configure Subsonic to use this folder for playlists. This option
only has effect the first time Subsonic is started. Default '/var/playlists'
When I look at etc/init.d/subsonic, in the function that starts subsonic, you see the -p otpion being used, but this is where my linux knowledge fails me
- Code: Select all
#
# Function that starts the daemon/service
#
do_start()
{
# Return
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
if [ -e $PIDFILE ]
then
ps -p $(cat $PIDFILE) > /dev/null
[ "$?" = 0 ] && return 1
fi
touch $PIDFILE
chown $SUBSONIC_USER $PIDFILE
[ -e /var/subsonic ] && chown -R $SUBSONIC_USER /var/subsonic
[ -e /tmp/subsonic ] && chown -R $SUBSONIC_USER /tmp/subsonic
start-stop-daemon --start -c $SUBSONIC_USER --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS || return 2
}