# Forums | Mahara Community

## Support / Mahoodle - Unable to SSO after a few days

Posts: 3

10 May 2013, 3:01 AM

Hello! We are running Mahara 1.7 on Ubuntu v.12.1.0 and it is set up to accept SSO from our Moodle server which is RHEL v.6.3.

Everything works great - users go to our Moodle site and click the link and are automatically logged into the Mahara server. After a few days however this connection is severed and users get an error message that the system could not log them in at this time. If I restart the Mahara server it starts working again.

I have checked logs on both servers and I don't see anything jumping out at me. When users cannot login to Mahara, they can still log into Moodle (LDAP authentication with Active Directory) with no problem. I can also still login to the Mahara server with the local admin account and everything looks good.

Any ideas on what could be causing this or where I could look for more information?

Thanks so much!

Posts: 3400
##### Re: Mahoodle - Unable to SSO after a few days

13 May 2013, 10:02 AM

Please try to log in from Moodle into Mahara and check the error logs on both sides immediately upon failure and note down the error. Without an error message from the log there is not much we can do as the problem could be a number of different things.

Cheers

Kristina

Posts: 3
##### Re: Mahoodle - Unable to SSO after a few days

14 May 2013, 12:48 AM

Kristina,

Thank you, I will check this next time I notice the error. I've checked a few areas for Mahara logs, which log file would I want to look at to see any pertinent error messages? Do you know the default location for this log file?

Thanks so much,

Posts: 3400
##### Re: Mahoodle - Unable to SSO after a few days

15 May 2013, 4:45 PM

Please check your config file for the location of the error log. I found the following comment in htdocs/lib/config-defaults.php

// If you use LOG_TARGET_FILE, this is the file that errors will be logged to.
// By default, it will write to the file 'error.log' under dataroot. If you
// change this in config.php, make sure you use a folder which is writable by
// the webserver.

Cheers,
Aaron

Posts: 3400
##### Re: Mahoodle - Unable to SSO after a few days

09 June 2013, 6:10 PM