Opened 17 years ago
Closed 10 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: |
Description
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/mgserverd.sh 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 , 17 years ago
Component: | General → Server |
---|
comment:2 by , 17 years ago
Owner: | set to |
---|
comment:3 by , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:4 by , 10 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:5 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
comment:7 by , 10 years ago
The /var/lock/mgserver
directory must exist or daemon-ization fails on Ubuntu.
comment:8 by , 10 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 mgserverd.sh
I'm closing this myself because it's not a configuration I have been able to test against anyway.