[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  SWR 1 FFUSS Hotboot problem

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

SWR 1 FFUSS Hotboot problem

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Asean Novari   USA  (82 posts)  [Biography] bio
Date Tue 11 Jan 2005 08:11 PM (UTC)  quote  ]

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



[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Reply #1 on Tue 11 Jan 2005 08:59 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Asean Novari   USA  (82 posts)  [Biography] bio
Date Reply #2 on Wed 19 Jan 2005 09:45 PM (UTC)  quote  ]
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?



[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #3 on Wed 19 Jan 2005 10:55 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Reply #4 on Wed 19 Jan 2005 10:59 PM (UTC)  quote  ]
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
[Go to top] top

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

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



[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Reply #6 on Wed 19 Jan 2005 11:48 PM (UTC)  quote  ]

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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #7 on Thu 20 Jan 2005 12:26 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Asean Novari   USA  (82 posts)  [Biography] bio
Date Reply #8 on Tue 25 Jan 2005 09:01 PM (UTC)  quote  ]

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



[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Reply #9 on Tue 25 Jan 2005 10:18 PM (UTC)  quote  ]
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
[Go to top] 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.


1,977 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]