Hello there. This is the one topic which I really hoped that I did not have to post.
I'm currently running two instances of SQL Server on my local machine. 2008 (Not express) and SQL 2012.
As 2012 does not provide support for the current database files. I haven't had the chance to manually upgrade them so they can be ran with 2012/2014. This is something which can be put off for the time being.
I've hit a snag in the road with getting the server off the grounds. My logs indicate nothing of use.. When I say of no use, I mean only giving the basic information on what the error actually is. Nothing in-depth to go on.
It's your typical: Green Pause > To Arrow > To Green Pause.
Now, as I stated. The logs aren't exactly informative. Just as an example:
2016-01-18 22:28:15 PS_SESSION__system log end (Session)
2016-01-18 22:28:15 3 1 SService::ServiceCtrlDispatcher(): service shutdown
The similarities between each of the logs are the same. Failed to connect.
one would assume that it's incorrect login information to the database server, this is not the case. I can 100% assure the community that credentials are correct. I have even changed from using the user created: ShaiyaSrv to the sysadmin: sa. The credentials are correct, yet do not run sucessfully.
I have changed hashes/user accounts in the following files:
ps_dbAgent.ini
ps_game.ini
ps_gameLog.ini
ps_login.ini
ps_userlog.ini
which are located: D:\ShaiyaServer\PSM_Client\Bin\Config
as an extra precaution. I have changed hashes in: D:\ShaiyaServer\PSM_Server\Config - PSMServer_Config.ini
Regarding the actual Server_mgr.exe,
Account: ShaiyaSrv
Password: Plain Text of correct password. Can assure there is no mistakes there.
Services are correctly installed.
Have noticed a single error in Windows Event Viewer:
The shaiya_serverf service failed to start due to the following error:
The system cannot find the file specified.
This occured before I was even ready to attempt to turn on the actual server. So, I can safely eliminate this from being a cause from concern.
Can also add to the case, that Moving from D:\ over to C:\ does not resolve this issue
Could you upload the most recent log files from:
ShaiyaServer\PSM_Client\Bin\Log
ShaiyaServer\PSM_Client\Log
Are all of the services going back to pause? Sorry to ask, but just making sure. If yes, then it is almost certainly a database connectivity issue. This could include but isn't limited to (in my experience);
Missing databases
Incorrect username and/or password for the SQL user in .ini files
Incorrect username and/or password for the SQL user in SQL
Incorrect IP in .ini files
Incorrect configuration in SQL Server Network Configuration > Protocols
Incorrectly installing the SQL
Having it installed on C: or D: won't cause any issues as long as the PSM_Service.ini located in ShaiyaServer\PSM_Client\Config is correct.
I can confirm that the password used in the ini files is correct. Maybe the hashing from the password encryption executional can draw some blanks? as it's not a persistent hash each time the exe is closed and reopened?
I can confirm that all IP addresses within the ini files are pointing to locahost (127.0.0.1)
SQL 2008 is correctly installed, can connect to the database user in question using the correct password, which I can say for certain that the correct password has been used by the hashing program within the Shaiya Server folders.
I can also add and say for certain that the SQL file: "SQL New Installation.SQL" ran without a problem.
Ok, so the logs do confirm it is a database connection issue.
Missing databases
Incorrect username and/or password for the SQL user in .ini files
Incorrect username and/or password for the SQL user in SQL
Incorrect IP in .ini files
Incorrect configuration in SQL Server Network Configuration > Protocols
> TCP/IP > IP Addresses: change all instances of "IP Address" to '127.0.0.1'. (or confirm they already are).
> Named Pipes > try and use '\\.\pipe\sql\query' instead.
Incorrectly installing the SQL
Personally what I'd recommend is to use the default user "Shaiya" and password "Shaiya123" when setting up your first server before introducing a more secure login, simply for the fact that the default .ini files won't need to be changed and it is one less thing to check when encountering a problem.
Ok, so the logs do confirm it is a database connection issue.
Missing databases
Incorrect username and/or password for the SQL user in .ini files
Incorrect username and/or password for the SQL user in SQL
Incorrect IP in .ini files
Incorrect configuration in SQL Server Network Configuration > Protocols
> TCP/IP > IP Addresses: change all instances of "IP Address" to '127.0.0.1'. (or confirm they already are).
> Named Pipes > try and use '\\.\pipe\sql\query' instead.
Incorrectly installing the SQL
Personally what I'd recommend is to use the default user "Shaiya" and password "Shaiya123" when setting up your first server before introducing a more secure login, simply for the fact that the default .ini files won't need to be changed and it is one less thing to check when encountering a problem.
Can confirm that pipes are as you've stated, and can also confirm that instances are set to localhost.
Will revert the old.ini files and change user password to Shaiya123 and update.
I have a working test server on D: with Shaiya/Shaiya123. If you'd like I can upload the appropriate files for you to use to rule out .ini files if it still doesn't want to work.
I do faintly remember that I was personally having trouble with this a couple of years ago when I first started out, I was using 2008 R2 I believe and it was something to do with the installation process, this may not be the same for you though.
Edit: Uploaded Server Configuration folders.
~ Note: Directory = D:\ShaiyaServer\
Try using Sa user if that works then theres your issue
-note on there your issue: user sometimes messes up
Tried SA, tried creating another user account. Tried to connect using Windows Authentication. Nothing
I for one do not see how a "user" can sometime mess up. There could have been a permission issue, but that'll be stomped out if users don't understand the difference in the server roles.
Plus. Using SA, is something I wouldn't recommend relying on.. With that said, giving the user account which you create for the databases the "sysadmin" role is also a bad idea. Once i've got the server working completely, i'll be tinkering around to find out what permissions will work and which ones will break.
As on the off chance that the server is compromised, and a connection can be established to the database.. having that user as a full power user is a bad idea. It can wreak havoc.
overall, personally. I wouldn't give this user the permission to truncate, drop table, altar, create tables. It only needs the bare necessities.
Select, Update, Add, Execute stored procedures etc.. The rest, is just asking for trouble.
/* Add server link, and Shaiya username */
IF NOT EXISTS (SELECT [name] FROM master.dbo.syslogins WHERE name = 'Shaiya')
BEGIN
EXEC sp_addlogin 'Shaiya', 'Shaiya123', 'PS_GameDefs';
END
EXEC sp_addsrvrolemember 'Shaiya', 'sysadmin';
/* Add linked servers */
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='game')
BEGIN
EXEC sp_addlinkedserver 'game','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'game','false',null,'Shaiya','Shaiya123';
END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_DEFINEDB')
BEGIN
EXEC sp_addlinkedserver 'PS_DEFINEDB','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_DEFINEDB','false',null,'Shaiya','Shaiya123';
END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_NCASH')
BEGIN
EXEC sp_addlinkedserver 'PS_NCASH','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_NCASH','false',null,'Shaiya','Shaiya123';
END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_USERDB')
BEGIN
EXEC sp_addlinkedserver 'PS_USERDB','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_USERDB','false',null,'Shaiya','Shaiya123';
END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_GAMEDB01')
BEGIN
EXEC sp_addlinkedserver 'PS_GAMEDB01','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_GAMEDB01','false',null,'Shaiya','Shaiya123';
END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_USERDB01')
BEGIN
EXEC sp_addlinkedserver 'PS_USERDB01','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_USERDB01','false',null,'Shaiya','Shaiya123';
END
/* Add to Game User: admin, Password: admin123 and user information*/
IF NOT EXISTS (SELECT UserUID FROM PS_UserData.dbo.Users_Master WHERE UserUID=1)
BEGIN
INSERT INTO PS_UserData.dbo.Users_Master
(UserUID, UserID, Pw, JoinDate, Admin, AdminLevel, UseQueue, Status, Leave, LeaveDate, UserType, UserIp, ModiIp, ModiDate, Point, Enpassword, Birth)
VALUES (1,'admin', 'admin123', GETDATE(), 1, 255,'',16,'', DATEADD(year, +10, GETDATE()),'A',NULL,NULL,NULL,0,NULL,NULL);
END
IF NOT EXISTS (SELECT UserUID FROM OMG_GameWEB.dbo.GameAccountTBL WHERE UserUID=1)
BEGIN
INSERT INTO OMG_GameWEB.dbo.GameAccountTBL
(UserUID,GameAccount,OneTimePassword,OTPExpireDate ,DelCharPWD,CreateDate)
VALUES (1,'admin','admin123',DATEADD(year, +20, GETDATE()),'ff',GETDATE())
END
IF NOT EXISTS (SELECT UserUID FROM PS_UserData.dbo.Users_Detail WHERE UserUID=1)
BEGIN
INSERT INTO PS_UserData.dbo.Users_Detail
(UserID,UserUID,UserName,SocialNo1,SocialNo2,PwQue stion,PwAnswer,Email,PostNo,Addr1,Addr2,Phone1,
Phone2,Phone3,Mobile1,Mobile2,Mobile3,NewsLetter,S ms,AdultAuth,AdultAuthDate,EmailAuth,EmailAuthKey,
Job,JobNo,LocalNo,PwQuNo)
VALUES ('admin',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
END
Just change Shaiya with your ini username and Shaiya123 with ini password.
Another small chech, did you change the # enc passwords in the ini files?
PSM_Server folder has ps_passwordEnc.exe use that to give each ini a new # password
If none of that works, it usually means when you installed your SQL, you selected named instance, instead of default. That causes problems from what i remember.
Hate to be the one to mention it.. but have you added the linked servers?
...
[/spoiler]
Just change Shaiya with your ini username and Shaiya123 with ini password.
Another small chech, did you change the # enc passwords in the ini files?
PSM_Server folder has ps_passwordEnc.exe use that to give each ini a new # password
If none of that works, it usually means when you installed your SQL, you selected named instance, instead of default. That causes problems from what i remember.
SQL server is running under the default instance name. I can confirm that, the only one which was running under a custom instance was 2012. Which has now been removed from the system to stomp out any possible problems with connection.
Have ran that SQL on the new user. Ran your one just to be sure which you have a Syntax error in your final insert query.
Can also confirm that the hashes have been sucessfully updated in every .ini file which requires a password.
CLARIFICATION ABOUT ALL OF YOU DESPERATELY STRUGGLING TO BUY / SELL SKINS ! 07/10/2014 - League of Legends Trading - 8 Replies DONT GET BAITED! The 07/23/14 deadline means that if you are willing to buy a skin you MUST PM THE LEAGUE OF LEGENDS SUPPORT PROVIDING PROOF THAT YOU ARE THE ORIGINAL OWNER OF THIS CODE.
This means you ll most likely need proof of having the Physical Copy of the code with your name On it and maybe more evidence. ( Pretty sure RIOT support wont get baited so easily by ''just the summoner name written on the Riot code card''.
Also , I strongly suggest you NOT TO BUY any skin which is...
Struggling with alissa 06/26/2013 - Mabinogi - 17 Replies It seems I can't make alissa working. Please help me~:handsdown:
I use the mod folder and dinput8 from Bundle of Love.rar, Crackshield 2.0r17 from else where, AlissaFix released right after the Bundle of Love.rar. I use win8 x64 version.
Result:
Successfully logged in to character selection
Successfully entered Erinn
Alissa cannot be connected (The picture at top left corner always say Unconnected, no matter I open the AlissaAnalyzer.exe and click connect)
AlissaPlus cannot be...
Will a New Version Save a Struggling Game? 12/19/2009 - Conquer Online 2 - 8 Replies I'm not concerned with KOEI, Blizzard, Ubisoft, EA or Square's products, they sell good and will become better in the future. This time let's take Conquer Online for example.
http://images.mmosite.com/my/upload/fd/28/palelor d/09/1210/2009121012100_167.jpg
I come, I see, I conquer
Successfully launched in 2003, Conquer Online, with its well-designed system of PvP, acceptable graphics and gameplay, has charmed thousands of gamers across the world. Its F2P game style had attracted many...