Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #16  
Old 12-12-2012, 11:06 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

that should really be self explanatory.

the binaries your shell script is looking for do not exist where it is looking for them.
Reply With Quote
  #17  
Old 12-12-2012, 06:37 PM
krazycrakker
Fire Beetle
 
Join Date: Dec 2012
Posts: 9
Default

ok how do i copy then if u dont mind im new to linux
Reply With Quote
  #18  
Old 12-12-2012, 06:55 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Just glancing at the script, this part should have made links to them:

Code:
ln -s /home/eqemu/source/EQEmuServer/EMuShareMem/libEMuShareMem.so /home/eqemu/server/libEMuShareMem.so
ln -s /home/eqemu/source/EQEmuServer/world/world /home/eqemu/server/world
ln -s /home/eqemu/source/EQEmuServer/zone/zone /home/eqemu/server/zone
ln -s /home/eqemu/source/EQEmuServer/EQEmuLoginServer/EQEmuLoginServer /home/eqemu/server/EQEmuLoginServer
ln -s /home/eqemu/source/EQEmuServer/eqlaunch/eqlaunch /home/eqemu/server/eqlaunch
ln -s /home/eqemu/source/EQEmuServer/chatserver/chatserver /home/eqemu/server/chatserver
ln -s /home/eqemu/source/EQEmuServer/mailserver/mailserver /home/eqemu/server/mailserver
If the compile failed for any reason, or that part of the script failed then you would have issues. If the files actually compiled correctly and exist in the directory then you would probably just need to run those lines again in a root shell.
Reply With Quote
  #19  
Old 12-12-2012, 07:14 PM
krazycrakker
Fire Beetle
 
Join Date: Dec 2012
Posts: 9
Default

ok ill try that thank you
Reply With Quote
  #20  
Old 01-05-2013, 01:56 AM
Thonatos
Fire Beetle
 
Join Date: Dec 2012
Posts: 9
Default

Quote:
Originally Posted by krazycrakker View Post
i started up the server did sudo su- ran ./startup.sh

i didnt get the denied stuff just this

Starting Login Server...
Waiting about 5 seconds before starting World Server...
./startup.sh: line 13: ./EQEmuLoginServer: No such file or directory
Waiting 10 seconds before starting the zones via launcher
./startup.sh: line 18: ./world: No such file or directory
The server is mostly ready... give it a couple of minutes
to load stuff from the databases for the zones and users
can start logging in.
sysadmin@EQEMU-SERVER:/home/eqemu/server$ ./startup.sh: line 22: ./eqlaunch: No such file or directory

Yea, ran into the same errors.. noticed in the log file.. CPU errors.. 64 bit vs 32 bit perhaps ??
Testing...
Reply With Quote
  #21  
Old 01-05-2013, 02:07 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

Quote:
Originally Posted by Thonatos View Post
Yea, same here.. seems that some of the stuff didn't compile, not seeing errors however, rerunning now....

Did you have any luck fixing it krazycrackker ??
if you got the same messages you quoted in your response, then you got errors

Quote:
No such file or directory
you can either move/copy the binaries where they need to go or create links to them as lerxst2112 suggested.
Reply With Quote
  #22  
Old 01-05-2013, 10:35 AM
Thonatos
Fire Beetle
 
Join Date: Dec 2012
Posts: 9
Default

Quote:
Originally Posted by c0ncrete View Post
if you got the same messages you quoted in your response, then you got errors



you can either move/copy the binaries where they need to go or create links to them as lerxst2112 suggested.
Files do not exists... the compile apparently bombs out... was using a 64 bit machine vs. 32... reviewed some of the logs and found cpu type errors...

Rebuilding this weekend with 32 bit, will report back.

I looked for the files in the directories, as well as running an updatedb and locate and manually searching etc... not there... not created.

--> my fault, for going with 64 bit I presume..
Reply With Quote
  #23  
Old 01-05-2013, 07:51 PM
Thonatos
Fire Beetle
 
Join Date: Dec 2012
Posts: 9
Default

Quote:
Originally Posted by Thonatos View Post
Rebuilding this weekend with 32 bit, will report back.
This was, in fact, the issue at hand.

Moving onwards and upwards at this point.. now to try and login
Reply With Quote
  #24  
Old 01-20-2013, 08:07 PM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default

new build instructions for Cmake

In addition to installing the other packages, you'll need to install cmake. Ubuntu/Debian users will run:

Code:
sudo apt-get install cmake
after checking out the source from SVN, i like to copy the source to a build directory and in there I run:
Code:
cmake -i
cmake -i is to allow you to alter any build flags and enable/disable other EQEmu features (e.g. bots).

If you're on an AMD64 system you'll want to say "yes" to the advanced options. This is to allow you to disable the -O2 and -O3 optimizations that mess up the stringstream stuff that plague us. For example:
Code:
$ cmake -i
Would you like to see advanced options? [No]:yes
Please wait while cmake processes CMakeLists.txt files....

...bunch of stuff that doesn't need to change...

...then...

Variable Name: CMAKE_CXX_FLAGS_RELEASE
Description: Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).
Current Value: -O3 -DNDEBUG
New Value (Enter to keep current value):
On this one I change it to "-march=native -DNDEBUG". This sets the GCC CPU optimizations without the -O2/-O3 optimization enhancements, if you will.

Then:
Code:
Variable Name: CMAKE_CXX_FLAGS_RELWITHDEBINFO
Description: Flags used by the compiler during Release with Debug Info builds.
Current Value: -O2 -g
New Value (Enter to keep current value):
I change this one to just "-g".

Again later:
Code:
Variable Name: CMAKE_C_FLAGS_RELEASE
Description: Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).
Current Value: -O3 -DNDEBUG
New Value (Enter to keep current value):
Same as CMAKE_CXX_FLAGS_RELEASE, I set this to "-march=native -DNDEBUG".

Last -O2 entry:
Code:
Variable Name: CMAKE_C_FLAGS_RELWITHDEBINFO
Description: Flags used by the compiler during Release with Debug Info builds.
Current Value: -O2 -g
New Value (Enter to keep current value):
Like CMAKE_CXX_FLAGS_RELWITHDEBINFO, I set this to just "-g".

Finally, if you want "Bots":
Code:
Variable Name: EQEMU_ENABLE_BOTS
Description: Enable Bots
Current Value: OFF
New Value (Enter to keep current value):
Change that to "ON" and continue to the end.

After "cmake -i" finishes, to compile the build:
Code:
make clean && make
All of the built binaries will be in the Bin/ directory. At this point, I usually shut the server down, create a back up of my existing server directory, and then run:
Code:
cp Bin/* <server directory>
This will copy everything in Bin/ to the server's directory. It will have libCommon.a in there. This file can be removed as it's only needed during compile, as was explained to me not too long ago.

***Edit: I forgot, if you're on a multi-core system you can use "make -jx" (instead of just "make") where x is the number of CPU cores you want to use during compile. This greatly speeds up the compile. For example, on my quad-core system I use "make -j3" to use 3 cores, because my one of my cores is usually really busy with MySQL queries.
Reply With Quote
  #25  
Old 02-23-2013, 07:09 PM
brainiac2k
Fire Beetle
 
Join Date: Feb 2013
Posts: 6
Default

I built a vm enviornment with Vagrant, loosely based on this.

http://www.eqemulator.org/forums/sho...d.php?p=218729

Last edited by brainiac2k; 02-23-2013 at 07:15 PM.. Reason: moved to new thread
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:28 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3