Koozali.org: home of the SME Server

Internal Server Error

Offline apple3feet

  • *
  • 5
  • +0/-0
Internal Server Error
« on: December 11, 2010, 03:18:18 PM »
Since installing the iptraf.i386 update yesterday, I've noticed that I'm getting "Internal Server Error" when trying to access some functions, such as "Users", "Local Networks", "Reboot or shutdown" through the user-manager.  I've reconfigured and rebooted  via the system console, but the problem remains.

I notice that the messages log-file contains some error messages I haven't seen before (see below).  Could they be related?

Thanks in advance for your help.


Dec 11 13:34:42 dellmail fstab-sync[5071]: removed all generated mount points
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR
Dec 11 13:34:42 dellmail 10fix_privilege_tables:  1060 (42S21) at line 22: Duplicate column name 'File_priv'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1060 (42S21) at line 28: Duplicate column name 'Grant_priv'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1060 (42S21) at line 29: Duplicate column name 'Grant_priv'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1060 (42S21) at line 30: Duplicate column name 'Grant_priv'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1060 (42S21) at line 41: Duplicate column name 'ssl_type'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1054 (42S22) at line 87: Unknown column 'Type' in 'columns_priv'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1060 (42S21) at line 93: Duplicate column name 'type'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1060 (42S21) at line 103: Duplicate column name 'Show_db_priv'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1060 (42S21) at line 120: Duplicate column name 'max_questions'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1060 (42S21) at line 130: Duplicate column name 'Create_tmp_table_priv'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1060 (42S21) at line 133: Duplicate column name 'Create_tmp_table_priv'
Dec 11 13:34:42 dellmail 10fix_privilege_tables: ERROR 1061 (42000) at line 141: Duplicate key name 'Grantor'
Dec 11 13:34:42 dellmail fstab-sync[5103]: added mount point /media/cdrecorder for /dev/scd0
Dec 11 13:34:42 dellmail 10fix_privilege_tables: @hadGrantPriv:=1
Dec 11 13:34:42 dellmail 10fix_privilege_tables: 1
Dec 11 13:34:42 dellmail last message repeated 8 times
Dec 11 13:34:42 dellmail 10fix_privilege_tables: @hadShowDbPriv:=1
Dec 11 13:34:42 dellmail 10fix_privilege_tables: 1
Dec 11 13:34:42 dellmail last message repeated 8 times
Dec 11 13:34:42 dellmail 10fix_privilege_tables: waiting for mysqld to restart
Dec 11 13:34:44 dellmail last message repeated 2 times
Dec 11 13:34:45 dellmail mysql.init: Loading 10fix_privilege_tables into mysql succeeded
Dec 11 13:34:45 dellmail mysql.init: Loading 20mysql_migrate_horde into mysql succeeded

Offline Curly

  • ****
  • 114
  • +0/-0
Re: Internal Server Error
« Reply #1 on: December 11, 2010, 07:08:18 PM »
The errors you see are known error messages. 

http://wiki.contribs.org/Updating_to_SME_7.2#10fix_privilege_tables_in_message_log

I would retry and check the logs for new messages, but not this ones.

Check the logs from Apache: /var/log/httpd/error_log and /var/log/httpd/access_log
« Last Edit: December 11, 2010, 07:10:32 PM by Curly »
.......................................

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Internal Server Error
« Reply #2 on: December 11, 2010, 08:00:40 PM »
Since installing the iptraf.i386 update yesterday, I've noticed that I'm getting "Internal Server Error" when trying to access some functions,

You will find the error messages related to the "Internal Server Error" in /var/log/httpd/admin_error_log. The error will not have been caused by updating iptraf.i386.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Internal Server Error
« Reply #3 on: December 11, 2010, 09:22:05 PM »
how did you upgrade iptraf?

did you enables any repo when you did the upgrade?

Offline apple3feet

  • *
  • 5
  • +0/-0
Re: Internal Server Error
« Reply #4 on: December 12, 2010, 08:06:17 PM »
Thanks for looking guys.  There are messages in /var/log/httpd/admin_error_log as follows.  I did the iptraf.i386 update via the User Manager in the normal way without changing repositories.  I noticed the problem when doing the update, but it may have been there earlier.

[Sun Dec 12 18:35:50 2010] [error] [client 127.0.0.1] fileparse(): need a valid pathname at /usr/lib/perl5/vendor_perl/5.8.5/CGI/Persistent.pm line 30, referer: https://dellmail/user-manager/cgi-bin/userpanel-navigation
[Sun Dec 12 18:35:50 2010] [error] [client 127.0.0.1] Premature end of script headers: reboot, referer: https://dellmail/user-manager/cgi-bin/userpanel-navigation
[Sun Dec 12 18:41:47 2010] [error] [client 127.0.0.1] fileparse(): need a valid pathname at /usr/lib/perl5/5.8.5/File/Basename.pm line 175, referer: https://dellmail/user-manager/cgi-bin/userpanel-navigation
[Sun Dec 12 18:41:47 2010] [error] [client 127.0.0.1] \tFile::Basename::fileparse('undef') called at /usr/lib/perl5/vendor_perl/5.8.5/CGI/Persistent.pm line 30, referer: https://dellmail/user-manager/cgi-bin/userpanel-navigation
[Sun Dec 12 18:41:47 2010] [error] [client 127.0.0.1] \tCGI::Persistent::new('CGI::Persistent', '/var/cache/e-smith/formmagick/sessions') called at /usr/lib/perl5/site_perl/CGI/FormMagick.pm line 198, referer: https://dellmail/user-manager/cgi-bin/userpanel-navigation
[Sun Dec 12 18:41:47 2010] [error] [client 127.0.0.1] \tCGI::FormMagick::new('esmith::FormMagick', 'type', 'string', 'source', '<form title="FORM_TITLE" header="/etc/e-smith/web/common/head...', 'charset', 'UTF-8', 'sessiondir', '/var/cache/e-smith/formmagick/sessions', ...) called at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 222, referer: https://dellmail/user-manager/cgi-bin/userpanel-navigation
[Sun Dec 12 18:41:47 2010] [error] [client 127.0.0.1] \tesmith::FormMagick::new('esmith::FormMagick') called at /usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm line 117, referer: https://dellmail/user-manager/cgi-bin/userpanel-navigation
[Sun Dec 12 18:41:47 2010] [error] [client 127.0.0.1] \tesmith::FormMagick::Panel::useraccounts::new('esmith::FormMagick::Panel::useraccounts') called at /etc/e-smith/web/panels/user/cgi-bin/useraccounts line 34, referer: https://dellmail/user-manager/cgi-bin/userpanel-navigation
[Sun Dec 12 18:41:47 2010] [error] [client 127.0.0.1] Premature end of script headers: useraccounts, referer: https://dellmail/user-manager/cgi-bin/userpanel-navigation

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Internal Server Error
« Reply #5 on: December 12, 2010, 11:55:22 PM »
Please report any server-manager crashes via the bug tracker.

Don't report problems here - Please report bugs and potential bugs in the bug tracker

http://bugs.contribs.org/