HUDLITE Server problems (Won't Start)

Rager
Posts: 79
Member Since:
2006-11-30

I hope someone can help me. Serious Issues with HUDlite Server.

If I run "install-hudlite" it runs fine and downloads the file. However once it tries to run the HUDLITE Server I get the following error.

---------------------------------------------------------------------------------------------
Running Transaction
Installing: hudlite-server ######################### [1/1]
Starting hudlite-server: [FAILED]
error: %post(hudlite-server-1.4.6-2.i386) scriptlet failed, exit status 1

Installed: hudlite-server.i386 0:1.4.6-2
Complete!
Starting hudlite-server: [FAILED]
---------------------------------------------------------------------------------------------

I have tried removing the download files and redownloading them. I have tried removing the hud folder from "/usr/local/fonality/hud"

What else needs to be changed?

I have recently changed the passwords of my MYSQL server and most other paswords on the box too.

ircd.conf has the password set to "password" and so "connect.xml"

Any ideas would be greatly appreciated.

Thanks kindly

Ryan



Rager
Posts: 79
Member Since:
2006-11-30
Re: HUDLITE Server problems (Won't Start)

Also the only log entries are as follows.

-----------------------------------------------------------------------
2007-01-20 13:39:24: RELAY STARTED
2007-01-20 13:39:24: relayStart> IRC connect: nick(Relay) pass(password) user(irc2asterisk_relay) ircname(IRC to Asterisk command bot) address(localhost) port(6600)
2007-01-20 13:39:24: relayStart> Asterisk connect: address(localhost) port(5038)
2007-01-20 13:39:29: RELAY STARTED
2007-01-20 13:39:29: relayStart> IRC connect: nick(Relay) pass(password) user(irc2asterisk_relay) ircname(IRC to Asterisk command bot) address(localhost) port(6600)
2007-01-20 13:39:29: relayStart> Asterisk connect: address(localhost) port(5038)
------------------------------------------------------------------------

I hope this helps in some way.

Ryan



andrew
Posts: 1472
Member Since:
2006-05-30
Re: HUDLITE Server problems (Won't Start)

You said you changes some files you must have changed some passwords that HUDlite needs to login. Try a clean VMware images and see if your clients can Login.



Rager
Posts: 79
Member Since:
2006-11-30
Re: HUDLITE Server problems (Won't Start)

Hi Andrew

Yes it seems to work fine! I have only changed the passwords as per recommendations. Removed the Samba server stuff and removed DHCP server.

And then usual updates and so forth, create extensions etc.

I however after using the "install-hudlite" I get the errors listed below. What is causing the script to fail? is there anyway to see what the script is doing and where its failing? Cause Hudlite isn't installing properly as seen below?

I'm wondering if its permissions or something? Everything else works fine, I just can't install it.

So any details about what happens during the install would be great. Also what passwords does it need and where are they located? just so I can check those too.

---------------------------------------------------------------------------------------------
Running Transaction
Installing: hudlite-server ######################### [1/1]
Starting hudlite-server: [FAILED]
error: %post(hudlite-server-1.4.6-2.i386) scriptlet failed, exit status 1

Installed: hudlite-server.i386 0:1.4.6-2
Complete!
Starting hudlite-server: [FAILED]
---------------------------------------------------------------------------------------------

EDIT: This may be of some use too?
---------------------------------------------------------------------------------------------
./hudlite-server -debug2
sh: /etc/asterisk/hud/users.xml: No such file or directory
chown: cannot access `/etc/asterisk/hud/users.xml': No such file or directory
chgrp: cannot access `/etc/asterisk/hud/users.xml': No such file or directory
chmod: cannot access `/etc/asterisk/hud/users.xml': No such file or directory
could not find ParserDetails.ini in PERL2EXE_STORAGE/XML/SAX
$VAR1 = {};
Relay:new> connections_struct($VAR1 = {
'hud' => {},
'irc' => {
'pass' => 'password',
'user' => 'irc2asterisk_relay',
'name' => 'IRC to Asterisk command bot',
'port' => '6600',
'host' => 'localhost'
},
'asterisk' => {
'port' => '5038',
'host' => 'localhost'
}
};
)
Relay:relayStart> IRC connect: nick(Relay) pass(password) user(irc2asterisk_relay) ircname(IRC to Asterisk command bot) address(localhost) port(6600)
Relay:relayStart> Asterisk connect: address(localhost) port(5038)
Can't open /etc/asterisk/hud: No such file or directory
at /usr/lib/perl5/vendor_perl/5.8.5/POE/Session.pm line 629
POE::Kernel's run() method was never called.
--------------------------------------------------------------------------------------------

Thanks so much for any help provided.

Thanks

Ryan



Rager
Posts: 79
Member Since:
2006-11-30
Re: HUDLITE Server problems (Won't Start)

Sorry for all the posts but I also just realised that I used to have hudlite running but removed it due to an error I was getting with Hudlite Admin. However upon re-installing I noticed it to be a slightly newer version. Has anything changed that may be causing my errors?

Also After trying to install it using the Hud Admin dependencies I get this error

----------------------------
[root@asterisk1 hud]# ./hudlite-server -debug2
could not find ParserDetails.ini in PERL2EXE_STORAGE/XML/SAX
Name contains invalid start character: ' '
----------------------------

Thanks again

Ryan



Rager
Posts: 79
Member Since:
2006-11-30
Re: HUDLITE Server problems (Won't Start)

I have finally solved the problem.

It had to do with 2 of my extensions having an "&" in the display name. Freepbx allows this but it appears hudlite does not.

Thanks

Ryan



andrew
Posts: 1472
Member Since:
2006-05-30
Re: HUDLITE Server problems (Won't Start)

Glad you resolved your problem. i'll take a look at why we don't support the & char in the name.



ecaron
Posts: 6
Member Since:
2007-01-09
Re: HUDLITE Server problems (Won't Start)

Very similar problem, but a little harder to diagnose.
When running -debug2, I get this:
***
could not find ParserDetails.ini in PERL2EXE_STORAGE/XML/SAX
No close element tag [Ln: 2, Col: 3]
***
I have no idea how to find out which file is missing the close element tag (I haven't modified any xml files by hand yet).

Any suggestions? (Running Trixbox 2.0)



Rager
Posts: 79
Member Since:
2006-11-30
Re: HUDLITE Server problems (Won't Start)

My advice is create your hud extension file manually and see if the problem still exists.

If it does then its not to do with hud-lite Admin creating extensions but if it works then you know it is.

Thanks

Ryan



geoffcummins
Posts: 4
Member Since:
2007-07-10
We also had a similar problem

We are using an & in the dial field so that two phones ring the same, for this one user.
SIP/5000&SIP/5001

Maybe we need to use a ring group or something instead?



andrew
Posts: 1472
Member Since:
2006-05-30
Old server version

You are running a very old buggy version of the server. Please update to the latest client and server and post if this solves your problem.

Please use 1.4.27 server and 2.1 client.

http://yum.trixbox.org/centos/4/RPMS/repodata/repoview/hudlite-se...
http://hudlite.org/downloads.htm



geoffcummins
Posts: 4
Member Since:
2007-07-10
we are using 1.4.27-1

We are using the current up to date trixbox with 1.4.27-1.



andrew
Posts: 1472
Member Since:
2006-05-30
we are using 1.4.27-1

And what problem are you having with the latest version? The original poster was using an old version.



geoffcummins
Posts: 4
Member Since:
2007-07-10
& in the dial field stops hud server from starting

We are using an & in the dial field so that two phones ring the same, for this one user.
SIP/5000&SIP/5001

Maybe we need to use a ring group or something instead?



rpotthoff
Posts: 146
Member Since:
2006-12-19
Will not start

I am getting this in the HUD error.log file any ideas? Hud will not start.

Relay:2007-08-05 14:42:14> Failed to check configuration files. Reason: Document requires an element [Ln: 1, Col: 0]



techieg
Posts: 279
Member Since:
2006-06-13
HUDLite Setup Info

Isn't there installation, setup, and admin information for hudlite? Can someone please post it here?



SwiftNets
Posts: 65
Member Since:
2007-04-16
Any Ideas???

Hey there, anyone have any ideas about this error, I've got 2.3.xx

Michael

hud]# ./hudlite-server start

PLEASE SEE THE PERL2EXE USER MANUAL UNDER "Can't locate somemodule.pm in @INC"
FOR AN EXPLANATION OF THE FOLLOWING MESSAGE:
Can't locate POE/Kernel.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8 /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 PERL2EXE_STORAGE /usr/local/fonality/hud /tmp/p2xtmp-22946) at (eval 7) line 1.
BEGIN failed--compilation aborted at (eval 7) line 1.

PLEASE SEE THE PERL2EXE USER MANUAL UNDER "Can't locate somemodule.pm in @INC"
FOR AN EXPLANATION OF THE FOLLOWING MESSAGE:
Can't locate POE/Session.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8 /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 PERL2EXE_STORAGE /usr/local/fonality/hud /tmp/p2xtmp-22946) at (eval 8) line 1.
BEGIN failed--compilation aborted at (eval 8) line 1.
could not import qw(Kernel Session) at /usr/local/fonality/hud/hudlite-server line 13
BEGIN failed--compilation aborted at /usr/local/fonality/hud/hudlite-server line 13.



rcourtna
Posts: 1
Member Since:
2006-09-05
Bandaid fix

Hi,

I was trying to get this working on a vanilla CentOS 5 (not trixbox)

Mine was failing with:

Quote:
Can't locate Net/DNS/RR/A.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8 /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 PERL2EXE_STORAGE /usr/local/fonality/hud /tmp/p2xtmp-27755) at (eval 72) line 3.

So I did:

Quote:
locate A.pm

and saw:

Quote:
/usr/lib/perl5/5.8.8/Class/ISA.pm
/usr/lib/perl5/5.8.8/Net/FTP/A.pm
/usr/lib/perl5/vendor_perl/5.8.8/LWP/RobotUA.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Apache/TestSSLCA.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR/A.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR/AAAA.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR/SOA.pm

To fix/workaround the problem, I simply:

Quote:
cd /usr/lib/perl5/5.8.8/Net
ln -s /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS

Then it worked. Hopefully this helps others as well.
Ryan Courtnage



uismangan
Posts: 1
Member Since:
2008-05-05
how get instalation hudserver??

i get the trouble to get the instalation of hudserver.
can anyone help me how to get it??
plis it's necesery for me now
thanx

(n_n)'v

--

(n_n)'v



gbarreto
Posts: 3
Member Since:
2006-06-20
Thanks!!! This was my

Thanks!!! This was my problem also... I just removed the "&" from the display names and everything started working well :D

THANKS AGAIN!!!



demethan
Posts: 2
Member Since:
2009-07-30
I had the same but different!

Hi,

I run two trixbox CE and one installed Hudlite-server correctly but the other one refused.

Turns out that I was missing the folder hud under /etc/asterisk

mkdir /etc/asterisk/hud

yum reinstall hudlite-server
yum reinstall tbm-humadmin

reboot and everything was fine.

I found the problem buy running
cd /usr/local/fonality/hud
> ./hudlite-server password -debug9

Just posting for those who read all the post and didn't find an answer. Here is one more.



zigg.z
Posts: 56
Member Since:
2009-08-20
HUDlite server running, cannot connect

I have several computers that all had HUD on them and running fine. Server status states that HUD is running right now and I triple checked my IP addresses and passwords, and all settings within HUD client settings (haven't changed) and still no connectivity.

I did do a Package search and it tried to install Hudlite server on the trixbox, and after the attempt, this is the error code:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package hudlite-server.i386 0:1.4.32-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size

Installing:
hudlite-server i386 1.4.32-1 trixbox 2.8 M

Transaction Summary

Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 2.8 M
Downloading Packages:
http://yum.trixbox.org/centos/5/RPMS/hudlite-server-1.4.32-1.i386... [Errno 4] IOError:
Trying other mirror.

Error Downloading Packages:
hudlite-server-1.4.32-1.i386: failure: hudlite-server-1.4.32-1.i386.rpm from trixbox: [Errno 256] No more mirrors to try.

Someone have a suggestion as to this error??
Thanks a bunch!!



mgoldburg
Posts: 21
Member Since:
2007-06-01
If you make the following

If you make the following change (diff output) to /var/www/html/maint/modules/12_hudadmin/include/functions.php in the 1.4.32-1 version of the server, all text starting with the first ampersand in usernames, dial fields and other database fields will be stripped out prior to writing the /etc/asterisk/hud/users.xml file.

-------------
118a119
> $cur_value3 = preg_replace("/&.*/","",$cur_value3);
-------------

This will eliminate the startup complaints in the hudManager web interface.

We also use dial fields with &'s to cause multiple extensions to ring simultaneously -- users' hard- and soft-phones in our case -- and this change apparently causes only the first extension in the list to get the dialback from HUD when initiating a call from the HUD interface, but that's OK in our case.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.