HUDlite not connecting
I installed Trixbox 2.0, installed the hudlite server and administration packages from the packages menu, and then installed the 1.1.160 client on my desktop. I entered all the relevant config info during the client install and rebooted once. When I try to connect the client to the server it responds almost instantly with "Unable To Connect To Your HUD Server". I thought I had seen some detailed docs on installation and debug on the .org site but they don't seem to be there anymore ?
In any case, my TrixBox is on a different subnet than the desktops and I suspect that's the connection issue. How do I configure the HUD server to allow connection from other than the local subnet ?
Also, how do I tell if HUD server is running from the TrixBox console ?
The same for me, no firewall. I get this error
[root@asterisk1 logs]# /usr/local/fonality/hud/hudlite-server -debug2
could not find ParserDetails.ini in PERL2EXE_STORAGE/XML/SAX
You must provide a password
Any suggestions?
edited: Just installed perl-XML-SAX.noarch and now i get only this error but no connection
You must provide a password
RE-EDITED: after a "chkconfig ircd on" and a reboot I get connected but still the same error
You must provide a password
The problem appeared to be the HUDlite server wasn't running.
So I've removed the HUD server and admin modules and rebooted the server computer. I reinstalled the admin module from the packages menu and rebooted again. Upon trying to connect with the HUD client I get something to the effect of "your HUD server does not know the username and passsword supplied". Looking at /usr/local/fonality/hud/error.log I see a whole lot of:
Relay:2007-01-09 13:57:01> Failed to check configuration files.
Reason: Can't call method "reloadUsers" on an undefined value at PERL2EXE_STORAGE/F/Relay.pm $
And at some point the HUDlite server dies.
HHello,
So let's go over the basic checks first.
1. Check that the hudlite server is running with:
ps wax | grep hudlite
and you should see a process with "hudlite-server" to verify it is running.
2. Now it is important that the IRC server is running. HUDlite uses this as a communication platform between the client and the server.
ps wax | grep irc
you should see something in the process list with "ircd" in it.
Do both of those check out? If so, here is an easy way to tell if you can connect to the IRC server running on your trixbox from the machine where the HUDlite client was installed.
Try telnetting to the same server name and server port (which is usually 6600) that you have in your HUDlite advanced connection settings. This will quickly tell you if the machine running the client can connect to the machine running HUD.
If this does not work, then do you have some strange network config setup? Can the machine running the client even see the machine running HUD? If not, then I can't be of much help. I'm not a network guy :(
If you are able to connect with telnet, please let me know and we'll go from there.
Have a great day.
I don't have any obvious problems with the networking. SSH, web, softphone connections all work fine between the lan's.
As I mentioned in my previous post, the HUDlite server is dying. ircd is still running though.
The error message in my previous post looked pretty specific. Is that not a clue of where to look ? It has the feel of something not being initialized correctly but I have no clue as to what.
Ray,
This sounds like your users.xml file does not exist, does not contain users, or is not formatted correctly. This file would exist either in "/etc/asterisk/" or "/etc/asterisk/hud/".
If you would like to send the contents of this file to me directly, please do so and I'll have a look. If there is nothing in it except
and you have configured extensions in trixbox, then they were not written to this file properly.
Please let me know.
Thanks,
~Senyo
by senyo on 2007/1/10 16:45:16
"Manually" ? How was it being started before?
I don't know. I assumed something in the distro starts it during boot ?
HUDlite-server was not showing up in the process list. So I went to /usr/local/fonality/hud/ and ran hudlite-server. After that, the HUD client is working. I have not rebooted the server since so I don't know if hudlite-server will come up on it's own or not. I'll play with that a bit this evening.
This was a fresh install of Trixbox 2.0 but there were a couple false starts with HUD. Installing from the command line as listed in help-trixbox. That didn't work so I then added the admin paackage from the trixbox package menu. When that still didn't get HUD up I removed both packages and reinstalled the admin package as kerryg recently posted. If I have time this evening I'll reinstall trixbox 2.0 from scratch ona fresh hard drive and see how things go.
Thanks for the clarification. We'll take a look at the initial startup of HUD and trixbox. Please let us know if you continue to have issues. If another problem does come up, it's best to create a new thread with a different topic so that this thread does not become a HUGE mess of different problems :)
Have a great day,
I installed the latest version of the HUDlite server and Windows client. I checked the server and both processes are running. I used telenet from my client machine and I am able to make a telenet connection. Did the administration and checked the users.xml file. However, I am not able to get the client to make a connection to the server.
:HUDserver NOTICE AUTH :*** Looking up your hostname...
:HUDserver NOTICE AUTH :*** Checking Ident
:HUDserver NOTICE AUTH :*** No Ident response
:HUDserver NOTICE AUTH :*** Found your hostname
Any suggestions on what I might look at next?
Thanks, Stu...
I've reinstalled Trixbox 2.0 from scratch, installed HUDadmin and webmin from the packages menu, installed the FreePBX modules, then restored my config from a FreePBX backup.
Hudlite server shows up as started on the console during boot and there are no log entries that it's shutting down. But it's not running when I try to connect with the client. Manually starting hudlite-server brings it up and all seems well untill the next boot.
I must say you have us a little baffled with this one. HUDlite server is started by the /etc/rc.d/rc3.d/S95hudlite-server startup file during boot. After this it should be running. You can check if it’s running with the “service hudlite-server status” command. This should return the process ID.
Is there anything out of the ordinary you did to you system. Changed networking, password, config files, etc? Have you tested with a clean trixbox 2.0 VMware image?
I had the same problem and it was resolved with this:
/etc/rc.d/rc3.d/S95hudlite-server stop
/etc/rc.d/rc3.d/S95hudlite-server start
cat /usr/local/fonality/hud/logs/error.log shows a lot of lines like this one:
Relay:2007-01-14 16:03:01> Failed to check configuration files. Reason: Can't call method "reloadUsers" on an undefined value at PERL2EXE_STORAGE/F/Relay.pm line 326.
Hi,
I am getting the same error in my error.log file. My server will stop running after a while as well.
I am afraid that my problem may have been that my machine is not on the network and I had to load the package manually using yum. I copied the RPM file and did a local install.
This did not add the HUD config tab into the Asterisk menu, and I am beginning to wonder if there are a number of config files that did not get built correctly.
Is there a way to add this prompt manually or am I hosed?
Thanks,
David
BTW. this is running on my desktop on a small system as a POC and am not allowed to put it on the production network. Our R&D network is not up as yet. I have my laptop and desktop tied together with a router that supplies DHCP.
Thanks dude... I was looking for these types of commands. I think there should be Heading Post for commands like this within the forum with a text box that explains what they do ;)
So I saw your post... and wham... it worked. This is what I did...
/etc/rc.d/rc3.d/S95hudlite-server stop
/etc/rc.d/rc3.d/S95hudlite-server start
waited till hudlite-server started, then
/etc/init.d/ircd start
AND EVERYTHING WAS GREAT! I could use my HudClient see all ext's, etc.
Sorry for the shout... but thats how easy.. and happy I am... now I have a fix, until a "real" one comes out :)
Thanks again
Voiper
I had the same problem with the hudlite-server not starting correctly at boot up. What I did to solve the problem is add the following lines to the end of my /etc/rc.local file:
/etc/init.d/hudlite-server stop
/etc/init.d/hudlite-server start
Now I can reboot without having to worry about manually restart hudlite-server.
... same problem (using Trixbox 2.2.0rc3) !! but probably solved.
debugging the hudlite-server activity, I found a strange error with reference to this file:
21250620070202-userx.xml
it is an old copy of "users.xml" (generated authomatiically), locate in the same diretory.
hudlite-server was trying to use it but finding a sort of access problem.
Solved keeping away this old file.
then, ... hudlite-server stop and start.
Now, it's perfectly working like in older installation !!! thanks :-P
I am also getting the unable to connect to your hud server due to this error in my error log: "Failed to check configuration files. Reason: Can't call method "reloadUsers" on an undefined value at PERL2EXE_STORAGE/F/Relay.pm line 326."
I not using Trixbox but am running Asterisk on a Fedora Core 3 OS. I am running HudLite-server v2.0 and the Hudlite client v1.1.160. Ircd and Hudlite-server are both running and so is Asterisk but I cannot get it to connect. I feel like my config files are setup correctly. Any help would be appreciated. Hope I didn't leave anything out. Thanks in advance for your help.
I am also having problem getting my Hudlite to connect in the past 1-2 days
I don't see anything in the
usr/local/fonality/hud/logs/error.log file pertaining to any recent attempts to connect
but
usr/local/fonality/hud/logs/server.log file, I see this repeated every 3 seconds
2007-02-10 23:38:53: ircReconnect> IRC reconnect: nick(Relay) pass(password) user(irc2asterisk_relay) ircname(IRC to Asterisk command bot) address(localhost) port(6600) reason(Retry connect)
Can anyone help?
I installed new 2.0 set up. Initially, HUD worked perfectly. Then it didn't. I'm gettting the "Relay:2007-02-21 01:54:17> Failed to check configuration files. Reason: Can't call method "reloadUsers" on an undefined value at PERL2EXE_STORAGE/F/Relay.pm line 326." error too.
The only changes I remember doing between the time it was working and the time it wasn't are:
1. rebooting * box
2. plugged in new Polycom phone. Though extension had already been set up in TB. This polycom has 2 different extensions assigned to it.
I ran the command:
/usr/local/fonality/hud/hudlite-server stop
then,
/usr/local/fonality/hud/hudlite-server start
then,
[root@asterisk1 /]# ps wax | grep hudlite
4797 ? SNs 0:13 /usr/local/fonality/hud/hudlite-server stop
4930 pts/0 S+ 0:00 grep hudlite
then,
[root@asterisk1 /]# ps wax | grep irc
2363 ? Ss 0:00 ircd
4933 pts/0 S+ 0:00 grep irc
then,
[root@asterisk1 /]# service hudlite-server status
hudlite-server (pid 4797) is running...
Still getting the following error from error.log,
Relay:2007-03-04 23:43:00> Failed to check configuration files. Reason: Can't call method "reloadUsers" on an undefined value at PERL2EXE_STORAGE/F/Relay.pm line 326.
From server.log:
2007-03-04 23:23:04: RELAY STARTED
2007-03-04 23:23:04: relayStart> IRC connect: nick(Relay) pass(password) user(irc2asterisk_relay) ircname(IRC to Asterisk command bot) address(localhost) port(6600)
2007-03-04 23:23:04: relayStart> Asterisk connect: address(localhost) port(5038)
Are there any plans to fix the seemingly common problem? I mean, yes we could all STOP and restart hudlite server, but why not just give us the simple fix to take car of this VERY COMMON problem. I know its the free version and all, but a little bit of service goes a long way towards showing how you will support paying customers THAT MUCH better.
Am I the only one this makes since to? :-o
I have a new install of Trixbox with HUD-lite Server running.
I cannot connect my client PCs running HUD-lite
- Windows XP
- Turned off firewall just in case
- Can Telnet to HUD-Server port 6600 and see messages back from server
- Tried multiple extensions and password combos (sip###/password)
- Seemingly no errors outputted on the client
On the server
- ps awf | grep shows both the hudlite-server and the ircd processes running
- I stopped and restarted the HUD-lite Server as requested just in case ... no change
- There is no error log in /usr/local/fonality/logs, just a server.log file with no apparent errors EXCEPT it occasionally spits out a "doLink> possible failure to recognize outbound call details from extension (###) since the caller id number is missing. Channel (SIP/PSTN##_########)
As a note,
- I have downloaded the latest HUDlite client and server versions as of the time of this post.
- There are no firewalls currently between client and server (local system firewalls currently disabled to troubleshoot this problem)
- Clients and Server are connected to the same switch and are running on the same subnet.
That is about all I can say other than ... Please Help :-D
My hudlite server was only sporadically working from one reboot to another; moreoften not working than working.
It seems that it is a major problem for the hud server to start before the asterisk server; which seems to be the case more often than not. I have spent hours yesterday testing this changing only one variable at a time and determined the following which mostly was stated in separate parts above:
There was one file in /etc/asterisk/hud/ which somehow mysteriously changed its name to user.xml but should correctly be users.xml
once this was corrected, i deleted the tons of archive (04281220071216-user.xml.back) files and then was able to manually stop and restart the server successfully (as mentioned above). After that stage, i have applied the fix indicated above by indyphone:"add the following lines to the end of my /etc/rc.local file:"
/etc/init.d/hudlite-server stop
/etc/init.d/hudlite-server start
which assigns this operation after asterisk loads. After this point, the .back files begin appearing as they should do and has been no need to delete the new correct .back files further and everything has worked perfectly after approximately 20 reboots.
Hope this is useful.


Member Since:
2006-05-31