almost there??
Added by Chetery almost 4 years ago
I started my shard install and got a boatload of warning messages - it does appear to be running anyway but getting a lot fails on files saves - I assume there is a path definition wrong somewhere. I didn't have much luck piping the messages to a log but reading as they scroll by the failures are to save_shard/rrd_graphs/xxxxxxx
there is a folder for save_shard ....sever/save_shard but nothing under it.
can you give me a clue what might be set up wrong?
Thanks
Replies (4)
RE: almost there?? - Added by Chetery almost 4 years ago
update to previous post - I found the log and here is bit from it
2011/09/30 10:34:30 INF 2026809120 127.0.1.1/AS-0 service.cpp 1276 main : SERVICE: Service ready
2011/09/30 10:34:38 WRN 2026809120 127.0.1.1/AS-0 as_module.cpp 296 onModuleUpdate : CAdminService::onUpdateModule : failed to open file save_shard/rrd_graphs/ais_newbyland.L5CallbackCount.hrd for writing
After this it is pretty much just long list to similiar failures.
RE: almost there?? - Added by Chetery almost 4 years ago
might as well add more problems found while I poke around ...
In session_browser_server log I spotted this error ...
2011/09/30 11:25:12 WRN 862238496 127.0.1.1/SBS-134 mysql_wrapper.cpp 156 _connect : Error during connection to database 'shard:ring_open@localhost' :
2011/09/30 11:25:12 WRN 862238496 127.0.1.1/SBS-134 mysql_wrapper.cpp 157 _connect : Mysql_real_connect error :Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
2011/09/30 11:25:12 WRN 862238496 127.0.1.1/SBS-134 session_browser_server.cpp 143 initModule : Failed to connect to database using ring_db ( host = localhost user = shard password base = ring_open )
2011/09/30 11:25:12 WRN 862238496 127.0.1.1/SBS-134 module_manager.cpp 438 createModule : Create module : the new module 'sbs' of class 'SessionBrowserServerMod' has failed to initilize properly.
So I guess mysql has a problem too - it is running and phpmyadmin is working fine. the ring_open database is there as imported via phpmyadmin from downloaded file.
RE: almost there?? - Added by molator almost 4 years ago
You can ignore the rrd_graphs notice if you don't use any rrdtool.
http://en.wikipedia.org/wiki/RRDtool
So far noone was able to run Ring (scenario editor) properly, you could ignore it.
If it's a mysql issue, you can test with my config:
https://docs.google.com/leaf?id=0B3LX3q7MsUEGNjdkMTJlZDItMzZlNy00Y2M0LTg0ODctMGI5MTExNjEzNTlk&pli=1
Did you change the password of the shard user ?
If phpmyadmin (or else) is set to discard connections with no password,
only the local users could use it.
If there's no local users, no security issue.
If you changed the password, you will have to change it in many places, in the config files.
RE: almost there?? - Added by Chetery almost 4 years ago
Thanks for help.
I'll ignore those errors for now.(would it be ok to comment it out in the .bat file?)
The mysql has one user (to get it running) other than the ones from the download and I did not set any pw, just let the .sql file update everything.
(I use a get it running clean before you screw with stuff plan)
the instructions included info to remove a comment in the php.ini file relative to mysql but I didnt find that line in there and presume its outdated.
I am still a bit confused on getting a client to connect - making a new user for that client.
Here is what did so far:
made a copy of all the the client files that I know work because I can connect and play
changed the startuphost to localhost and got rid of a number of specifc web connect addresses in that area.
It didnt work of course, but that may be the mysql error ....
(1-4/4)