Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › perl-time-format 1.11
-
perl-time-format 1.11
Posted by daniels on March 5, 2010 at 22:40Hi,
I’m having a lot of trouble trying to install pandora in the Centos OS 5.4 (upgrade from the 2.1 version. By the way, if you are upgrading from 2.1, remeber to uninstall the jasons php from utterramblings.repo).
The pandora rpm needs the perl-time-format-1.11-0.noarch.rpm, but this package is only for Suse, because it uses the new rpmlib(PayloadIsLzma) that is only available for Suse…
Could you point me to the src of the per-time-format-1.11-0? I will build the rpm for Centos and send it to you, so the other guys who want to install it in Centos could succeed.
This is the error that I got when I try to install:
yum localinstall pandorafms_server-3.0.0-6.1.el5.centos.noarch.rpm –nogpgcheck
pandorafms_server-3.0.0-6.1.noarch from /pandorafms_server-3.0.0-6.1.el5.centos.noarch has depsolving problems
Missing Dependency: perl-time-format is needed by package pandorafms_server-3.0.0-6.1.noarch (/pandorafms_server-3.0.0-6.1.el5.centos.noarch)
Error: Missing Dependency: perl-time-format is needed by package pandorafms_server-3.0.0-6.1.noarch (/pandorafms_server-3.0.0-6.1.el5.centos.noarchAny other idea is welcome.
Regards.
daniels replied 14 years, 7 months ago 4 Members · 7 Replies -
7 Replies
-
::
I used a VM to test the complete process in Centos 5.4 and this is what worked for me. I installed everything that I could from yum repositories and just a few perl modules from cpan:
yum install perl-XML-SAX* perl-XML-Simple* perl-IO-Socket* perl-DBI nmap
yum install –enablerepo=rpmforge perl-Time-modules* perl-NetAddr-IP* perl-DateTime* perl-DBI nmap xprobe2 perl-Tie-A* perl-Tie-C* perl-Tie-D* perl-Tie-E* perl-Tie-F* perl-Tie-H* perl-Tie-IxHash perl-Tie-LLHash perl-Tie-Mounted perl-Tie-Persistent perl-Tie-RegexpHash perl-Tie-Restore perl-Tie-S* perl-Tie-T* perl-ExtUtils-CBuilder perl-ExtUtils-Depends perl-ExtUtils-DynaGlue perl-ExtUtils-F77 perl-ExtUtils-FakeConfig perl-ExtUtils-FindFunctions perl-ExtUtils-ParseXS perl-ExtUtils-PerlPP perl-ExtUtils-PkgConfig perl-ExtUtils-TBone perl-ExtUtils-XSBuilder perl-Mail-Sendmail
cpan Time::Format Net::Traceroute::PurePerl IO::Socket::Multicast
—————————————–
If you have to install PHP 5.2 from Testing repo:
cd /etc/yum.repos.d && wget http://dev.centos.org/centos/5/CentOS-Testing.repo
(I had priority installed, so I had to temporary configure priority test as 1, update php and then remove the priority)
echo “priority=1” >> /etc/yum.repos.d/CentOS-Testing.repo
vim /etc/yum.repos.d/CentOS-Testing.repo (change enable=1)yum update php
vim /etc/yum.repos.d/CentOS-Testing.repo (remove priority=1 line and back enable=0)
(Thanks to http://openideas.info/wiki/index.php?title=Pandora_3.0:CentOS_Installation)
(Thanks to http://www.strdoc.net/php5-centos-4-4)
—————————————–if you got an error in Traceroute, try:
wget http://search.cpan.org/CPAN/authors/id/H/HA/HAG/Net-Traceroute-1.08.tar.gz
tar xzvf Net-Traceroute-1.08.tar.gz
cd Net-Traceroute-1.08.tar.gz
make MakeFile.PL
make
make test
make installcpan Net::Traceroute::PurePerl
-
::
I still have a problem to install pandora-server on CentOS 5.4 due to perl dependencies:
[root@metricsrv jhariti]# rpm -i pandorafms_server-3.0.0-6.1.el5.centos.noarch.rpm
warning: pandorafms_server-3.0.0-6.1.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 155987ef
error: Failed dependencies:
perl-time-format is needed by pandorafms_server-3.0.0-6.1.noarch[root@metricsrv jhariti]# rpm -i perl-Time-Format-1.11-alt1.noarch.rpm
error: Failed dependencies:
perl(subs.pm) is needed by perl-Time-Format-1.11-alt1.noarch
rpmlib(PayloadIsLzma) is needed by perl-Time-Format-1.11-alt1.noarch
[root@metricsrv jhariti]#I can’t found the modules aboves:
1. perl(subs.pm)
2. rpmlib(PayloadIsLzma)Thanks in advance for your help & advise
-
::
(read the ps before start installing*)
This lib (rpmlib(PayloadIsLzma)) is for Suse only and I was unable to install the rpms made available by pandora guys too….. What I did was trying to install everything that was needed from the RPM repositories:yum install perl-XML-SAX* perl-XML-Simple* perl-IO-Socket* perl-DBI nmap
yum install perl-Time-modules* perl-NetAddr-IP* perl-DateTime* perl-DBI nmap xprobe2 –enablerepo=rpmforge
yum install perl-Tie-A* perl-Tie-C* perl-Tie-D* perl-Tie-E* perl-Tie-F* perl-Tie-H* perl-Tie-IxHash perl-Tie-LLHash perl-Tie-Mounted perl-Tie-Persistent perl-Tie-RegexpHash perl-Tie-Restore perl-Tie-S* perl-Tie-T* –enablerepo=rpmforge
yum install –enablerepo=rpmforge perl-ExtUtils-CBuilder perl-ExtUtils-Depends perl-ExtUtils-DynaGlue perl-ExtUtils-F77 perl-ExtUtils-FakeConfig perl-ExtUtils-FindFunctions perl-ExtUtils-ParseXS perl-ExtUtils-PerlPP perl-ExtUtils-PkgConfig perl-ExtUtils-TBone perl-ExtUtils-XSBuilder
yum install –enablerepo=rpmforge perl-Mail-Sendmail
CentOS-Base.repo
rpmforge.repo
CentOS-Testing.repoUpdate the PHP to 5.2 version:
yum update php (from CentOS-Testing)After that, I still needed to install some packages from CPAN:
cpan Time::Format Net::Traceroute::PurePerlI had to do some ‘tricks’ to be able to install Net::Traceroute::PurePerl. If you need further assistance, just ask here 🙂
*PS: Some applications that needed earlier versions of php stop working in my server (eg: phpldapadmin) and I still have problems with this after the steps listed above.
Good luck and regards.
-
::
There are a special RPM version for CentOS:
Are you using that version or the “standard” (SUSE based)?. There also a directory in our sourceforge download section with several RPM packaged dependencies you may use to solve your problems:
I hope this helps you and other CentOS users.
(read the ps before start installing*)
This lib (rpmlib(PayloadIsLzma)) is for Suse only and I was unable to install the rpms made available by pandora guys too….. What I did was trying to install everything that was needed from the RPM repositories:yum install perl-XML-SAX* perl-XML-Simple* perl-IO-Socket* perl-DBI nmap
yum install perl-Time-modules* perl-NetAddr-IP* perl-DateTime* perl-DBI nmap xprobe2 –enablerepo=rpmforge
yum install perl-Tie-A* perl-Tie-C* perl-Tie-D* perl-Tie-E* perl-Tie-F* perl-Tie-H* perl-Tie-IxHash perl-Tie-LLHash perl-Tie-Mounted perl-Tie-Persistent perl-Tie-RegexpHash perl-Tie-Restore perl-Tie-S* perl-Tie-T* –enablerepo=rpmforge
yum install –enablerepo=rpmforge perl-ExtUtils-CBuilder perl-ExtUtils-Depends perl-ExtUtils-DynaGlue perl-ExtUtils-F77 perl-ExtUtils-FakeConfig perl-ExtUtils-FindFunctions perl-ExtUtils-ParseXS perl-ExtUtils-PerlPP perl-ExtUtils-PkgConfig perl-ExtUtils-TBone perl-ExtUtils-XSBuilder
yum install –enablerepo=rpmforge perl-Mail-Sendmail
CentOS-Base.repo
rpmforge.repo
CentOS-Testing.repoUpdate the PHP to 5.2 version:
yum update php (from CentOS-Testing)After that, I still needed to install some packages from CPAN:
cpan Time::Format Net::Traceroute::PurePerlI had to do some ‘tricks’ to be able to install Net::Traceroute::PurePerl. If you need further assistance, just ask here 🙂
*PS: Some applications that needed earlier versions of php stop working in my server (eg: phpldapadmin) and I still have problems with this after the steps listed above.
Good luck and regards.
-
::
I don’t remember the exactly problem that I had with the rpms available at the time I tried to upgrade, but I’m positive that I tried the rpms and the dependency package without success…
It would be good to know about other success/failure cases of pandora CentOS users. If you are one of them, please, post you experience here.
Regards.
-
::
I’m trying to do a clean install of Pandora 3.0 on CentOS 5, and nothing seems to work. The xprobe2 packages in the dependencies link: http://sourceforge.net/projects/pandora/files/Pandora%20FMS%203.0/Final%20version%20%28Stable%29/Tools%20and%20dependencies%20%28All%20versions%29/RPM%20Generic/ do not install at all. If you try to install the x86 package you get “not a compatible architecture”. If you install the i586 version you get a dependencie for libpcap.so. If you install libpcap.so, it doesnt resolve the dependency. Neither the perl-net or the php-pear packages will install.
Have you actually tried installing these packages on a clean CentOS 5 install? they don’t work. The upgrade to 3.0 in Suse is equally difficult. The only way I can even get 3.0 to run is to do the liveCD install and rebuild everything inside pandora.
-
::
Hi.
Have you tried yum install –enablerepo=rpmforge xprobe2? What is the result? I upgraded from version 2.0 with success (after a lot of trouble and work). The dependency packages from pandora source forge didn’t worked for me too, but I have success with rpmforge to install most of the dependencies.
Regards.