From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 07:27:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 108708FF for ; Mon, 28 Jan 2013 07:27:27 +0000 (UTC) (envelope-from i.tanusheff@procreditbank.bg) Received: from mailgate.procreditbank.bg (mailgate.procreditbank.bg [193.26.216.3]) by mx1.freebsd.org (Postfix) with ESMTP id 012A8E1B for ; Mon, 28 Jan 2013 07:27:25 +0000 (UTC) Received: (qmail 64625 invoked from network); 28 Jan 2013 07:26:12 -0000 Received: from unknown (HELO domino-archive.procreditbank.bg) (10.0.0.60) by 192.168.1.3 with RC4-MD5 encrypted SMTP; 28 Jan 2013 07:26:12 -0000 Received: from domino.procreditbank.bg ([10.0.0.15]) by domino-archive.procreditbank.bg (Lotus Domino Release 8.5.1FP5) with ESMTP id 2013012809270575-125514 ; Mon, 28 Jan 2013 09:27:05 +0200 In-Reply-To: <5103D759.5060008@aboutsupport.com> References: <5103D759.5060008@aboutsupport.com> X-Disclaimed: 18202 To: "Zyumbilev, Peter" Subject: Re: jails bind ip MIME-Version: 1.0 X-KeepSent: 1E0503D6:43485BAB-C2257B01:00288F37; type=4; flags=0; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.1 September 28, 2009 From: Ivailo Tanusheff Message-ID: Date: Mon, 28 Jan 2013 09:27:05 +0200 X-MIMETrack: Serialize by Router on DOMINO/BULGARIA/PROCREDITBANK(Release 8.5.1FP5|September 29, 2010) at 01/28/2013 09:27:05 AM, Serialize complete at 01/28/2013 09:27:05 AM, Itemize by SMTP Server on DOMINO-ARCHIVE/BULGARIA/PROCREDITBANK(Release 8.5.1FP5|September 29, 2010) at 01/28/2013 09:27:05 AM, Serialize by Router on DOMINO-ARCHIVE/BULGARIA/PROCREDITBANK(Release 8.5.1FP5|September 29, 2010) at 01/28/2013 09:27:18 AM, Serialize complete at 01/28/2013 09:27:18 AM Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" , owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 07:27:27 -0000 Hi, First of all usage of 127.0.0.1 as second address is nothing but wrong, as this is the loopback address :) For the second part of the question - I suppose it has nothing to do with the BSD and the jail subsystem. I am not sure why you have eth1 tbh, you should only have eth0, maybe because of this binding to 127.0.0.1, which fails as you already have this address on lo0. But from your logs: INFO 2013-01-26 16:03:03.085 Created socket: /127.0.0.1:5001 [main] ERROR 2013-01-26 16:03:03.186 A serious error occurred during PMS init org.jboss.netty.channel.ChannelException: Failed to bind to: /127.0.0.1:5001 Obviously you have error in your config, as you are not binding to address, but on local socket at the root of the system. So my guess is you must eighter change your software configuration or you should giva access to root folder to the user running the application. Regards, Ivailo Tanusheff "Zyumbilev, Peter" Sent by: owner-freebsd-questions@freebsd.org 26.01.2013 15:18 To "freebsd-questions@freebsd.org" cc Subject jails bind ip Hi, I have successfully run multiple jails on freebsd 9.1 Two of the jails are FreeBSD and I have no problems with them. However I havesome strange problem with Debian 6.0 Jail. This is my config jail_debian_rootdir="/jail/debian" jail_debian_hostname="debian.bivol.net" jail_debian_ip="192.168.30.12,127.0.0.1" jail_debian_interface="bge0" jail_debian_devfs_enable="YES" jail_debian_devfs_ruleset="devfsrules_jail" jail_debian_flags="-n debian" #jail_debian_mount_enable="YES" # mount YES|NO jail_debian_fstab="/jail/conf/fstab.debian" # File with Filesystems to mount I tried with and without 127.0.0.1. This is how ifconfig looks from inside debian: root@debian:/# ifconfig eth0 Link encap:Ethernet HWaddr e8:39:35:25:d2:ef inet addr:192.168.30.12 Bcast:192.168.30.12 Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:425676061 errors:0 dropped:0 overruns:0 frame:0 TX packets:483122783 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:478459387769 (445.6 GiB) TX bytes:190485214007 (177.4 GiB) eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00 UP MULTICAST MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo0 Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MULTICAST MTU:16384 Metric:1 RX packets:1273268 errors:0 dropped:0 overruns:0 frame:0 TX packets:1273274 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:103125473 (98.3 MiB) TX bytes:103125585 (98.3 MiB) usbus0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 UP MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) usbus1 Link encap:Ethernet HWaddr 00:00:00:00:00:00 UP MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) usbus2 Link encap:Ethernet HWaddr 00:00:00:00:00:00 UP MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) usbus3 Link encap:Ethernet HWaddr 00:00:00:00:00:00 UP MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) usbus4 Link encap:Ethernet HWaddr 00:00:00:00:00:00 UP MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) usbus5 Link encap:Ethernet HWaddr 00:00:00:00:00:00 UP MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) However, applications have problem binding. Two applications that fail are plexmedia server and psmedia server. 1. PS3 media server throws crazy errors like that it canncot bind - no matter which IP I choose: [main] INFO 2013-01-26 16:03:02.833 Loading configuration file: Panasonic.conf [main] DEBUG 2013-01-26 16:03:02.833 Base path set to file:///etc/ps3mediaserver/renderers/Panasonic.conf [main] INFO 2013-01-26 16:03:02.855 Loading configuration file: PS3.conf [main] DEBUG 2013-01-26 16:03:02.855 Base path set to file:///etc/ps3mediaserver/renderers/PS3.conf [main] INFO 2013-01-26 16:03:02.861 Loading configuration file: AirPlayer.conf [main] DEBUG 2013-01-26 16:03:02.862 Base path set to file:///etc/ps3mediaserver/renderers/AirPlayer.conf [main] INFO 2013-01-26 16:03:02.864 Checking MPlayer font cache. It can take a minute or so. [main] DEBUG 2013-01-26 16:03:02.865 launching: /usr/lib/ps3mediaserver/linux/mplayer [main] INFO 2013-01-26 16:03:03.008 Done! [main] INFO 2013-01-26 16:03:03.016 Searching for plugins in /usr/lib/ps3mediaserver/plugins [main] INFO 2013-01-26 16:03:03.029 No plugins found [main] INFO 2013-01-26 16:03:03.060 Registering transcoding engine: FFmpeg Audio [main] INFO 2013-01-26 16:03:03.078 Registering transcoding engine: MEncoder [main] INFO 2013-01-26 16:03:03.079 Registering transcoding engine: MPlayer Audio [main] INFO 2013-01-26 16:03:03.079 Registering transcoding engine: MEncoder Web [main] INFO 2013-01-26 16:03:03.080 Registering transcoding engine: MPlayer Video Dump [main] INFO 2013-01-26 16:03:03.080 Registering transcoding engine: MPlayer Web [main] INFO 2013-01-26 16:03:03.082 Registering transcoding engine: tsMuxeR [main] INFO 2013-01-26 16:03:03.083 Registering transcoding engine: Audio High Fidelity [main] INFO 2013-01-26 16:03:03.083 Registering transcoding engine: VLC Audio Streaming [main] INFO 2013-01-26 16:03:03.083 Registering transcoding engine: VLC Video Streaming [main] INFO 2013-01-26 16:03:03.084 Registering transcoding engine: dcraw Thumbnailer [main] INFO 2013-01-26 16:03:03.084 Using forced address 127.0.0.1 [main] INFO 2013-01-26 16:03:03.085 Created socket: /127.0.0.1:5001 [main] ERROR 2013-01-26 16:03:03.186 A serious error occurred during PMS init org.jboss.netty.channel.ChannelException: Failed to bind to: /127.0.0.1:5001 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:303) ~[pms.jar:na] at net.pms.network.HTTPServer.start(HTTPServer.java:122) ~[pms.jar:na] at net.pms.PMS.init(PMS.java:468) [pms.jar:na] at net.pms.PMS.createInstance(PMS.java:811) [pms.jar:na] at net.pms.PMS.main(PMS.java:883) [pms.jar:na] Caused by: java.io.IOException: Function not implemented at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method) ~[na:1.6.0_26] at sun.nio.ch.EPollArrayWrapper.(EPollArrayWrapper.java:69) ~[na:1.6.0_26] at sun.nio.ch.EPollSelectorImpl.(EPollSelectorImpl.java:52) ~[na:1.6.0_26] at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18) ~[na:1.6.0_26] at java.nio.channels.Selector.open(Selector.java:209) ~[na:1.6.0_26] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.(NioServerSocketPipelineSink.java:218) ~[pms.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.bind(NioServerSocketPipelineSink.java:156) ~[pms.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleServerSocket(NioServerSocketPipelineSink.java:100) ~[pms.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:74) ~[pms.jar:na] at org.jboss.netty.channel.Channels.bind(Channels.java:468) ~[pms.jar:na] at org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:200) ~[pms.jar:na] at org.jboss.netty.bootstrap.ServerBootstrap$Binder.channelOpen(ServerBootstrap.java:348) ~[pms.jar:na] at org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:176) ~[pms.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketChannel.(NioServerSocketChannel.java:85) ~[pms.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:142) ~[pms.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:90) ~[pms.jar:na] at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:282) ~[pms.jar:na] 2. Plex stars but cannot bind admin panel. PS3 is multicass FYI. Any hints what Ic an check more ? Peter _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Disclaimer: The information contained in this message is intended solely for the use of the individual or entity to whom it is addressed and to others authorised to receive it. It may contain confidential or legally privileged information. It you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or taking any action based on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this e-mail and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission for the information contained in this message nor for any delay in its receipt.