IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 28th, 2006, 04:45 PM
Razzzler Razzzler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 27 Razzzler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 29 m 44 sec
Reputation Power: 0
ISS problem

hello. after installing Mysql and Php today on my windows 2003 IIS server. everyting worked. i could connect to the server and so on. but today after installing those two i cannot, IIS say that my web sites folder is "running" and i tryed to restart it without luck. it's running on the same port / same setting as before restart. the last things i did before the reboot that made it unable to connect to was

Entered my PHP directory ant the end, including ';' before (e.g. ;C:\php at the end of 'System Variables' pane >> "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\php

Made PHP.ini avaliable for windows in System Variables' pane, added PHPRC as valuename and c:\Php as valuepath

anyone knows if this can stop ISS from working or someting i missed that can stop IIS from working while installing mysql / PHP?


EDIT: i tryed 127.0.0.1 on the server and it dosent work either.

Reply With Quote
  #2  
Old October 29th, 2006, 04:22 AM
displeaser's Avatar
displeaser displeaser is offline
Periodically energetic Perler
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2005
Location: Dublin, Ireland
Posts: 2,266 displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 76661 Folding Title: Intermediate FolderFolding Points: 76661 Folding Title: Intermediate FolderFolding Points: 76661 Folding Title: Intermediate FolderFolding Points: 76661 Folding Title: Intermediate Folder
Time spent in forums: 4 Weeks 5 h 23 m 13 sec
Reputation Power: 532
Do you mean the IIS admin or WWW services are not working?
__________________
Vi Veri Veniversum Vivus Vici.

Reply With Quote
  #3  
Old October 29th, 2006, 05:30 AM
Razzzler Razzzler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 27 Razzzler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 29 m 44 sec
Reputation Power: 0
Quote:
Originally Posted by displeaser
Do you mean the IIS admin or WWW services are not working?


the www services are not working. it's saying "running" but after the reboot i cannot even access http://127.0.0.1

Reply With Quote
  #4  
Old October 29th, 2006, 05:33 AM
displeaser's Avatar
displeaser displeaser is offline
Periodically energetic Perler
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2005
Location: Dublin, Ireland
Posts: 2,266 displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 76661 Folding Title: Intermediate FolderFolding Points: 76661 Folding Title: Intermediate FolderFolding Points: 76661 Folding Title: Intermediate FolderFolding Points: 76661 Folding Title: Intermediate Folder
Time spent in forums: 4 Weeks 5 h 23 m 13 sec
Reputation Power: 532
Quote:
Originally Posted by Razzzler
the www services are not working. it's saying "running" but after the reboot i cannot even access http://127.0.0.1


What error are you getting trying to get to 127.0.0.1?

Have you looked in the event logs for relevant errors and also look in the iis logs themselves.

Displeaser

Reply With Quote
  #5  
Old October 29th, 2006, 06:28 PM
Razzzler Razzzler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 27 Razzzler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 29 m 44 sec
Reputation Power: 0
i get error show bellow when going to 127.0.0.1

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.



and this was what was in my httperr1.log for IIS

2006-10-28 22:26:16 127.0.0.1 1094 127.0.0.1 80 HTTP/1.1 GET / - 1 Timer_AppPool DefaultAppPool
2006-10-29 09:41:41 81.68.99.99 1864 192.168.0.150 80 HTTP/1.0 GET / - 1 Timer_AppPool DefaultAppPool
2006-10-29 14:44:21 81.71.97.202 2183 192.168.0.150 80 HTTP/1.0 GET / - 1 Timer_AppPool DefaultAppPool
2006-10-29 23:24:21 127.0.0.1 1322 127.0.0.1 80 HTTP/1.1 GET / - 1 Timer_AppPool DefaultAppPool


do you know what the problem is ?

Reply With Quote
  #6  
Old October 29th, 2006, 08:54 PM
Gnome101's Avatar
Gnome101 Gnome101 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 316 Gnome101 User rank is Corporal (100 - 500 Reputation Level)Gnome101 User rank is Corporal (100 - 500 Reputation Level)Gnome101 User rank is Corporal (100 - 500 Reputation Level)Gnome101 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 12 h 24 m 11 sec
Reputation Power: 5
Are you viewing a basic HTML page on the root?

Is your basic web user still intact with permissions to view?

Reply With Quote
  #7  
Old October 29th, 2006, 09:56 PM
Razzzler Razzzler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 27 Razzzler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 29 m 44 sec
Reputation Power: 0
Quote:
Originally Posted by Gnome101
Are you viewing a basic HTML page on the root?

Is your basic web user still intact with permissions to view?


on first, yes. 127.0.0.1 should put up default.asp but it wont after the reboot

on second, yes permissions for view is same as wen it worked before reboot.

Reply With Quote
  #8  
Old October 30th, 2006, 01:11 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
In IE turn off the "show friendly http errors" setting, you should then see an error message that will tell you the underlying error description.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #9  
Old October 30th, 2006, 05:59 AM
Razzzler Razzzler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 27 Razzzler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 29 m 44 sec
Reputation Power: 0
ok, i turned of it in internet explorer options under the advanced tab. i got almost the same error as shown below and it's not working still

Cannot find server
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

Cannot find server or DNS Error
Internet Explorer

Reply With Quote
  #10  
Old October 31st, 2006, 10:23 PM
Razzzler Razzzler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 27 Razzzler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 29 m 44 sec
Reputation Power: 0
hello again. i was undoing what i did before the problem occoured and added what i did one by one again.

i ended up with the same IIS error when adding ""PHPRC"" as system variable and ""C:\PHP"" as value. anyone know how i can add ""PHPRC"" as system variable or what the problem is, why i get this error. since i must have this for PHP to be working?

Reply With Quote
  #11  
Old November 1st, 2006, 03:19 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
I have PHP on XP and don't need that environment variable (if environment variable is what you mean by system variable). With php, you may need to adjust the file permission on c:\php in windows to allow IIS to have access. IIS normally runs as the IUSR_computername user.

From the control panel you can open System - Advanced and you should find a button for environment variables. You can manually set a variable for your computer from there.

Reply With Quote
  #12  
Old November 1st, 2006, 10:01 PM
Razzzler Razzzler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 27 Razzzler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 29 m 44 sec
Reputation Power: 0
my computer is named freedom, and the Usergrp was called IUSR_fredom (yes, 1 e, dunno why)

so i added full control for IUSR_fredome on c:\php and i still get the same error. now i cant access IIS trou 127.0.0.1 again, and as said above. IUSR_fredome has full control over c:\php

can it be anyting else causing the problem ?

seems it was not the permissions if the diffrence in computername and usergrp name has anyting t o do with it.

Reply With Quote
  #13  
Old November 2nd, 2006, 06:35 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
Go through the IIS management console and make sure everything is correct and that IIS is running. Locate the root of your web, normally \InetPub\wwwroot\ and put a simple html page there (something.htm) Use .htm not .html unless you have adjusted the default documents in IIS. On the IIS computer open a web browser to http://localhost/something.htm (or whatever you named the test page). Post back the results of this test.

Reply With Quote
  #14  
Old November 2nd, 2006, 10:42 PM
Razzzler Razzzler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 27 Razzzler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 29 m 44 sec
Reputation Power: 0
I just checked everyting in IIS and it's cirrectly setup and it's running. i made "test.htm" wich i went to trou http://localhost/test.htm

the resault was ALMOST the same page as when i go to http://localhost BUT
now the page said *website found, waiting for replay" in the status window and then it kept loading, trying to open the page but nothing happend, it just kept loading with *website found, waiting for replay* Second time i tryed it was the same resault as firsttime but after about 13 minutes of loading the "The page cannot be displayed" came again.

as said above, this only happens when i have added PHPRC, if i remove it IIS work perfectly. but if i dont have it MYSQL wont work also as said erlier IIS now has full access to c:\php BUT as soon as i add PHPRC The page cannot be displayed errors come.


EDIT:

i was looking trou the even manager and found this just as i was trying to go to localhost.

Application popup: PHP Error : Error parsing C:\PHP\php.ini on line 681
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

and on line 681 there is "Program Files\MySQL\MySQL Server 5.0\bin\mysqladmin" -p -u root shutdown

why is this causing a problem ?

Reply With Quote
  #15  
Old November 3rd, 2006, 01:30 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)