View previous topic :: View next topic |
Author |
Message |
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Wed Feb 16, 2005 15:38 Post subject: Vaultster |
|
|
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 |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Wed Feb 16, 2005 21:26 Post subject: |
|
|
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 |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Thu Feb 17, 2005 15:59 Post subject: |
|
|
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 |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Fri Feb 18, 2005 10:32 Post subject: |
|
|
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
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 |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Fri Feb 18, 2005 23:15 Post subject: |
|
|
Great thanks, I'll try it asap. |
|
Back to top |
|
|
fsondahl
Joined: 28 Feb 2005 Posts: 4
|
Posted: Mon Feb 28, 2005 23:37 Post subject: libstdc++.so.6 not found |
|
|
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. |
|
Back to top |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Tue Mar 01, 2005 11:05 Post subject: |
|
|
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 |
|
|
fsondahl
Joined: 28 Feb 2005 Posts: 4
|
Posted: Thu Mar 03, 2005 23:38 Post subject: thanks |
|
|
thanks... good to know. |
|
Back to top |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Fri Mar 04, 2005 3:19 Post subject: |
|
|
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 |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Fri Mar 04, 2005 14:06 Post subject: |
|
|
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 |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Fri Mar 04, 2005 14:20 Post subject: |
|
|
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 |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Sat Mar 05, 2005 1:56 Post subject: |
|
|
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 |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Sat Mar 05, 2005 10:56 Post subject: |
|
|
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 |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Mon Mar 07, 2005 11:44 Post subject: |
|
|
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 |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Mon Mar 07, 2005 12:11 Post subject: |
|
|
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 |
|
|
|