ispCP - Board - Support
New install CentOSx86 5.5 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: New install CentOSx86 5.5 (/thread-12128.html)



New install CentOSx86 5.5 - frustro - 11-13-2010 10:17 PM

(in my INSTALL from docs/centos section 5 is numbered 1-10 then 7-10 again(irrelevant to issue))
2.6.18-194.26.1.el5 #1 SMP i686 i686 i386 GNU/Linux
ispcp-omega-1.0.7-RC2


When performing install I made the mistake of missing step 4:

4. Install required Perl package
# perl -MCPAN -e 'install Term::ReadPassword'

I made it to step 8 (second step 8!) in section 5 Installation from /docs/centos)

8. Now it's time to set up the frontend. Change into the engine directory and
start the engine setup:
# cd /var/www/ispcp/engine/setup
# perl ispcp-setup

and received this error.

[root@localhost setup]# perl ispcp-setup
Can't locate feature.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ispcp-setup line 43.
BEGIN failed--compilation aborted at ispcp-setup line 43.

In order to attempt to backtrack my steps,
I performed step 4. Upon installation it updated itself. (may be issue?!?)
I was required to create "fake" password
5 reinstalled all rpms
6(conf.d-disabled.1)
7 (data-disabled.1)
8 skip
9 make -f Makefile.centos clean
10 rm -rf /tmp/ispcp/*
9 make -f Makefile.centos
10 /bin/cp -RLf /tmp/ispcp/* / (no /bin/cp asked to verify each overwrite. alias profile i assume)

Suggestions?

Received PM regarding issue,

[snip] You must use perl 5.10 [/snip]

http://www.cpan.org/src/README.html

Downloading
./configure
make
make install

cd /var/www/ispcp/engine/setup
perl ispcp-setp.

dependency errors

currently attempting:

perl -MCPAN -e 'install Term::ReadPassword, MIME::Parser, Crypt::Blowfish, Net::LibIDN, Crypt::PasswdMD5, HTML::Entities, MIME::Entity, DBI, Term::ReadPassword, Crypt::CBC, DBD::mysql, File::Copy::Recursive'

LibIDN error...

/usr/local/bin/perl Makefile.PL -- NOT OK

looking. May have to start over....system wipe. yay :(

Should have found this first. I will wipe and try again tomorrow.

http://www.kirsle.net/doc/perl510.html


RE: New install CentOSx86 5.5 - frustro - 11-14-2010 02:02 AM

(11-13-2010 10:17 PM)frustro Wrote:  (in my INSTALL from docs/centos section 5 is numbered 1-10 then 7-10 again(irrelevant to issue))
2.6.18-194.26.1.el5 #1 SMP i686 i686 i386 GNU/Linux
ispcp-omega-1.0.7-RC2


When performing install I made the mistake of missing step 4:

4. Install required Perl package
# perl -MCPAN -e 'install Term::ReadPassword'

I made it to step 8 (second step 8!) in section 5 Installation from /docs/centos)

8. Now it's time to set up the frontend. Change into the engine directory and
start the engine setup:
# cd /var/www/ispcp/engine/setup
# perl ispcp-setup

and received this error.

[root@localhost setup]# perl ispcp-setup
Can't locate feature.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ispcp-setup line 43.
BEGIN failed--compilation aborted at ispcp-setup line 43.

In order to attempt to backtrack my steps,
I performed step 4. Upon installation it updated itself. (may be issue?!?)
I was required to create "fake" password
5 reinstalled all rpms
6(conf.d-disabled.1)
7 (data-disabled.1)
8 skip
9 make -f Makefile.centos clean
10 rm -rf /tmp/ispcp/*
9 make -f Makefile.centos
10 /bin/cp -RLf /tmp/ispcp/* / (no /bin/cp asked to verify each overwrite. alias profile i assume)

Suggestions?

Received PM regarding issue,

[snip] You must use perl 5.10 [/snip]

http://www.cpan.org/src/README.html

Downloading
./configure
make
make install

cd /var/www/ispcp/engine/setup
perl ispcp-setp.

dependency errors

currently attempting:

perl -MCPAN -e 'install Term::ReadPassword, MIME::Parser, Crypt::Blowfish, Net::LibIDN, Crypt::PasswdMD5, HTML::Entities, MIME::Entity, DBI, Term::ReadPassword, Crypt::CBC, DBD::mysql, File::Copy::Recursive'

LibIDN error...

/usr/local/bin/perl Makefile.PL -- NOT OK

looking. May have to start over....system wipe. yay Sad

Should have found this first. I will wipe and try again tomorrow.

http://www.kirsle.net/doc/perl510.html

Couldn't sleep on it, created another VM, Ubuntu 10.04. INSTALL doc was spot on.

will come back to this.


RE: New install CentOSx86 5.5 - motokochan - 11-27-2010 06:45 AM

That's because the ispCP scripts are using Perl 5.10 features, and CentOS 5 is stuck back on Perl 5.8.I can't find an easy way to upgrade to 5.10 (no RPM, manual compilation is not a good idea for an RPM-based distribution).

I'll look into this more (hopefully when things calm down at work...) and may have to supply an RPM myself, if it can be done.

Note that this will not be an issue with RHEL6/CentOS6 as they will have Perl 5.10.


RE: New install CentOSx86 5.5 - zhangsong - 01-11-2011 08:41 PM

(11-27-2010 06:45 AM)motokochan Wrote:  That's because the ispCP scripts are using Perl 5.10 features, and CentOS 5 is stuck back on Perl 5.8.I can't find an easy way to upgrade to 5.10 (no RPM, manual compilation is not a good idea for an RPM-based distribution).

I'll look into this more (hopefully when things calm down at work...) and may have to supply an RPM myself, if it can be done.

Note that this will not be an issue with RHEL6/CentOS6 as they will have Perl 5.10.

could someone solve this problem? Maybe the developer can solve it in a better way.
Wish the developers may solve this problem.


RE: New install CentOSx86 5.5 - motokochan - 01-12-2011 03:18 AM

Use ispCP 1.0.6 for now.

If I get the time, I might try to see if the perl scripts using 5.10 features can be made to work with 5.8. No promises as I'm fairly busy.