error with deb installer
Posted: 02 Sep 2015, 07:11
Hello,
I want to install madsonic on my debian server but I have an error message. I saw the problem in the forum but I don't find the correcting script.
Thanks
benoit
benoit@luckyluke:~$ sudo service madsonic start
[sudo] password for benoit:
error: list of process IDs must follow -p
Usage:
ps [options]
Try 'ps --help <simple|list|output|threads|misc|all>'
or 'ps --help <s|l|o|t|m|a>'
for additional help text.
For more details see ps(1).
Usage: madsonic.sh [options]
--help This small usage guide.
--home=DIR The directory where Madsonic will create files.
Make sure it is writable. Default: /var/madsonic
--host=HOST The host name or IP address on which to bind Madsonic.
Only relevant if you have multiple network interfaces and want
to make Madsonic available on only one of them. The default value
will bind Madsonic to all available network interfaces. Default: 0.0.0.0
--port=PORT The port on which Madsonic will listen for
incoming HTTP traffic. Default: 4040
--https-port=PORT The port on which Madsonic will listen for
incoming HTTPS traffic. Default: 0 (disabled)
--context-path=PATH The context path, i.e., the last part of the Madsonic
URL. Typically '/' or '/madsonic'. Default '/'
--init-memory=MB The memory initial size (Init Java heap size) in megabytes.
Default: 192
--max-memory=MB The memory limit (max Java heap size) in megabytes.
Default: 384
--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 Madsonic to use this folder for music. This option
only has effect the first time Madsonic is started. Default '/var/media/artists'
--default-upload-folder=DIR Configure Madsonic to use this folder for music. This option
only has effect the first time Madsonic is started. Default '/var/media/incoming'
--default-podcast-folder=DIR Configure Madsonic to use this folder for Podcasts. This option
only has effect the first time Madsonic is started. Default '/var/media/podcast'
--default-playlist-import-folder=DIR Configure Madsonic to use this folder for playlist import. This option
only has effect the first time Madsonic is started. Default '/var/media/playlists/import'
--default-playlist-export-folder=DIR Configure Madsonic to use this folder for playlist export. This option
only has effect the first time Madsonic is started. Default '/var/media/playlists/export'
--default-playlist-backup-folder=DIR Configure Madsonic to use this folder for playlist backup. This option
only has effect the first time Madsonic is started. Default '/var/media/playlists/backup'
--timezone=Zone/City Configure Madsonic to use other timezone for time correction
Example 'Europe/Vienna', 'US/Central', 'America/New_York'
I want to install madsonic on my debian server but I have an error message. I saw the problem in the forum but I don't find the correcting script.
Thanks
benoit
benoit@luckyluke:~$ sudo service madsonic start
[sudo] password for benoit:
error: list of process IDs must follow -p
Usage:
ps [options]
Try 'ps --help <simple|list|output|threads|misc|all>'
or 'ps --help <s|l|o|t|m|a>'
for additional help text.
For more details see ps(1).
Usage: madsonic.sh [options]
--help This small usage guide.
--home=DIR The directory where Madsonic will create files.
Make sure it is writable. Default: /var/madsonic
--host=HOST The host name or IP address on which to bind Madsonic.
Only relevant if you have multiple network interfaces and want
to make Madsonic available on only one of them. The default value
will bind Madsonic to all available network interfaces. Default: 0.0.0.0
--port=PORT The port on which Madsonic will listen for
incoming HTTP traffic. Default: 4040
--https-port=PORT The port on which Madsonic will listen for
incoming HTTPS traffic. Default: 0 (disabled)
--context-path=PATH The context path, i.e., the last part of the Madsonic
URL. Typically '/' or '/madsonic'. Default '/'
--init-memory=MB The memory initial size (Init Java heap size) in megabytes.
Default: 192
--max-memory=MB The memory limit (max Java heap size) in megabytes.
Default: 384
--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 Madsonic to use this folder for music. This option
only has effect the first time Madsonic is started. Default '/var/media/artists'
--default-upload-folder=DIR Configure Madsonic to use this folder for music. This option
only has effect the first time Madsonic is started. Default '/var/media/incoming'
--default-podcast-folder=DIR Configure Madsonic to use this folder for Podcasts. This option
only has effect the first time Madsonic is started. Default '/var/media/podcast'
--default-playlist-import-folder=DIR Configure Madsonic to use this folder for playlist import. This option
only has effect the first time Madsonic is started. Default '/var/media/playlists/import'
--default-playlist-export-folder=DIR Configure Madsonic to use this folder for playlist export. This option
only has effect the first time Madsonic is started. Default '/var/media/playlists/export'
--default-playlist-backup-folder=DIR Configure Madsonic to use this folder for playlist backup. This option
only has effect the first time Madsonic is started. Default '/var/media/playlists/backup'
--timezone=Zone/City Configure Madsonic to use other timezone for time correction
Example 'Europe/Vienna', 'US/Central', 'America/New_York'