Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hostname Resolution Failing in Relay <server>

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
JohnM



Joined: 20 Oct 2009
Posts: 8

PostPosted: Tue Oct 20, 2009 11:34 pm    Post subject: Hostname Resolution Failing in Relay <server> Reply with quote

Hi.

Seems that I'm unable to use hostnames in the relay <server></server> field.

I'm running Icecast 2.3.2 on FreeBSD 6.3 and 7.2 with the same results. I'm able to dig and nslookup the host names without issue.

-- error logs --
[2009-10-20 23:25:55] INFO slave/open_relay_connection connecting to relay.myhost.com:80
[2009-10-20 23:25:55] WARN slave/open_relay_connection Failed to connect to relay.myhost.com:80

Any ideas??
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Oct 21, 2009 12:05 am    Post subject: Reply with quote

sounds like you have an incomplete chroot jail. DNS lookups will involve various libs and files like /etc/nsswitch.conf or /etc/resolv.conf, you may find that other libs (.so) are loaded as needed. I don't know FBSD that well but on linux you have /lib/libnss* files that are loaded depending on the settings in /etc/nsswitch.conf

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JohnM



Joined: 20 Oct 2009
Posts: 8

PostPosted: Wed Oct 21, 2009 12:24 am    Post subject: Reply with quote

thanks Karl. I'll check into this and will update here if I make any progress.
Back to top
View user's profile Send private message
JohnM



Joined: 20 Oct 2009
Posts: 8

PostPosted: Thu Oct 22, 2009 6:48 am    Post subject: Reply with quote

Karl - you were right on.

I was able to resolve the issue by copying /etc/resolv.conf and /etc/host.conf to <icecast_chroot>/etc/

Thanks again.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber