Koozali.org: home of the SME Server

server-manager crashed due to mod_perl upgrade

Offline kankan

  • *
  • 18
  • +0/-0
  • Eat,Sleep, Row and Code a bit...
    • L'atelier du portable ASUS
server-manager crashed due to mod_perl upgrade
« on: August 15, 2009, 10:01:22 PM »
Hi

I installed ImageMagik via Yum and other packets :

yum install ImageMagick-perl mod_perl perl-XML-Twig

Since, i am unable to access the server manager:

Internal Server Error

I uninstalled the packages

yum remove ImageMagick-perl mod_perl perl-XML-Twig

But Apache crashed naturally due to the miss of mod_perl

So I reinstalled the whole packages :

ImageMagick-perl        i386       6.0.7.1-20.el4
mod_perl                i386       2.0.3-1.el4s1.3
perl-XML-Twig           noarch     3.13-6

I think this error is due to mod_perl ... but do not know how to rollback to my former version.

I am running SME 7.2

Little help?

Regards

Nicolas
Admin @ L'atelier ASUS
https://www.atelier-asus.fr

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: server-manager crashed due to mod_perl upgrade
« Reply #1 on: August 16, 2009, 07:01:01 PM »
kankan II

Quote
mod_perl                i386       2.0.3-1.el4s1.3
I am running SME 7.2

Do you have additional repositories installed and enabled, beyond those default repos shown in the FAQ, as you seem to have a newer rpm than the current sme 7.4 version ?
If so disable the extras.

On a sme 7.4 up to date server I get
rpm -q mod_perl
mod_perl-1.99_16-4.5

I suggest you reset your repos to defaults
Then uninstall mod_perl
Then update any and all standard default packages with
yum update
signal-event post-upgrade
signal-event reboot
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline kankan

  • *
  • 18
  • +0/-0
  • Eat,Sleep, Row and Code a bit...
    • L'atelier du portable ASUS
Re: server-manager crashed due to mod_perl upgrade
« Reply #2 on: August 16, 2009, 07:12:05 PM »
Hello Mary

Well, I have those repositories, as i setup additonnal packages (php 5, Mysql 5 etc)

smeaddons                 100% |=========================| 1.9 kB    00:00     
base                      100% |=========================| 1.1 kB    00:00     
centosplus                100% |=========================|  951 B    00:00     
smeos                     100% |=========================| 1.9 kB    00:00     
smeupdates                100% |=========================| 1.9 kB    00:00     

If i do a Yum update, i am risking to loose some of my configurations no ?

Is there a way to force the setup of mod_perl-1.99_16-4.5 instead ?
Admin @ L'atelier ASUS
https://www.atelier-asus.fr

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: server-manager crashed due to mod_perl upgrade
« Reply #3 on: August 16, 2009, 07:45:07 PM »
kankan II

download or wget the required rpm version from the sme repos
Then install manually with
rpm -Uvh -force mod_perl*.rpm
Follow with the signal event commands mentioned previously

You should not need to have additional repos enabled as that will lead to wrongly updating packages from those sources. You can configure additional repos but leave them disabled and use
yum install --enablerepo=reponame packagename
« Last Edit: August 17, 2009, 01:25:02 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: server-manager crashed due to mod_perl upgrade
« Reply #4 on: August 16, 2009, 10:26:09 PM »
kankan II

never enable centosplus repo as it can break your server..

Stefano

Offline kankan

  • *
  • 18
  • +0/-0
  • Eat,Sleep, Row and Code a bit...
    • L'atelier du portable ASUS
Re: server-manager crashed due to mod_perl upgrade
« Reply #5 on: August 16, 2009, 10:29:10 PM »
kankan II

never enable centosplus repo as it can break your server..

Stefano

Thank you

Do you know where i can find the RPM of perl_mod for 7.2?

Or if someone can send it to me ?

Regards
Admin @ L'atelier ASUS
https://www.atelier-asus.fr

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: server-manager crashed due to mod_perl upgrade
« Reply #6 on: August 16, 2009, 10:52:45 PM »
you can find it here

HTH
Ciao
Stefano
« Last Edit: August 16, 2009, 10:54:20 PM by Stefano a.k.a. nenonano »

Offline kankan

  • *
  • 18
  • +0/-0
  • Eat,Sleep, Row and Code a bit...
    • L'atelier du portable ASUS
Re: server-manager crashed due to mod_perl upgrade
« Reply #7 on: August 16, 2009, 10:59:37 PM »
Thank you stefano

I will try to uninstall my version of Perl and setup the original one.
And let you know.

Kankan
Admin @ L'atelier ASUS
https://www.atelier-asus.fr

Offline kankan

  • *
  • 18
  • +0/-0
  • Eat,Sleep, Row and Code a bit...
    • L'atelier du portable ASUS
Re: server-manager crashed due to mod_perl upgrade
« Reply #8 on: August 20, 2009, 02:36:01 AM »
Hello

Just to let you know that i have returned to the former and original version of mod_perl with the rpm manual install and the server-manager returns the same error.

I am a bit stuck ... :(
Admin @ L'atelier ASUS
https://www.atelier-asus.fr

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: server-manager crashed due to mod_perl upgrade
« Reply #9 on: August 20, 2009, 02:51:07 AM »
Just to let you know that i have returned to the former and original version of mod_perl with the rpm manual install and the server-manager returns the same error.

I am a bit stuck ... :(

You'll have to diagnose the problem won't you. You say "crashed due to mod_perl upgrade", but I don't see any direct evidence of that.

"Internal Server Error" - did you look in /var/log/httpd/admin_error_log?

Just FYI, mod_perl is not used for the server manager.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: server-manager crashed due to mod_perl upgrade
« Reply #10 on: August 20, 2009, 08:11:52 AM »
Charlie, I suspect that OP has messed up his perl.. if you try to install those rpms  with centosplus repo enabled, you'll see that some perl-5.8.8 will be installed..

for the OP, could you please post the result of
Code: [Select]
/sbin/e-smith/audittools/newrpms

thank you
Stefano

Offline kankan

  • *
  • 18
  • +0/-0
  • Eat,Sleep, Row and Code a bit...
    • L'atelier du portable ASUS
Re: server-manager crashed due to mod_perl upgrade
« Reply #11 on: August 20, 2009, 10:35:06 PM »
Thank you Charlie and Stefano for your support.

admin_error_log appears to be a 0ko file which contains no data
on the other hand, my version of SME does not have auditools installed, so i am unable to give you the result of the request.

I think i have to go for a major update of SME...

Again, thank you for your help
Admin @ L'atelier ASUS
https://www.atelier-asus.fr

Offline kankan

  • *
  • 18
  • +0/-0
  • Eat,Sleep, Row and Code a bit...
    • L'atelier du portable ASUS
Re: server-manager crashed due to mod_perl upgrade
« Reply #12 on: September 17, 2009, 11:41:29 PM »
Hello all,

Founf the solution
Yum updated my Perl version.
I reinstall Perl with the original SME CD and my Manager is back.

Regards
Admin @ L'atelier ASUS
https://www.atelier-asus.fr

Offline kankan

  • *
  • 18
  • +0/-0
  • Eat,Sleep, Row and Code a bit...
    • L'atelier du portable ASUS
Re: server-manager crashed due to mod_perl upgrade
« Reply #13 on: September 21, 2009, 01:21:22 AM »
Dear All,

The solution was not completely OK,
I uninstalled the 'yumed' Perl in profit of the original one (7.1 CD)

But use of services in server manager return me errors.
Here is what i found in my httpd-admin logs :

[Sun Sep 20 21:57:41 2009] [error] [client 127.0.0.1] Use of uninitialized value in array element at /usr/lib/perl5/site_perl/CGI/FormMagick/Utils.pm line 405., referer: https://192.168.0.1/server-manager/cgi-bin/portforwarding
[Sun Sep 20 21:57:41 2009] [error] [client 127.0.0.1] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/CGI/FormMagick/HTML.pm line 185., referer: https://192.168.0.1/server-manager/cgi-bin/portforwarding
[Sun Sep 20 21:57:41 2009] [error] [client 127.0.0.1] Use of uninitialized value in array element at /usr/lib/perl5/site_perl/CGI/FormMagick/Utils.pm line 405., referer: https://192.168.0.1/server-manager/cgi-bin/portforwarding
[Sun Sep 20 21:57:41 2009] [error] [client 127.0.0.1] Use of uninitialized value in numeric eq (==) at /usr/lib/perl5/site_perl/CGI/FormMagick/HTML.pm line 93., referer: https://192.168.0.1/server-manager/cgi-bin/portforwarding
[Sun Sep 20 21:57:41 2009] [error] [client 127.0.0.1] Use of uninitialized value in numeric ge (>=) at /usr/lib/perl5/site_perl/CGI/FormMagick/Utils.pm line 218., referer: https://192.168.0.1/server-manager/cgi-bin/portforwarding

After re-installing mod_perl, post upgrade command display this message :

Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.4 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.3 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.2 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.1 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.0 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/5.8.4 /usr/lib/perl5/site_perl/5.8.5/5.8.3 /usr/lib/perl5/site_perl/5.8.5/5.8.2 /usr/lib/perl5/site_perl/5.8.5/5.8.1 /usr/lib/perl5/site_perl/5.8.5/5.8.0 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/esmith/event.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/esmith/event.pm line 11.
Compilation failed in require at /sbin/e-smith/signal-event line 11.
BEGIN failed--compilation aborted at /sbin/e-smith/signal-event line 11.

I think that Perl 5.8.8 did a bit mess with some dependencies and reinstalling original 5.8.5 did not correct all the problem.

Can you help me a bit with this ?

Regards,

Kankan
Admin @ L'atelier ASUS
https://www.atelier-asus.fr

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: server-manager crashed due to mod_perl upgrade
« Reply #14 on: September 21, 2009, 07:17:10 AM »
The solution was not completely OK,
I uninstalled the 'yumed' Perl in profit of the original one (7.1 CD)
And you are sure you are running 7.1? This is a quite old release, we are at 7.4 by now and working on 7.5.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)