Login not working - fresh installation

Hi

I just installed SuiteCRM, after couple of back and forth. Mostly issues were related to directory permissions. Where permission suggested 755 and 766 did not worked, so enabled 777 on some of directories then it worked.

Now after successful installation I get login screen, when I enter login information it come back to login information there is no error. I tried following url (read somewhere) :

mydomain.com/scrm/?action=Login&module=Users&login_module=Administration&login_action=index

Then I get “You have been logged out because your session has expired.”

Till now, I am unable to login into installed suitecrm.

Any pointer towards solving this problem much appreciated.

Thanks