Koozali.org: home of the SME Server

Can't log in to server manager after restore

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Can't log in to server manager after restore
« on: November 21, 2005, 05:16:13 PM »
I needed to restore my server installation from a tape backup last night.  Using Arkeia, I restored the files/directories that are restored using the built-in restore, and most parts of the system appear to be working properly--except that I can't log in to the server manager.  The same password works for root and admin at the command line, but it won't let me log in for the web manager.  I'm sure this is something simple I missed--any ideas how to fix it?  Thanks!
......

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Can't log in to server manager after restore
« Reply #1 on: November 22, 2005, 02:16:37 AM »
A bit more information, if it helps--the only thing showing up in admin_error_log is this:

[Mon Nov 21 20:13:18 2005] [error] access to /etc/e-smith/web/panels/manager/html failed for 127.0.0.1, reason: AuthExtern pwauth [/usr/lib/apache/pwauth]: Failed (255) for user admin

Not seeing anything in the system log or apache access log.  Any ideas?
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Can't log in to server manager after restore
« Reply #2 on: November 22, 2005, 06:35:42 AM »
Quote from: "DanB35"
A bit more information, if it helps--the only thing showing up in admin_error_log is this:

[Mon Nov 21 20:13:18 2005] [error] access to /etc/e-smith/web/panels/manager/html failed for 127.0.0.1, reason: AuthExtern pwauth [/usr/lib/apache/pwauth]: Failed (255) for user admin

Not seeing anything in the system log or apache access log.  Any ideas?


Verify that all files in mod_auth_external have correct permissions:

rpm -V mod_auth_external

Check that admin belongs to the www group:

grep www /etc/group

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Can't log in to server manager after restore
« Reply #3 on: November 22, 2005, 07:07:59 AM »
Permissions were off on pwauth; fixed that and I now have a new problem.  I now get error 500, Internal Server Error.  This is in the error log:

[Tue Nov 22 01:05:28 2005] [error] (13)Permission denied: exec of /etc/e-smith/web/panels/manager/html/index.cgi failed

Permissions again I'm sure; I'll take a closer look in the morning.  Thanks for the pointer!
......

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Can't log in to server manager after restore
« Reply #4 on: November 22, 2005, 01:53:55 PM »
Ownership on index.cgi was root:console.  Changed to root:admin, and now it's just sitting and waiting for a response.  I'll check further later.
......