Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] (PR#8807) Server doesn't start with broken ser script
Home

[Freeciv-Dev] (PR#8807) Server doesn't start with broken ser script

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8807) Server doesn't start with broken ser script
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Sat, 22 May 2004 01:30:15 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8807 >


Client starts server. Server does 

  execvp("./ser", argv);

but the ser script doesn't find the civserver binary and exits the
script. But this will also exit the freshly forked server.

Solution 1: try "./server/civserver" before "./ser".

Solution 2: add a wrapper (sh -c) around the ser exec so that the
script's exit doesn't exit the server process.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Microsoft DNS service terminates abnormally when it recieves a response
  to a DNS query that was never made.
  Fix Information: Run your DNS service on a different platform."
    -- MS service information on bugtraq




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#8807) Server doesn't start with broken ser script, Raimar Falke <=