logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
nwnx2/aps linux newbie question(s)

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
taeyn



Joined: 18 Jan 2005
Posts: 2

PostPosted: Tue Jan 18, 2005 1:25    Post subject: nwnx2/aps linux newbie question(s) Reply with quote

hi gang - i have a few questions for you.

i recently switched my PW server from windows to linux (due to difficulties in getting MySQL to place nice on that windows machine - long story), and have a nice fresh install of the NWN Dedicated server running with CEP 1.5 in linux.

my question comes when i go to install the NWNX2/APS into it. the version of NWNX2/APS on the sourceforge product page (the linux port) seems rather dated (October of last year, i think?). - that's not the real issue, though. i can get it installed just fine, and the server will run with it in place, but it doesn't seem to want to talk to my MySQL database. it's set up with a MySQL user, and the proper privs, and a database has been created for it, but when i try to do something simple (like just run the aps_demo module), it spits this out at me:

Code:

[nwn@localhost server]$ ./nwnstartup.sh

NWNX2lib: Init
NWNX2lib: org SetString() at 0x81e5210, new SetString() at 0x400204c0
* Parsing configuration...
NWN Extender v2.5.3-rc1
(c) 2004 by the APS/NWNX Linux Conversion Group
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Loading modules...
[Database] SetDebugLevel(0) called.  Current value=0
ODBC plugin Registerred.
[MNX] SetDebugLevel(0) called.  Current value=0
MNX plugin Registerred.
[FUNCTIONS] SetDebugLevel(0) called.  Current value=0
FUNCTIONS plugin Registerred.
[HASHSET] SetDebugLevel(0) called.  Current value=0
HASHSET plugin Registerred.
* NWNX2 activated.
Neverwinter Nights Server
Build:8066
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

Server: Loading module "aps_demo"...
Server: Module loaded
NWNX!INIT enforcement disabled, using 0x081f42fc
o ERROR: [3] Unknown table 'pwdata'
o ERROR: [3] You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '(64),tag text(64),name text(64),val memo,expire text(4),last da
o ERROR: [3] Table 'tides.pwdata' doesn't exist
o ERROR: [3] Table 'tides.pwdata' doesn't exist
o ERROR: [3] Table 'tides.pwdata' doesn't exist
Server: Exiting...
NWNX2lib: Server exiting.


[note: i had to disable NWNX!INIT enforcement to get it to do anything at all.]

so i'm a bit stumped. any ideas?
i mean, it looks my bad MySQL syntax, but i certainly haven't changed the MySQL calls from the stock aps_demo stuff.... so...?
Back to top
View user's profile Send private message Visit poster's website AIM Address
taeyn



Joined: 18 Jan 2005
Posts: 2

PostPosted: Tue Jan 18, 2005 1:40    Post subject: Reply with quote

okay... starting to figure it out on my own.

i've got a bad mish-mash of code left over from my windows install. i was using the windows version of the aps_demo.mod, among other things. it's working a bit better now. still, if anyone has any comments on how to make this work nicely, let me know?
Back to top
View user's profile Send private message Visit poster's website AIM Address
DarkstarsDad



Joined: 17 Jan 2005
Posts: 59
Location: Overland Park, Kansas USA

PostPosted: Tue Jan 18, 2005 1:45    Post subject: linux Reply with quote

First put this line into your on module load it will stop the NWNX!INIT

Code:
SetLocalString((GetModule()),"NWNX!INIT","1");


My gues is that the nwn cant find your syntax file for the mysql. some distros of linux re arrange the locations for the mysql files. but i dont know for shure. hopefully someone else can help you with that one. I had to reinstall the RPM for mysql and all the developer and clients to get mine to work right.
Also make shure thier are no spaces or capital letters in the nwn files use _ and lower case as linux doesnt like caps and spaces much.
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Tue Jan 18, 2005 12:33    Post subject: Reply with quote

It looks like that you either doesn't have the table defined yet in your database, or that it could not connect correctly to your database. You might want to look up your database for a pwdata table and if that one exists you should confirm your settings in the configuration file.
Back to top
View user's profile Send private message Visit poster's website
angel10



Joined: 22 Oct 2014
Posts: 1

PostPosted: Wed Oct 22, 2014 8:56    Post subject: Reply with quote

isnt there a yum command for this? does anybody know it?
_________________
We offer up to date db2 study guide - braindumps.com nice to meet you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group