Koozali.org: home of the SME Server

Server Manager Error 500 after upgrade from 7.4 to 8.1

Offline Jewelie

  • *
  • 5
  • +0/-0
Server Manager Error 500 after upgrade from 7.4 to 8.1
« on: August 05, 2014, 06:26:42 AM »
First time back to this forum in a long time [2006/2007] unable to find previous login details so here we go with new profile.

An Sme-Server box with an install of 7.4 that I set-up many years ago for a client has been called back into play after being powered down for a year or more. I did not foresee any great problems [very silly] with upgrading the OS [via iso/dvd] from 7.4 to 8.1. The upgrade went well with no apparent errors encountered during the upgrade, except I can no longer access the Server Manager console via https://sme-server/server-manager/ I get an error 500 Internal Server Error.

The shares and all the data/files on the box can be accessed via the network, I have complete access via WinSCP and PuTTy. I can login locally as 'root', I cannot login locally when entering 'admin' and password, this results in a brief display of an error message that cannot read as it disappears too quickly.

Plan 'A' is to try and re-establish access to the server-manager, Plan 'B' will be to pull all the data [about 135GB worth of Word, Excel and Access files] off the box and reload it, maybe replace it. It is/was an old HP d510 box that was called into play as a place to park and store files that could be accessed via the local network, it ended up being used much more than expected.

I did have Sme7admin and smeserver-BackupPC installed, these have since been uninstalled [post upgrade] although BackupPC still shows an error when booting the machine - not bothered with this at the moment. I would not expect either of these two to be causing the server-manager problem but I will stand corrected.

I have searched the forum looking for possible solutions, the answers I managed to find would appear to be early bugs from the days of sme7x which have since been resolved.

I can upload any log files, error logs etc from the server [if requested] to this forum to aid diagnosis. Any assistance would be appreciated on this.

Many Thanks in advance

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #1 on: August 05, 2014, 06:46:10 AM »
Jewelie

When logged in as root via Putty or locally at the server terminal, can you type
console
& then the admin console menu should open, & then select the text based server manager ?

or alternatively directly from the root prompt type
elinks
& then the admin server manager login should appear (text based again)
Esc to exit
« Last Edit: August 05, 2014, 06:48:37 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jewelie

  • *
  • 5
  • +0/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #2 on: August 05, 2014, 07:24:34 AM »
janet

Thank you for the quick response.

Tried 'console' via PuTTy as you suggested  - at least I get to 'see' the error message that could not be read at the local login.

Error message reads:

Quote
Using username "root".
root@192.168.168.10's password:
Last login: Tue Aug  5 04:53:45 2014
[root@sme-server ~]# console
Data::Dumper object version 2.121_08 does not match $Data::Dumper::VERSION 2.07 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 253.
Compilation failed in require at /sbin/e-smith/console-menu-items/manageRAID.pl line 7.
BEGIN failed--compilation aborted at /sbin/e-smith/console-menu-items/manageRAID.pl line 7.
Compilation failed in require at /sbin/e-smith/console line 63.
[root@sme-server ~]#

Typing 'elinks' and loging in as 'admin' delivers the same 'Internal Server Error' message that a web page login displays.

Quote

                                                       500 Internal Server Error
                             Internal Server Error

   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.

OK                                                                     [Si----]

With the way the error message reads on the first quote - would this indicate a bug or a fault I have caused during the upgrade process?

BTW. Thx for the two console based commands, I did not know you could access either of these items that way by typing in those particular words.
« Last Edit: August 05, 2014, 07:27:50 AM by Jewelie »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #3 on: August 05, 2014, 08:25:16 AM »
Jewelie

Quote
I did not foresee any great problems [very silly] with upgrading the OS [via iso/dvd] from 7.4 to 8.1. The upgrade went well with no apparent errors encountered during the upgrade, except I can no longer access the Server Manager console via https://sme-server/server-manager/ I get an error 500 Internal Server Error.

Did you upgrade directly from sme7.4 to sme8.1 ?

Pretty sure there is advice on this site to upgrade to sme7.6 first before doing further upgrades to sme8.x.

What do you get with the following service commands, also see my output for reference

service httpd-e-smith status

run: /service/httpd-e-smith: (pid 3402) 776397s, normally down


service httpd-admin status

run: /service/httpd-admin: (pid 3375) 776421s, normally down; run: log: (pid 1833) 776529s


Also show output of
httpd -t

Also here is a vaguely similar issue, so search forums on httpd -t as you may find more clues
http://forums.contribs.org/index.php/topic,48981.msg244059.html#msg244059
« Last Edit: August 05, 2014, 08:31:09 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #4 on: August 05, 2014, 10:44:08 AM »
To me, this looks like a transaction error while you upgraded, some perl package haven't been updated. The fact that you still have BackupPC starting error indicates that you haven't removed all your contrib before upgrading, which could be the reason of the failed transaction.

Could you check your perl version:

Code: [Select]
rpm -q perl
Also, check if you still have any el4 packages still installed:

Code: [Select]
rpm -qa | grep el4
C'est la fin du monde !!! :lol:

Offline Jewelie

  • *
  • 5
  • +0/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #5 on: August 05, 2014, 03:15:44 PM »
Firstly - apologies this post is mighty long with log files code, I cannot appear to find a way of attaching a text / log file to save space in the body of the posting.  :-?

Daniel B.

Both commands run as suggested via PuTTY, here are the results:

Quote
Using username "root".
root@192.168.168.10's password:
Last login: Tue Aug  5 07:01:57 2014 from pc-00226.jmgnet.local
[root@sme-server ~]# rpm -q perl
perl-5.8.8-41.el5
[root@sme-server ~]# rpm -qa | grep el4
perl-Net-Daemon-0.43-1.el4.rf
perl-Tie-Cache-LRU-0.21-1.2.el4.rf
perl-Mail-SPF-Query-1.999.1-8.el4
libungif-4.1.3-1.el4.2
lshw-2.11.1-1.el4.rf
netpbm-10.25-2.EL4.6.el4_6.1
spamassassin-3.2.5-48.el4
perl-Log-Agent-0.307-1.el4.rf
smeserver-vacation-1.0-12.el4.sme
hddtemp-0.3-0.beta12.2.2.el4.rf
perl-File-RsyncP-0.52-1.2.el4.rf
perl-String-Approx-3.26-1.el4
perl-MLDBM-Sync-0.30-1.2.el4.rf
perl-PlRPC-0.2020-1.el4.rf
rrdtool-1.0.50-1.2.el4.rf
getmail-4.7.5-1.el4.sme
gifsicle-1.48-1.el4.rf
perl-GSSAPI-0.24-1.1.el4
perl-FreezeThaw-0.43-5.el4
perl-MLDBM-2.01-5.el4.1
sysstat-5.0.5-19.el4
perl-Sys-Hostname-Long-1.4-1.2.el4.rf
gocr-0.44-1.el4.rf
perl-Tie-Cache-0.17-1.2.el4.rf
libungif-progs-4.1.3-1.el4.2
smeserver-hwinfo-1.0-1.el4.eos
perl-Net-CIDR-Lite-0.20-2.1.el4
ocrad-0.17-1.el4.rf
perl-enum-1.016-1.2.el4.rf
perl-Carp-Assert-0.20-1.el4.rf
perl-Mail-DomainKeys-1.0-1.el4.rf
perl-rrdtool-1.0.50-1.2.el4.rf
netpbm-progs-10.25-2.EL4.6.el4_6.1
[root@sme-server ~]#


As mentioned I did have Sme7admin and smeserver-BackupPC installed, these have since been uninstalled [post upgrade - hindsight should have been preformed before upgrade] - both are still loading when rebooting server. I have attempted to uninstall smeserver-BackupPC again via PuTTY and this is what I get:

Quote
Using username "root".
root@192.168.168.10's password:
Last login: Tue Aug  5 13:13:50 2014 from pc-00226.jmgnet.local
[root@sme-server ~]# yum remove smeserver-BackupPC BackupPC
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Remove Process
No Match for argument: smeserver-BackupPC
Loading mirror speeds from cached hostfile
 * base: mirror.mhd.uk.as44574.net
 * smeaddons: www.mirrorservice.org
 * smeextras: www.mirrorservice.org
 * smeos: www.mirrorservice.org
 * smeupdates: www.mirrorservice.org
 * updates: mirror.econdc.com
Excluding Packages from CentOS - os
Finished
Excluding Packages from SME Server - updates
Finished
Excluding Packages from CentOS - updates
Finished
No package smeserver-BackupPC available.
  * Maybe you meant: smeserver-backuppc
No Match for argument: BackupPC
No Packages marked for removal
[root@sme-server ~]#

I then noticed the 'No package' message at the bottom of this log - forgot this would need to be entered in lower case. I followed instruction from http://wiki.contribs.org/BackupPC#Uninstall The command was edited and re-entered, this time it looked better as I could see things getting done.

The log file from this if required:

Quote
Using username "root".
root@192.168.168.10's password:
Last login: Tue Aug  5 13:13:50 2014 from pc-00226.jmgnet.local
[root@sme-server ~]# yum remove smeserver-BackupPC BackupPC
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Remove Process
No Match for argument: smeserver-BackupPC
Loading mirror speeds from cached hostfile
 * base: mirror.mhd.uk.as44574.net
 * smeaddons: www.mirrorservice.org
 * smeextras: www.mirrorservice.org
 * smeos: www.mirrorservice.org
 * smeupdates: www.mirrorservice.org
 * updates: mirror.econdc.com
Excluding Packages from CentOS - os
Finished
Excluding Packages from SME Server - updates
Finished
Excluding Packages from CentOS - updates
Finished
No package smeserver-BackupPC available.
  * Maybe you meant: smeserver-backuppc
No Match for argument: BackupPC
No Packages marked for removal
[root@sme-server ~]# yum remove smeserver-backuppc backuppc
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Remove Process
No Match for argument: backuppc
Loading mirror speeds from cached hostfile
 * base: mirror.mhd.uk.as44574.net
 * smeaddons: www.mirrorservice.org
 * smeextras: www.mirrorservice.org
 * smeos: www.mirrorservice.org
 * smeupdates: www.mirrorservice.org
 * updates: mirror.econdc.com
Excluding Packages from CentOS - os
Finished
Excluding Packages from SME Server - updates
Finished
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Running transaction check
---> Package smeserver-backuppc.i386 0:1.0-5 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                    Arch         Version        Repository         Size
================================================================================
Removing:
 smeserver-backuppc         i386         1.0-5          installed         3.0 M

Transaction Summary
================================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
stoping the service
Shutting down BackupPC: [FAILED]
saving configuration in /opt/backuppc/files/save...
ok
  Erasing        : smeserver-backuppc                                       1/1
removing the database
rebuilding the panel...
ok
expanding the configurations and restarting the service httpd
ERROR: No templates were found for /etc/sudoers.
 at /sbin/e-smith/expand-template line 45
Restarting httpd-e-smith [  OK  ]
ok
Migrating existing database yum_installed
Migrating existing database accounts
Migrating existing database mailpatterns
Migrating existing database networks
Migrating existing database spamassassin
Migrating existing database configuration
Migrating existing database yum_repositories
Migrating existing database yum_updates
Migrating existing database domains
Migrating existing database backups
Migrating existing database yum_available
Migrating existing database hosts

/etc/e-smith/locale/fr-ca/etc/e-smith/web/functions/uservacations not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr/etc/e-smith/web/functions/uservacations not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr-ca/etc/e-smith/web/functions/fetchmail not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr-fr/etc/e-smith/web/functions/fetchmail not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr/etc/e-smith/web/functions/fetchmail not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/de/etc/e-smith/web/functions/fetchmail not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/it/etc/e-smith/web/functions/fetchmail not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr-ca/etc/e-smith/web/functions/hwinfo not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr-fr/etc/e-smith/web/functions/hwinfo not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr/etc/e-smith/web/functions/hwinfo not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr-ca/etc/e-smith/web/functions/userpanel-vacation not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr-fr/etc/e-smith/web/functions/userpanel-vacation not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/fr/etc/e-smith/web/functions/userpanel-vacation not in UTF-8 format
edited to removed multiple instances of the same line as above

/etc/e-smith/locale/de/etc/e-smith/web/functions/userpanel-vacation not in UTF-8 format
edited to removed multiple instances of the same line as above

Removed:
  smeserver-backuppc.i386 0:1.0-5

Complete!

==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:

signal-event post-upgrade; signal-event reboot

You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================
[root@sme-server ~]#

The server rebooted as requested, on reboot I got the 'Activating configuration settings' page followed by a further self reboot. The next boot sequence loaded without further error message being displayed. Attempted to login to text based console via PuTTY still resulted in the following error and a failure to load the console in text mode or web page.

Quote
Using username "root".
root@192.168.168.10's password:
Last login: Tue Aug  5 13:49:16 2014 from pc-00226.jmgnet.local
[root@sme-server ~]# console
Data::Dumper object version 2.121_08 does not match $Data::Dumper::VERSION 2.07 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 253.
Compilation failed in require at /sbin/e-smith/console-menu-items/manageRAID.pl line 7.
BEGIN failed--compilation aborted at /sbin/e-smith/console-menu-items/manageRAID.pl line 7.
Compilation failed in require at /sbin/e-smith/console line 63.
[root@sme-server ~]#

I do not understand the error message being presented nor how to fix this but we are getting there with your help guys.

Thx

J


Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #6 on: August 05, 2014, 03:22:29 PM »
You was running a very (very very very) old version of the BackupPC contrib !
Any way, you should now try to:

Code: [Select]
yum update
In order to update core packages

Code: [Select]
yum update --enablerepo=smecontribs
To update contribs (like the smeserver-vacation). Then, you should try to identify those .el4 packages which aren't usefull anymore, and remove them (for exemple, perl-File-RsyncP was required for BackupPC? but you can remove it now that BackupPC is uninstalled).
C'est la fin du monde !!! :lol:

Offline Jewelie

  • *
  • 5
  • +0/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #7 on: August 05, 2014, 03:41:05 PM »
Daniel B.

Instant replies to my queries  :-P

The 'yum update' is presently running, downloading package updates, I will get to the other one later this afternoon - other stuff to do I'm afraid...

Log results pre update:

Quote
Using username "root".
root@192.168.168.10's password:
Last login: Tue Aug  5 13:51:08 2014 from pc-00226.jmgnet.local
[root@sme-server ~]# yum update
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.mhd.uk.as44574.net
 * smeaddons: www.mirrorservice.org
 * smeextras: www.mirrorservice.org
 * smeos: www.mirrorservice.org
 * smeupdates: www.mirrorservice.org
 * updates: mirror.econdc.com
Excluding Packages from CentOS - os
Finished
Excluding Packages from SME Server - updates
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package beecrypt.i386 0:4.1.2-10.1.1 set to be updated
---> Package clamav.i386 0:0.98.4-2.el5.sme set to be updated
---> Package clamav-db.i386 0:0.98.4-2.el5.sme set to be updated
---> Package clamd.i386 0:0.98.4-2.el5.sme set to be updated
---> Package cpuspeed.i386 1:1.2.1-11.el5_10 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-59.el5_10.2 set to be updated
---> Package e-smith-base.i386 0:5.2.0-93.el5.sme set to be updated
---> Package e-smith-mysql.noarch 0:2.2.0-7.el5.sme set to be updated
---> Package e-smith-openssh.noarch 0:2.2.0-7.el5.sme set to be updated
---> Package gamin.i386 0:0.1.7-10.el5 set to be updated
---> Package giflib.i386 0:4.1.3-7.3.3.el5 set to be updated
---> Package giflib-utils.i386 0:4.1.3-7.3.3.el5 set to be updated
---> Package gnutls.i386 0:1.4.1-16.el5_10 set to be updated
---> Package htop.i386 0:1.0.3-1.el5.rf set to be updated
---> Package httpd.i386 0:2.2.3-87.el5.centos set to be updated
---> Package kernel.i686 0:2.6.18-371.11.1.el5 set to be installed
---> Package kernel-PAE.i686 0:2.6.18-371.11.1.el5 set to be installed
---> Package kpartx.i386 0:0.4.7-59.el5_10.2 set to be updated
---> Package krb5-libs.i386 0:1.6.1-71.el5_10.1 set to be updated
---> Package libsmbclient.i386 0:3.0.33-3.40.el5_10 set to be updated
---> Package libtiff.i386 0:3.8.2-19.el5_10 set to be updated
---> Package mod_ssl.i386 1:2.2.3-87.el5.centos set to be updated
---> Package net-snmp.i386 1:5.3.2.2-22.el5_10.1 set to be updated
---> Package net-snmp-libs.i386 1:5.3.2.2-22.el5_10.1 set to be updated
---> Package net-snmp-utils.i386 1:5.3.2.2-22.el5_10.1 set to be updated
---> Package netpbm.i386 0:10.35.58-10.el5 set to be updated
---> Package netpbm-progs.i386 0:10.35.58-10.el5 set to be updated
--> Processing Dependency: ghostscript for package: netpbm-progs
---> Package nspr.i386 0:4.10.6-1.el5_10 set to be updated
---> Package nss.i386 0:3.15.3-7.el5_10 set to be updated
---> Package openldap.i386 0:2.3.43-28.el5_10 set to be updated
---> Package openldap-clients.i386 0:2.3.43-28.el5_10 set to be updated
---> Package openldap-servers.i386 0:2.3.43-28.el5_10 set to be updated
---> Package perl-Archive-Zip.noarch 0:1.16-1.2.1 set to be updated
---> Package postgresql-libs.i386 0:8.1.23-10.el5_10 set to be updated
---> Package qpsmtpd.noarch 0:0.84-8.el5.sme set to be updated
---> Package rsync.i386 0:3.1.0-1.el5.rfx set to be updated
---> Package samba3x.i386 0:3.6.6-0.140.el5_10 set to be updated
---> Package samba3x-client.i386 0:3.6.6-0.140.el5_10 set to be updated
---> Package samba3x-common.i386 0:3.6.6-0.140.el5_10 set to be updated
---> Package samba3x-winbind.i386 0:3.6.6-0.140.el5_10 set to be updated
---> Package smeserver-locale-bg.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-da.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-de.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-el.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-es.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-et.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-fr.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-he.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-hu.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-id.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-it.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-ja.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-nb.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-nl.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-pl.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-pt.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-pt_BR.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-ro.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-ru.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-sl.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-sv.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-th.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-tr.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-zh_CN.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-locale-zh_TW.noarch 0:2.2.0-50.el5.sme set to be updated
---> Package smeserver-qpsmtpd.noarch 0:2.2.0-22.el5.sme set to be updated
---> Package sudo.i386 0:1.7.2p1-29.el5_10 set to be updated
---> Package sysstat.i386 0:7.0.2-12.el5 set to be updated
---> Package tzdata.i386 0:2014e-1.el5 set to be updated
--> Running transaction check
---> Package ghostscript.i386 0:8.70-15.el5_9.3 set to be updated
--> Processing Dependency: urw-fonts >= 1.1 for package: ghostscript
--> Processing Dependency: libcairo.so.2 for package: ghostscript
--> Processing Dependency: ghostscript-fonts for package: ghostscript
--> Running transaction check
---> Package cairo.i386 0:1.2.4-5.el5 set to be updated
--> Processing Dependency: libXrender.so.1 for package: cairo
---> Package ghostscript-fonts.noarch 0:5.50-13.1.1 set to be updated
---> Package urw-fonts.noarch 0:2.3-6.1.1 set to be updated
--> Processing Dependency: mkfontscale for package: urw-fonts
--> Processing Dependency: mkfontdir for package: urw-fonts
--> Processing Dependency: chkfontpath for package: urw-fonts
--> Running transaction check
---> Package chkfontpath.i386 0:1.10.1-1.1 set to be updated
--> Processing Dependency: xfs for package: chkfontpath
---> Package libXrender.i386 0:0.9.1-3.1 set to be updated
---> Package xorg-x11-font-utils.i386 1:7.1-3 set to be updated
--> Running transaction check
---> Package xorg-x11-xfs.i386 1:1.0.2-5.el5_6.1 set to be updated
--> Processing Dependency: ttmkfdir for package: xorg-x11-xfs
--> Running transaction check
---> Package ttmkfdir.i386 0:3.0.9-23.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch     Version                  Repository    Size
================================================================================
Installing:
 giflib                    i386     4.1.3-7.3.3.el5          base          39 k
     replacing  libungif.i386 4.1.3-1.el4.2

 giflib-utils              i386     4.1.3-7.3.3.el5          base          99 k
     replacing  libungif-progs.i386 4.1.3-1.el4.2

 kernel                    i686     2.6.18-371.11.1.el5      updates       20 M
 kernel-PAE                i686     2.6.18-371.11.1.el5      updates       20 M
Updating:
 beecrypt                  i386     4.1.2-10.1.1             base         116 k
 clamav                    i386     0.98.4-2.el5.sme         smeupdates   1.8 M
 clamav-db                 i386     0.98.4-2.el5.sme         smeupdates    86 M
 clamd                     i386     0.98.4-2.el5.sme         smeupdates   247 k
 cpuspeed                  i386     1:1.2.1-11.el5_10        smeupdates    32 k
 device-mapper-multipath   i386     0.4.7-59.el5_10.2        smeupdates   2.9 M
 e-smith-base              i386     5.2.0-93.el5.sme         smeupdates   329 k
 e-smith-mysql             noarch   2.2.0-7.el5.sme          smeupdates    46 k
 e-smith-openssh           noarch   2.2.0-7.el5.sme          smeupdates    49 k
 gamin                     i386     0.1.7-10.el5             base         120 k
 gnutls                    i386     1.4.1-16.el5_10          updates      353 k
 htop                      i386     1.0.3-1.el5.rf           smeupdates    95 k
 httpd                     i386     2.2.3-87.el5.centos      updates      1.2 M
 kpartx                    i386     0.4.7-59.el5_10.2        smeupdates   435 k
 krb5-libs                 i386     1.6.1-71.el5_10.1        smeupdates   669 k
 libsmbclient              i386     3.0.33-3.40.el5_10       smeupdates   909 k
 libtiff                   i386     3.8.2-19.el5_10          smeupdates   311 k
 mod_ssl                   i386     1:2.2.3-87.el5.centos    updates       97 k
 net-snmp                  i386     1:5.3.2.2-22.el5_10.1    smeupdates   705 k
 net-snmp-libs             i386     1:5.3.2.2-22.el5_10.1    smeupdates   1.3 M
 net-snmp-utils            i386     1:5.3.2.2-22.el5_10.1    smeupdates   193 k
 netpbm                    i386     10.35.58-10.el5          base         834 k
 netpbm-progs              i386     10.35.58-10.el5          base         2.0 M
 nspr                      i386     4.10.6-1.el5_10          updates      124 k
 nss                       i386     3.15.3-7.el5_10          updates      1.2 M
 openldap                  i386     2.3.43-28.el5_10         smeupdates   298 k
 openldap-clients          i386     2.3.43-28.el5_10         smeupdates   219 k
 openldap-servers          i386     2.3.43-28.el5_10         smeupdates   3.1 M
 perl-Archive-Zip          noarch   1.16-1.2.1               base         138 k
 postgresql-libs           i386     8.1.23-10.el5_10         smeupdates   198 k
 qpsmtpd                   noarch   0.84-8.el5.sme           smeupdates   187 k
 rsync                     i386     3.1.0-1.el5.rfx          smeupdates   416 k
 samba3x                   i386     3.6.6-0.140.el5_10       updates      5.7 M
 samba3x-client            i386     3.6.6-0.140.el5_10       updates       13 M
 samba3x-common            i386     3.6.6-0.140.el5_10       updates       12 M
 samba3x-winbind           i386     3.6.6-0.140.el5_10       updates      4.1 M
 smeserver-locale-bg       noarch   2.2.0-50.el5.sme         smeupdates    75 k
 smeserver-locale-da       noarch   2.2.0-50.el5.sme         smeupdates    73 k
 smeserver-locale-de       noarch   2.2.0-50.el5.sme         smeupdates    76 k
 smeserver-locale-el       noarch   2.2.0-50.el5.sme         smeupdates    73 k
 smeserver-locale-es       noarch   2.2.0-50.el5.sme         smeupdates    75 k
 smeserver-locale-et       noarch   2.2.0-50.el5.sme         smeupdates    73 k
 smeserver-locale-fr       noarch   2.2.0-50.el5.sme         smeupdates    76 k
 smeserver-locale-he       noarch   2.2.0-50.el5.sme         smeupdates    63 k
 smeserver-locale-hu       noarch   2.2.0-50.el5.sme         smeupdates    76 k
 smeserver-locale-id       noarch   2.2.0-50.el5.sme         smeupdates    73 k
 smeserver-locale-it       noarch   2.2.0-50.el5.sme         smeupdates    72 k
 smeserver-locale-ja       noarch   2.2.0-50.el5.sme         smeupdates    61 k
 smeserver-locale-nb       noarch   2.2.0-50.el5.sme         smeupdates    73 k
 smeserver-locale-nl       noarch   2.2.0-50.el5.sme         smeupdates    75 k
 smeserver-locale-pl       noarch   2.2.0-50.el5.sme         smeupdates    66 k
 smeserver-locale-pt       noarch   2.2.0-50.el5.sme         smeupdates    75 k
 smeserver-locale-pt_BR    noarch   2.2.0-50.el5.sme         smeupdates    75 k
 smeserver-locale-ro       noarch   2.2.0-50.el5.sme         smeupdates    73 k
 smeserver-locale-ru       noarch   2.2.0-50.el5.sme         smeupdates    82 k
 smeserver-locale-sl       noarch   2.2.0-50.el5.sme         smeupdates    72 k
 smeserver-locale-sv       noarch   2.2.0-50.el5.sme         smeupdates    74 k
 smeserver-locale-th       noarch   2.2.0-50.el5.sme         smeupdates    71 k
 smeserver-locale-tr       noarch   2.2.0-50.el5.sme         smeupdates    73 k
 smeserver-locale-zh_CN    noarch   2.2.0-50.el5.sme         smeupdates    73 k
 smeserver-locale-zh_TW    noarch   2.2.0-50.el5.sme         smeupdates    67 k
 smeserver-qpsmtpd         noarch   2.2.0-22.el5.sme         smeupdates   105 k
 sudo                      i386     1.7.2p1-29.el5_10        smeupdates   357 k
 sysstat                   i386     7.0.2-12.el5             base         183 k
 tzdata                    i386     2014e-1.el5              updates      787 k
Installing for dependencies:
 cairo                     i386     1.2.4-5.el5              base         394 k
 chkfontpath               i386     1.10.1-1.1               base          15 k
 ghostscript               i386     8.70-15.el5_9.3          updates      9.0 M
 ghostscript-fonts         noarch   5.50-13.1.1              base         801 k
 libXrender                i386     0.9.1-3.1                base          27 k
 ttmkfdir                  i386     3.0.9-23.el5             base          46 k
 urw-fonts                 noarch   2.3-6.1.1                base         4.5 M
 xorg-x11-font-utils       i386     1:7.1-3                  base          76 k
 xorg-x11-xfs              i386     1:1.0.2-5.el5_6.1        base          69 k

Transaction Summary
================================================================================
Install      13 Package(s)
Upgrade      65 Package(s)

Total download size: 199 M
Is this ok [y/N]: y

Will post results later today after completing 'yum update --enablerepo=smecontribs' followed by expected several reboots.

Thx

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #8 on: August 05, 2014, 04:51:46 PM »
Firstly - apologies this post is mighty long with log files code, I cannot appear to find a way of attaching a text / log file to save space in the body of the posting.  :-?

Please post to the bug tracker. You can attach log files there.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #9 on: August 05, 2014, 04:54:20 PM »
When logged in as root via Putty or locally at the server terminal, can you type
console
& then the admin console menu should open, & then select the text based server manager ?

Janet, please don't post advice such as this in the forums. If the server-manager doesn't work, OP should be posting details to the bug tracker. Developers will provide advice on how to troubleshoot and assist with the diagnosis in the bug tracker.

Thanks

Offline Jewelie

  • *
  • 5
  • +0/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #10 on: August 05, 2014, 07:08:12 PM »
CharlieBrady

Just when I thought things were going well I get chastised for posting in the wrong place - sorry guys :oops:

Will repost into Bug Tracker forum.

Would not have thought my issue would have been seen as a bug, but now with the 'Dumper object version' message appearing it confirms I do apparently have bugs!

janet

Quote
Did you upgrade directly from sme7.4 to sme8.1 ?

Pretty sure there is advice on this site to upgrade to sme7.6 first before doing further upgrades to sme8.x.

I did check around the forum to make sure I was not just about to trash the install but must admit I did not find anything relevant pre update - must try looking harder next time, it may have helped in preventing all of these issues!

Daniel B.

Last two things suggested by Daniel B. - attempted to install updates, both commands generated an error message regarding yum at the end of each process.

Quote
'yum update' ended with:

Total                                           584 kB/s | 199 MB     05:48
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
sysstat is needed by (installed) smeserver-sme7admin-1.1.0-1.noarch
Complete!
(1, [u'Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&component=yum'])
[root@sme-server ~]#

Quote
yum update --enablerepo=smecontribs ended with:

Total                                           397 kB/s | 7.2 MB     00:18
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
sysstat is needed by (installed) smeserver-sme7admin-1.1.0-1.noarch
Complete!
(1, [u'Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&component=yum'])
[root@sme-server ~]#

As these were both relevant to 'smeserver-sme7admin' I figured sme7admin must still be installed even although I followed instructions from http://wiki.contribs.org/Sme7admin#Uninstall. After a bit of research I decided to try 'yum remove smeserver-sme7admin' [modified from http://wiki.contribs.org/Sme8admin#Uninstall] which has now removed sme7admin the way it should have done before.

Running both the following commands now successfully updated / installed remaining packages and without yum errors
'yum update'
'yum update --enablerepo=smecontribs'

Running both commands again post update and on a clean reboot produces 'No Packages marked for Update'

As I am still getting the original 'Server Manager Error 500' message on web page login or via PuTTY console it's off to the Bug Tracker forum to get my Bugs eradicated!

Quote
Using username "root".
root@192.168.168.10's password:
Last login: Tue Aug  5 17:33:19 2014 from pc-00226.jmgnet.local
[root@sme-server ~]# console
Data::Dumper object version 2.121_08 does not match $Data::Dumper::VERSION 2.07 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 253.
Compilation failed in require at /sbin/e-smith/console-menu-items/manageRAID.pl line 7.
BEGIN failed--compilation aborted at /sbin/e-smith/console-menu-items/manageRAID.pl line 7.
Compilation failed in require at /sbin/e-smith/console line 63.
[root@sme-server ~]#

On the plus side - I can still access the folders and files via standard network browse whilst I get things resolved.

Thanks to all that helped so far, it's been interesting  :-P

J
« Last Edit: August 05, 2014, 07:12:13 PM by Jewelie »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #11 on: August 05, 2014, 07:54:41 PM »
Just when I thought things were going well I get chastised for posting in the wrong place - sorry guys :oops:

No problem - we just want to work out exactly what went wrong so that hopefully we can stop it from happening to anyone else.

Quote
As I am still getting the original 'Server Manager Error 500' message on web page

Any time you see that there will be more details of the problem in /var/log/httpd/admin_error_log.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Server Manager Error 500 after upgrade from 7.4 to 8.1
« Reply #12 on: August 05, 2014, 11:39:33 PM »
Jewelie

Quote
I did check around the forum to make sure I was not just about to trash the install but must admit I did not find anything relevant pre update - must try looking harder next time, it may have helped in preventing all of these issues!

It's mentioned in one of the Notes boxes here (& elsewhere too in forums etc)
http://wiki.contribs.org/SME_Server:8.1

You may also read the bugs referred to for further info.
Charlie wants to troubleshoot the upgrade so please do all this in bugzilla.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.