in the error message does it list another script or a line of code it failed on. I have been having one script fail causing another script to fail. it may be higher up the log.
I believe you need to look into alfresco.log and catalina.log. I may have the names wrong. but the alfresco log file is in the root alfresco folder with the startup scripts and the other log files are int the tomcat>logs folder
Also, what kind of configuration have you done on the Alfresco side?
What Alfresco version are using? on the community side there is an A, B and C or are you on enterprise.
hope i can help
adam