Server is up and running, but there's no inventory
Greetings,
I have compiled and gotten running two servers on two different OSes, and both are experiencing the exact same problem: I can log in, create a character, interact with NPC's, and wander about the world without any issues. However, I have no inventory. When I start up my server, I see a message about items loading: Code:
[Status] Loading items from database: count=83375 The world log captures: Code:
41544 [08.23. - 15:38:31] Starting Log: logs/eqemu_world.log Digging through the logs, I find in files logs/zone-dynamic_0n (where 1 <= n <= 5): Code:
[Debug] Starting Log: logs/eqemu_debug_zone.log I built the server binaries from source from August 12: Code:
svn checkout http://projecteqemu.googlecode.com/svn/trunk/ eqemu Any thoughts on where I might be going wrong? Thanks for any help. |
What OSes have you been using?
|
Ubuntu 10.04.1 and FreeBSD 7.2-p8 jail, both AMD 64-bit.
Sometimes Zones core-dumps on the Ubuntu system. Aside from the no-items issue, it runs rock-solid on the FreeBSD system. |
Ah, 64 bit. As far as I know, everything doesn't work perfectly with 64 bit eqemu yet. There may be some other people who have posted about their experiences here.
|
I've been running on FreeBSD amd64 in a jail(7.x-8.x), for quite a while without any noticable issues.
Are you using erde's autobuild scripts here? I'm assuming since you got it to compile you are at least using the freebsd patch included there. You will need this additional patch as well: Code:
--- common/SharedLibrary.cpp 2009-10-19 14:58:05.000000000 +0000 Code:
jail_sysvipc_allow="YES" |
Thanks, amraist!
No, my Google-Fu and Search-Fu were weak, as all I came across were people lamenting how EQEmu didn't work in FreeBSD from a few years ago. And that just wouldn't do! I did not previously find erde's scripts or patches, I used gmake with the default makefiles, which seemed to work with some slight tweaking: Code:
--- world/makefile 2010-08-13 10:39:18.000000000 -0700 Then I made a couple changes to the code which seemed to get it to compile and run allright: Code:
--- common/Mutex.cpp 2010-08-12 10:39:24.000000000 -0700 Code:
--- zone/client.cpp 2010-08-12 10:40:42.000000000 -0700 I'll be pouring over those patches, see how it stacks up to what I was muddling through :) |
The bsd.patch included with erde's autobuild scripts will fix the odd coin issue you are having, and also the mutex fix. The scripts may be out of date with the current svn, but its pretty simple to fix them. You just have to track down a new file or two and add it to one of the files included.
|
Yep. The link in the thread you pointed me to no longer works, but I found the latest version here.
I still needed to fix the issue with trying to use THREAD_MUTEX_RECURSIVE_NP instead of PTHREAD_MUTEX_RECURSIVE (easy fix, that), but everything else seems to be going well. I also noticed there was a new svn release the other day, so I'm trying this out with a fresh code base. And no dice.: Code:
embperl.o(.text+0xcf1): In function `xs_init': |
Upon further thought, a missing library makes no sense, as it was compiling using the default makefiles, and I have verified the presence of a defined symbol "boot_Object" in my already compiled zone. There must be a missing include somewhere.
|
Found it! zone/perl_object.cpp was not being compiled. Added an entry into the Makefile (and the Makefile.in and Makefile.am in the parent zone directory for future proofing) for perl_object and now it compiles and runs as expected.
Still getting an error, though: Code:
[Error] Starting Log: logs/eqemu_error_zone.log |
Did you apply the SharedLibrary patch above and add the line to your jail host rc.conf? I'm sure that will fix your issue.
|
Yep, caught that after the last post. Now it's core-dumping:
Code:
cazic-thule> world |
No luck. Still core dumping after reboot.
|
Forgot you will also need this in your jail host's /etc/sysctl.conf
Code:
#For EQEmu |
Thanks! It was kern.ipc.shmall that I was missing (64k is all it takes?). I was up late playing with values of shmmax (currently at 512M) and shmmin (currently back to default of 1).
I don't see any more errors regarding item loading, and it took a lot longer this time. Things are looking good! |
All times are GMT -4. The time now is 03:11 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.