08 Nov, 2011, absolute_asylum wrote in the 1st comment:
Votes: 0
Ok I used one of the codebases offered here LOW4_Fixup
After compiling the code I set the port to my own I have tried all of the chmod's there could possibly be…and still this is what I get

./startup &
setpriority: Permission Denied.

that was done in the cd LOW4_Fixup/src
when I try to do it in the cd LOW4_Fixup/area
nohup ../src/startup (Port) &
it gives me the same error above.

What is the secret to boot the mud when this error happens?
09 Nov, 2011, Tyche wrote in the 2nd comment:
Votes: 0
Does 'nice' command appear in startup script?
You might not have permission on system to use it, so comment it out.
09 Nov, 2011, absolute_asylum wrote in the 3rd comment:
Votes: 0
#! /bin/csh -f
# Written by Furey.
# With additions from Tony.

# Set the port number.
set port = 2751
if ( "$1" != "" ) set port="$1"

# Change to area directory.
# autokill 60 >> ~/area/autokill.txt &
cd ../area

# Set limits.
nohup
nice <—–yes it does and do what with it again? comment it out?
#ulimit -c unlimited
#limit stack 1024k
if ( -e shutdown.txt ) rm -f shutdown.txt


Added code tags - Orrin
09 Nov, 2011, David Haley wrote in the 4th comment:
Votes: 0
Commenting it out means adding # at the beginning of the line.

BTW, it's easier if you post stuff like that with the
tags. :smile:
09 Nov, 2011, Tyche wrote in the 5th comment:
Votes: 0
absolute_asylum said:
comment it out?

yes
09 Nov, 2011, absolute_asylum wrote in the 6th comment:
Votes: 0
ok all that worked, but now Im getting under ps ux: sleep
09 Nov, 2011, Tyche wrote in the 7th comment:
Votes: 0
That would indicate the mud is crashing and restarting over and over again.
Try reading the log files generated by the mud server for more information.
09 Nov, 2011, absolute_asylum wrote in the 8th comment:
Votes: 0
../area/merc.exe: Command not found.
09 Nov, 2011, arholly wrote in the 9th comment:
Votes: 0
Did you compile?
09 Nov, 2011, absolute_asylum wrote in the 10th comment:
Votes: 0
yes compiled clean
10 Nov, 2011, Tyche wrote in the 11th comment:
Votes: 0
absolute_asylum said:
../area/merc.exe: Command not found.

If your're running under unix the name of the executable is merc not merc.exe
So the script should start the mud with:
../area/merc

Assuming merc is in the area directory.
12 Nov, 2011, Igabod wrote in the 12th comment:
Votes: 0
My suggestion is to go into the doc directory and read the two .readme files I put in there. They fully explain the modifications to the startup script and the makefile.
13 Nov, 2011, absolute_asylum wrote in the 13th comment:
Votes: 0
huh…thanks! :redface:
14 Nov, 2011, Igabod wrote in the 14th comment:
Votes: 0
So did that help you any?
15 Nov, 2011, absolute_asylum wrote in the 15th comment:
Votes: 0
no unfortunately not, it still brings errors and says that the merc.exe does not exist. I tried the cp merc(.exe) {with and without .exe} ../area and still it says that no such directory exists…
15 Nov, 2011, Sharmair wrote in the 16th comment:
Votes: 0
In most merc derivitives I have seen, the bin is compiled and saved in the
src dir, and the startup script is there. In that case the startup script changes
the dir to the sibling dir area, and the MUD runs there (I am not sure why you
would specify the area dir in the line with the bin AFTER you changed to the
area dir though). I would make sure you have the bin (called merc or merc.exe
depending on what your compile named it) in the area dir. If it is instead in
the src dir, I would change the line in the startup script to:
../src/merc

replacing merc with merc.exe or whatever name the compile is calling it if
needed.
0.0/16