Hudlite Server on Debian
Hello, I've successfully installed hudlite server 1.4.6 on a Debian GNU/Linux 3.1 r3 (Sarge) running a 2.6.8-3-k7 kernel. This server is also running Asterisk 1.2.14, ircd-hybrid 7.0.3-2 secure IRC server.
this is my connect.xml:
<?xml version="1.0" encoding="UTF-8"?>
localhost
5038
localhost
6600
password
IRC to Asterisk command bot
irc2asterisk_relay
I've tested my network and no problem telnetting from localhost or any other host on the LAN.
on port 5038, asterisk:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Asterisk Call Manager/1.0
on port 6600 ircd-hybrid
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
NOTICE AUTH :*** Looking up your hostname...
NOTICE AUTH :*** Checking Ident
NOTICE AUTH :*** Got Ident response
NOTICE AUTH :*** Couldn't look up your hostname
quit
ERROR :Closing Link: 127.0.0.1 ()
Connection closed by foreign host.
However I guess that the problem is on the server not in the network.
This is my hudlite server log:
2007-01-30 19:53:43: socketError> attempting reconnect to asterisk in 5 seconds
2007-01-30 19:53:49: socketError> Could not keep/initiate a connection with the asterisk mananger interface. Client socket encountered read error 104: Conexión reinicializada por la máquina remota. Is Aserisk running? Is HUD and your Asterisk manager interface configured properly?
I don't know much about hudlite but asterisk and irc deamon are running both.
Maybe need to configure ircd and add an irc2asterisk_relay user?
If I strace hudlite server:
read(7, "Asterisk Call Manager/1.0\r\n", 65536) = 27
write(7, "Action: Login\r\nUsername: remote_"..., 60) = 60
write(7, "Action: Command\r\nCommand: sip sh"..., 46) = 46
write(7, "Action: Command\r\nActionID: neo_a"..., 105) = 105
write(7, "Action: Command\r\nActionID: \r\nCom"..., 57) = 57
gettimeofday({1170184769, 923220}, NULL) = 0
select(8, [6 7], [], [], {4, 867832}) = 1 (in [7], left {3, 869000})
gettimeofday({1170184770, 923627}, NULL) = 0
gettimeofday({1170184770, 924119}, NULL) = 0
read(7, "Response: Error\r\nMessage: Authen"..., 65536) = 51
gettimeofday({1170184770, 925880}, NULL) = 0
select(8, [6 7], [], [], {3, 865172}) = 1 (in [7], left {3, 866000})
gettimeofday({1170184770, 926478}, NULL) = 0
gettimeofday({1170184770, 926825}, NULL) = 0
read(7, 0xa773740, 65536) = -1 ECONNRESET (Connection reset by peer)
time([1170184770]) = 1170184770
write(3, "2007-01-30 20:19:30: socketError"..., 285) = 285
time([1170184770]) = 1170184770
write(3, "2007-01-30 20:19:30: socketError"..., 80) = 80
time([1170184770]) = 1170184770
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({5, 0}
Maybe this can help, the server is blocked here and go back (It's on a loop).
Sorry for my long post maybe something is not useful to solve my problem or maybe I've missed somthing.
Thanks in advance to everybody, and sorry for my poor english I could write and express myself better but it's the best I can do :(
I've been testing my irc configuration with an irc client
with the user and password in hudlite server configuration
Everything seems good:
[16:29] ->> Connection closed from 192.168.1.8
[16:29] ->> Attempting to re-connect to 192.168.1.8
[16:29] ->> Waiting 30 second(s) to re-connect - (2 tries)
[16:29] ->> Attempting to connect to 192.168.1.8 on port 6600
[16:29] ->> Connection Established
[16:29] *** Looking up your hostname...
[16:29] *** Ident Request from 192.168.1.8
[16:29] *** Sent Ident Reply : 2585, 6600 : USERID : UNIX : irc2asterisk_relay
[16:29] *** Checking Ident
[16:29] *** Couldn't look up your hostname
[16:29] *** Got Ident response
[16:29] --HUDserver-- *** You are exempt from flood protection, aren't you feersome.
[16:29] -HUDserver- Welcome to the ExampleNet Internet Relay Chat Network Relay
[16:29] -HUDserver- Your host is HUDserver[HUDserver/6600], running version hybrid-7.0.3
[16:29] -HUDserver- This server was created Thu Jan 20 2005 at 05:11:29 UTC
[16:29] -HUDserver- HUDserver hybrid-7.0.3 oiwszcerkfydnxbaugl biklmnopstveIha bkloveIh
[16:29] -HUDserver- Valid Server Modes: oiwszcerkfydnxbaugl
[16:29] -HUDserver- Valid Channel Modes: biklmnopstveIha
[16:29] -HUDserver- Valid User Modes: bkloveIh
[16:29] -HUDserver- WALLCHOPS KNOCK EXCEPTS INVEX MODES=4 MAXCHANNELS=15 MAXBANS=25 MAXTARGETS=999 NICKLEN=15 TOPICLEN=350 KICKLEN=350 :are supported by this server
[16:29] -HUDserver- Maximum Channels Allowed: 15
[16:29] -HUDserver- Maximum Bans Per Channel Allowed: 25
[16:29] -HUDserver- Maximum Modes that can be Set at Once: 4
[16:29] -HUDserver- CHANTYPES=#& PREFIX=(ohv)@%+ CHANMODES=eIb,k,l,imnpst NETWORK=ExampleNet CASEMAPPING=rfc1459 CALLERID :are supported by this server
[16:29] -HUDserver- The network you are connected to is: ExampleNet
[16:29] -HUDserver- Valid channel prefix: #
[16:29] -HUDserver- Valid channel prefix: &
[16:29] -HUDserver- Valid Channel Mode(s): e (Param), I (Param), b (Param), k (Param), l (Param), i (No Param), m (No Param), n (No Param), p (No Param), s (No Param), t (No Param)
[16:29] -HUDserver- Valid User Modes: (ohv)@%+
[16:29] -HUDserver- There are 0 users and 1 invisible on 1 servers
[16:29] -HUDserver- I have 1 clients and 0 servers
[16:29] -HUDserver- Current local users: 1 Max: 2
[16:29] -HUDserver- Current global users: 1 Max: 2
I think it's ok. Maybe somebody can find some mistake.
I've entered this settings in manager.conf
[hud]
secret=password
permit=localhost
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
and this is my connect.xml
<?xml version="1.0" encoding="UTF-8"?>
I think I'm missing something :-(
hi,
i am facing the same problems. seems very common (if you look here in this forum) but support on this forum is very poor. trixbox is a good idea, but without support you get it only halfways working and still going over to something else. without good suport trixbox will die.
solutions coming up to check this problems...?
grreetins
o.
I am not really sure what you mean by your post. trixbox support in general here is pretty good as attested to the large number of posts with replies. Just because someone wants to run trixbox or hudlite server on a non-supported operating system and cannot get good support is not the fault of the project or the forum. trixbox and hudlite server were designed to work on the trixbox installation of CentOS, anything else from Red Hat, Fedora, BSD, Debian, Ubuntu, etc is a non-supported configuration.
Kerry Garrison
Sr. Product Manager, trixbox
http://voipspeak.net - http://asterisktutorials.com
hi,
my impression is, that there is a lack of simple 'getting in running' solutions is not easy to find. or, put it the otherway: you install it out of the box (like me with trixbox 2.0) and you are facing some minor problems which are somehow frustrating if you think you have a tested and simply out-of-the-box-working distribution. maybe not trixboxens fault, but where to go to get help? had this with supressing caller-id on outgoing calls with avm isdn-card. posted here - some days no answer. found solution myself: updated freepbx after finding the bug registered on the freepbx-track and vividly commented. than i installed hudlite-client on trixbox. had to update rpm manually and facing same problem like more others, see:
1) http://www.trixbox.org/forums/vendor-moderated-forums/hudlite/hud...,
2) http://www.trixbox.org/forums/vendor-moderated-forums/hudlite/hud...
3) http://www.trixbox.org/forums/vendor-moderated-forums/hudlite/ins...
)
but somehow no realy solutions/hints coming up from people with more insight in prerequesitions for bug-tracking. hudlite connection problem seems somehow identical on all cases and hudlite-infrastructure seems little bit too complicated to be faultproof, isn't? would like to have respones from experienced bugtracker to check errorconditions. or a place where solved problems and how-tos are summarized would be nice - or some instructions from developers/maker how to test some conditions to get rid of minor bugs (which i assume is also in their interest) an than get all out-of-the-box-trixbox realy running woud be appreciated... (at least to mention: i like trixbox an will stay with my almost full-running install wich costed a week bugtracking, updating,websearching)
but your last reponse was quick - no complaints,
regards,
o.
I know that Debian is not a supported distro, however some people prefer Debian than other distros including Red Hat clones. And I also think that if you know the application could not be so difficult to install in another POSIX compliant OS, but I've crashed with 2 problems closed-source (I don't know nothing about hud server structure) and not much interest in supporting nothing but trixbox, who cares of people dealing to install our HUD server on Debian if it's not a supported distro.
This is not a complaint, but could you help a little bit? Or if it's so difficult, and Hud server have a very strong dependency to CentOS, can you explain me what is this dependency? So I (or other people) maybe find a solution and Debian will be the next supported distro. Isn't it nice? Or maybe no interest in Debian? Is there any differentiation between Hudlite and Trixbox, I think that they are very different products.
Sorry again and again for my poor English
Regards. Pep
Hello everybody,
If anyone want to know how exactly set up this Hud Lite with a debian server just write me an e-mail.


Member Since:
2007-01-30