Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: WithSupport on July 12, 2017, 01:21:26 PM

Title: Server-Manager Login Issues
Post by: WithSupport 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.
Title: Re: Server-Manager Login Issues
Post by: guest22 on July 13, 2017, 02:48:55 PM
Hi and welcome!


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


HTH
Title: Re: Server-Manager Login Issues
Post by: Jean-Philippe Pialasse 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.
Title: Re: Server-Manager Login Issues
Post by: rmoria 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.
Title: Re: Server-Manager Login Issues
Post by: Jean-Philippe Pialasse 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 ?
Title: Re: Server-Manager Login Issues
Post by: rmoria 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
Title: Re: Server-Manager Login Issues
Post by: Daniel B. on July 17, 2017, 10:26:15 AM
Bugs or potential bugs should be posted on the bugtracker https://bugs.contribs.org. Thanks
Title: Re: Server-Manager Login Issues
Post by: ReetP 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

Title: Re: Server-Manager Login Issues
Post by: rmoria 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

Title: Re: Server-Manager Login Issues
Post by: ReetP on July 17, 2017, 12:05:17 PM
How did you upgrade (what method)?

Did you clear out all your custom-templates?

Title: Re: Server-Manager Login Issues
Post by: rmoria 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:
Title: Re: Server-Manager Login Issues
Post by: ReetP on July 17, 2017, 12:56:20 PM
:-) Glad that fixed it for you.

B. Rgds
John
Title: Re: Server-Manager Login Issues
Post by: Jean-Philippe Pialasse 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.