FAQ  •  Register  •  Login

Problems manually starting and stopping server and console!

<<

freebo99

Serviio newbie

Posts: 7

Joined: Mon Jul 29, 2013 1:55 pm

Post Mon Jun 01, 2015 1:10 pm

Problems manually starting and stopping server and console!

RE: Problems manually starting and stopping server and console!

serviio worked great before i did the below with autostart and the console worked fine as well.

i have a slower iMac and i wanted to stop the server auto starting so, i asked on the forum and was told to..

http://wiki.serviio.org/doku.php?id=mac ... _autostart

serviio automatically starts on OSX after the system boots. To disable this behaviour, follow these steps:
1 open the daemon configuration in your favorite editor: /Library/LaunchDaemons/org.serviio.server.plist

2 disable autostart by changing <key>RunAtLoad</key>
3 <true/>
to 
<key>RunAtLoad</key>
4 <false/>

5 and save the file.

done...

then to start serviio

sudo launchctl load /Applications/Serviio-Console.app/Contents/Info.plist

but i got a error about dubious file when i did this so i had to..

sudo chown root /Library/LaunchDaemons/org.serviio.server.plist

then launchctl load seemed to work as no error appeared although nothing was confirmed that it had started but if i re did sudo launchctl load /Applications/Serviio-Console.app/Contents/Info.plist it said that it was already running, but non of my devices PC, iMac, mobile phone and TV could then not see that serviio was running.

so i.. rebooted. sudo launchctl unload /Library/LaunchDaemons/org.serviio.server.plist and sudo launchctl load /Library/LaunchDaemons/org.serviio.server.plist, still nothing worked so i tried to start serviio console it asks if is alright to allow connections clicked allow then just get error cannot connect to serviio server, it does not seem to be running. exiting.... and thats it

admin please would you help?!

thx
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jun 05, 2015 3:52 pm

Re: Problems manually starting and stopping server and conso

You're right, I've updated the wiki page with a different solution (you need to revert RunAtLoad to true)
<<

Cow

Serviio newbie

Posts: 1

Joined: Sun Aug 16, 2015 1:52 am

Post Sun Aug 16, 2015 1:57 am

Re: Problems manually starting and stopping server and conso

zip wrote:You're right, I've updated the wiki page with a different solution (you need to revert RunAtLoad to true)


Hi zip, I'm confused by those instructions on the wiki page.

Where would I put this code:

  Code:
<key>Disabled</key>
<true/>


Within this the rest of the code exactly? Does it go here like this? (see towards bottom)

  Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
   <dict>
       <key>StandardOutPath</key>
       <string>/var/log/serviio/serviio.log</string>
       <key>StandardErrorPath</key>
       <string>/var/log/serviio/serviio.log</string> 
       <key>KeepAlive</key>
       <false/>
       <key>Label</key>
       <string>org.serviio.server</string>
       <key>EnvironmentVariables</key>
       <dict>
         <key>SERVIIO_HOME</key>
         <string>/Library/Application Support/Serviio</string>
       </dict>
       <key>ProgramArguments</key>
        <array>
                <string>/bin/bash</string>
                <string>/Library/Application Support/Serviio/bin/serviio.sh</string>
        </array>
       <key>RunAtLoad</key>
       <true/>   
       <key>UserName</key>
      <string>root</string>
       <key>Disabled</key>
       <true/>

   </dict>
</plist>


Or does it goes somewhere else? Thank you. I just need to stop Serviio from running every time I restart my computer. I only need to run it on occasion, not every time I turn on my machine.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Aug 22, 2015 4:25 pm

Re: Problems manually starting and stopping server and conso

THis looks correct - does it work?
<<

GabrielLogan

Serviio newbie

Posts: 6

Joined: Fri Oct 02, 2015 1:37 pm

Post Sun Oct 04, 2015 7:32 pm

Re: Problems manually starting and stopping server and conso

zip wrote:THis looks correct - does it work?


With this
<key>Disabled</key>
<true/>

It doesn't work...

I have got this message when I start the console :
Cannot connect to Servo Server, it does not seem to be running. Exiting...

Any idea?

It would be great if the console start, and then we can start the server!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 05, 2015 8:32 am

Re: Problems manually starting and stopping server and conso

well yes, if you disable the server it will not start and you cannot start the console (it needs to connect to the server).

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 21 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.