FAQ  •  Register  •  Login

Servo 1.9.1 not launching on OS X 10.8.5

<<

letaage

Serviio newbie

Posts: 5

Joined: Tue Feb 20, 2018 11:27 pm

Post Wed Feb 21, 2018 12:04 am

Servo 1.9.1 not launching on OS X 10.8.5

Hi everyone,

I have a Mac Mini (2.4GHz Intel Core 2 Duo, 4GB RAM, 10GB free space) and I want to install Serviio on it. It is running OS X 10.8.5, which should meet the minimum requirements.

I am having major problems, it doesn't seem to launch at all. I cannot connect to the console (http://localhost:23423/console) on the Mac I installed it on, I just get an error that Safari couldn't connect to it.

So I tried to check the log files and first found that the log directory (/var/log/serviio) hadn't been created by the installer so I manually created it, then restarted the Serviio service.

Now I get a log file but it is empty, 0 bytes.

I tried turning on detailed logging as instructed in this forum, but still the log file remains empty. I even tried to set the permissions on the log file to 777 but it still remains empty after I stop and restart the service.

Running "sudo lsof -i -P | grep LISTEN" does not list anything at port 23423 etc (nothing above port 13649).

Looking at the system logs I see errors associated with times when I stop and start the Serviii service:

  Code:
21/02/18 10:17:17.832 AM sudo[13763]:      tom : TTY=ttys000 ; PWD=/Library/Application Support/Serviio/config ; USER=root ; COMMAND=/bin/launchctl load -F /Library/LaunchDaemons/org.serviio.server.plist
21/02/18 10:17:21.968 AM ReportCrash[13772]: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled.
21/02/18 10:17:22.400 AM ReportCrash[13772]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
21/02/18 10:17:22.400 AM ReportCrash[13772]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
21/02/18 10:17:22.400 AM ReportCrash[13772]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
21/02/18 10:17:22.400 AM ReportCrash[13772]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
21/02/18 10:17:22.400 AM ReportCrash[13772]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
21/02/18 10:17:22.400 AM ReportCrash[13772]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
21/02/18 10:17:22.400 AM ReportCrash[13772]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
21/02/18 10:17:22.400 AM ReportCrash[13772]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
21/02/18 10:17:22.400 AM ReportCrash[13772]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
21/02/18 10:17:22.401 AM ReportCrash[13772]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
21/02/18 10:17:22.465 AM AppleIDAuthAgent[13074]: SERVER Removing certificate for Apple ID "le...ge@?????.???" dsID="34447373762b46447a6849616f316373736c434b6a413d3d" because it has expired or been revoked. (renewCertificateForAccount()/AppleIDAuthd.cpp #143) accountCheckDispatch
21/02/18 10:17:22.872 AM ReportCrash[13772]: Saved crash report for ffmpeg[13771] version 0 to /Library/Logs/DiagnosticReports/ffmpeg_2018-02-21-101722_slim.crash


It looks like ffmpeg is crashing, the log file is attached.

Any ideas where to from here?

Please don't tell me that OS X 10.8.5 isn't supported :( ! I can update the OS on the Mac Mini if necessary but it would be a lot of work as it hosts a lot of other services...

I have my suspicions that this is the root of the problem, as the Serviio-Console application says it requires 10.9....

Any help would be appreciated
Attachments
ffmpeg_2018-02-21-101722_slim.crash.log
ffmpg crash log
(30.83 KiB) Downloaded 248 times
<<

letaage

Serviio newbie

Posts: 5

Joined: Tue Feb 20, 2018 11:27 pm

Post Wed Feb 21, 2018 12:43 am

Re: Servo 1.9.1 not launching on OS X 10.8.5

Ok, so I have done some experimenting and seem to have got it working....

I renamed the copy of ffmpeg included with Serviio and replaced it with a symbolic link to the version of ffmpeg installed from macports, then restarted the Serviio service:

  Code:
cd /Library/Application Support/Serviio/lib
sudo mv ffmpeg ffmpeg.dist
sudo ln -s /opt/local/bin/ffmpeg ffmpeg
sudo launchctl unload /Library/LaunchDaemons/org.serviio.server.plist
sudo launchctl load -F /Library/LaunchDaemons/org.serviio.server.plist


And now I can get to the Serviio console and media browser pages in my browser and I have streamed some test videos to my Sony Bravia TV, so it appears to be working...

So obviously there is some incompatibility with the version of ffmpeg included with Serviio and either OS X 10.8.5 or perhaps just my specifically Mac.

Can you think of any reasons that above fix won't work? Obviously the link will get blown away if I reinstall or upgrade, are there ffmpeg patches specific for Serviio that I'll be missing?

I am waiting for Serviio to scan my media library, then I'll see if I encounter any other problems...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Feb 21, 2018 10:03 am

Re: Servo 1.9.1 not launching on OS X 10.8.5

is that a 64-bit OS/MAC? this ffmpeg is 64 bit binary.
<<

letaage

Serviio newbie

Posts: 5

Joined: Tue Feb 20, 2018 11:27 pm

Post Thu Feb 22, 2018 6:00 am

Re: Servo 1.9.1 not launching on OS X 10.8.5

As far as I am aware the machine is 64-bit and so is the OS

  Code:
slim:~ tom$ uname -a
Darwin slim.local 12.6.0 Darwin Kernel Version 12.6.0: Wed Mar 18 16:23:48 PDT 2015; root:xnu2050.48.19~1/RELEASE_X86_64 x86_64
slim:~ tom$
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Feb 22, 2018 2:24 pm

Re: Servo 1.9.1 not launching on OS X 10.8.5

so if you run

  Code:
ffmpeg -i


on the original ffmpeg, does that crash?
<<

letaage

Serviio newbie

Posts: 5

Joined: Tue Feb 20, 2018 11:27 pm

Post Thu Feb 22, 2018 9:14 pm

Re: Servo 1.9.1 not launching on OS X 10.8.5

Just tried it and it doesn't work. Note that I have renamed the original version ffmpeg.dist:

  Code:
slim:lib tom$ pwd
/Library/Application Support/Serviio/lib
slim:lib tom$ ./ffmpeg.dist -i
dyld: Symbol not found: _kVTCompressionPropertyKey_H264EntropyMode
  Referenced from: /Library/Application Support/Serviio/lib/./ffmpeg.dist
  Expected in: /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
 in /Library/Application Support/Serviio/lib/./ffmpeg.dist
Trace/BPT trap: 5
slim:lib tom$


For what it is worth, everything seems to work with the version from macports, for the limited testing I have done so far.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 64 guests

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