EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Server don't start on windows (https://www.eqemulator.org/forums/showthread.php?t=42031)

Schema13 08-12-2018 02:42 PM

Server don't start on windows
 
Hi

I'm on windows 10 and I try to install my private server to visit some EQ zone where I've never been.

Setup run successfully but when I launch t_start_server.bat or t_start_server_with_login_server.bat I have an error :

Error from reader: * Line 1, Column 1
Syntax error: value, object or array expected

Any idea to debug this ?

Thx a lot

Scorpious2k 08-12-2018 07:30 PM

When I Google your error message I see a lot of JSON links, so while you wait for some better ideas, why not check out your JSON config file

Uleat 08-12-2018 08:28 PM

I've seen people setting up vms get this..not sure how to address it since I don't do vms :(

Schema13 08-13-2018 12:41 AM

Then :
1 - I just change server name and IP in the json config file.
2 - I read the bat files and I try to launch exe manually. Doing this with world.exe result in parsing the json config file. This file looks good as I have the msg in cmd : [World Server] Added loginserver xxx.xxx.xx.x:5998 with my IP server
3 - manually lauching eqlaunch.exe result in ... nothing, others .exe looks good
4 - I didn't set any vms
5 - login.ini is a properties txt file and looks good too. Lauching the exe files shows some request and connection properties are in this one.
6 - Manually launch the exe files then using the client result in a freezing client on the screen : Connecting to the server, please wait...
7 - I have RoF2 client and I test it -> good on eqemu public servers

Then any other idea

Akkadius 08-13-2018 01:53 AM

Use a JSON validator and paste your config into it, you most likely have a syntax error in it

https://jsonformatter.curiousconcept.com/

Schema13 08-13-2018 11:22 AM

When using validator :

eqemu_config.json : Valid JSON (RFC 4627)

Then looks like it's not a syntax error

Another idea ?

Schema13 08-14-2018 10:00 AM

Nothing else I can try ?

looking for debug information ?
another .exe to launch ?
some properties to change ?
opening some port ?

When launched manually, I notice shared_memories.exe is charging some stuffs and the last is loading spells, then he shut down.

dagulus2 08-14-2018 04:03 PM

To me, 'Syntax error: value, object or array expected' looks like the server is not seeing your Database.

Did you rename your Database?

If so did you use any special characters in the name?

Does the username and password in eqemu_config.json allow you to access your database using HeidiSQL?

Schema13 08-15-2018 09:23 AM

That was some ideas but :
1 - I check my environment and mysql is in the variables
2 - I can connect to the database using HeidiSQL with the default settings that are in the json file (I didn't change anything in it)
3 - I check the firewall settings and all the port are open.

Maybe share_memories.exe or eqlaunch.exe ? What are the expected behavior from these files ?

Schema13 08-16-2018 12:54 PM

Ok I solve it :)

1 - Environment variables for perl and mysql needs to be set on my OS (windows 10)
2 - lauching .bat files from windows explorer result in non admin mode. Maybe you should say it in the tutorial : launch t_start_server_with_login.bat from cmd line running in admin mode.

Thx a lot for the installer and the tools it works great :)


All times are GMT -4. The time now is 08:53 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.