Hi, A noob here. I have completed the installation of Squeeze Center and got the message that it was successfully installed.
When i did:
service squeezecenter start
I got this message:
[root@asterisk1 yum.repos.d]# sudo /etc/init.d/squeezecenter start
Starting SqueezeCenter: Log4perl: Seems like no initialization happened. Forgot to call init()?
Weak references are not implemented in the version of perl at /usr/lib/perl5/vendor_perl/Slim/Networking/Async.pm line 20
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Networking/Async.pm line 20.
Compilation failed in require at (eval 160) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Networking/Async/HTTP.pm line 36.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Utils/Scanner.pm line 45.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Utils/Scanner.pm line 45.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Control/Commands.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Control/Commands.pm line 42.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Control/Request.pm line 420.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Control/Request.pm line 420.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Buttons/SqueezeNetwork.pm line 24.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Buttons/SqueezeNetwork.pm line 24.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Buttons/Common.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Buttons/Common.pm line 42.
Compilation failed in require at /usr/libexec/squeezecenter-server line 147.
BEGIN failed--compilation aborted at /usr/libexec/squeezecenter-server line 147.
[FAILED]
Will really appreciate the help.
My configurations:
Perl: v5.8.5 built for i386-linux-thread-multi
Linux OS: CentOS release 4.6 (Final)
MySQL Version: 4.1.20
Also, I have read something that I have to use my instance of my sql -- being a noob, I completely do not understand.
I am familiar with Asterisk and Trixbox. Appreciate it.
Thanks.
Results 1 to 10 of 13
-
2008-05-07, 02:58 #1Junior Member
- Join Date
- May 2008
- Posts
- 17
Error Message after installing SC into CentOS 4.6
-
2008-05-07, 03:20 #2
Error Message after installing SC intoCentOS 4.6
> [root@asterisk1 yum.repos.d]# sudo /etc/init.d/squeezecenter start
> Starting SqueezeCenter: Log4perl: Seems like no initialization
> happened. Forgot to call init()?
If you tried installing SC 7.0, please give the latest 7.0.1 nightly a try. Some bugs regarding that warning/error have been fixed lately.
--
Michael
-
2008-05-07, 11:19 #3formerly known as Fletch
- Join Date
- May 2005
- Location
- Lake Oswego, OR
- Posts
- 2,162
I cannot duplicate this failure on my up to date installation of CentOS 4.6, even using the 7.0 RPM. The RPM will not work on C4 with SELinux enabled, but these don't look like the errors I'd expect if you had it enabled. Does Trixbox modify any of the CentOS packages?
Yes, but you don't need to do anything. The SC RPM launches it's own instance of mysqld using the copy installed from the CentOS mysql-server RPM. This is all handled automatically by SC and you don't need to manually configure anything.
-
2008-05-07, 17:09 #4Junior Member
- Join Date
- May 2008
- Posts
- 17
Thanks. I tried reinstalling again. And installation seemed to have successfully completed:
1. Installation Transaction Summary
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 18 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: squeezecenter ######################### [1/1]
Point your web browser to http://asterisk1.local:9000/ to configure SqueezeCenter.
Installed: squeezecenter.noarch 0:7.0-1
Complete!
2. service squeezecenter start
still gives the same compilation error as the above. Thus, I cant even use the web browser to configure the Squeezecenter.
I have tried googling if Trixbox has changed some CentOS package, but to no avail. But I would assumed i should not, since updating CentOS can be done independently.
Is there anything in particular that I need to check on CentOS or even specifically on "perl"?
Thanks a lot for the help.
-
2008-05-07, 17:11 #5Junior Member
- Join Date
- May 2008
- Posts
- 17
BTW, when I was installing squeezecenter -- I was logged in as ROOT.
Does it make any difference?
-
2008-05-07, 18:22 #6Junior Member
- Join Date
- May 2008
- Posts
- 17
Additional information. My selinux is set to disable.
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
-
2008-05-07, 20:48 #7formerly known as Fletch
- Join Date
- May 2005
- Location
- Lake Oswego, OR
- Posts
- 2,162
Are the CentOS packages in your installation all up to date? The "weak references" part is a known issue with Red Hat, but one that I've never personally seen. I suggest:
- make sure all the CentOS RPMs are fully updated
- If it still fails, reinstall Scalar::Util from CPAN
- If it still doesn't work, please post a link to a Trixbox ISO that can be used to replicate your system (I thought Trixbox now used CentOS 5 so I'm not sure what version to test with)
-
2008-05-07, 21:40 #8Junior Member
- Join Date
- May 2008
- Posts
- 17
I did another round of re-installation and this time use the squeezecenter-testing repo and got a successful installation:
1.
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package squeezecenter.noarch 0:7.0.1-0.1.19522 set to be updated
--> Running transaction check
Dependencies Resolved
================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
squeezecenter noarch 7.0.1-0.1.19522 squeezecenter-testing 18 M
Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 18 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): squeezecenter-7.0. 100% |=========================| 18 MB 03:41
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: squeezecenter ######################### [1/1]
Point your web browser to http://asterisk1.local:9000/ to configure SqueezeCenter.
Installed: squeezecenter.noarch 0:7.0.1-0.1.19522
Complete!
2. Noticed that
Main SC files /usr/share/squeezecenter
Slim Perl Modules /usr/lib/perl5/vendor_perl/Slim
Executables /usr/libexec
these directories are owned by root. so changed them by
chown -R squeezecenter:squeezecenter /usr/lib/perl5/vendor_perl/Slim
and so on for the other directories and files. In executables, I only changed squeezecenter-scanner and squeezecenter-server.
And still! I got the same compilation errors:
[root@asterisk1 squeezecenter]# service squeezecenter start
Starting SqueezeCenter: Log4perl: Seems like no initialization happened. Forgot to call init()?
Weak references are not implemented in the version of perl at /usr/lib/perl5/vendor_perl/Slim/Networking/Async.pm line 20
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Networking/Async.pm line 20.
Compilation failed in require at (eval 160) line 3.
...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Networking/Async/HTTP.pm line 36.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Utils/Scanner.pm line 45.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Utils/Scanner.pm line 45.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Control/Commands.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Control/Commands.pm line 42.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Control/Request.pm line 420.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Control/Request.pm line 420.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Buttons/SqueezeNetwork.pm line 24.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Buttons/SqueezeNetwork.pm line 24.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Slim/Buttons/Common.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Slim/Buttons/Common.pm line 42.
Compilation failed in require at /usr/libexec/squeezecenter-server line 147.
BEGIN failed--compilation aborted at /usr/libexec/squeezecenter-server line 147.
[FAILED]
Please really need your help. Have been troubleshooting this for hours...thanks a lot in advance.
-
2008-05-07, 21:55 #9Junior Member
- Join Date
- May 2008
- Posts
- 17
1. CentOS RPM - yes, I just upgraded my CentOS RPM -- though I am still using 4.6 version
Scalar::Util from CPAN. Pardon my ignorance, would you be able to help on how I can do this?
Trixbox ISO - http://sourceforge.net/project/showfiles.php group_id=123387&package_id=192286
(my current system is v 2.2.4 - may you use 2.2.9, which the available ISO)
Thanks in advance.
-
2008-05-08, 09:56 #10formerly known as Fletch
- Join Date
- May 2005
- Location
- Lake Oswego, OR
- Posts
- 2,162
perl -MCPAN -e 'install Scalar::Util"
but, I'm not sure it's necessary because...
I installed 2.2.9 and ran a yum update to get all the latest. The SC 7.0 RPM installs and runs fine for me with none of the errors you reported. I'm not really sure what's going on.Trixbox ISO - http://sourceforge.net/project/showfiles.php group_id=123387&package_id=192286
(my current system is v 2.2.4 - may you use 2.2.9, which the available ISO)

Reply With Quote

