Koozali.org: home of the SME Server

Server-Manager Login Issues

Offline WithSupport

  • 1
  • +0/-0
Server-Manager Login Issues
« on: July 12, 2017, 01:21:26 PM »
We recently upgraded our SME server from 9.1 to 9.2 with Yum update

But ever since doing this i am unable to log into the server manager.

I enter the correct login detials and the page just reloads back to the login screen.
(i know the details are correct because when entered incorrect i get a message informing me the details provided are incorrect)

Can anyone advise what steps to take to resolve this issue?

I have tried on multiple browsers but all are the same.

guest22

Re: Server-Manager Login Issues
« Reply #1 on: July 13, 2017, 02:48:55 PM »
Hi and welcome!


please try to clear your browsers cache first and try again.


HTH

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Server-Manager Login Issues
« Reply #2 on: July 13, 2017, 10:07:56 PM »
We recently upgraded our SME server from 9.1 to 9.2 with Yum update

But ever since doing this i am unable to log into the server manager.

I enter the correct login detials and the page just reloads back to the login screen.
(i know the details are correct because when entered incorrect i get a message informing me the details provided are incorrect)

Can anyone advise what steps to take to resolve this issue?

I have tried on multiple browsers but all are the same.

aside from Hfang suggestion,

did you realize the upgrade using command line / ssh or from the server-manager ?
Have you issued the signal-event post-upgrade; signal-event reboot just after the update ?

If no, I would suggest to login from ssh or directly on the server, using admin login and password and just issue the reconfiguration and reboot.

Offline rmoria

  • ***
  • 78
  • +0/-0
    • http://www.osvorca.nl
Re: Server-Manager Login Issues
« Reply #3 on: July 16, 2017, 08:56:04 PM »
I have the same issue. Worked fine before, just after install. I cannot use admin to log on to server manager. Neither web or by console. root workes fine to log into console.
Can not access site/webmail (The requested URL /webmail/ was not found on this server)

May have to do with putting back backup (workstation restore) for me.
...
Yes, I can ask more questions then you can answer  8-)
...

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Server-Manager Login Issues
« Reply #4 on: July 16, 2017, 11:52:23 PM »
I have the same issue. Worked fine before, just after install. I cannot use admin to log on to server manager. Neither web or by console. root workes fine to log into console.
Can not access site/webmail (The requested URL /webmail/ was not found on this server)

May have to do with putting back backup (workstation restore) for me.
this could indeed be related to the restore, missing post-upgrade event or the way you configured the server (mode chosen : i.e. private server). Also by default webmail is not accessible.

Same question: did you issue the signal-event post-upgrade; signal-event reboot after restoring ?

Offline rmoria

  • ***
  • 78
  • +0/-0
    • http://www.osvorca.nl
Re: Server-Manager Login Issues
« Reply #5 on: July 17, 2017, 09:53:06 AM »
Yes i did the post-upgrade and reboot.

Web is working (http://tolot.net).
Server was both times set up as server-gateway.

When i log into machine as root then su admin i see the console. I can access status, raid info, test internet connection. Can not access reconfigure or servermanager.

Rob
...
Yes, I can ask more questions then you can answer  8-)
...

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Server-Manager Login Issues
« Reply #6 on: July 17, 2017, 10:26:15 AM »
Bugs or potential bugs should be posted on the bugtracker https://bugs.contribs.org. Thanks
C'est la fin du monde !!! :lol:

Offline ReetP

  • *
  • 3,734
  • +5/-0
Re: Server-Manager Login Issues
« Reply #7 on: July 17, 2017, 10:32:00 AM »
May have to do with putting back backup (workstation restore) for me.


Can you explain this ? Did you do a command line upgrade from 9.1. to 9.2 or something else ?


Yes i did the post-upgrade and reboot.

Web is working (http://tolot.net).
Server was both times set up as server-gateway.

When i log into machine as root then su admin i see the console. I can access status, raid info, test internet connection. Can not access reconfigure or servermanager.

Check for any errors here for starters:

/var/log/messages
/var/log/httpd/error_log
/var/log/httpd/admin_error_log

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline rmoria

  • ***
  • 78
  • +0/-0
    • http://www.osvorca.nl
Re: Server-Manager Login Issues
« Reply #8 on: July 17, 2017, 11:07:44 AM »
I did an upgrade from 8 to 9.2

/var/log/httpd/admin_error_log
[warn] TKT valid_ticket: ticket hash (current secret) is invalid, and no old secret set - digest '**********************', ticket '******************admin!*****:127.0.0.1'

/var/log/httpd/error_log
stuff to do with domain not being redirected to proper i-bay. (sub-domain groenzwartereigers.nl does not point to it's ibay but to Primary)

messages:
nothing jumps out

Also just found out mail isn't being delivered to users with message: 550 relaying denied

I didn't have these problems right after restore / post-upgrade / reboot . Then it worked fine

...
Yes, I can ask more questions then you can answer  8-)
...

Offline ReetP

  • *
  • 3,734
  • +5/-0
Re: Server-Manager Login Issues
« Reply #9 on: July 17, 2017, 12:05:17 PM »
How did you upgrade (what method)?

Did you clear out all your custom-templates?

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline rmoria

  • ***
  • 78
  • +0/-0
    • http://www.osvorca.nl
Re: Server-Manager Login Issues
« Reply #10 on: July 17, 2017, 12:49:08 PM »
Thanks for the reminder!

I did clear out the custom templates, but 2 came back from somewhere. After moving templates, post-upgrade and reboot I can access server-manager again, mail seems to work.

Domain redirect to the right ibay had to be changed and changed back before it worked again.

Thanks all  :smile:
...
Yes, I can ask more questions then you can answer  8-)
...

Offline ReetP

  • *
  • 3,734
  • +5/-0
Re: Server-Manager Login Issues
« Reply #11 on: July 17, 2017, 12:56:20 PM »
:-) Glad that fixed it for you.

B. Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Server-Manager Login Issues
« Reply #12 on: July 18, 2017, 04:45:46 PM »
How did you upgrade (what method)?

Did you clear out all your custom-templates?

good catch John, looking at the log provided this sounded like a custom template with sha encryption for the ticket while SME 9.2 use now sha256. The value should be the same for mod_tkt config file and httpd-admin conf file, or the ticket is not recognized.