How to start Central Administration from command line - very urgent!!!!

I accidentally stopped the Central Administration service via GUI and can't get back in to start it, how do I go about to start it back up, command line stsadm?

Please help ASAP, this is very time sensitive

Thanks a lot



LVL 1
piotrmikula108Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zephyr_hex (Megan)DeveloperCommented:
central admin is not a service

from the command line:
iisreset /noforce
this will briefly take down sharepoint (a few seconds)

also check IIS and make sure none of the sites are stopped.
0
piotrmikula108Author Commented:
thanks, but that didn't do it, all websites are started, any other idea?

When I try to manually via gui stop the Sharepoint website in IIS I get "The System Cannot Find the Path Sepcified" the same error for the Central Admin app pool
0
piotrmikula108Author Commented:
can the "enumservices" stsadm.exe switch help?

I attached the stsadm.exe -o enumservices output

<Services>
  <Service>
    <Type>Microsoft.SharePoint.Administration.SPWebService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Type>
    <Name />
    <DisplayName>Windows SharePoint Services Web Application</DisplayName>
    <Status>Disabled</Status>
  </Service>
  <Service>
    <Type>Microsoft.SharePoint.Administration.SPWebService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Type>
    <Name>WSS_Administration</Name>
    <DisplayName>Central Administration</DisplayName>
    <Status>Disabled</Status>
  </Service>
  <Service>
    <Type>Microsoft.SharePoint.Administration.SPAdministrationService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Type>
    <Name>SPAdmin</Name>
    <DisplayName>Windows SharePoint Services Administration</DisplayName>
    <Status />
  </Service>
  <Service>
    <Type>Microsoft.SharePoint.Administration.SPDatabaseService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Type>
    <Name />
    <DisplayName>Windows SharePoint Services Database</DisplayName>
    <Status>Online</Status>
  </Service>
  <Service>
    <Type>Microsoft.SharePoint.Administration.SPDatabaseService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Type>
    <Name />
    <DisplayName>Windows SharePoint Services Database</DisplayName>
    <Status>Online</Status>
  </Service>
  <Service>
    <Type>Microsoft.SharePoint.Administration.SPTimerService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Type>
    <Name>SPTimerV3</Name>
    <DisplayName>Windows SharePoint Services Timer</DisplayName>
    <Status />
  </Service>
  <Service>
    <Type>Microsoft.SharePoint.Search.Administration.SPSearchService, Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Type>
    <Name>SPSearch</Name>
    <DisplayName>Windows SharePoint Services Help Search</DisplayName>
    <Status>Online</Status>
  </Service>
  <Service>
    <Type>Microsoft.SharePoint.Search.Administration.SPSearchService, Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Type>
    <Name>SPSearch</Name>
    <DisplayName>Windows SharePoint Services Help Search</DisplayName>
    <Status>Disabled</Status>
  </Service>
  <Service>
    <Type>Microsoft.SharePoint.Administration.SPIncomingEmailService, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Type>
    <Name />
    <DisplayName>Windows SharePoint Services Incoming E-Mail</DisplayName>
    <Status>Disabled</Status>
  </Service>
</Services>

Open in new window

0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

moss_guruCommented:
Try this:

stsadm -o provisionservice -action start -servicename Microsoft.SharePoint.Administration.SPAdministrationService
0
piotrmikula108Author Commented:
I get error "Missing service type"

this is the syntax it gave me to use

stsadm.exe -o provisionservice -action <start/stop> -servicetype <servicetype (namespace or assembly qualified name if not SharePoint service)> [-servicename <servicename>]

what do I put in Service Type?

Thank you
0
moss_guruCommented:
Whoops!  typed that in a bit too fast... Try this one...

stsadm -o provisionservice -action start -servicename WSS_Administration -servicetype Microsoft.SharePoint.Administration.SPAdministrationService


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
piotrmikula108Author Commented:
hmm, got this error now

The service name and type specified are not valid. The service may not be instal
led or may not have been specified with the namespace or assembly qualified name
, which is case sensitive and required for services not in SharePoint. Additiona
l information:
0
moss_guruCommented:
Ah... Sorry, that is the obsolete way and doesn't work in 2007 anymore... You nned to use psconfig.exe... Here is a sample:

psconfig.exe -cmd adminvs -provision -port 8080 -windowsauthprovider onlyusentlm

You can get help for the command line here:

http://technet2.microsoft.com/Office/en-us/library/baa28dbd-53da-4fd1-b75c-2f0b8fb719461033.mspx?mfr=true
0
piotrmikula108Author Commented:
I used this command instead

stsadm -o provisionservice -action start -servicename WSS_Administration -servicetype  Microsoft.SharePoint.Administration.SPWebService

and it's back on

Thank you guys so much
0
moss_guruCommented:
Ah!  Good to hear :)  Nice to know that it does still work for configured admin services...  Haven't had to use it yet in 2007...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.