Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   Crash, need help for dedicated setup (https://postpacific.mmorpg-game.online/showthread.php?t=6768)

HyperViper© 06.02.2007 21:41

Crash, need help for dedicated setup
 
Alright, I am having problems setting up this server on a dedicated box, and its getting extremely frustrating... To start off, I had no problem getting these same files running on a closed LAN. But after I moved to a dedicated, I have been presented with problems that are driving me insane. I have been bouncing around various forums, but I am finding it hard to solve this issue

my server is running
Windows Server 2k3 x64
MSSQL via sa account

All the ini's and sql DB files were set to 127.0.0.1 *with the exception of the 127.0.0. in the sql*
The only ip entered differently was in the config.txt under dev ip in auth\etc set to WAN.

The file DSN's have been set up, and to my knowledge are working correctly, i dont get repeated prompts for SQL login information during server boots.

When I start up the server, this is the sequence of events..
after starting cache, i fire up the Auth server, and get this.

http://img266.imageshack.us/img266/4716/a1ff0.jpg

I have found other posts with this error, and none of the solutions corrected the problem, including the manual injection to register the server table in l2db

So many people say its the server table.. well this is how I have it setup
id----name----------ip------------inner ip---ageLimit---pk_flag--kind
1----xyrriconn---2xx.xx.xx.xx6---127.0.0.1------0-------1-------0

port
7777


I dont think it is set up incorrectly.

If I go on to boot the server, I get this

http://img258.imageshack.us/img258/7998/se1tl4.jpg


I have never gotten those malloc (>32K) errors before on the closed LAN setup, and I have no idea what it means or where they came from.

anyways, all goes well for a few seconds, then it gets to the end of the server boot, and I get this

http://img106.imageshack.us/img106/6829/se2up9.jpg

I have seen these 4 errors on other posts as well, but none of the solutions have worked, or the thread died. To start, I am not sure what the cause of the Inspector.u or the PGFCV error is, I never had it on my last set up... so I am not sure whats causing it... And last but not least, the famous AuthSocket error, to which ALSO, no fix has worked for =/ So, as the Auth rejects the server, the server tries to connect one last time, then shuts down.

Now, when you go back to the Auth window, after getting that server error.. you get the same error thats often attached to the Authsocket problem

http://img48.imageshack.us/img48/5986/a2gx5.jpg

Now to me, after looking at all these errors, it looks like its one simple problem... the servers arnt properly connected to the SQL DB's.. I may be wrong, but its just what it looks like to me.. A cant connect to B, then its just a castcade failue from there. So, does ANYONE know whats going on here? or could anyone help me with this.. its going to turn me grey... I am not sure if its a port problem, socket problem, security issue, file issue, incompatability with the software.. Any other people experienced in dedicated hosting run into this before? Anyways,.. any and all input would be greatly appreciated..

Cheers.

HyperViper© 19.02.2007 22:14

Problem solved.. was a menace thanks to my not paying attention during the initial setup. Was in the DSN's I appointed the server to the wrong DB, it defaulted to l2conn, so me not thinking put it to lin2comm, instead of lin2db.. gg

goodtimeshaxor 20.02.2007 02:31

Hello,

I had similar errors, manually "injected" the data into the db/server tables, and have triple checked that my DSNs are pointed correctly but still have no luck. Basically, all my IPs were set to the WAN IP (NOT 127.0.0.1) and

http://img.photobucket.com/albums/v2...axor/authd.jpg


And here is the really bad server error window of death. I have no clue where to start with this one.

http://img.photobucket.com/albums/v2...xor/server.jpg

HF 20.02.2007 06:05

Quote:

Originally Posted by goodtimeshaxor (Post 79024)
Hello,
...

your great image and this error... no can be together :)

"Read from .... file failed."

Your Script folder exist? :)

goodtimeshaxor 20.02.2007 12:09

Yes, script folder is set up, HTML is there, Geodata all there. Everything "should" be there, any other ideas?

HF 20.02.2007 12:31

Quote:

Originally Posted by goodtimeshaxor (Post 79064)
Yes, script folder is set up, HTML is there, Geodata all there. Everything "should" be there, any other ideas?

Not :) Check again :) Permissions to folder, this directories not exist or named differents...

goodtimeshaxor 20.02.2007 12:58

Thanks a lot! L2Server.exe loaded perfectly fine except something about "Malloc (>32k"). The l2auth is still screwed up though, I'll have to look into that. Any ideas that you can think of?

HyperViper© 20.02.2007 14:23

Quote:

Originally Posted by goodtimeshaxor (Post 79071)
Thanks a lot! L2Server.exe loaded perfectly fine except something about "Malloc (>32k"). The l2auth is still screwed up though, I'll have to look into that. Any ideas that you can think of?

If your auth is still showing the same errors as the first picture you posted, and your absolutly positive you set your auth DSN to connect to lin2db, then just to make sure, if your running a 64 bit version of windows, copy your DSN files to C:\program files (x86)\common files\odbc\data sources\ because that first error is definatly from a failure to connect to the database "Unless" you have not configured your server table in your database

goodtimeshaxor 20.02.2007 14:25

Okay changed the DSN thing from lin2comm to lin2db. I thought I knew what you guys were talking about but it was actually when you FIRST started AuthD.exe and it asked you for DSN, account, and pass.

(Writing the error and solution out here for future reference and searches)
Here is the error
Code:

sql: Select id, name, ip, inner_ip, ageLimit, pk_flag, kind, port From server Order by id
42S02: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'server'.
Server load fail, please check server table of DB connection string
sql: update worldstatus set status=0
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'worldstatus'.
sql: Select Max(kind) From server With (Nolock)
42S02:[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'server'.
Load ServerKindList fail!

The solution:

When you FIRST start up AuthD.exe for the VERY FIRST time a pop up dialog box comes up asking you for the DSN, SQL account name, and SQL password.

It looks like:

Code:

DSN: L2Conn
SQL Account:
Password:

The first thing most people will do is simple change L2Conn to lin2comm. This is INCORRECT. The AuthD.exe must point to lin2db!!!

It SHOULD look like:

Code:

DSN: lin2db
SQL Account: sa(or whatever yours is)
Password: *******

I hope that helps any future searches


All times are GMT. The time now is 21:46.