X-Forums

Computer, Games, and Technology

Reaper mangos as a service?

29 posts

  1. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    i heard you can run the reaper mangos program as a service? that would be nice wile its running on 2003 server. can anyone tell me how to?

    and i saw mangos gui? someone has a stable version?

    greetz stefan postma

    Posted 2 years ago » Permalink

  2. Bryansthl

    Legend
    Joined: Dec '07
    Posts: 453

    May I ask why you want to run mangos as a service? It's not a simple process and you need to have above average skills and knowlage of server 2003.

    Posted 2 years ago » Permalink

  3. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    well normaliter windows 2003 isnt't logged in, so wenn is want to run mangos i need to log in at an account. loggin at an account an staying loged in use a quite ammount of memory. pretty shame if you asked me. there are many more programs working ofcourse but al as a service so i only need to login for mangos and realmd.

    Posted 2 years ago » Permalink

  4. Bryansthl

    Legend
    Joined: Dec '07
    Posts: 453

    To set a program as a service is all done through the registry if your good with regedit you can do it all through there.

    If your not good with regedit you can use a comand line program called sc.exe its in the resource kit. To use the sc.exe go to link below for details.

    http://support.microsoft.com/kb/251192

    Make sure that when you set up the services that you make the realmd.exe a dependent of the mangosd.exe so it makes sure the realmd.exe is running before trying to run the mangosd.exe

    Posted 2 years ago » Permalink

  5. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    THANKS :D

    Posted 2 years ago » Permalink

  6. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    Hi i started with the service for mangosd but it fails some how.

    this is what i did so far,

    Run SrvInstw.exe
    Check Install Service radio box, click Next
    Check Local Machine radio box, click Next
    Enter the name for your service, click Next Mangosd
    Click Browse and select Mangosd.exe
    Click Service is its own Process radio box, click Next
    Select what user account you want this service to run under. If this service is to have its UI, check the Allow Service to Interact with Desktop checkbox. Normally the services run under System Account
    Click Finish. But you are not finished just yet
    Open RegEdit. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    Locate the service you just created in the Services branch, click on it.
    Create a new key called Parameters
    Click on Parameters and create a new string value called Application
    Double-click on Application and set it equal to the full path of your VB executable (e.g. c:\wowserver\mangosd.exe)
    Now go to Services applet and you can start your service.

    then i get an error says:
    error 1503 The service did not respond to the start or control request in a timely fashion

    anyone ideas?

    greetz
    Stefan Postma

    Posted 2 years ago » Permalink

  7. Bryansthl

    Legend
    Joined: Dec '07
    Posts: 453

    Did you set reald.exe as a service and make it a dependent of the mangod.exe?

    Posted 2 years ago » Permalink

  8. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    yep tried that one.
    sc create mangosd binpath= c:\wowserver\mangosd.exe type= own start= auto and
    sc create realmd binpath= c:\wowserver\realmd.exe type= own start= auto depend= "mangosd"

    Posted 2 years ago » Permalink

  9. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    also found this i tried it but isn't working with mangos
    http://www.tacktech.com/display.cfm?ttid=197

    Posted 2 years ago » Permalink

  10. Bryansthl

    Legend
    Joined: Dec '07
    Posts: 453

    Go in to the event veiwer and see what all errors your getting and discriptions.

    Posted 2 years ago » Permalink

  11. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    ok

    first error:
    Timeout (30000 milliseconds) waiting for the mangosd service to connect.
    windows help says
    Verify that the service is configured correctly. --> don't know
    Verify that the system is in a healthy state, for example, it is not running low on resources. no it isn't checked that also on another pc with plenty more resources
    i tried to load another program same way its tries to start the i see the interface of the program than i closes again. memory and stuff stays ok. so it must be the configuration??

    Review the error information displayed in the message.
    Verify that the service password has not expired. --> no all the right access
    Verify that the service is in the correct location. --> c:\wowserver\mangosd.exe yes is right
    Verify that the service is not infected with a virus.
    To display the WIN32_EXIT_CODE error that SCM encountered when trying to start the program, at the command prompt, type
    sc query service name
    The information displayed can help you troubleshoot possible causes for the error.
    If the WIN32_EXIT_CODE is zero, then SCM did not attempt to start the service because the error was detected first. --->

    The error code is zero!!!!

    anyone ideas(A) :D ?

    Posted 2 years ago » Permalink

  12. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    hi here i am again :D
    tried this know: http://support.microsoft.com/kb/137890
    it works with some other .exe files tried 2 so far.
    but mangosd and realmd don't seem to start. (service does start but mangosd and realmd not)
    Bryansthl have tried this one time?

    bye thanks already,
    Stefan Postma

    Posted 2 years ago » Permalink

  13. Bryansthl

    Legend
    Joined: Dec '07
    Posts: 453

    Did you try running it under the administrator's account? Are you running the server as a domain controller?

    Posted 2 years ago » Permalink

  14. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    yes tried running as an admin no it isn't a domain server

    Posted 2 years ago » Permalink

  15. Bryansthl

    Legend
    Joined: Dec '07
    Posts: 453

    Could you use regedit and show me the content and values that are in the realmd and mangosd services registry so I can see whats going on.

    Posted 2 years ago » Permalink

  16. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    hi thanks for your reaction :) you mean creating the service using the command prompt with sc.exe ? or using srvany and ad a key application?

    Posted 2 years ago » Permalink

  17. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    hmm nothing seems to work, i found out that microsoft doesn't want to run it wenn it thinks there might be a virus in it. i think thats te problem... pretty

    Posted 1 year ago » Permalink

  18. Bryansthl

    Legend
    Joined: Dec '07
    Posts: 453

    I found a post out at mangos project about running mangos as a service.
    From what I'm uderstanding in the post there is that some configuration changes need to be made to the mangos core to get it to run as a service.
    That also means that it needs to be compiled with those changes.

    Posted 1 year ago » Permalink

  19. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    hmmm ok but the source of the reaper mangos project isn't avaible is it??

    Posted 1 year ago » Permalink

  20. Bryansthl

    Legend
    Joined: Dec '07
    Posts: 453

    Mangos project is open source you can pull it down and modify it all you want you just have to compile it to run it. Reaper mangos is just a repack for thoughs who don't want to take the time to learn how to compile there selfs.

    Posted 1 year ago » Permalink

  21. Reaper-X

    The Reaper
    Joined: Feb '07
    Posts: 483

    you can try these if you want to set up mangos to be installed as windows service ;)

    note: copy paste from my post at http://www.reaper-x.com/2008/03/23/reaper-mangos-5472-easy-wow-private-server-for-world-of-warcraft-233/

    Set up Mangos as Windows Service:

    In order to set up mangos to run as service (windows), all you have to do is just :

    1. Open Command Prompt

    2. Change directory to where mangosd.exe and realmd.exe can be found (for example C:\ReaperMangos5472) by typing :

    cd C:\ReaperMangos5472

    or

    cd /d C:\ReaperMangos5472

    3. and then to install the realmd.exe and mangosd.exe as service, you need to type these:

    mangosd.exe -s install
    realmd.exe -s install

    to install it as windows service … or type …

    mangosd.exe -s uninstall
    realmd.exe -s uninstall

    to uninstall / remove it from windows service

    OR if you prefer a more direct way of doing it … you can type:

    C:\ReaperMangos5472\mangosd.exe -s install / -s uninstall

    directly without changing directory first

    Posted 1 year ago » Permalink

  22. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    a nice thanks gona try it right now :)

    Posted 1 year ago » Permalink

  23. jhauser

    Member
    Joined: Feb '08
    Posts: 6

    Works like a charm for both mangos and realmd executables!

    Posted 1 year ago » Permalink

  24. jhauser

    Member
    Joined: Feb '08
    Posts: 6

    Addendum to above statement...

    While setting them as a service will make them autorestart when your machine boots, once you log into the machine, if you log out the services will stop. It doesn't appear that you can make them continue if you log out but don't power off.

    Anyone see different behavior? I'm running this on a Win 2003 server.

    Posted 1 year ago » Permalink

  25. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    i think you doing something wrong goes services do never stop wenn you log off. i started this whole topic because i am using windows 2003 server. its works great. perhaps trying starting al over again, are u using the latest version of reaper mangos? its only works at 5472

    Posted 1 year ago » Permalink

  26. Demokritos

    Member
    Joined: Jul '08
    Posts: 23

    Hi ppl! just got curious I was trying out your tips on, setting mangos as a service, i did the command prompt syntax, i did see a confirmation installed sucessfully, the I restart my notebook to see if all works. wahhh! T_T It did not auto start and I check my services via MSCONIFG to verify and I didn't see any mangosd & realmd or anything similar running...

    my system is a win vista 32-bit, my mangos version is 6245_SD2_747, or as the post above me sayz, tis only applicable on 5472?and not newer versions?? (*sob...*)

    thx for the reponse ^_^ (*cheers*)

    Posted 1 year ago » Permalink

  27. avelmaris

    Regular
    Joined: Mar '08
    Posts: 107

    well heres the thing.
    since mangos takes so long to start up.
    the service thinks it can't start up.
    thats why realmd works, because it takes less than a second to start.
    mangos cant really work as a service.
    i also have vista
    i have realmd as a service.
    heres what i did.
    i opened a command prompt.
    did the command to get to where realmd is located. eg(cd C:/reaper)
    so now it says "C:/reaper"
    then i did "realmd.exe -s install"
    that installs it.
    then i go to services in the control panel.
    find the realmd service, (its named MaNGOS realmd service)
    i went to the properties of it
    i have it under automatic start(delayed)
    only because, i noticed its actually quicker and it actually works when its on delayed start.
    i have no idea why, but it does work.
    and mangos just takes to long to work as a service.
    so it wont work, at least on vista, i know that.

    i hoped this helped.

    Posted 1 year ago » Permalink

  28. stefanp

    Regular
    Joined: Mar '08
    Posts: 45

    hi i gona try the new release on windows 2003 soon older versions (from 5472) does work as a service ;) perhaps try starting mangos world server delayed and mangos realm server depend on world server ;)

    Posted 1 year ago » Permalink

  29. Remar

    Veteran
    Joined: Feb '08
    Posts: 347

    also remember MaNGOS is dependant upon SQL starting first

    Posted 1 year ago » Permalink

RSS feed for this topic

Reply

You must log in to post.

Topic Info

Tags

Computers

Hardware problem? Software? or just want to discuss about Computer Related stuff?

68 Topics – 389 Posts