Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ PennMUSH ➜ Running the server ➜ Windows XP - Can't start PennMUSH as service

Windows XP - Can't start PennMUSH as service

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1 2  

Posted by SirBruce   (1 post)  Bio
Date Sat 23 Aug 2003 11:23 PM (UTC)
Message
I used to run Windows 98 and it worked fine.

I tried running PennMUSH under Windows NT, though, and it tells me it can't run as a service, so it runs locally. I can connect to it locally, but remote users cannot.

I am an administrator, so I should be able to start services.

I downloaded a new NT version of PennMUSH but I get the same error.

Help!

Bruce
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 24 Aug 2003 05:24 AM (UTC)
Message
You have two separate problems here. I would solve them one by one.

1. You can't start a service.

2. Others can't connect.

For 1 - check that under the User Rights policy in the User Manager you have the right to Log On As A Service.

For 2 - what else have you changed? Are you giving them your external IP address? Is there a firewall? NAT router? There have been other posts about this subject recently.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Jim Mc Quim   (11 posts)  Bio
Date Reply #2 on Sun 11 Jan 2004 03:59 PM (UTC)
Message
I'm getting similar problems when I try to run on XP, and, again, I'm the only one using the PC, as an admin. And, yes, it worked fine on '98 back when I had that, but now it cannot start as service and so doesn't accept external connections. It's not a firewalling issue, since all the firewalls there are disabled and I've tried in on quite a few ports.

Quote: Help!
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 12 Jan 2004 01:21 AM (UTC)
Message
I didn't think it would work under 98 because it doesn't support services.

What is the error message you get, if any? Do you run something like this:

pennmush /install


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Jim Mc Quim   (11 posts)  Bio
Date Reply #4 on Mon 12 Jan 2004 02:42 PM (UTC)
Message
From start -> run, just the exe (no parameters):

Attempting to start PennMUSH as a service ...
Unable to start service, assuming running console-mode application.
You can save time on the next invocation by specifying: pennmush /run
Redirecting output to: log\game.log

There's usually quite a wait between the first line and those following it.

Using /start parameter flashes up a window briefly, but it's too quick to read. The same with /install.... if you really need the messages I've got screen capture around somewhere.

Last night, after fiddling around with the local security policy (allowing local and network access to start as service), I somehow ended up with no delay between the first line and the rest, which I then managed to get back by manually starting Telnet as a service.... I can't see anything about servers in my ISP's AUP, are there tests I can run to narrow the problem down? As said, it used to run fine on '98, so I doubt it's the ISP and more likely the OS.

Thankyou in advance.

Quote: Quote: Help!

:P
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #5 on Mon 12 Jan 2004 09:13 PM (UTC)

Amended on Mon 12 Jan 2004 09:14 PM (UTC) by Nick Gammon

Message
Ah, I see what is happening. For a start, I would run it under a console window so you can see the error messages. The pennmush.exe is not intended to be run double-clicked, for this reason.

To start a console window, go to: Start -> Run and type "cmd" (or under Windows 95/98/ME type "command").

First I would type:

pennmush /run

and see if there are any error messages (eg. can't load config file)

If that works OK, then shut the MUSH down and install it as a service:

pennmush /install

Then you can start it:

pennmush /start

Here is an example:


F:\pennmush\game>pennmush /install
Service successfully installed

F:\pennmush\game>pennmush /status
The service is not running.

F:\pennmush\game>pennmush /start
Start request sent to service

F:\pennmush\game>pennmush /status
The service is running.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Jim Mc Quim   (11 posts)  Bio
Date Reply #6 on Tue 13 Jan 2004 03:13 PM (UTC)
Message
[mono]D:\Games\MUSH\pennmushNT\pennmush\game>pennmush /start
Start request sent to service

D:\Games\MUSH\pennmushNT\pennmush\game>pennmush /status
The service is not running.[/mono]

Seems to be an unwanted not there.... :P It was already installed so I removed, restarted, and re-installed.... still nothing.

Also, by trying to run it manually from the services dialogue under the control panel, I get an "Error 1067: The process terminated unexpectedly".... things aren't looking good, thinks me.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #7 on Wed 14 Jan 2004 02:36 AM (UTC)
Message
If you do:

pennmush /run

Does it start (and keep running) or does it terminate?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Jim Mc Quim   (11 posts)  Bio
Date Reply #8 on Wed 14 Jan 2004 03:14 PM (UTC)
Message
Just says "Redirecting output to: log\game.log", then runs.... I can get into it locally, but it seems external conns still can't happen.... no termination (unless, of course, you click the little X.... :P).
Top

Posted by Jim Mc Quim   (11 posts)  Bio
Date Reply #9 on Wed 14 Jan 2004 04:42 PM (UTC)
Message
Ok, wierdness, that.... MUSH connectivity checker that was there in the other post (moosh.net) says that my MUSH is running, and yet people can't connect when I give them the IP and port.... also tried with TinyMUX, and the same, they can't connect but it says it's up.... what's with that?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #10 on Wed 14 Jan 2004 05:10 PM (UTC)
Message
That sounds like a firewall issue to me. Either you have one on your local computer (Windows XP has a built-in firewall for instance), or you have one on your local network somewhere (if you have one), or you have a router that has one (possible if you are using ADSL for instance.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #11 on Thu 15 Jan 2004 05:46 AM (UTC)
Message
What ip address are you trying to run the mush on? Port number isnt important at this point, just the ip address.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Jim Mc Quim   (11 posts)  Bio
Date Reply #12 on Thu 15 Jan 2004 02:45 PM (UTC)
Message
Grue, I'm on ADSL.... there's no way around that? And I know it's not the XP firewall, 'cause I killed that.... but we've had ADSL longer than XP, and I remember it working on XP.... I think.... not sure, I'll find the logs....

My (current) IP's 80.46.213.235, but that changes every time I sign on....
Top

Posted by Jim Mc Quim   (11 posts)  Bio
Date Reply #13 on Thu 15 Jan 2004 02:52 PM (UTC)
Message
Ok, yep, I had it working on XP, that was back when I was playing around with the firewall and found out you had to disable it to allow external conns....
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #14 on Thu 15 Jan 2004 07:56 PM (UTC)
Message
Do you mean, you had it working on 98? That is what your original post said.

It seems likely that if you can connect locally that there is indeed a firewall issue at work, assuming you established your correct IP address.

One possibility is that your ISP is also blocking incoming connections, perhaps your user agreement does not permit running servers?

An interesting thing to do would be to try running a MUSHclient chat server temporarily, to see if you can get incoming connections working with a different program. You can configure that chat port (eg. make it 4000), and then get a friend to try establishing a chat connection.

If that doesn't work either, it rules out the issue of the service, or PennMUSH as such.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


58,665 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.