One more thing. My ./start output in the post above is from my second time running the command. I noticed that the output from the first time running it was different. So I ran ./stop and then tried ./start again. Here is the output from the first time running it.
I get the error "shmat failed! Invalid argument"
Code:
user@comp:/home/eqemulator/server$ sudo ./start
+ LNAME=zone
+ '[' '' = test ']'
+ P=/home/eqemulator/server
+ export LD_LIBRARY_PATH=:/home/eqemulator/server
+ LD_LIBRARY_PATH=:/home/eqemulator/server
+ mkdir -p logs
+ '[' '!' -e .lock-zones -a '!' -e .lock-world ']'
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_chatchannels.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_chatchannels.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_5702.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_5702.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_chatchannels.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_chatchannels.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_mail.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_mail.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_world.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_world.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_zone.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_zone.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_mail.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_mail.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_world.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_world.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_zone.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_zone.log
+ '[' '!' -e .lock-world ']'
+ touch .lock-world
+ '[' 1 ']'
+ ./persist_world
+ sleep 15
shmat failed! Invalid argument
+ '[' '!' -e .lock-launcher ']'
+ touch .lock-launcher
+ ./eqlaunch zone
+ '[' 1 ']'
+ ./chatserver
+ '[' 1 ']'
+ ./mailserver
Thanks.