Install Issues With RHEL 3 ES

Post Reply
bitdefend
Junior Member
Posts: 3
Joined: 01 Jun 2016, 10:21

Install Issues With RHEL 3 ES

Post by bitdefend »

Hi,

I'm trying to install CSF on a very old server running RHEL 3 ES. I'm getting the following errors,

service lfd restart
Stopping lfd: [ OK ]
Starting lfd:"import" is not exported by the Exporter module
Can't continue after import errors at /usr/local/csf/lib/ConfigServer/Slurp.pm line 15
BEGIN failed--compilation aborted at /usr/local/csf/lib/ConfigServer/Slurp.pm line 15.
Compilation failed in require at /usr/local/csf/lib/ConfigServer/Config.pm line 17.
BEGIN failed--compilation aborted at /usr/local/csf/lib/ConfigServer/Config.pm line 17.
Compilation failed in require at /usr/sbin/lfd line 17.
BEGIN failed--compilation aborted at /usr/sbin/lfd line 17.

My host did some digging and cam back with,

My research indicates that CSF is broken on RHEL 3. The version of Perl installed on the server doesn't support the features that CSF is using. Specifically, the following error can be reviewed.

Starting lfd:"import" is not exported by the Exporter module
Can't continue after import errors at /usr/local/csf/lib/ConfigServer/Slurp.pm line 15

This is line 15: 'use Exporter qw{ import }'

According to a bug report I found in the perl archive. This method in particular is not supported on Perl 5.8. Which is installed on this server.

# perl -v
This is perl, v5.8.0 built for i386-linux-thread-multi

Bug report: https://rt.cpan.org/Public/Bug/Display.html?id=28004

According to yum, you are on the latest version of Perl that is available for your server. You may be able to find a 3rd party repository or some other way to upgrade Perl, however the results of doing this could be unpredictable. If RHEL 3 is a supported by CSF you will need to contact the makers of the software for a resolution to this issue.
--------

Any help would be appreciated.
Simon
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Install Issues With RHEL 3 ES

Post by ForumAdmin »

To use csf you would have to install a more modern version of perl which is usually straightforward to do, and then install any required modules through cpan.

We cannot keep csf compatible with obsolete and EOL operating systems and as development progresses, such OS's will inevitably become unsupported.
Post Reply