Modify ↓
Ticket #3262 (closed defect: worksforme)
After update Internal Server Error
| Reported by: | lioncub@… | Owned by: | jsalamero@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | base |
| Severity: | normal | Keywords: | |
| Cc: |
Description
After entering the login password:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost 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.
#tail /var/log/zentyal/zentyal.log
2011/09/23 20:55:40 ERROR> PgDBEngine.pm:195 EBox::PgDBEngine::unbufferedInsert - Error inserting data: INSERT INTO audit_sessions ( timestamp, ip, event, username) VALUES ( ?, ?, ?, ?)
ERROR: relation "audit_sessions" does not exist
LINE 1: INSERT INTO audit_sessions ( timestamp, ip, event, username)...
^
Values: $VAR1 = [
'2011-9-23 20:55:40',
'10.10.0.5',
'login',
'lioncub'
];
# dpkg -l zentyal-* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Имя Версия Описание +++-=============================================-=============================================-========================================================================================================== ii zentyal-antivirus 2.2 Zentyal - Antivirus un zentyal-ca <нет> (описание недоступно) ii zentyal-common 2.2 Zentyal - Common Library ii zentyal-core 2.2 Zentyal - Core ii zentyal-dhcp 2.2 Zentyal - DHCP Service un zentyal-dns <нет> (описание недоступно) un zentyal-ebackup <нет> (описание недоступно) ii zentyal-firewall 2.2 Zentyal - Firewall un zentyal-jabber <нет> (описание недоступно) un zentyal-monitor <нет> (описание недоступно) ii zentyal-network 2.2.1 Zentyal - Network Configuration ii zentyal-ntp 2.2 Zentyal - NTP Service ii zentyal-objects 2.2 Zentyal - Network Objects ii zentyal-samba 2.2 Zentyal - File Sharing Service ii zentyal-services 2.2 Zentyal - Network Services ii zentyal-software 2.2 Zentyal - Software Management ii zentyal-squid 2.2 Zentyal - HTTP Proxy (Cache and Filter) ii zentyal-usercorner 2.2 Zentyal - User Corner ii zentyal-users 2.2 Zentyal - Users and Groups
Attachments
Change History
comment:2 Changed 20 months ago by jacalvo@…
- Status changed from new to closed
- Resolution set to worksforme
I suppose this was an upgrade from an old version of 2.1. Reopen if I'm wrong and this happens on a fresh 2.2 install.
To add the missing table, just execute the following:
sudo perl -MEBox -MEBox::Util::SQL -e'EBox::init(); EBox::Util::SQL::createCoreTables(); 1';
Note: See
TracTickets for help on using
tickets.