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 
 
Vaultster
Goto page 1, 2  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Wed Feb 16, 2005 15:38    Post subject: Vaultster Reply with quote

The vaultster post in the general section is getting a bit divers, so I'll post my troubles here.

With the configuration syntax of Jeroen, I no longer get an error on the configuration file.
The module and plugin seems to load fine on both servers.
(Both linux)

When I try to hop from server1 to server2 I will get an error.
The log on server2 says an invalid client tries to connect.
The log on server 1:
Invalid password, or server rejected us.

When I try to hop from server2 to server1 another error occurs.
In the log I find an error like:
Could not find latest file for pattern xandraloxdeteste

We made sure the keys and password where the same.
We tried with a server password and provided it in the ActivatePortal call
we tried without server password and removed it from the ActivatePortal call.
We set the port to 5121 since port 5100 doesn't seem to work.
Back to top
View user's profile Send private message Visit poster's website
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Wed Feb 16, 2005 21:26    Post subject: Reply with quote

The first problem looks like the IP or the DNS name of the other server is not known.

Quote:
When I try to hop from server1 to server2 I will get an error.
The log on server2 says an invalid client tries to connect.
The log on server 1:
Invalid password, or server rejected us.


When this happens, you should make sure that the IP or DNS of server 1 is known in the server2 configuration file (in the known servers section).

Quote:
When I try to hop from server2 to server1 another error occurs.
In the log I find an error like:
Could not find latest file for pattern xandraloxdeteste


This is worse. On what server that the error occure? On the sending or receiving side? If on the receiving side, is there already a directory for that player in the servervault?
Back to top
View user's profile Send private message Visit poster's website
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Thu Feb 17, 2005 15:59    Post subject: Reply with quote

How does the incoming request has to match the entry for the server?
Seems that the incoming request is identified by an ip address and the server is defined by an dns entry.
Would it be possible to do the match on dns entry?
one of the 2 servers has a semi dynamic ip address that changes from time to time.


second problem occurs on the requesting server. (so sending side)
The request doesn't appear in the log on the recieving side.
I've tried it with all the characters in my servervault.
Same problem for all.
IS there a way to set the debug level?
So the path and file the vaultster is looking for appears in the log?
Back to top
View user's profile Send private message Visit poster's website
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Fri Feb 18, 2005 10:32    Post subject: Reply with quote

monezz wrote:
How does the incoming request has to match the entry for the server?
Seems that the incoming request is identified by an ip address and the server is defined by an dns entry.
Would it be possible to do the match on dns entry?
one of the 2 servers has a semi dynamic ip address that changes from time to time.


Yes, Vaultster does a DNS lookup to find out the DNS name corresponding an IP address. The dynamic IP address where the main reason to do so Smile

monezz wrote:
second problem occurs on the requesting server. (so sending side) The request doesn't appear in the log on the recieving side.
I've tried it with all the characters in my servervault.
Same problem for all. IS there a way to set the debug level?
So the path and file the vaultster is looking for appears in the log?


The linux version still doesn't have much logging. I am planning to add more soon. Actually, let me do that right now.

EDIT: I uploaded a new version which should do some more logging. In case of errors, this will be logged. It will now also always log the file being used. Download it here.
Back to top
View user's profile Send private message Visit poster's website
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Fri Feb 18, 2005 23:15    Post subject: Reply with quote

Great thanks, I'll try it asap.
Back to top
View user's profile Send private message Visit poster's website
fsondahl



Joined: 28 Feb 2005
Posts: 4

PostPosted: Mon Feb 28, 2005 23:37    Post subject: libstdc++.so.6 not found Reply with quote

I'm running fedora core 1, and have nwnx working fine, but I'm having problems with vaulster.

After I put the nwnx_vaulster.so into the nwn folder, and I start up the server, I get this error:

ERROR: dlopen: ./nwnx_vaultster.so: libstdc++.so.6: cannot open shared object file: No such file or directory

All the other plugins say "XXX plugin Registered." successfully.

I looked around, and I have libstdc++.so.5 in my /usr/lib/ I tried updating the libstdc++ library with apt-get, and it said it was up to date. I tried updating gcc too. Sort of seems like I need a file called "libstdc++.so.6", but I'm not quite sure what's going on.

Does anyone know what version of linux nwnx_vaulster.so was built on? Do I need to recompile vaulster from source to make this work?

Any help would be appreciated, thanks. Smile
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Tue Mar 01, 2005 11:05    Post subject: Reply with quote

I think you have to recompile the sources yes, as it was compiled on a mandrake 10.1 system with libc++ 6.
Back to top
View user's profile Send private message Visit poster's website
fsondahl



Joined: 28 Feb 2005
Posts: 4

PostPosted: Thu Mar 03, 2005 23:38    Post subject: thanks Reply with quote

thanks... good to know.
Back to top
View user's profile Send private message
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Fri Mar 04, 2005 3:19    Post subject: Reply with quote

I downloaded and installed the new version but the log didn;t seem to change.

nwnx_vaultster.log after attempt to portal:
NWNX2 Vaultster version 0.2.4 Linux.
Copyright 2004 (C) Jeroen Broekhuizen
o Loading in 1 known servers.
o server1: someserver.com
o Server started
o New request: SEND
o New request: 2
o Handling client with id: 0
Could not find latest file for pattern xandraloxdeteste
o New request: STATUS
Looking up status for client: 0
Back to top
View user's profile Send private message Visit poster's website
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Fri Mar 04, 2005 14:06    Post subject: Reply with quote

Indeed, more information is not available. The plugin can't find a file starting with '
'xandraloxdeteste' in it. You should verify if the file is really in the right place.

I will see if I can look into this soon.
Back to top
View user's profile Send private message Visit poster's website
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Fri Mar 04, 2005 14:20    Post subject: Reply with quote

This is the bic file of the character I was using.

-rw-r----- 1 nwn users 114560 Mar 4 03:19 xandraloxdetest8.bic

Somehow sometimes copys of the bic files appear in my servervault with a number in place of the last letter. I suspect thats the cause.
I don't know why the server makes te copies, but would it be more safe to change the search pattern to the newest file matching all but the last characters in the bic file name?
Back to top
View user's profile Send private message Visit poster's website
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Sat Mar 05, 2005 1:56    Post subject: Reply with quote

I created a new character on the server and the vaultster now seems to find the file. (renaming the other files according to the searchpattern doesn't work btw.)

result in the log:

o Handling client with id: 0
o New request: STATUS
Looking up status for client: 0
o New request: STATUS
Looking up status for client: 0
.... much more of the same
o New request: SEND
o New request: 2
o Handling client with id: 1
o New request: STATUS
Looking up status for client: 0
o New request: STATUS
Looking up status for client: 1
o New request: STATUS
Looking up status for client: 0
o New request: STATUS
Looking up status for client: 1
o New request: STATUS
..... much more of the same
Looking up status for client: 1
Could not connect to server on port 5121.
Back to top
View user's profile Send private message Visit poster's website
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Sat Mar 05, 2005 10:56    Post subject: Reply with quote

It's already kind of strange that Vaultster didn't shorten the search pattern to a maximum of 14 characters as it should do. I will have to look in to the code to find the problem and to solve it.


About the port number 5121. Do you have Vaultster configured to use port 5121? If so, do you also have a server running on that port? When that is the case I recommend you to use the default 5100 port for vaultster.
Back to top
View user's profile Send private message Visit poster's website
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Mon Mar 07, 2005 11:44    Post subject: Reply with quote

Tested it again with port 5100 and a new characterfile.

Portal now failes with: invalid password or server rejected us.

Should the user the nwn server is running under exists on the target server?
Could filesystem permissions trigger such an error?

We made sure 5100/tcp was open and all password where correct.
Back to top
View user's profile Send private message Visit poster's website
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Mon Mar 07, 2005 12:11    Post subject: Reply with quote

It also states these password error when your server is not known at the other server. This will happen if you test this on a local network and only supply the external IP. You might want to test this with the local network IP of both servers in the configuration files.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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