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

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-10-2003, 05:08 PM
mutombo
Sarnak
 
Join Date: Mar 2003
Posts: 30
Default zone segfaults on start

i got all the stuff compiled and the worldserver is starting.(but with some errors now)

Code:
router:/home/mutombo/eqemu# world/world
Using database 'eqemu' at localhost
EQEMu 0.4.2 eRAMNotes Sucks!
Loading Variables, zone names & items...
...done.
LoginServer.ini read.
Loading guild ranks...done.
Loading EQ time of day...done.
Assassinating people that whine about horses...done
World server listening on: 217.226.165.11:9000
Connected to LoginServer: eqlogin2.eqemu.net:5999
Login server responded with FatalError. Disabling reconnect.
Error message: 'Bad server name. Unknown reason.'
64.81.113.117:5999: TCPConnection::SendData(): send(): Errorcode: Broken pipe
so thats some configproblem or perhaps because im using multiple nics but its starting at least.

the zone is a bigger problem:

Code:
router:/home/mutombo/eqemu# zone/zone . 217.226.165.11 10004 217.226.165.11
Using database 'eqemu' at localhost
EQEMu 0.4.2 eRAMNotes Sucks!
Loading Variables, zone names, items, loottables & NPCs...
Segmentation fault
i tried gcc-3.2 and 2.95 im on debian sid.
i tried it on a second host with the same OS too. same results.
tried i586 and i686 too, its all the same.
only get some warnings.
is used a spells_en.txt from an full updated eqclient.
the mysqldb loads without an error too
anyone got this too ??

greetings mutombo
Reply With Quote
  #2  
Old 03-11-2003, 01:51 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Do you have databases sourced in?

You might want to source in one of the addon databases, Im betting its segfaulting because one of the tables is empty.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #3  
Old 03-11-2003, 03:42 AM
fnemo's Avatar
fnemo
Discordant
 
Join Date: Dec 2002
Posts: 354
Default

what kind of warning did you get ?
__________________
Nemo
Administrator and coder for the World Alkora Server
Reply With Quote
  #4  
Old 03-11-2003, 09:34 AM
mutombo
Sarnak
 
Join Date: Mar 2003
Posts: 30
Default

Quote:
Originally Posted by Trumpcard
Do you have databases sourced in?

You might want to source in one of the addon databases, Im betting its segfaulting because one of the tables is empty.
i have only sourced the db thats shiped with the win binary.
where can i get the other dbs ? because when i look into the mysqllog:


Code:
030311 17:34:16       6 Connect     root@localhost on eqemu
                      6 Query       SELECT varname, value, unix_timestamp() FROM variables where unix_timestamp(ts) >= 0
                      6 Query       SELECT MAX(zoneidnumber) FROM zone
                      6 Query       SELECT zoneidnumber, short_name FROM zone
                      6 Query       SELECT MAX(id) FROM items
                      6 Query       SELECT MAX(id) FROM npc_types
                      6 Query       SELECT max(id) FROM loottable
thats what i get on compile zone:
Code:
router:/home/mutombo/eqemu/zone# make
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
../common/EQNetwork.cpp: In method `void EQNetworkConnection::MakeEQPacket(APPLAYER *, bool = true)':
../common/EQNetwork.cpp:1394: warning: value computed is not used
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
../common/packet_dump.cpp: In function `void DumpPacketBin(const void *, unsigned int)':
../common/packet_dump.cpp:148: warning: cast discards qualifiers from pointer target type
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
mob.cpp: In method `void Mob::MakeSpawnUpdate(SpawnPositionUpdate_Struct *)':
mob.cpp:591: warning: assignment to `sint16' from `float'
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
client.cpp: In method `sint32 Client::GenericFocus(short unsigned int, short unsigned int)':
client.cpp:438: warning: comparison between signed and unsigned
client.cpp: In method `void Client::ChannelMessageReceived(unsigned char, unsigned char, const char *, const char *)':
client.cpp:662: warning: cast discards qualifiers from pointer target type
client.cpp: In method `bool Client::QuestTroupe(const Seperator *)':
client.cpp:1589: warning: deprecated conversion from string constant to `char *'
client.cpp: In method `bool Client::NormalUser(const Seperator *)':
client.cpp:3350: warning: deprecated conversion from string constant to `char *'
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
PlayerCorpse.cpp: In method `void Corpse::LootItem(Client *, APPLAYER *)':
PlayerCorpse.cpp:572: warning: unused variable `int16 tmpslot'
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
WesQuests.cpp: In method `void Client::CheckQuests(const char *, const char *, unsigned int, short unsigned int, Mob *)':
WesQuests.cpp:317: warning: NULL used in arithmetic
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommo
gcc-2.95 -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcommente
seems allright
Reply With Quote
  #5  
Old 03-11-2003, 10:55 AM
fnemo's Avatar
fnemo
Discordant
 
Join Date: Dec 2002
Posts: 354
Default

Personnaly, when i do a program, i hate all the warnings so i prefer debug and get rid of it so even if its seems ok, i would tell you to debug :p
__________________
Nemo
Administrator and coder for the World Alkora Server
Reply With Quote
  #6  
Old 03-11-2003, 11:04 AM
mutombo
Sarnak
 
Join Date: Mar 2003
Posts: 30
Default

how do you mean debug ?
i've tried the makefiledebug if you mean that, but i have not much knowledge in coding, so idont think i could make useful changes
Reply With Quote
  #7  
Old 03-11-2003, 04:54 PM
mutombo
Sarnak
 
Join Date: Mar 2003
Posts: 30
Default

i've seen 4.3 is out so i gave it a try.
Code:
router:/home/mutombo/eqemu/EQEMu-0.4.3-Source# world/world
Using database 'eq' at localhost
[Status] CURRENT_WORLD_VERSION:EQEMu 0.4.3
[Error] CURRENT_WORLD_VERSION:EQEMu 0.4.3
Loading Variables, zone names & items...
...done.
LoginServer.ini read.
Loading guild ranks...done.
Loading EQ time of day...done.
Deleted 0 stale player corpses from database.
HELP I WORK IN THE EQEMU SWEATSHOP YOUR MY ONLY HOPE
TCP listening on: 192.168.1.2:9000
World server listening on: 192.168.1.2:9000
Connected to LoginServer: eqlogin1.eqemu.net:5999
wolrdserver seems ok

had some problems with the sharedmem so i disabled it in the makefile.deleted -DSHAREMEM

but zone still not alright, no segfault, but dbproblems.

Code:
router:/home/mutombo/eqemu/EQEMu-0.4.3-Source# zone/zone . 192.168.1.2 7995 192.168.1.2
Using database 'eq' at localhost
[Status] CURRENT_ZONE_VERSION: EQEMu 0.4.3
[Error] CURRENT_ZONE_VERSION: EQEMu 0.4.3
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] Loading npcs
[Status] Loading npc faction lists
Loading NPC Faction Lists from database...
[Error] Loading npcs faction lists FAILED!
i've droped the db already and load the newest one from the 4.3 winbin and installed the 4.1 db addon, but there is a problem too:
Code:
router:/home/mutombo/eqemu# mysql --password=******* eq < spawns.sql
ERROR 1136 at line 50697: Column count doesn't match value count at row 1
any ideas :
Reply With Quote
  #8  
Old 03-11-2003, 08:36 PM
fnemo's Avatar
fnemo
Discordant
 
Join Date: Dec 2002
Posts: 354
Default

do not mixed 4.1 and 4.2 and 4.3-DR*.Thats the first point.

when i mean debug, i mean edit the code and correct all the warnings.
__________________
Nemo
Administrator and coder for the World Alkora Server
Reply With Quote
  #9  
Old 03-11-2003, 08:49 PM
mutombo
Sarnak
 
Join Date: Mar 2003
Posts: 30
Default

Quote:
Originally Posted by fnemo
do not mixed 4.1 and 4.2 and 4.3-DR*.Thats the first point.

when i mean debug, i mean edit the code and correct all the warnings.
yeah i get it.
the mainproblem i have is the total lack of readmes or something like that.
its realy hard to search everything you need when you dont know whats needed.

so perhaps someone could tell me what i need to run a server.
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:26 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3