Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Before I throw these computers off the balcony.....

Status
Not open for further replies.

creeve2005

Technical User
Aug 25, 2004
19
CA
I just installed Win3k and trying to set up IIS. Whenever I go to a page I get "Service Unavailable" message. I have searched high and low and tried everything I could find, but still a no go.

Does anyone know how to fix this.

I have run out of patience trying to search out fixes for all Microsofts problems.

Thanks
 
That is the full error. Do a Google search on it and you will see a hundred articles on it, but since you don't even know the error I highly doubt you know a fix. In any event, I've installed win2k. I just don't have time to be pissing around with MS crap.

Thanks
 
let's try another question then


are you trying to run code?
a basic HTML file?
classic ASP file.
.net (.aspx) file.

something else?

try the steps in faq333-5427 see if more of an error message appears.



Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
As I said, do a Google search then you will understand the problem and the error.

Here is one of a hundred articles.
My problem is that none of the fixes work.

I have no problem on Windows 2000. This error is due to all the new security features in 2003.

Security is nice, as long as the product will still function. In this case it doesn't.
 
I really don't care how many others are having the same or similar issues, I'm merely trying to narrow down YOUR problem.

That article relates to SharePoint™. Are you running SharePoint™ ? Because that would become a different problem entirely and you should look in forum820 for more assistance.

In the meantime a little help on what you can see on your version of this issue would not go amiss.
Don't forget, I cannot see your server or the error message you are getting and I do not know how your system is configured.

Have you looked over at IIS Resources Yet?





Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Last post on this. Here is my problem - unfortunately none of the fixes work. Like I said though, I have removed 2003 and installed 2000 - although I just discovered problems with it as well. So I did what I should have done in the first place - moved everything to my Linux box where all is good.

Each application pool has an identity (account) under which it runs. By default, this identity is NT AUTHORITY\NETWORK SERVICE. This account is builtin, and entirely controlled by the system. It has all the necessary rights to logon as a service, and the password is internally dealt with. The big problem with this Network Service identity is that it's pretty much useless for accessing remote resources. So, there are more or less two solutions to such an issue - impersonate a user in your application, or make the whole application run under a default account.

Let's say that Administrator Al sets up a new application pool to run under the account he just created called AlsWebpageServiceAccount. With this all complete, Al browses over to Low and behold, Al's Webpage doesn't show up, but instead, a nice error “Service Unavailable”. Let's take a look at what Al can do to correct this.

Step one, as always, is to go and take a look at what's going on in the event viewer (start>run>eventvwr.msc). There are a couple entries that will be of interest to Al. Stop Errors and Warnings in the System Log from W3Svc, and Failure Audits (you should have logon failure auditing enabled) in the System log. Here's a sample of what I produced in my event logs:

This is the generic IIS Error that says something is screwed up with your app pool settings (probably its identity)
Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 1059
Date: 9/20/2003
Time: 11:48:27 AM
User: N/A
Computer: BERYLLIUM
Description:
A failure was encountered while launching the process serving application pool 'BlogPostTest'. The application pool has been disabled.

For more information, see Help and Support Center at

Here's the tip off that it's an identity issue:
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 1057
Date: 9/20/2003
Time: 11:48:27 AM
User: N/A
Computer: BERYLLIUM
Description:
The identity of application pool 'BlogPostTest' is invalid, so the World Wide Web Publishing Service can not create a worker process to serve the application pool. Therefore, the application pool has been disabled.

For more information, see Help and Support Center at
Finally, the failure audit in the security log
Event Type: Failure Audit
Event Source: Security
Event Category: Logon/Logoff
Event ID: 534
Date: 9/20/2003
Time: 11:48:08 AM
User: NT AUTHORITY\SYSTEM
Computer: BERYLLIUM
Description:
Logon Failure:
Reason: The user has not been granted the requested
logon type at this machine
User Name: AlsWebpageServiceAccount
Domain: GREENVIEW
Logon Type: 4
Logon Process: Advapi
Authentication Package: Negotiate
Workstation Name: BERYLLIUM
Caller User Name: BERYLLIUM$
Caller Domain: GREENVIEW
Caller Logon ID: (0x0,0x3E7)
Caller Process ID: 640
Transited Services: -
Source Network Address: -
Source Port: -

For more information, see Help and Support Center at
The security fail audit is really the most useful one here. Take a look at the reason “The user has not been granted the requested logon type at this machine“. The LogonType says that the user is trying to logon as a service. So, combine the reason and the logon type code, and Al now knows that his Website Service Account doesn't have rights to logon as a service. This, is certainly fixable. Here's how:

Open the server's local security policy (start>run>secpol.msc), expand local polices and browse to User Rights assignment. Once in User Rights Assignment, open up the “Log on as Service“ right. Any account or group in this list will be able to logon as a service. So, click Add User or Group, and then type in/browse for the app pool's new service account. Once the right is granted, Al will need to reboot his server. Security settings are applied during the startup phase of any NT/2000/XP/2003 machine.

After all this, Al's new website should and mostly likely will work. If there are still issues with Service Unavailable, the next step is to read deeper intot he warning messages from W3Svc - they more than likely contain the problem.

I hope this info is useful, feel free to leave comments/send mail regarding future break/fix posts.
 
creeve2005 said:
Last post on this. Here is my problem - unfortunately none of the fixes work. Like I said though, I have removed 2003 and installed 2000 - although I just discovered problems with it as well. So I did what I should have done in the first place - moved everything to my Linux box where all is good.

Why did you ask for help when you are obviously not willing to provide any information on your problem?

FYI, Service Unavailable can be caused by many things and only the information you can provide would help to track it. What you have asked here is the equivalent of my saying something like "My computer won't start, but I'm not telling you if it's plugged in or not"

What you have done above is provided us with someone else's problem, not your own. Just because that person had a problem and sorted it one way, does not mean that your problem will be resolved in the same way or that it is being caused by the same thing. The lack of their fix working for you should tell you that.

What is ironic is that you stated the fix doesn't work, you copied the following text, yet you obviously did not read it yourself because it is exactly what Chris is asking:

creeve2005 said:
If there are still issues with Service Unavailable, the next step is to read deeper intot he warning messages from W3Svc - they more than likely contain the problem.

Wullie

Fresh Look - Quality Coldfusion 7/Windows Hosting
YetiHost - Coming Soon

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
The number one thing I love about IIS on W2K3 and the much needed security is that it seperates the competent from the wannabees.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top