Author Topic: How to setup a server?  (Read 1804 times)

Olakion

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
How to setup a server?
« on: August 22, 2004, 07:15:39 pm »
Hello All,

I am have downloaded and build the latest version of CVS. I am able to build the complete software on Win XP with MinGW. I try now to run the psserver but I am not able to get it running.

Can someone give a link how I can setup a server locally?

josephoenix

  • IRC Op
  • Hydlaa Notable
  • **
  • Posts: 706
    • View Profile
(No subject)
« Reply #1 on: August 22, 2004, 10:19:17 pm »
hmm... does it give you any helpful error messages? I seem to believe I heard that either minGW or Cygwin (or both?) are missing a proper implementation of the winsock32 api which facilitates network communication... obviously, the server and client need that, so it\'s possible that that is your problem. I myself never built with minGW on windows, so I may not be the best person to ask.. :-/

josePhoenix
Sir John Falstaff: "Let the skie raine Potatoes: let it thunder, to the tune of Greenesleeues"

Olakion

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #2 on: August 23, 2004, 07:58:56 pm »
It gives no errors at compilation. When I run psserver.exe the following error message is generated:



$ ./psserver.exe
WARNING: could not load plugin \'crystalspace.motion.manager.default\'
WARNING: could not load plugin \'planeshift.database.mysql\'
-Server Console initialized (d:\\Olaf\\PlaneShiftSrc\\planeshift\\psserver.exe-V0.1)-
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.

planeshift.application.server:
  No iDataConnection plugin!

Initialize:
  Could not create database or connect to it.

error while initializing server!
  LoadLibraryEx(d:\\Olaf\\PlaneShiftSrc\\planeshift\\dbmysql.dll) error 126: Kan opgegeven module niet vinden.



The last message is in Dutch because i have a Dutch version of WinXP. It say that the module can not be found but the file dbmysql.dll is in that directory.

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #3 on: August 23, 2004, 08:00:50 pm »
Hmm, was MySQL installed correctly and the daemon is running?
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

josephoenix

  • IRC Op
  • Hydlaa Notable
  • **
  • Posts: 706
    • View Profile
(No subject)
« Reply #4 on: August 23, 2004, 08:57:26 pm »
That\'s what I was asking for, errors at runtime. you stated that you built the software so I assumed that that meant no compile errors.

That message seems to mean that mysql isn\'t running, or that you didn\'t have libmysql installed at ./configure time.

I\'m not sure how to install libmysql on windows, but with linux it\'s packaged with the mysql server. Or, you may have it, but MinGW doesn\'t know that it\'s there to compile in.

josePhoenix
Sir John Falstaff: "Let the skie raine Potatoes: let it thunder, to the tune of Greenesleeues"

Olakion

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #5 on: August 25, 2004, 07:46:52 pm »
I have found the cause of the problem. I needed to add in the PATH variable the directory where the file ?libmySQL.dll? is stored and the server will start.

Thanks to everyone that tried to help me.

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #6 on: August 25, 2004, 08:18:19 pm »
Glad to hear you got it working!
Quidquid latine dictum sit, altum sonatur.