This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Jail autostart problem with Headphones

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
rhettabutler
NewUser
NewUser
Posts: 4
Joined: 06 Mar 2014 15:32
Status: Offline

Jail autostart problem with Headphones

Post by rhettabutler »

I have one small problem. In Jail I sue the following command to start after jail is up:

Code: Select all

/usr/sbin/daemon -f -p python /mnt/Extensions/HeadPhones/Headphones.py --quiet
I use this in other jails, with appropriate path and file name, not problems. This one will not start. Any suggestions?

I can see via ssh

Code: Select all

root@HeadPhones:/mnt/Extensions/HeadPhones # python HeadPhones.py

Code: Select all

root@HeadPhones:/mnt/Extensions/HeadPhones # python HeadPhones.py
python: can't open file 'HeadPhones.py': [Errno 2] No such file or directory
root@HeadPhones:/mnt/Extensions/HeadPhones # python Headphones.py
23-Jun-2014 09:46:49 - INFO :: MainThread : Checking to see if the database has all tables....
23-Jun-2014 09:46:49 - INFO :: MainThread : Retrieving latest version information from GitHub
23-Jun-2014 09:46:50 - INFO :: MainThread : Headphones is up to date
23-Jun-2014 09:46:50 - INFO :: MainThread : Starting Headphones on http://0.0.0.0:8181/
and start it there without problem. Just cannot get it to autostart. I have it listed in User command 1 in jail settings.

Thanks for any help trouble shooting.

rhettabutler
NewUser
NewUser
Posts: 4
Joined: 06 Mar 2014 15:32
Status: Offline

Re: Jail autostart problem with Headphones

Post by rhettabutler »

I was able to get this working. I updated my Headphones.py file. It was not set to /usr/local/bin/python2.7. Working properly now.

If anyone needs help setting up SABnzbd, Sick Beard, Couch Potato or Head Phones all in jails on embedded install, just let me know will be glad to help and it has been fun figuring out how to make it all work in jails.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Jail autostart problem with Headphones

Post by raulfg3 »

rhettabutler wrote:and start it there without problem. Just cannot get it to autostart. I have it listed in User command 1 in jail settings.
try to use command 2 in jail, and use a fake command in command 1 like "pwd".

Some users reported that command 1 is not executed
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: Jail autostart problem with Headphones

Post by laster13 »

viewtopic.php?t=6885

Envoyé de mon Nexus 5 en utilisant Tapatalk

Post Reply

Return to “Jails”