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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 07-29-2008, 06:49 PM
Jack Daniel
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 18
Default Installing EQEmu on Debian Linux

To start the server, open a terminal window and type:

cd /home/eqemu/server
./start

I get this:

cd ~eqemu/server
./start
bash: ./start: Permission denied
eqemu@Necromongers:~/server$
Reply With Quote
  #2  
Old 07-29-2008, 07:09 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by Jack Daniel View Post
To start the server, open a terminal window and type:

cd /home/eqemu/server
./start

I get this:

cd ~eqemu/server
./start
bash: ./start: Permission denied
eqemu@Necromongers:~/server$
So you must have X running? right click 'properties' on the file and check 'is executable'.
Reply With Quote
  #3  
Old 07-29-2008, 07:16 PM
Jack Daniel
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 18
Default

ok so what file is x??
Reply With Quote
  #4  
Old 07-29-2008, 07:21 PM
Jack Daniel
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 18
Default

hehe ok now it shows this:

eqemu@Necromongers:~$ cd ~eqemu/server
eqemu@Necromongers:~/server$ ./start
+ LNAME=zone
+ '[' '' = test ']'
++ pwd
+ P=/home/eqemu/server
+ export LD_LIBRARY_PATH=:/home/eqemu/server
+ LD_LIBRARY_PATH=:/home/eqemu/server
+ mkdir -p logs
+ '[' '!' -e .lock-zones -a '!' -e .lock-world ']'
+ for f in 'logs/eqemu_*.log'
+ '[' 'logs/eqemu_*.log' = logs/eqemu_commands_zone.log ']'
+ rm -f 'logs/eqemu_*.log'
+ '[' '!' -e .lock-world ']'
+ touch .lock-world
+ ./persist_world
+ sleep 15
+ '[' '!' -e .lock-launcher ']'
+ touch .lock-launcher
+ ./eqlaunch zone
eqemu@Necromongers:~/server$

does this mean i did right?
Reply With Quote
  #5  
Old 07-29-2008, 07:25 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

By X I meant X-windows, your (Linux windows). I was trying to make life a little easier for you; right click on your script(file) named 'start' and select 'properties' - you'll see the option for making it an executable there.
Reply With Quote
  #6  
Old 07-29-2008, 07:27 PM
Jack Daniel
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 18
Default

i did that and i got this

eqemu@Necromongers:~$ cd ~eqemu/server
eqemu@Necromongers:~/server$ ./start
+ LNAME=zone
+ '[' '' = test ']'
++ pwd
+ P=/home/eqemu/server
+ export LD_LIBRARY_PATH=:/home/eqemu/server
+ LD_LIBRARY_PATH=:/home/eqemu/server
+ mkdir -p logs
+ '[' '!' -e .lock-zones -a '!' -e .lock-world ']'
+ for f in 'logs/eqemu_*.log'
+ '[' 'logs/eqemu_*.log' = logs/eqemu_commands_zone.log ']'
+ rm -f 'logs/eqemu_*.log'
+ '[' '!' -e .lock-world ']'
+ touch .lock-world
+ ./persist_world
+ sleep 15
+ '[' '!' -e .lock-launcher ']'
+ touch .lock-launcher
+ ./eqlaunch zone
eqemu@Necromongers:~/server$

does this mean the server has started??
Reply With Quote
  #7  
Old 07-29-2008, 07:43 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Is this your 'first time ever' with Linux? Anyway, post your start script. under what are you running all this (root, eq, etc)?
Reply With Quote
  #8  
Old 07-29-2008, 07:47 PM
Jack Daniel
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 18
Default

Sorry yes this my first time with Linux my start script is

http://www.eqemulator.net/wiki/wikka...ianLinuxServer


#!/bin/sh

#ulimit -c 99999999

rm -f .zone_shutdown
rm -f .world_shutdown

set -x

LNAME="zone" #launcher name
if [ "$1" = "test" ]; then
LNAME="test"
fi

P=`pwd`
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$P"

#make sure we have a place to log
mkdir -p logs 2>&1 > /dev/null

#clear out old logs, if both are stopped
if [ ! -e .lock-zones -a ! -e .lock-world ] ; then
for f in logs/eqemu_*.log
do
if [ "$f" = "logs/eqemu_commands_zone.log" ]; then
continue;
fi

rm -f $f
done
fi

#boot up world
if [ ! -e .lock-world ] ; then
touch .lock-world
# ./world 2>&1 > logs/world &
./persist_world 2>&1 > logs/world &
# wait for shared memory to load
sleep 15
fi

#start up the official launcher
if [ ! -e .lock-launcher ]; then
touch .lock-launcher
./eqlaunch $LNAME 2>&1 > logs/launcher &
fi
Reply With Quote
  #9  
Old 07-29-2008, 08:00 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Look in your /eqemu/server/logs/
what do they say?
Reply With Quote
  #10  
Old 07-29-2008, 08:13 PM
Jack Daniel
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 18
Default

well here thay are

---------------------------------------------
[07.29. - 17:09:53] Starting Log: logs/eqemu_debug_31133.log
[07.29. - 17:09:53] [LAUNCHER__INIT] Loading server configuration..
[07.29. - 17:09:53] [NET__WORLD] WorldConnection connect: Connecting to the server 127.0.0.1:9000 failed: TCPConnection::Connect(): connect() failed. Error: Connection refused
[07.29. - 17:09:53] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[07.29. - 17:09:53] [LAUNCHER__INIT] Starting main loop...
[07.29. - 17:09:53] [COMMON__THREADS] Starting TCPConnectionLoop with thread ID -1213047888


---------------------------------------------
31074 [07.29. - 17:09:38] Starting Log: logs/eqemu_debug_world.log
31074 [07.29. - 17:09:38] [RULES__CHANGE] Resetting running rules to default values
31074 [07.29. - 17:09:38] [WORLD__INIT] Loading server configuration..
31074 [07.29. - 17:09:38] [WORLD__INIT] Log settings loaded from log.ini
31074 [07.29. - 17:09:38] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
31074 [07.29. - 17:09:38] [WORLD__INIT] Connecting to MySQL...
31074 [07.29. - 17:09:38] [WORLD__INIT_ERR] Cannot continue without a database connection.
---------------------------------------------

---------------------------------------------
31074 [07.29. - 17:09:38] Starting Log: logs/eqemu_error_world.log
31074 [07.29. - 17:09:38] Failed to connect to database: Error: #1045: Access denied for user 'eq'@'localhost' (using password: YES)
---------------------------------------------
31083 [07.29. - 17:09:40] Starting Log: logs/eqemu_error_world.log
31083 [07.29. - 17:09:40] Failed to connect to database: Error: #1045: Access denied for user 'eq'@'localhost' (using password: YES)
---------------------------------------------
31089 [07.29. - 17:09:42] Starting Log: logs/eqemu_error_world.log
31089 [07.29. - 17:09:42] Failed to connect to database: Error: #1045: Access denied for user 'eq'@'localhost' (using password: YES)
---------------------------------------------

[Debug] Starting Log: logs/eqemu_debug_31133.log


[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [RULES__CHANGE] Resetting running rules to default values
[Debug] [WORLD__INIT] Loading server configuration..
[Debug] [WORLD__INIT] Log settings loaded from log.ini
[Debug] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[Debug] [WORLD__INIT] Connecting to MySQL...
[Error] Starting Log: logs/eqemu_error_world.log
[Error] Failed to connect to database: Error: #1045: Access denied for user 'eq'@'localhost' (using password: YES)
Reply With Quote
  #11  
Old 07-29-2008, 08:23 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Linux is a whole new ball game, unlike windows, Linux is secure by default. I see a few issues in the log, you biggest one is, you haven't set up your MySql accounts properly.
See if your distro includes 'mysql-administrator', if so, install it. If not, go here;
http://rpm.pbone.net/ try to find and install it. This program (mysql-administrator) will make things very easy for you.
Reply With Quote
  #12  
Old 07-29-2008, 08:29 PM
Jack Daniel
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 18
Default

i will sherch and get back to you tomarrow wiffy back got to go hehe
Reply With Quote
  #13  
Old 07-30-2008, 03:42 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ya, that looks like you don't have your mysql account setup properly for the eq account you created (if you created one at all). The wiki should explain how to do that. You can post the line you entered here, but don't forget to replace your password before you post it. You don't want to post your password heh.

You might also be able to resolve this by adjusting your my.cnf file as described in the wiki for allowing remote access to the database. Your database will still be secure as long as you aren't creating mysql accounts for outside hosts, and/or aren't forwarding port 3306 on your router.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #14  
Old 07-30-2008, 11:42 AM
Jack Daniel
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 18
Default

Quote:
Originally Posted by Angelox View Post
Linux is a whole new ball game, unlike windows, Linux is secure by default. I see a few issues in the log, you biggest one is, you haven't set up your MySql accounts properly.
See if your distro includes 'mysql-administrator', if so, install it. If not, go here;
http://rpm.pbone.net/ try to find and install it. This program (mysql-administrator) will make things very easy for you.
Ok so how do i install mysql-administraror-5.0r12-8.fc9.i386.rpm that i download. plz if you can
Reply With Quote
  #15  
Old 07-30-2008, 12:02 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Might be time for you to look at the Windows version dude.

To answer your question...
Code:
rpm -Uhv mysql-administraror-5.0r12-8.fc9.i386.rpm
Hopefully you won't be missing dependencies.
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 03:19 AM.


 

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