[7.850][BUG][FIXED] Restoring 7.502 backup file renders WebAdmin unusable

Hmm, this thread seams to be fallen victim to the moderation "feature" [:D]

Here once again (it was still in my browsers history, phew - don't want to write this again, just returned from the Pink concert in Stuttgart [;)]):

Hi,

immediately after installation I tried to restore my existing configuration. After that I was logged out (as expected) and after that the only thing WebAdmin managed to show is the following 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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


In this situation I could not do anything. I have to add that the User Portal was in working condition, though!

How can I help analyzing this problem? Could the backup file help you?

Regards,
Bastian
Parents
  • OK I managed to get some logs:

    SYSTEM-LOG:

    2009:12:21-10:22:22 astaro1 postgres[16165]: [2-1] ERROR:  relation "accounting_data" does not exist at character 98Dec 21 10:22:22 postgres[16165]: [2-2] STATEMENT:  select ip as ip_addr, min(start) as start from (select ip_saddr as ip, min(dayabs) as start from accounting_data where raw_in_pktcount > 0 and raw_out_pktcount > 0 and  (ip_saddr between 3232235520 and 3232235775) and ip_saddr not in (3232235619, 1528055989) and dayabs >= 733755 group by ip union select ip_daddr as ip, min(dayabs) as start from accounting_data where raw_in_pktcount > 0 and raw_out_pktcount > 0 and  (ip_daddr between 3232235520 and 3232235775) and ip_daddr not in (3232235619, 1528055989) and dayabs >= 733755 group by ip order by start asc) as dummy group by ip_addr order by start asc
    2009:12:21-10:22:39 astaro1 postgres[16800]: [2-1] ERROR:  invalid input syntax for type inet: ""Dec 21 10:22:39 postgres[16800]: [2-2] STATEMENT:  select ins_pfilter($1, $2, $3, $4, $5)
    2009:12:21-10:22:39 astaro1 postgres[16813]: [2-1] ERROR:  duplicate key value violates unique constraint "serveraddress_pkey"Dec 21 10:22:39 postgres[16813]: [2-2] STATEMENT:  insert into serveraddress (server_id, ip_addr) values ($1, $2)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-1] ERROR:  insert or update on table "confd_accounts" violates foreign key constraint "confd_accounts_server_ref_fkey"
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-2] DETAIL:  Key (server_ref)=(REF_KadLtlXzzw) is not present in table "servers".
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-3] STATEMENT:
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-4]            insert into confd_accounts (account_ref, user_ref, server_ref, username, passwd, comment)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-5]            values ($1, $2, $3, $4, $5, $6)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-6]
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-1] ERROR:  insert or update on table "confd_accounts" violates foreign key constraint "confd_accounts_server_ref_fkey"
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-2] DETAIL:  Key (server_ref)=(REF_KadLtlXzzw) is not present in table "servers".
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-3] STATEMENT:
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-4]            insert into confd_accounts (account_ref, user_ref, server_ref, username, passwd, comment)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-5]            values ($1, $2, $3, $4, $5, $6)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-6]

    MIDDLEWARE
    2009:12:21-10:22:39 astaro1 middleware[4295]: E DBD:[[:P]]g:[:D]b do failed: ERROR:  duplicate key value violates unique constraint "serveraddress_pkey" at /mail/pop3.pm line 369.
    2009:12:21-10:22:40 astaro1 middleware[4295]: E DBD:[[:P]]g:[:D]b do failed: ERROR:  insert or update on table "confd_accounts" violates foreign key constraint "confd_accounts_server_ref_fkey"
    2009:12:21-10:22:40 astaro1 middleware[4295]: DETAIL:  Key (server_ref)=(REF_KadLtlXzzw) is not present in table "servers". at /mail/pop3.pm line 400.
    2009:12:21-10:22:40 astaro1 middleware[4295]:
    2009:12:21-10:22:40 astaro1 middleware[4295]:  1. mail:[:P]op3::updateDatabase:298() /mail/pop3.pm
    2009:12:21-10:22:40 astaro1 middleware[4295]:  2. mail:[:P]op3::setAll:320() /mail/pop3.pm
    2009:12:21-10:22:40 astaro1 middleware[4295]:  3. core::Config::load:278() /core/Config.pm
    2009:12:21-10:22:40 astaro1 middleware[4295]:  4. main::top-level:170() mdw_deamon.pl
    +several more errors

Reply
  • OK I managed to get some logs:

    SYSTEM-LOG:

    2009:12:21-10:22:22 astaro1 postgres[16165]: [2-1] ERROR:  relation "accounting_data" does not exist at character 98Dec 21 10:22:22 postgres[16165]: [2-2] STATEMENT:  select ip as ip_addr, min(start) as start from (select ip_saddr as ip, min(dayabs) as start from accounting_data where raw_in_pktcount > 0 and raw_out_pktcount > 0 and  (ip_saddr between 3232235520 and 3232235775) and ip_saddr not in (3232235619, 1528055989) and dayabs >= 733755 group by ip union select ip_daddr as ip, min(dayabs) as start from accounting_data where raw_in_pktcount > 0 and raw_out_pktcount > 0 and  (ip_daddr between 3232235520 and 3232235775) and ip_daddr not in (3232235619, 1528055989) and dayabs >= 733755 group by ip order by start asc) as dummy group by ip_addr order by start asc
    2009:12:21-10:22:39 astaro1 postgres[16800]: [2-1] ERROR:  invalid input syntax for type inet: ""Dec 21 10:22:39 postgres[16800]: [2-2] STATEMENT:  select ins_pfilter($1, $2, $3, $4, $5)
    2009:12:21-10:22:39 astaro1 postgres[16813]: [2-1] ERROR:  duplicate key value violates unique constraint "serveraddress_pkey"Dec 21 10:22:39 postgres[16813]: [2-2] STATEMENT:  insert into serveraddress (server_id, ip_addr) values ($1, $2)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-1] ERROR:  insert or update on table "confd_accounts" violates foreign key constraint "confd_accounts_server_ref_fkey"
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-2] DETAIL:  Key (server_ref)=(REF_KadLtlXzzw) is not present in table "servers".
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-3] STATEMENT:
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-4]            insert into confd_accounts (account_ref, user_ref, server_ref, username, passwd, comment)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-5]            values ($1, $2, $3, $4, $5, $6)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [3-6]
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-1] ERROR:  insert or update on table "confd_accounts" violates foreign key constraint "confd_accounts_server_ref_fkey"
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-2] DETAIL:  Key (server_ref)=(REF_KadLtlXzzw) is not present in table "servers".
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-3] STATEMENT:
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-4]            insert into confd_accounts (account_ref, user_ref, server_ref, username, passwd, comment)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-5]            values ($1, $2, $3, $4, $5, $6)
    2009:12:21-10:22:40 astaro1 postgres[16813]: [4-6]

    MIDDLEWARE
    2009:12:21-10:22:39 astaro1 middleware[4295]: E DBD:[[:P]]g:[:D]b do failed: ERROR:  duplicate key value violates unique constraint "serveraddress_pkey" at /mail/pop3.pm line 369.
    2009:12:21-10:22:40 astaro1 middleware[4295]: E DBD:[[:P]]g:[:D]b do failed: ERROR:  insert or update on table "confd_accounts" violates foreign key constraint "confd_accounts_server_ref_fkey"
    2009:12:21-10:22:40 astaro1 middleware[4295]: DETAIL:  Key (server_ref)=(REF_KadLtlXzzw) is not present in table "servers". at /mail/pop3.pm line 400.
    2009:12:21-10:22:40 astaro1 middleware[4295]:
    2009:12:21-10:22:40 astaro1 middleware[4295]:  1. mail:[:P]op3::updateDatabase:298() /mail/pop3.pm
    2009:12:21-10:22:40 astaro1 middleware[4295]:  2. mail:[:P]op3::setAll:320() /mail/pop3.pm
    2009:12:21-10:22:40 astaro1 middleware[4295]:  3. core::Config::load:278() /core/Config.pm
    2009:12:21-10:22:40 astaro1 middleware[4295]:  4. main::top-level:170() mdw_deamon.pl
    +several more errors

Children
No Data