Page 1 of 1

error with deb installer

Posted: 02 Sep 2015, 07:11
by bensz
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'

Re: error with deb installer

Posted: 02 Sep 2015, 12:58
by Madsonic
Hi there,

i can't reproduce your error with latest installer (build 5260), can you please supply more informations, like --> http://forum.madsonic.org/viewtopic.php?f=31&t=1521

Support Header --> http://forum.madsonic.org/viewtopic.php?f=62&t=1520

best regards,
Madevil

Re: error with deb installer

Posted: 08 Sep 2015, 19:34
by bensz
Hello,
Thanks for reply and sorry for my ugly bug report. Here I think I'll be better

Code: Select all

Version Madsonic 20150813_madsonic-5.1.5250.deb
Servlet Tomcat 7.0.28-4+deb7u2 install by apt-get
Server HP proliant DL120 G6 | memory 1GB | disk 3TB
OS debian wheezy up to date
Installer DEB
JAVA sur client openjdk-7-jre 7u79-2.5.6
Crash at install
Reproductible yes
Message
benoit@luckyluke:~$ sudo dpkg -i /home/zelec/divers_linux/20150813_madsonic-5.1.5250.deb
(Lecture de la base de données... 129934 fichiers et répertoires déjà installés.)
Préparation du remplacement de madsonic 5.1 (en utilisant .../20150813_madsonic-5.1.5250.deb) ...
Dépaquetage de la mise à jour de madsonic ...
update-rc.d: using dependency based boot sequencing
Paramétrage de madsonic (5.1) ...
update-rc.d: using dependency based boot sequencing
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'
benoit@luckyluke:~$

Thanks for reply
Benoit