Register forum user name Search FAQ

Gammon Forum

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 ➜ SMAUG ➜ Running the server ➜ SWR 1 FFUSS Hotboot problem

SWR 1 FFUSS Hotboot problem

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Asean Novari   USA  (82 posts)  Bio
Date Tue 11 Jan 2005 08:11 PM (UTC)

Amended on Tue 11 Jan 2005 08:12 PM (UTC) by Asean Novari

Message
Ok.. I got a fresh download of SWR1FUSS from mudplanet.org
I use cygwin on winxp to unxip and makefile...

I start the program and get massive area file bugs but
nothing significant. I try to do a hotboot and it gives this text

You feel a great disturbance in the Force.Log: Hotboot initiated by Admin.
Log: Preserving world state....
Log: Saving player files and connection states....
Log: Executing hotboot....
Log: [*****] BUG: Hotboot execution failed!!
Hotboot FAILED!

The command window shows this text

Tue Jan 11 16:05:13 2005 :: Sock.sinaddr: 127.0.0.1, port 1208.
Tue Jan 11 16:05:55 2005 :: Preloading player data for: Admin (1K)
Tue Jan 11 16:05:58 2005 :: Loading player data for: Admin (1K)
Tue Jan 11 16:05:58 2005 :: Admin (ads.i33.com) has connected.
Tue Jan 11 16:06:05 2005 :: Hotboot initiated by Admin.
Tue Jan 11 16:06:05 2005 :: Preserving world state....
Tue Jan 11 16:06:05 2005 :: Saving player files and connection states....
Tue Jan 11 16:06:05 2005 :: Executing hotboot....
do_hotboot: execl: No such file or directory
Tue Jan 11 16:06:05 2005 :: [*****] BUG: Hotboot execution failed!!

I dont coprehend the error would someone please assist me
thanks



Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Tue 11 Jan 2005 08:59 PM (UTC)
Message
Hotboot doesn't work that well with Windows. See this post on how you may get it to work:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4663

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Asean Novari   USA  (82 posts)  Bio
Date Reply #2 on Wed 19 Jan 2005 09:45 PM (UTC)
Message
I wish to almost contest that statement if only for the reason
that i have previously had a working copy of this exact same
file/codebase alrteady installed on my cpu.. I tried to add a
few snippets of code and in doing so i screwed it up.. I
reinstalled from the zip file and now hotboot wont work..

How could i have a working copy of the same file and then
re-make it and it suddenly not work?



Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Wed 19 Jan 2005 10:55 PM (UTC)
Message
Well, clearly it's not the same file... you must have made changes somewhere, before or after, that made it stop working.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #4 on Wed 19 Jan 2005 10:59 PM (UTC)
Message
From the error
do_hotboot: execl: No such file or directory
It looks like the filename being passed to execl by the hotboot may be different the one being created by your makefile, check to make sure those are the same.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Asean Novari   USA  (82 posts)  Bio
Date Reply #5 on Wed 19 Jan 2005 11:26 PM (UTC)
Message
No changes Ksilyan.. absolutely the same file..

And would you mind walking me through how to check that please Greven



Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #6 on Wed 19 Jan 2005 11:48 PM (UTC)

Amended on Wed 19 Jan 2005 11:53 PM (UTC) by Greven

Message
Well, what is the filename of your executable? For example, I beleive that the hotboot calls swr, when you might need to specify swr.exe, look for the file name and check to make sure its the same in your hotboot.c and hotboot.h. If you need to change it, remember to recompile.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #7 on Thu 20 Jan 2005 12:26 AM (UTC)
Message
Quote:
No changes Ksilyan.. absolutely the same file..
A general rule of thumb is that if it worked before, and doesn't work now, something changed. I think Greven's analysis is most likely what's going on - you're compiling to one executable and trying to run another one.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Asean Novari   USA  (82 posts)  Bio
Date Reply #8 on Tue 25 Jan 2005 09:01 PM (UTC)

Amended on Tue 25 Jan 2005 09:18 PM (UTC) by Asean Novari

Message
Ok i just got done looking through all things hotboot associated..

execl( EXE_FILE, "swreality", buf, "hotboot", buf2, buf3, buf4, ( char * )NULL );

/*
* Failed - sucessful exec will not return
*/
perror( "do_hotboot: execl" );

this is the part of the code that seems it would deal with my
error.. i see nothing wrong with it or what the name of my
exe file is *swreality.exe*(which is exactly what the makefile
made it as)..


Ok.. the error says

do_hotboot: execl: No such file or directory

might this be happening because to run the system on a windows
server I had to relocate the exe into the area folder?

and if this is the reason how do i circumvent it..

**

ok i just rechecked in all hotboot code.. in hotboot.c i
found this #define EXE_FILE "../src/swreality" i
changed that to area/swreality in hopes that would work and
then recompiled and that still didnt fix it.. Any insight
into this problem would be much appreciated



Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #9 on Tue 25 Jan 2005 10:18 PM (UTC)
Message
You don't have to have the exe file in the area directory if you boot it from the shell. Go into your area directory in the shell and type:
Quote:
../src/swreality.exe <port> &
Omit the & if you want to have it in front.

Try changing it to swreality.exe in that #define, I don't know how picky execl is about file extensions, but if swreality is in /src, your booting from /area, and you have the EXE_FILE defined as swreality.exe, that should work.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
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.


27,608 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.