So the issue really comes up here:
- Code: Select all
[root@ns3 ~]# /etc/init.d/psad start
Starting psad: Can't load '/root/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Date/Calc/Calc.so' for module Date::Calc: /root/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Date/Calc/Calc.so: undefined symbol: DateCalc_Day_of_Week_to_Text_ at /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/DynaLoader.pm line 193.
at /usr/sbin/psad line 3214.
Compilation failed in require at /usr/sbin/psad line 3214.
Unfortunately, it's taken a few days to identify the issue (even with the original developer contacting me back). What I see it the following:
- Code: Select all
PERL5LIB="/root/perl5/lib/perl5${PERL5LIB+:}${PERL5LIB}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/root/perl5${PERL_LOCAL_LIB_ROOT+:}${PERL_LOCAL_LIB_ROOT}";
export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"/root/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/root/perl5"; export PERL_MM_OPT;
In the .bashrc script. This is not expected, or desired, as I am trying to implement the same environment on the server, for anyone with Shell Access.
My Questions (since I have none of this on my other servers), who decided to implement this? Why? How do I go back to the previous method (which worked well for my needs. Just because everyone else jumped off of the bridge, doesn't mean I am going to).
The big concern I have (r I would just remove the entries), is the following:
- Code: Select all
[root@ns3 ~]# ls /root/perl5/lib/perl5
5.16.0/ CPAN/ IPTables/ Mail/ Sub/
5.20.1/ Date/ lib/ Module/ Test/
Carp/ ExtUtils/ local/ POD2/ x86_64-linux-thread-multi/
What's the best way not to screw up the server, and maintain peace and harmony?
Thank you.