unixman_again Posted November 24, 2014 Posted November 24, 2014 I've seen this happen after a Windows update. After rebooting the server, check the perms on the moodle dir, and check IIS hasn't spat the dummy. 1
witch Posted November 24, 2014 Author Posted November 24, 2014 I've seen this happen after a Windows update. After rebooting the server, check the perms on the moodle dir, and check IIS hasn't spat the dummy. How would I know?
witch Posted December 11, 2014 Author Posted December 11, 2014 I've restarted IIS and the moodle but the site still won't load. The error is the usual "website cannot display the page" Can anyone give me any pointers?
Jamo Posted December 12, 2014 Posted December 12, 2014 Have you checked the iis logs? https://portal.smartertools.com/kb/a2487/where-are-my-iis-log-files-stored.aspx
witch Posted December 12, 2014 Author Posted December 12, 2014 @Jamo Still can't find them - the instructions say to right click on website and choose Properties. I don't have Properties!
unixman_again Posted December 12, 2014 Posted December 12, 2014 AFAIK there are two IIS logs, both of which are pretty useless IMO. The first to look at is inetpub\logs\LogFiles\W3SVC1 and check the latest file. AFAIK these are the equivalent to the Apache access.log file. The IIS error log is usually in c$\Windows\System32\LogFiles\HTTPERR and AFAIK are the equivalent of the Apache error.log file, except almost nothing of any use is logged here. When I'm trying to troubleshoot a problem with a website served by IIS, I invariably install Apache on the box, leaving the website files as is. Apache logs way more meaningful messages in the error.log file and once you've sorted out what is wrong, you can always go back to IIS.
Jamo Posted December 12, 2014 Posted December 12, 2014 What about the Windows event logs? is the website started?
witch Posted December 15, 2014 Author Posted December 15, 2014 (edited) Windows event logs show nothing of note that I can see. But I might be looking in the wrong place - can someone point me to exactly what I should be looking at. There is a MySQL error but I have no idea what that means. The website is started fine although I have stopped and started it again Anyone? I am being looked at sideways by people who think I should be able to fix it! Unfortunately that isn't the case *edit I cannot even access the site from inside IIS Manager - get the usual server error page Edited December 15, 2014 by witch
witch Posted December 15, 2014 Author Posted December 15, 2014 Even when I click on the moodle site within IIS manager and chose manage website, and then browse, I still get the internal server error
unixman_again Posted December 15, 2014 Posted December 15, 2014 It has been my experience that Windows Event logs never show anything useful. What is the MySQL error that you are seeing?
witch Posted December 15, 2014 Author Posted December 15, 2014 I have more now "the WWW publishing service did not register the URL prefix http:\\lvp.lockyersmid.sch.uk:80 for site 5. The necessary network binding might be in use. The site has been disabled. " Oddly I appear to be able to access the LVP on my mobile phone. The other error is: "The description for event ID 1 from source MySQL Administrator cannot be found. Either the component is not installed or the installation is corrupted" If this is the case - can I repair it? If so, how?
unixman_again Posted December 15, 2014 Posted December 15, 2014 (edited) The IIS message means you have two sites trying to use port 80. This might help Event ID 1007 — IIS Web Site Availability I suspect teh MySQL error is a red herring. Edited December 15, 2014 by unixman_again said ISS rather than IIS (just been reading about ISS)
Jamo Posted December 15, 2014 Posted December 15, 2014 How many websites do you have on the iis server? Right click on each one and check the bindings of each as as unixman said its likely there is already a site using port 80. Try running netstan -an in a cmd prompt and look for something listening on port 80
witch Posted December 16, 2014 Author Posted December 16, 2014 Thanks I only have the one website as far as I can see but I will be having a better look around when I get back to that school later today.
witch Posted December 16, 2014 Author Posted December 16, 2014 I only have the one moodle site - there were a couple of old ones but I deleted them. (hoped it would all work now, but no luck.) The default website has "dcserver01" on port 80 - that's the server The moodle site has "lvp.xxxschool.co.uk" on port 80 which is what I would expect. Have run the netstat -an command but not sure what I am looking for
unixman_again Posted December 16, 2014 Posted December 16, 2014 netstat -ano | find ":80" | find /i "listen" will show you what is listening on port 80. The last column is the process id, which you can find in taskmanager to see what service it is. AFAIK there should be 2 lines displayed by the command for 1 website.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now