OSX Server wikis and blogs error 503 (stale pidfile /var/run/

Posted on 2011-05-05
Last Modified: 2012-05-11
I'm running a XServe server with OSX Server 10.5.8.

The teamserver services (Wikis and blogs) displays a 503 error when trying to be accessed. Everything is enabled in WGM and in SA.

I get periodically (every 30 seconds or so) 3 error messages in the system log :
www[13597]: Removing stale pidfile /var/run/
www[1] ([13597]): Exited with exit code: 1
www[1] ( Throttling respawn: Will start in 9 seconds

I saw it could be caused by corrupted plist files but I checked everyone of them in the folder containing the wikis with plutil and they're all OK.
I already tried resetting the logs and restoring the wiki server as described here even if i didn't restore from Time Machine, it didn't change anything. I also tried deleting the plist files even if plutil was saying they were OK to let the system rebuild them, it changed nothing.

Does anyone have a clue on where the problem could be and what may be the cause?
Many thanks in advance for the help, i really don't know where else to look and what for.
Question by:bafforosso
    LVL 12

    Expert Comment

    CHeck the wikid error log as well to look for additional information.

    Is this a new service, or was it already running, and broke down?

    Try repairing permissions and see if it reports errors for anything that may be related (i.e teams, apache, wikid come to mind).

    Author Comment

    This service was already running and just broke down.

    I already tried repairing permissions and it reports some errors but totally unrelated.

    I've decided to set up a clean install of 10.6 server, i'll keep you posted when i import the wikis if everything is working fine or if there is still a problem.

    Accepted Solution

    So i set up the clean install and imported all the wikis one by one, no sign of a problem anymore, everything is running smoothly.

    Author Closing Comment

    This is not the solution i expected as i had to do a clean install and couldn't just fix the broken service, but at least everything is working properly now

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
    Are you looking to clear some space on your phone for the latest iOS 8 update? Did you switch to Spotify so you no longer need to keep music native on your phone? Run out of space for taking photos while in the middle of vacation? Sometimes the quic…
    Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
    Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now