Opened 15 years ago

Closed 8 years ago

#309 closed defect (fixed)

Mgserver doesn't start in daemon mode after reboot (Linux)

Reported by: jbirch Owned by: jng
Priority: medium Milestone:
Component: Server Version:
Severity: major Keywords:
Cc: External ID:


After a "make install" on mapguide, I can run this sequence to start and stop MapGuide many times, with no problems:

sudo /usr/local/mapguideopensource/server/bin/ pgrep -f -u root "mgserver daemon" sudo pkill -f -u root "mgserver daemon"

After a reboot, this no longer works; the daemon mode does not start up the server in the background properly (looked through a full ps ax list too). Interactive mode works fine.

If I then run "make install" again and try the above sequence the daemon starts up properly in the background.

Is "make install" setting up an environment variable or something that I'm missing out on?

Change History (9)

comment:1 by jbirch, 15 years ago

Component: GeneralServer

comment:2 by jbirch, 15 years ago

Owner: set to timstrang

comment:3 by jbirch, 13 years ago

Resolution: wontfix
Status: newclosed

I'm closing this myself because it's not a configuration I have been able to test against anyway.

comment:4 by jng, 8 years ago

Resolution: wontfix
Status: closedreopened

comment:5 by jng, 8 years ago

Owner: changed from timstrang to jng
Status: reopenednew

comment:6 by jng, 8 years ago

This is happening on Ubuntu.

comment:7 by jng, 8 years ago

The /var/lock/mgserver directory must exist or daemon-ization fails on Ubuntu.

comment:8 by jng, 8 years ago

That directory is cleared on reboot, but nothing re-creates it. The fix is to create /var/lock/mgserver if it doesn't already exist in

comment:9 by jng, 8 years ago

Resolution: fixed
Status: newclosed

Fixed r8423

Note: See TracTickets for help on using tickets.