[HOWTO] Install Serviio in Freenas 8.0.x

Status
Not open for further replies.

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Error retrieving library update status: communication Error (1001) - Connection refused: connect
Error retrieving library update status: communication Error (1001) - No route to host: connect.

Can you ping the IP address of the jail from your PC that is running the console? If you can, then check that you don't have a firewall blocking the port for Serviio (not sure what port that is).
 

parks853

Dabbler
Joined
Jul 26, 2011
Messages
36
Can you ping the IP address of the jail from your PC that is running the console? If you can, then check that you don't have a firewall blocking the port for Serviio (not sure what port that is).

I can ping the jail address, I opened the following ports on the router previously: UPD 1900 and TCP 8895, 23423.

edit - not sure why I opened the ports on my router, must have been desperation. However, they should be opened on the firewall of the machine that is running serviio-console.
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
opened the following ports on the router previously: UPD 1900 and TCP 8895, 23423.

Those ports seem familiar, but opening the ports on your router won't help if your PC and FreeNAS are on the same local network, as well as the DVD/TV I think you mentioned. Problems like this drive me crazy because I know it's gotta be something easy, but trying to diagnose it like this adds a level of difficulty.

What happens if you put the IP address for the Jail in this "http://10.0.1.150:23423/rest/application" and put it in your browser?

Inside the jail, what are the owner/permissions of your media files in /usr/local/MEDIA ?
 

parks853

Dabbler
Joined
Jul 26, 2011
Messages
36
Those ports seem familiar, but opening the ports on your router won't help if your PC and FreeNAS are on the same local network, as well as the DVD/TV I think you mentioned. Problems like this drive me crazy because I know it's gotta be something easy, but trying to diagnose it like this adds a level of difficulty.

What happens if you put the IP address for the Jail in this "http://10.0.1.150:23423/rest/application" and put it in your browser?

Inside the jail, what are the owner/permissions of your media files in /usr/local/MEDIA ?

If I go to http://10.0.1.150:23423/rest/application the page shows a XML file listing the version number of serviio.
I have a directory /usr/local/serviio-0.6.0.1/MEDIA and the files inside are root:admin 775

You're not running Spybot S&D are you?

I'm not using Spybot.
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
If I go to http://10.0.1.150:23423/rest/application the page shows a XML file listing the version number of serviio.
I have a directory /usr/local/serviio-0.6.0.1/MEDIA and the files inside are root:admin 775

That all sounds good. I think if you can get XBMC to see Serviio, the rest should work. I don't know, *maybe* starting from scratch will have better results, it seems so close though.
 

Hi-Liter

Explorer
Joined
Oct 6, 2011
Messages
83
Thanks for the great tutorial! I'm using Freenas 8.0.2 and downloaded your 64bit installation files. Everything seems to be running, I can ping the jail from my PC, but when I try to start the Serviio console, it can't connect to the server. Here's the console log file:
Code:
2011-10-31 15:31:58,251 INFO  [ServiioConsole] Starting Serviio Console
2011-10-31 15:31:58,329 INFO  [ServiioConsole] Connecting to Serviio REST on 192.168.178.98:23423
2011-10-31 15:32:05,786 WARN  [ServiioConsole] Cannot connect to the server to get DB initialization info
2011-10-31 15:32:12,993 WARN  [ServiioConsole] Cannot connect to server: Communication Error (1001) - Connection refused: connect
2011-10-31 15:32:13,071 INFO  [Messages] Loaded console message bundle for locale: en
2011-10-31 15:32:20,216 WARN  [ServiioConsole] Cannot connect to server: Communication Error (1001) - Connection refused: connect
2011-10-31 15:35:30,642 INFO  [ServiioConsole] Leaving Serviio Console


The server seems to be running though, here's the server log:
Code:
2011-10-31 07:26:58,498 INFO  [MediaServer] ------------------------------------------------------------------------
2011-10-31 07:26:58,500 INFO  [MediaServer] Serviio DLNA media streaming server v 0.6.0.1 (rev. 8e4ee98bff12)
2011-10-31 07:26:58,500 INFO  [MediaServer] Petr Nejedly 2009-2011
2011-10-31 07:26:58,500 INFO  [MediaServer] http://www.serviio.org
2011-10-31 07:26:58,500 INFO  [MediaServer] 
2011-10-31 07:26:58,500 INFO  [MediaServer] Java 1.6.0_07-The FreeBSD Foundation
2011-10-31 07:26:58,500 INFO  [MediaServer] OS FreeBSD amd64 8.2-RELEASE-p3
2011-10-31 07:26:58,501 INFO  [MediaServer] File encoding: ISO-8859-1
2011-10-31 07:26:58,501 INFO  [MediaServer] Headless mode enabled: true
2011-10-31 07:26:58,502 INFO  [MediaServer] User home dir: /root
2011-10-31 07:26:58,502 INFO  [MediaServer] Temp dir: /var/tmp/
2011-10-31 07:26:58,502 INFO  [MediaServer] ------------------------------------------------------------------------
2011-10-31 07:26:58,752 INFO  [RestletServer] Starting Restlet server exposed on 192.168.178.98:23423
2011-10-31 07:26:58,865 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2011-10-31 07:27:01,865 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2011-10-31 07:27:02,834 INFO  [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2011-10-31 07:27:03,292 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2011-10-31 07:27:03,560 INFO  [ProfilesDefinitionParser] Added profile 'XBox 360' (id=3)
2011-10-31 07:27:03,796 INFO  [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2011-10-31 07:27:03,996 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2011-10-31 07:27:04,191 INFO  [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2011-10-31 07:27:04,635 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D-series)' (id=7)
2011-10-31 07:27:04,715 INFO  [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2011-10-31 07:27:05,275 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV' (id=9)
2011-10-31 07:27:06,191 INFO  [ProfilesDefinitionParser] Added profile 'Sony BD Player' (id=10)
2011-10-31 07:27:06,656 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera' (id=12)
2011-10-31 07:27:06,995 INFO  [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2011-10-31 07:27:07,092 INFO  [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2011-10-31 07:27:07,144 INFO  [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2011-10-31 07:27:07,309 INFO  [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2011-10-31 07:27:07,387 INFO  [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2011-10-31 07:27:07,566 INFO  [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2011-10-31 07:27:08,226 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV 2011' (id=19)
2011-10-31 07:27:08,786 INFO  [ProfilesDefinitionParser] Added profile 'Sony SMP-N100' (id=20)
2011-10-31 07:27:08,827 INFO  [CompositeCacheManager] Creating cache manager from config file: /cache.ccf
2011-10-31 07:27:08,841 INFO  [ThreadPoolManager] thread_pool.default PoolConfiguration = useBoundary = [true] boundarySize = [2000] maximumPoolSize = [150] minimumPoolSize = [4] keepAliveTime = [300000] whenBlockedPolicy = [RUN] startUpSize = [4]
2011-10-31 07:27:08,848 INFO  [CompositeCacheConfigurator] Setting default auxiliaries to null
2011-10-31 07:27:08,849 INFO  [CompositeCacheConfigurator] No special CompositeCacheAttributes class defined for key [jcs.default.cacheattributes], using default class.
2011-10-31 07:27:08,852 INFO  [CompositeCacheConfigurator] setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 100, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 07:27:08,852 INFO  [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.default.elementattributes], using default class.
2011-10-31 07:27:08,853 INFO  [CompositeCacheConfigurator] setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1320071228853, LastAccessTime = 1320071228853, getTimeToLiveSeconds() = -1, createTime = 1320071228853 ]
2011-10-31 07:27:08,909 INFO  [LRUMemoryCache] initialized LRUMemoryCache for thumbnails
2011-10-31 07:27:08,909 INFO  [CompositeCache] Constructed cache with name [thumbnails] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 07:27:08,910 INFO  [LRUMemoryCache] initialized LRUMemoryCache for online_feeds
2011-10-31 07:27:08,910 INFO  [CompositeCache] Constructed cache with name [online_feeds] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 07:27:08,911 INFO  [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_default.elementattributes], using default class.
2011-10-31 07:27:08,911 INFO  [LRUMemoryCache] initialized LRUMemoryCache for local_default
2011-10-31 07:27:08,911 INFO  [CompositeCache] Constructed cache with name [local_default] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 07:27:08,912 INFO  [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_resetafterplay.elementattributes], using default class.
2011-10-31 07:27:08,912 INFO  [LRUMemoryCache] initialized LRUMemoryCache for local_resetafterplay
2011-10-31 07:27:08,912 INFO  [CompositeCache] Constructed cache with name [local_resetafterplay] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 07:27:08,912 INFO  [CompositeCacheConfigurator] Parsed regions [thumbnails, online_feeds, local_default, local_resetafterplay]
2011-10-31 07:27:08,912 INFO  [CompositeCacheConfigurator] Finished configuration in 66 ms.
2011-10-31 07:27:08,971 INFO  [WebServer] Socket buffer set to 65535 bytes
2011-10-31 07:27:08,973 INFO  [Device] Created UPnP Device with UUID: b4ee9eb6-c118-3731-b5a6-db18e637aabe, bound address: 192.168.178.98
2011-10-31 07:27:09,018 INFO  [PluginCompilerThread] Looking for plugins at /usr/local/serviio-0.6.0.1/plugins
2011-10-31 07:27:09,019 INFO  [PluginCompilerThread] Started looking for plugins
2011-10-31 07:27:09,103 WARN  [FFMPEGWrapper] FFmpeg is not compiled with librtmp support, RTMP streaming will not work.
2011-10-31 07:27:09,113 INFO  [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2011-10-31 07:27:09,176 INFO  [WebServer] WebServer starting on port 8895
2011-10-31 07:27:09,188 INFO  [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2011-10-31 07:27:09,190 INFO  [EventDispatcher] Starting EventDispatcher
2011-10-31 07:27:09,191 INFO  [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2011-10-31 07:27:09,191 INFO  [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface re0 (re0) and address 192.168.178.98, timeout = 0
2011-10-31 07:27:09,201 INFO  [RendererSearchSender] Searching for Renderer devices
2011-10-31 07:27:09,201 INFO  [RendererExpirationChecker] Starting RendererExpirationChecker
2011-10-31 07:27:35,251 INFO  [FeedUpdaterThread] Started looking for information about online feeds
2011-10-31 07:27:35,274 INFO  [LibraryAdditionsCheckerThread] Started looking for newly added files
2011-10-31 07:27:35,338 INFO  [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2011-10-31 07:43:12,368 INFO  [RendererManager] Stored a new renderer: uuid='aa010621-32f8-4099-8532-4e2ddbdaf6f6', name = 'Unrecognized device', ipAddress='192.168.178.20', profile = '1'


Tried disabling the firewall on my PC already, didn't help. Do you have any ideas?

Edit: Tried accessing http://192.168.178.98:23423/rest/application through my web browser, shows an XML syntax with the serviio version.
 

parks853

Dabbler
Joined
Jul 26, 2011
Messages
36
That is exactly the same messages I get. I've decided to start over and rebuild the jail, but from scratch this time instead of using the pre-built. I spent a lot of time troubleshooting my install. If you fix it please post up how you fixed it so we all know. I think it is interesting because the serviio.log shows:

Code:
[RendererManager] Stored a new renderer: uuid='aa010621-32f8-4099-8532-4e2ddbdaf6f6', name = 'Unrecognized device', ipAddress='192.168.178.20', profile = '1'


So the server is running, it finds a renderer but for some reason the renderer or console can't connect to the server.
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
I'm poking around in my working setup trying to find something that will give a clue to why you guys are having trouble. I did see a posting on the Serviio site that said you need to have the same version of the console as the server, so I'm just confirming that you guys are running v 0.6.0.1 of the console?

What do you see when you do a 'netstat -an' from inside the jail?

Here's my output:

Code:
[root@serviio /usr/local/serviio-0.6.0.1/log]# netstat -an | grep tcp4
netstat: kvm not available: /dev/mem: No such file or directory
tcp4       0    520 10.0.10.150.23423      10.0.10.50.55431       ESTABLISHED
tcp4       0      0 10.0.10.150.23423      10.0.10.50.55426       ESTABLISHED
tcp4       0      0 10.0.10.150.8895       *.*                    LISTEN
tcp4       0      0 10.0.10.150.23423      *.*                    LISTEN
tcp4       0      0 10.0.10.150.44331      *.*                    LISTEN
tcp4       0      0 10.0.10.150.25         *.*                    LISTEN


Here's a copy of my log for comparison:

Code:
2011-10-31 17:52:32,421 INFO  [MediaServer] ------------------------------------------------------------------------
2011-10-31 17:52:32,430 INFO  [MediaServer] Serviio DLNA media streaming server v 0.6.0.1 (rev. 8e4ee98bff12)
2011-10-31 17:52:32,430 INFO  [MediaServer] Petr Nejedly 2009-2011
2011-10-31 17:52:32,431 INFO  [MediaServer] http://www.serviio.org
2011-10-31 17:52:32,431 INFO  [MediaServer] 
2011-10-31 17:52:32,431 INFO  [MediaServer] Java 1.6.0_07-The FreeBSD Foundation
2011-10-31 17:52:32,431 INFO  [MediaServer] OS FreeBSD i386 8.2-RELEASE-p3
2011-10-31 17:52:32,431 INFO  [MediaServer] File encoding: ISO-8859-1
2011-10-31 17:52:32,431 INFO  [MediaServer] Headless mode enabled: true
2011-10-31 17:52:32,431 INFO  [MediaServer] User home dir: /root
2011-10-31 17:52:32,432 INFO  [MediaServer] Temp dir: /var/tmp/
2011-10-31 17:52:32,432 INFO  [MediaServer] ------------------------------------------------------------------------
2011-10-31 17:52:32,680 INFO  [RestletServer] Starting Restlet server exposed on 10.0.10.150:23423
2011-10-31 17:52:32,791 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2011-10-31 17:52:35,114 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2011-10-31 17:52:36,104 INFO  [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2011-10-31 17:52:36,765 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2011-10-31 17:52:37,125 INFO  [ProfilesDefinitionParser] Added profile 'XBox 360' (id=3)
2011-10-31 17:52:37,521 INFO  [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2011-10-31 17:52:37,746 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2011-10-31 17:52:38,108 INFO  [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2011-10-31 17:52:38,829 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D-series)' (id=7)
2011-10-31 17:52:38,891 INFO  [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2011-10-31 17:52:39,805 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV' (id=9)
2011-10-31 17:52:40,802 INFO  [ProfilesDefinitionParser] Added profile 'Sony BD Player' (id=10)
2011-10-31 17:52:41,364 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera' (id=12)
2011-10-31 17:52:41,887 INFO  [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2011-10-31 17:52:41,948 INFO  [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2011-10-31 17:52:42,056 INFO  [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2011-10-31 17:52:42,154 INFO  [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2011-10-31 17:52:42,269 INFO  [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2011-10-31 17:52:42,476 INFO  [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2011-10-31 17:52:43,126 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV 2011' (id=19)
2011-10-31 17:52:43,841 INFO  [ProfilesDefinitionParser] Added profile 'Sony SMP-N100' (id=20)
2011-10-31 17:52:43,891 INFO  [CompositeCacheManager] Creating cache manager from config file: /cache.ccf
2011-10-31 17:52:43,901 INFO  [ThreadPoolManager] thread_pool.default PoolConfiguration = useBoundary = [true] boundarySize = [2000] maximumPoolSize = [150] minimumPoolSize = [4] keepAliveTime = [300000] whenBlockedPolicy = [RUN] startUpSize = [4]
2011-10-31 17:52:43,908 INFO  [CompositeCacheConfigurator] Setting default auxiliaries to null
2011-10-31 17:52:43,910 INFO  [CompositeCacheConfigurator] No special CompositeCacheAttributes class defined for key [jcs.default.cacheattributes], using default class.
2011-10-31 17:52:43,913 INFO  [CompositeCacheConfigurator] setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 100, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 17:52:43,913 INFO  [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.default.elementattributes], using default class.
2011-10-31 17:52:43,913 INFO  [CompositeCacheConfigurator] setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1320108763913, LastAccessTime = 1320108763913, getTimeToLiveSeconds() = -1, createTime = 1320108763913 ]
2011-10-31 17:52:43,950 INFO  [LRUMemoryCache] initialized LRUMemoryCache for thumbnails
2011-10-31 17:52:43,950 INFO  [CompositeCache] Constructed cache with name [thumbnails] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 17:52:43,950 INFO  [LRUMemoryCache] initialized LRUMemoryCache for online_feeds
2011-10-31 17:52:43,951 INFO  [CompositeCache] Constructed cache with name [online_feeds] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 17:52:43,951 INFO  [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_default.elementattributes], using default class.
2011-10-31 17:52:43,951 INFO  [LRUMemoryCache] initialized LRUMemoryCache for local_default
2011-10-31 17:52:43,951 INFO  [CompositeCache] Constructed cache with name [local_default] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 17:52:43,951 INFO  [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_resetafterplay.elementattributes], using default class.
2011-10-31 17:52:43,951 INFO  [LRUMemoryCache] initialized LRUMemoryCache for local_resetafterplay
2011-10-31 17:52:43,951 INFO  [CompositeCache] Constructed cache with name [local_resetafterplay] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2011-10-31 17:52:43,951 INFO  [CompositeCacheConfigurator] Parsed regions [thumbnails, online_feeds, local_default, local_resetafterplay]
2011-10-31 17:52:43,952 INFO  [CompositeCacheConfigurator] Finished configuration in 47 ms.
2011-10-31 17:52:44,036 INFO  [WebServer] Socket buffer set to 65535 bytes
2011-10-31 17:52:44,048 INFO  [Device] Created UPnP Device with UUID: d9cf9091-e0dc-3210-a72e-8ab6d3d328e1, bound address: 10.0.10.150
2011-10-31 17:52:44,119 INFO  [PluginCompilerThread] Looking for plugins at /usr/local/serviio-0.6.0.1/plugins
2011-10-31 17:52:44,120 INFO  [PluginCompilerThread] Started looking for plugins
2011-10-31 17:52:44,756 WARN  [FFMPEGWrapper] FFmpeg is not compiled with librtmp support, RTMP streaming will not work.
2011-10-31 17:52:44,762 INFO  [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2011-10-31 17:52:44,931 INFO  [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface em0 (em0) and address 10.0.10.150, timeout = 0
2011-10-31 17:52:44,908 INFO  [WebServer] WebServer starting on port 8895
2011-10-31 17:52:44,950 INFO  [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2011-10-31 17:52:44,951 INFO  [EventDispatcher] Starting EventDispatcher
2011-10-31 17:52:44,952 INFO  [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2011-10-31 17:52:44,959 INFO  [RendererExpirationChecker] Starting RendererExpirationChecker
2011-10-31 17:52:44,959 INFO  [RendererSearchSender] Searching for Renderer devices
2011-10-31 17:53:11,034 INFO  [FeedUpdaterThread] Started looking for information about online feeds
2011-10-31 17:53:11,062 INFO  [LibraryAdditionsCheckerThread] Started looking for newly added files
2011-10-31 17:53:11,063 INFO  [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2011-10-31 18:01:29,299 INFO  [UpdateChecker] Checking if a new version is available
2011-10-31 18:02:31,917 INFO  [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition
2011-10-31 18:02:33,102 INFO  [BrowsingCategoriesMessages] Loaded browsing categories message bundle for locale: en
 

Hi-Liter

Explorer
Joined
Oct 6, 2011
Messages
83
Here's my netstat output, doesn't seem to help:
Code:
netstat: kvm not available: /dev/mem: No such file or directory
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address       (state)
tcp4       0      0 192.168.178.98.8895    192.168.178.46.55470   ESTABLISHED
tcp4       0      0 192.168.178.98.8895    192.168.178.46.61907   ESTABLISHED
tcp4       0      0 192.168.178.98.8895    *.*                    LISTEN
tcp4       0      0 192.168.178.98.23423   *.*                    LISTEN
tcp4       0      0 192.168.178.98.44331   *.*                    LISTEN
tcp4       0      0 192.168.178.98.25      *.*                    LISTEN
udp4       0      0 192.168.178.98.1900    *.*
udp4       0      0 192.168.178.98.514     *.*


I can configure the server using the "Web UI in PHP" (http://forum.serviio.org/viewtopic.php?f=17&t=1310) though.
 

Hi-Liter

Explorer
Joined
Oct 6, 2011
Messages
83
The problem was solved (at least for my setup) in the other thread (http://forum.serviio.org/viewtopic.php?f=5&t=3915&p=25644#p25644), for some reason, the console tried to connect to the freenas ip instead of the jail ip, the solution in my case was:

"Ok, problem solved. My wireless router (FRITZ!Box) had some UPnP functionality activated, which I disabled, now it works. Strange, I hope I won't need that UPnP stuff in the future."


Edit: False alarm, that was unfortunately not the solution. So far, the solution was the restart of the router which was triggered by changing this UPnP setting.
 

parks853

Dabbler
Joined
Jul 26, 2011
Messages
36
I started rebuilding my jail, so can't try any fixes right now, but glad you had some success. Just for sake of asking - what kind of router do you have?
 

Hi-Liter

Explorer
Joined
Oct 6, 2011
Messages
83
I started rebuilding my jail, so can't try any fixes right now, but glad you had some success. Just for sake of asking - what kind of router do you have?
It's called FRITZ!Box and I think they only sell them in Germany. But that didn't seem to be the problem exactly, as you can see in the serviio forum thread :(
 

parks853

Dabbler
Joined
Jul 26, 2011
Messages
36
It's called FRITZ!Box and I think they only sell them in Germany. But that didn't seem to be the problem exactly, as you can see in the serviio forum thread :(

I noticed you mentioned talking to the freenas ip vs the freenas jail ip. Is that still an issue?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
In the console I saw "Bound IP address" that you might be able to put the Jail IP in.
 

parks853

Dabbler
Joined
Jul 26, 2011
Messages
36
Yes, now it is an issue again, I don't know what changed it.

I wonder if it has something to do with a DNS lookup or something. I hope you don't mind but I'll post your network traffic code from the serviio forum:

Hi-Liter from [URL="http://forum.serviio.org/viewtopic.php?f=5&t=3915&start=10" said:
[/URL]]Hm, that's interesting. So serviio is running inside a jail on my freenas server. The freenas server is 192.168.178.99, serviio inside the jail is 192.168.178.98 and my PC is 192.168.178.43
The console seems to try to connect to .99 instead of .98

Hi-Liter's traffic from http://forum.serviio.org/viewtopic.php?f=5&t=3915&start=10
Code:
No.     Time        Source                Destination           Protocol Length Info
      4 9.361077    192.168.178.43        192.168.178.1         DNS      87     Standard query PTR 98.178.168.192.in-addr.arpa
No.     Time        Source                Destination           Protocol Length Info
      5 9.362199    192.168.178.1         192.168.178.43        DNS      118    Standard query response PTR freenas.fritz.box
No.     Time        Source                Destination           Protocol Length Info
      6 9.362629    192.168.178.43        192.168.178.1         DNS      77     Standard query A freenas.fritz.box
No.     Time        Source                Destination           Protocol Length Info
      7 9.363594    192.168.178.1         192.168.178.43        DNS      139    Standard query response A 192.168.178.99 A 192.168.178.98
No.     Time        Source                Destination           Protocol Length Info
      8 9.365099    AsustekC_b3:71:2c     Broadcast             ARP      42     Who has 192.168.178.99?  Tell 192.168.178.43
No.     Time        Source                Destination           Protocol Length Info
      9 9.365331    14:da:e9:6e:3c:a8     AsustekC_b3:71:2c     ARP      60     192.168.178.99 is at 14:da:e9:6e:3c:a8
No.     Time        Source                Destination           Protocol Length Info
     10 9.365343    192.168.178.43        192.168.178.99        TCP      62     64223 > 23423 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 SACK_PERM=1
No.     Time        Source                Destination           Protocol Length Info
     11 9.365532    192.168.178.99        192.168.178.43        TCP      60     23423 > 64223 [RST, ACK] Seq=1 Ack=1 Win=0 Len=0
No.     Time        Source                Destination           Protocol Length Info
     12 9.594353    14:da:e9:6e:3c:a8     Broadcast             ARP      60     Who has 192.168.178.46?  Tell 192.168.178.99
No.     Time        Source                Destination           Protocol Length Info
     13 9.874641    192.168.178.43        192.168.178.99        TCP      62     64223 > 23423 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 SACK_PERM=1
No.     Time        Source                Destination           Protocol Length Info
     14 9.874970    192.168.178.99        192.168.178.43        TCP      60     23423 > 64223 [RST, ACK] Seq=1 Ack=1 Win=0 Len=0
No.     Time        Source                Destination           Protocol Length Info
     15 10.389428   192.168.178.43        192.168.178.99        TCP      62     64223 > 23423 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 SACK_PERM=1
No.     Time        Source                Destination           Protocol Length Info
     16 10.389634   192.168.178.99        192.168.178.43        TCP      60     23423 > 64223 [RST, ACK] Seq=1 Ack=1 Win=0 Len=0


I'm just posting to see if protosd or anyone notices anything peculiar. I remember doing a ifconfig from inside the jail and thinking something with the broadcast ip looked strange (working from my memory which is full).
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Code:
3 8.185675    IntelCor_7b:9e:66     Broadcast             ARP      60     Who has 192.168.178.98?  Tell 192.168.178.28

7 9.363594    192.168.178.1         192.168.178.43        DNS      139    Standard query response A 192.168.178.99 A 192.168.178.98


It looks like the host (FreeNAS) is answering the ARP query on behalf of the Jail.

Hi-Lighter, what does your /etc/hosts file look like inside the jail?

Maybe adding an entry in your windows hosts file for the jail would help.
 
Status
Not open for further replies.
Top