Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: nowhinjing on February 28, 2007, 04:05:25 PM
-
Hi,
I have updated my 7.1 installation following the method given by william-syd in http://forums.contribs.org/index.php?topic=33434.0
Apriori the update went OK, phpinfo gives <PHP Version 5.1.6> and phpMyAdmin gives <MySQL client version: 5.0.27>.
All the websites seem to be working OK, but when I try to access the server-manager I get Error 500 - Internal Server Error.
Looking in admin-error-log gives :
[Wed Feb 28 15:20:35 2007] [error] [client 127.0.0.1] Can't do setuid (cannot exec sperl)
[Wed Feb 28 15:20:35 2007] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
Further checking reveals :
[root@louches ~]# rpm -q perl perl-suidperl
perl-5.8.8-4.el4s1
perl-suidperl-5.8.5-36.RHEL4
[root@louches ~]# rpm -V perl perl-suidperl
prelink: /usr/bin/sperl5.8.5: at least one of file's dependencies has changed since prelinking
S.?..... /usr/bin/sperl5.8.5
prelink: /usr/bin/suidperl: at least one of file's dependencies has changed since prelinking
S.?..... /usr/bin/suidperl
At this point I have no idea what to do next.
Any help will be much appreciated, I don't really want to roll back to the old versions if it can be avoided.
Merci d'avance
NWJ
-
I have raised a bug report to have that wiki page removed. Bug 2602 (http://bugs.contribs.org/show_bug.cgi?id=2602)
Try following the post here (http://forums.contribs.org/index.php?topic=35432.msg155020#msg155020) that attempts to remove the custom templates and use the ones in 7.1 and later.
-
For me both perl and perl-suidperl have same version numbers.
[root@vme70update71 ~]# rpm -q perl perl-suidperl
perl-5.8.5-36.RHEL4
perl-suidperl-5.8.5-36.RHEL4
[root@vme70update71 ~]#
Did your perl come from the centosplus repository ?
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
perl i386 4:5.8.8-4.el4s1 centosplus 11 M
Possible suggestion.
rpm -e --nodeps perl
yum install perl \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
-
Hi, William,
Thanks for the reply -- following your suggestions has got me out of that particular mess - but I now find myself in another.
I am still getting the 500 Internal Server Error message but this time admin-error-log shows :
[Fri Mar 02 14:50:48 2007] [error] [client 127.0.0.1] Can't open /var/cache/e-smith/formmagick/sessions/./ for writing. at /usr/lib/perl5/site_perl/5.8.5/CGI/Persistent.pm line 61
[Fri Mar 02 14:50:48 2007] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
Can you shed any light ?
thanks and best regards
NWJ
-
Hi, William,
Thanks for the reply -- following your suggestions has got me out of that particular mess - but I now find myself in another.
I am still getting the 500 Internal Server Error message but this time admin-error-log shows :
[Fri Mar 02 14:50:48 2007] [error] [client 127.0.0.1] Can't open /var/cache/e-smith/formmagick/sessions/./ for writing. at /usr/lib/perl5/site_perl/5.8.5/CGI/Persistent.pm line 61
[Fri Mar 02 14:50:48 2007] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
Can you shed any light ?
thanks and best regards
NWJ
I just go myself in the same hole while trying to answer another question.
[Sat Mar 03 01:55:30 2007] [error] [client 127.0.0.1] Can't open /var/cache/e-smith/formmagick/sessions/./ for writing. at /usr/lib/perl5/site_perl/5.8.5/CGI/Persistent.pm line 61
[Sat Mar 03 01:55:30 2007] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
Recovered by..
rpm -e --nodeps perl.i386
rpm -e --nodeps perl-suidperl.i386
yum install perl perl-suidperl perl-Time-HiRes \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
-
ca marche ! :D
I am sooooooooooooo grateful !
To paraphrase droopy, "you know what, you're my hero" 8)
merci mille fois, William
NWJ
-
we can not access to server-manager page (SME7.1) in TWO SME SERVERS, the error "500 Internal Server Error" comes for this web page and this is the error message we have in "/var/log/httpd/admin_error_log"
[root@srvr ~]# tail -n10 /var/log/httpd/admin_error_log
[Tue Mar 20 09:24:53 2007] [error] [client 127.0.0.1] Premature end of script headers: login
[Tue Mar 20 09:27:07 2007] [notice] caught SIGTERM, shutting down
[Tue Mar 20 09:27:07 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Mar 20 09:27:07 2007] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 09:27:07 2007] [notice] Digest: done
[Tue Mar 20 09:27:08 2007] [notice] Apache configured -- resuming normal operations
[Tue Mar 20 09:27:20 2007] [error] [client 127.0.0.1] [Apache::AuthTkt] open of config file '/etc/e-smith/web/common/cgi-bin/AuthTKT.cfg' failed: No such file or directory at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/AuthTkt.pm line 74.
[Tue Mar 20 09:27:20 2007] [error] [client 127.0.0.1] Premature end of script headers: login
[Tue Mar 20 09:44:10 2007] [error] [client 127.0.0.1] [Apache::AuthTkt] open of config file '/etc/e-smith/web/common/cgi-bin/AuthTKT.cfg' failed: No such file or directory at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Apache/AuthTkt.pm line 74.
[Tue Mar 20 09:44:10 2007] [error] [client 127.0.0.1] Premature end of script headers: login
Any clues or fixes?
-
rpm -q perl
-
rpm -q perl
[root@srvr ~]# rpm -q perl
perl-5.8.5-36.RHEL4
Thanks
-
Interesting. Maybe not a perl version issue.
I suggest you take this to the bug tracker. Post all your info in the bug report including any contribs you may have installed. DO NOT just reference your forum post.
-
sorry William I don't know what you mean with
"all your info in the bug report including any contribs you may have installed"
these are 2 boxes that I am not very familiar with, so I don't really know what and when was something was installed, I am including the "uname -a" command, and a "cat /etc/*release", Do I need to send something else?. The only thing I know is that the two SMEs were working well last week and certainly both started having this problem.
-
Contribs - anything added outside of the core distribution. If you don't know then you don't know. The devs may ask you to run some commands to determine the status of you SME's.
Post the bug number here when you get a chance.
-
bug number 2755
-
bug number 2755
Maybe attach your error log to your bug report.
-
Hi,
I have encountered the same error after i have installed the postgresql 8.1 from centosplus repository
yum --enablerepo=base --enablerepo=centosplus install postgresql postgresql-server
i have further checking reveals:
[root@ns1 ~]# rpm -q perl perl-suidperl
perl-5.8.8-4.el4s1
perl-suidperl-5.8.5-36.RHEL4
[root@ns1 ~]#
and
more /var/log/httpd/admin_error_log...
[Tue Apr 24 21:03:48 2007] [error] [client 127.0.0.1] Can't do setuid (cannot exec sperl)
[Tue Apr 24 21:03:48 2007] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
[Tue Apr 24 21:04:03 2007] [error] [client 127.0.0.1] Can't do setuid (cannot exec sperl)
[Tue Apr 24 21:04:03 2007] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
[Tue Apr 24 21:04:29 2007] [error] [client 127.0.0.1] Can't do setuid (cannot exec sperl)
[Tue Apr 24 21:04:29 2007] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
When i trying to access the server-manager and "500 Internal error" occurred....
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Please please please help.
Thanks,
Daley
-
hey guys,
i got the same internal error but only when i tried "moving" the 3 files from the /etc/e-smith/web/panels/manager/html. and when i put it back, i get the internal server error. i gave all files full permissions when i put it back into the same directory.
what could be the problem? im using SME 7.1.
thanks for your help.
-
signal-event post-upgrade
signal-event reboot
cjclaro- this was response to the previous post before yours.
I don't know what files you 'moved'. But bad things happen if you fiddle with the wrong things whilst logged in as root :wink:
Craig
-
i tried the codes but they didn't change anything, craig.
it sure is a high price to pay fiddling the system as root. :(
it was a simple moving of files: header.htm, index.cgi, initial.cgi.
is there any way to reverse this?
thanks,
cj[/quote]
-
I have a similar problem. I did the fixes and was able to get in but thats it. I tried to make an iBay and it comes back with an error, but it still does the task it just doesn't work. Anyone have any ideas or has tis problem too after updating to php5?
-
Hello,
Have you try this:
/usr/bin/pear install Log
Snoopyski