Project Server 2007 Queue Issue

C

Carlo Rosmini

Good morning,
We have a problem with the queue of Project Server 2007.
When the operating system is restareted the queue service "Microsoft Office
Project Server Queue Service" is correctly started, but it seems not to work.
The jobs in the queue are in the state "waiting to be processed".
If I manually restart the service, the queue start to work correctly and
process the jobs.
This behavior happens every time that the system is restarted.
Other persons have met the same problem?
Where we can find some information about this problem ?

Thanks
Best regards
 
S

Sharry Heberer [MSFT]

Are you running all components (SQL Server, Project Server (middle tier and
front end), etc.) all on one machine? We have seen this problem when all
components are on the same machine, and the issue has to do with SQL Server
not being up and running before the Queue Service tries to ask SharePoint
for the list of PWA sites it needs to service. Since the DB is not yet up
and running, SharePoint returns no sites to the Queue, so nothing happens.
This is not a recommended configuration - we recommend at least the SQL
Server be on a separate machine. But in this situation, if you choose to
run it this way, then you should restart the service as you have been doing.

Hope this helps,
Sharry
 
C

Carlo Rosmini

Thank you Sharry !! I solve my problem.
You said good, it's happen only on a stand alone installation (all on one
machine).
I set the dependence of Project Queue Service from SQL Server Service and
now work good. For make this, i gone on the registry
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProjectQueueService"
and add a new key "DependOnService" of type REG_MULTI_SZ ,then i set the
value "MSSQLSERVER" on this new key.

Carlo
 
M

Marcin Chomicz

Hi Carlo
just a small correction of to description of the solution
you said:
I set the dependence of Project Queue Service from SQL Server Service and
now work good. For make this, i gone on the registry
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProjectQueueService"
and add a new key "DependOnService" of type REG_MULTI_SZ ,then i set the
value "MSSQLSERVER" on this new key.

in fact, instead of "MSSQLSERVER" you have to put the exact name for service
on which you wish to make other service dependent. In the default "single
server" PS 2007 configuration with embedded MSSQL it will be
"MSSQL$OFFICESERVERS". Of course it can be also "MSSQLSERVER" in particular
case.But it is better to doublecheck the name, otherwise dependent service
(in this case PSPQ) will not start (because it will be dependent on non
existing service) :)
Best and many thanks for discovering this
 
M

Marcin Cyrkiel

I have SQL Server installed on separate machine and experience the same issue - any jobs are in the state of "Waiting to be processed". Any advice ?

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
 
P

Pradeep GanapathyRaj [MSFT]

Marcin - to advice better we need more information on your issue. Some
tips:

1) You can try restarting the Queue NT Service and see if it helps
2) Check whether your SQL Server is up and running.
3) See if SharePoint is up and running
4) See the event viewer (Start->run->eventvwr) and the Project Server log
files.

a) Make sure the server writes verbose logs: Go to http://<Central admin
machine>:<Central admin port>/_admin/metrics.aspx. Select "Success" as the
value for "Least critical event to report to the event log". Select
"Verbose" as the value for "Least critical event to report to the trace
log". This makes sure that the logs have as much information as possible for
debugging.
b) Default location of log files: <drive>:\program files\Common
Files\Microsoft Shared\web server extensions\12\LOGS. There are many files
in this folder. The ULS trace logs are formatted something like
"<machineName>-20060320-1506.log". Check the latest log files.

--
Thanx and regards
Pradeep GanapathyRaj [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


in message
news:[email protected]...
 
S

Sharry Heberer [MSFT]

Here is the troubleshooting I recommend to start with when your Queue seems
to be having problems:

Here are some helpful hints and some things you can do to investigate why
the Queue is not processing jobs for a particular project:

1. Is your Queue still running properly - if it still processes jobs other
than the ones for the projects that are "blocked" then there is no need to
kill the Queue service - it is behaving as designed.

2. Use the Manage Queue page to look at correlations (use the CorrelationUID
column for help here) to see why a certain correlation is blocked. If you
cannot see any problems and your queue is still working, then your filters
on the Manage Queue page are probably not right - check them, especially the
History section (the problem may have actually occurred days ago). Using
the "By Project" filter works nicely for looking at the queue job history of
projects. For other correlations, use CorrelationUID.

3. Look for jobs in the Failed and Blocking state - those are the jobs that
are "blocking" others on the same correlation (again, use the correlation
UID here to see what jobs are affected). You can either retry these jobs if
the error looks like something having to do with something recoverable (like
loss of network or DB conn), or you can cancel. Canceling with the default
settings will cancel the entire correlation, so make sure you know what data
you could be losing by doing so.

4. Then look to see if maybe there are jobs stuck in the "Getting Enqueued"
state. If so, WinProj needs to be opened again on that user's machine who
submitted the job to see if WinProj will continue sending the project. If
that doesn't work, then you will need to cancel the jobs in this "getting
enqueued" state. Note that this effectively means that the save from
WinProj never happened, and that data will need to be resaved again. This
is the same thing that happens when you just blindly kill/restart the queue
service. But at least doing it this way means that you know what is being
lost, and which projects may need special attention later.

5. Look at the error (click the link in the Error column) to get an idea
about why the failure occurred. Sometimes you can correct the problem and
re-save/re-submit your job.

6. Start comparing Event Logs to what you've found on the Manage Queue page.
Look for errors around the same time as failed jobs in the queue.

7. ULS Logs. Same technique as #5 - look for errors around the same time as
failed jobs in the queue.

Once you clear the blocking job(s), the queue should immediately resume
processing on that correlation again, and pick up from where it last left
off (except, of course, if the jobs were all canceled in the process of
performing the steps above).


--
This posting is provided "AS IS" with no warranties, and confers no rights.

Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

in message
 
G

George

I had the same problem in a stand-alone configuration. Is there a way to set
this dependency by using Administrative Tools->Computer Management->Services
and Applications->Services. In the properties of "MS Office Project Server
Queue Service," there is the "Dependencies" tab. Can I set the dependency
there?
 
D

Dyn

Hi All,

I am having the same problem as Marcin, my EPM deployment is for one
application server and a separate database server.

Where you guys able to find a solution for this problem yet?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top