Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ ROM
➜ Compiling the server
➜ ROM 2.4b6 Initial Compile
|
ROM 2.4b6 Initial Compile
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
| Posted by
| Nanashi
(6 posts) Bio
|
| Date
| Reply #15 on Wed 25 Feb 2004 05:52 PM (UTC) Amended on Wed 25 Feb 2004 05:53 PM (UTC) by Nanashi
|
| Message
| The line:
BASH: startup: command not found
did not appear when I ran the startup file.
PID PPID PGID WINPID TTY UID STIME COMMAND
376175 1 376175 4294591121 con 663 11:50:50 /usr/bin/BASH
447091 376175 447091 4294434265 con 663 11:51:04 /usr/bin/TCSH
428403 376175 428403 4294509357 con 663 11:51:07 /usr/bin/PS
The shell's running at this particular moment, but ROM is nowhere to be seen.. my machine also refuses connections to ports 4000 and 9000. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #16 on Wed 25 Feb 2004 08:45 PM (UTC) |
| Message
| According to my version of ROM, the startup files starts like this:
#!/bin/csh
# Written by Furey.
# With additions from Tony and Alander.
So, it is looking for csh not tsch.
Does it start up OK, if you start manually? eg.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Nanashi
(6 posts) Bio
|
| Date
| Reply #17 on Thu 26 Feb 2004 06:27 AM (UTC) |
| Message
| This is what my current startup script looks like; the interpreter command was modified to find tcsh based on earlier advice in the forum.
#!/bin/tcsh.exe
# Written by Furey.
# With additions from Tony and Alander.
# Set the port number.
set port = 9000
if ( "$1" != "" ) set port="$1"
# Change to area directory.
cd ../area
# Set limits.
while ( 1 )
# If you want to have logs in a different directory,
# change the 'set logfile' line to reflect the directory name.
set index = 1000
while ( 1 )
set logfile = ../log/$index.log
@ index++
end
# Run rom.
../src/rom $port >&! $logfile
# Restart, giving old connections a chance to die.
if ( -e shutdown.txt ) then
rm -f shutdown.txt
exit 0
endif
sleep 15
end
I'm running this with a copy of the Windows ROM port. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #18 on Thu 26 Feb 2004 06:55 AM (UTC) |
| Message
| Can you please answer my earlier question "Does it start up OK, if you start manually?".
If the answer is Yes, then start up that shell:
/bin/tcsh.exe
Then, type in each of the commands manually. That is effectively the same as running the script. Then, see which one gives the error.
Don't bother with the comment lines, just the ones that don't start with "#". |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
73,529 views.
This is page 2, subject is 2 pages long:
1
2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top