Re: [psad-discuss] psad 2.1.7 perl dependency hell.

2010-09-10 Thread Michael Rash
On Sep 09, 2010, Unihost wrote:

  Hi,
 
 Thanks for the quick response.  Here's what I found.
 
 Firstly, I'm on CentOS, and your package has a require of
 perl-ExtUtils-MakeMaker which apparently isn't easy to find, and
 doesn't appear to be in any of the normal repositories (inc
 rpmforge).  I found a src rpm and built it and installed it.
 
 Then ran cd_rpmbuilder, which created the psad rpm... so far so good..
 
 Preparing...
 ### [100%]
1:psad
 ### [100%]
 Can't open /etc/psad/psadwatchd.conf: No such file or directory.
 
 Followed by.
 
 [r...@psad]# /etc/rc.d/init.d/psad start
 Starting psad: Unix::Syslog object version 1.1 does not match
 bootstrap parameter 0.100 at
 /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line
 253.
 Compilation failed in require at /usr/sbin/psad line 2670.
 [FAILED]

Yuck, that's no good.

 Any light you can shed would be useful?  I'm curious as to what
 happened between the older versions and this current version??
 Everything used to install so smoothly I never had a single problem
 with psad before today?

For the previous version I built it on an older version of Ubuntu - it must
have been Ubuntu-8.10.  I should probably stand up an RPM-based distro for
building the psad RPM's so that I can troubleshoot things like the above
errors.  I suspect that psad would install from sources on your system, but
I understand if you only want to install software via RPM's.

I'll work on standing up a CentOS VM...

--Mike


 Cheers
 
 Tony.
 
 On 09/09/2010 13:33, Michael Rash wrote:
 On Sep 08, 2010, Unihost wrote:
 
   Hi All,
 Hello,
 
 Just installed 2.1.7 onto a server and have found myself in perl
 dependency hell.
 
 First I tried to start 2.1.7 and got:
 
 Starting psad: /usr/bin/perl: symbol lookup error:
 /usr/lib/psad/0/auto/Date/Calc/Calc.so: undefined symbol:
 Perl_Istack_sp_ptr
 
 OK, I figured a quick n dirty fix, I moved the offending lib out of
 the way and copied one from my own perl across. Which gave rise to
 this:
 
 Starting psad: /usr/bin/perl: symbol lookup error:
 /usr/lib/psad/0/auto/Unix/Syslog/Syslog.so: undefined symbol:
 Perl_Istack_sp_ptr
 
 No problem, let's try the quick n dirty again, backup the old and
 copy a new one..
 
 Now I get:
 
 Starting psad: Unix::Syslog object version 1.1 does not match
 bootstrap parameter 0.100 at
 /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line
 253.
 Compilation failed in require at /usr/sbin/psad line 2670.
 
 If anyone can help me resolve this it'd be hugely helpful, never
 experienced any dependency issues with this software before.
 Are you installing psad via an RPM?  If so, then I suspect that all of the
 issues relate to differences between the system I used to build the RPM's
 vs. your system.  A easy solution is to build a psad RPM on your system
 with the cd_rpmbuilder script:
 
 http://www.cipherdyne.org/scripts/cd_rpmbuilder.tar.gz
 
 Basically you just need to execute the following and it will take care
 of the rest:
 
 # ./cd_rpmbuilder -p psad
 
 Here is an example of the script in action:
 
 http://www.cipherdyne.org/blog/2006/12/automated-rpm-builder.html
 
 Thanks,
 
 --Mike
 
 
 
 Cheers
 
 T.
 --
 This SF.net Dev2Dev email is sponsored by:
 
 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 psad-discuss mailing list
 psad-discuss@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/psad-discuss
 
 --
 This SF.net Dev2Dev email is sponsored by:
 
 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 psad-discuss mailing list
 psad-discuss@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/psad-discuss
 

 --
 This SF.net Dev2Dev email is sponsored by:
 
 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd

 ___
 psad-discuss mailing list
 psad-discuss@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/psad-discuss


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
psad-discuss mailing list
psad-discuss@lists.sourceforge.net

Re: [psad-discuss] psad 2.1.7 perl dependency hell.

2010-09-09 Thread Michael Rash
On Sep 08, 2010, Unihost wrote:

  Hi All,

Hello,

 Just installed 2.1.7 onto a server and have found myself in perl
 dependency hell.
 
 First I tried to start 2.1.7 and got:
 
 Starting psad: /usr/bin/perl: symbol lookup error:
 /usr/lib/psad/0/auto/Date/Calc/Calc.so: undefined symbol:
 Perl_Istack_sp_ptr
 
 OK, I figured a quick n dirty fix, I moved the offending lib out of
 the way and copied one from my own perl across. Which gave rise to
 this:
 
 Starting psad: /usr/bin/perl: symbol lookup error:
 /usr/lib/psad/0/auto/Unix/Syslog/Syslog.so: undefined symbol:
 Perl_Istack_sp_ptr
 
 No problem, let's try the quick n dirty again, backup the old and
 copy a new one..
 
 Now I get:
 
 Starting psad: Unix::Syslog object version 1.1 does not match
 bootstrap parameter 0.100 at
 /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line
 253.
 Compilation failed in require at /usr/sbin/psad line 2670.
 
 If anyone can help me resolve this it'd be hugely helpful, never
 experienced any dependency issues with this software before.

Are you installing psad via an RPM?  If so, then I suspect that all of the
issues relate to differences between the system I used to build the RPM's
vs. your system.  A easy solution is to build a psad RPM on your system
with the cd_rpmbuilder script:

http://www.cipherdyne.org/scripts/cd_rpmbuilder.tar.gz

Basically you just need to execute the following and it will take care
of the rest:

# ./cd_rpmbuilder -p psad

Here is an example of the script in action:

http://www.cipherdyne.org/blog/2006/12/automated-rpm-builder.html

Thanks,

--Mike



 Cheers
 
 T.

 --
 This SF.net Dev2Dev email is sponsored by:
 
 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd

 ___
 psad-discuss mailing list
 psad-discuss@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/psad-discuss


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
psad-discuss mailing list
psad-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/psad-discuss