Ryandor.com

Forums
It is currently Sat Jul 05, 2025 2:49 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 21 posts ] 
Author Message
PostPosted: Sat Nov 06, 2004 10:29 am 
Offline
Master
Master

Joined: Sun Aug 11, 2002 1:02 pm
Posts: 249
Location: Boredsville WI
is this possible i have windows server 2000

_________________
Woot New Sig!!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 06, 2004 12:33 pm 
Offline
Slayer of Fools
Slayer of Fools
User avatar

Joined: Tue Jul 02, 2002 4:54 pm
Posts: 1289
yes

_________________
This space for rent.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 06, 2004 8:29 pm 
can u teach me how?


Top
  
 
 Post subject:
PostPosted: Sun Nov 07, 2004 10:05 pm 
Offline
Master
Master

Joined: Sun Aug 11, 2002 1:02 pm
Posts: 249
Location: Boredsville WI
stormcrow could u please help me.

I cant figure out how to add a new service and make it runuo....

I've never played with services b4

_________________
Woot New Sig!!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 08, 2004 8:10 am 
Offline
Master
Master
User avatar

Joined: Sat Aug 09, 2003 11:11 pm
Posts: 205
Location: Taxachusetts
make it a windows service? like part of the system? how can that help runuo?

_________________
Shadow of the Void
http://24.147.205.228/mxBB/index.php


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 08, 2004 10:40 am 
Offline
Master
Master

Joined: Sun Aug 11, 2002 1:02 pm
Posts: 249
Location: Boredsville WI
wouldnt running it in the background be an advantage?

_________________
Woot New Sig!!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 08, 2004 5:11 pm 
Offline
Slayer of Fools
Slayer of Fools
User avatar

Joined: Tue Jul 02, 2002 4:54 pm
Posts: 1289
Hey Cold, I'm sorry.
RunUO 1.0 RC0 does not have the service anymore. It was removed.
I had used it in beta 36 but it didn't work so great anyway.
They don't seem to have much interest in fixing it.

_________________
This space for rent.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 08, 2004 9:43 pm 
Offline
Master
Master

Joined: Sun Aug 11, 2002 1:02 pm
Posts: 249
Location: Boredsville WI
well it would have been nice to not have to open the server all the time, just have it start when teh computer starts......but oh well i can manage

_________________
Woot New Sig!!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 08, 2004 10:12 pm 
Offline
Dread Pirate
Dread Pirate
User avatar

Joined: Sun Oct 12, 2003 11:28 pm
Posts: 759
Location: Denver, CO
you could just script a simple auto start or if you put a program in the start folder they will start on startup..

but to get it to start runuo maybe you could use a shortcut not sure worth i try i guess

_________________
http://ax-n.net Admin X's News and Resources


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 08, 2004 10:59 pm 
Offline
Slayer of Fools
Slayer of Fools
User avatar

Joined: Tue Jul 02, 2002 4:54 pm
Posts: 1289
The big advantage of running as a service for the people who are not getting it is: you do not need to be logged on for the service to run.
I know that may not seem like a big deal, but servers, unlike workstations are not supposed to be left logged on for security reasons. You want the programs the server is supposed to run, to be running.

Unfortunately with RUO this isn't useable at the time. Also I did run it with beta36 and it wasn't overly useful. I was hoping that they would have improved it by rc1 but I hadn't checked on it again til Coldfire asked (been too busy to be running a ruo server).

_________________
This space for rent.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 09, 2004 12:43 am 
Offline
Community Guy

Joined: Mon Jan 12, 2004 2:20 am
Posts: 205
Location: United States, MI
You can actually get programs other than services to run at startup ,without being logged in, using batch scripting. It tends to be kind of messy, but the net commands will let you do a lot in any NT based system. ( i.e. 2000,NT,XP)

The best way to do it is to create a user that doesn't necessarily log in, but has complete control over one service. For instance you can create a MYSQL user that's sole purpose is to control a MYSQL server. Although this would be redundant as MYSQL will run as a service anyway. You can find out more about scripting and the .NET in general by going to microsoft.com

Even thought I'm primarily a Linux guy, I have to admit that Microsoft is maknig a lot of leeway with .NET, in a way I kind of loath it, but I can see that it's actually making windows more "linux like". For those who are interested I have made a set of scripts which will actually allow you to run adduser deluser, and groupadd groupdel commands from the terminal emulator in cygwin.

I guess I could look into writing a tutorial on how to get a service to run as a user without actually having to log in. Would this prove usefull to everone?

_________________
Better Deader


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 09, 2004 1:39 am 
Offline
Slayer of Fools
Slayer of Fools
User avatar

Joined: Tue Jul 02, 2002 4:54 pm
Posts: 1289
Not exactly Naz. The reason those SQL users are created is for the context the service runs under. It isn't redundant, it's good security practice in the Active Directory environment that services run under a specific user account that does not have the rights to log on or access anything other than what it needs to do its job.

As far as running an application from scripts without actually logging on, it isn't possible.

_________________
This space for rent.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 10, 2004 7:08 pm 
Offline
Community Guy

Joined: Mon Jan 12, 2004 2:20 am
Posts: 205
Location: United States, MI
Your right stormcrow, well mostlly...

I got ahold of one of my friends and asked him if he remembered how we got servers that didn't install as services to run without logging on. It turns out we didn't, we had an actual service that ran that started up the programs for you. Now for the life of me I can't remember what the program was called. Auto something. At first I thought Auto Service, but if you look this up on google about all you find is information on car service places. I don't know why I didn't realize that was what I was gonna get before I ran the search...

The program wasn't very user friendly though, and that's why I remember the batch scripting part. Although, I can't quite remember whether it used actual batch scripts or if they where just very similair to batch scripts. In any case, the version I used at least, didn't come with any kind of nifty configurable console... You did actually have to script something that the service would pick up and then do what it was supposed to with it. It was pretty cool though, you could do a lot of nifty stuff with it. Like for instance, run the service on a server with ftp access, upload pictures to the ftp and have the service automatically take them out of the ftp directory and place them into the directory for the images on your website... or you could have it use something like ImageMagik (command line image editor) to edit images in a certain directory.

I guess I was just excited about being able to help. :oops:

SO... anyway, if anybody could find this program or knows anything remotley about it (IE the name, or the company who designed it) please let me know. I'd like to see if you could actually run RunUO with it. If so I'd deffenitly write a tutorial or provide scripts to get it working. Plus I'd like to have it for my own purposes. :D

_________________
Better Deader


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 10, 2004 7:08 pm 
Offline
Community Guy

Joined: Mon Jan 12, 2004 2:20 am
Posts: 205
Location: United States, MI
And actually, now that I think about it you where entirely write Stormcrow... Sorry I'm absent minded. :oops:

_________________
Better Deader


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 11, 2004 12:12 pm 
Offline
Slayer of Fools
Slayer of Fools
User avatar

Joined: Tue Jul 02, 2002 4:54 pm
Posts: 1289
Uhhhh....I remember seeing someone had a utility for hiding the console and making it autostart. Dunno, if it works with current version. Also dunno if it runs as a service itself or not. Check around RUO.com for it.

_________________
This space for rent.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 23, 2004 5:16 am 
Offline
Journeyman
Journeyman

Joined: Wed Aug 06, 2003 4:15 am
Posts: 75
Location: Larvik/Norway
have you ever tried firedamon http://www.firedaemon.com/ it runs as a service and in it you can create a service again for any prog that you have, i have used it for 2 years now and have not had one problem with it.

You really should try it out, works without using messy scripting etc.

_________________
Thrain
Beleriand


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 26, 2004 11:17 am 
Offline
Community Guy

Joined: Mon Jan 12, 2004 2:20 am
Posts: 205
Location: United States, MI
That is deffenitly very cool Thrain. Thanks for the link.

_________________
Better Deader


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 27, 2004 3:00 am 
Offline
Not your daddy
Not your daddy

Joined: Mon Nov 18, 2002 2:18 am
Posts: 1224
Location: Oregon State
Just brainstorming, I would think with windows 2k server you could go into computer managment/services, and add that RunU.exe in. I also use Windows 2000 server.. *hmm, in fact I believe I sent it to Coldfire.. and have been running a shard with it for few years. I am prety sure you could setup Win 2k server's settings to run the RunUO.exe at startup of windows.. shouldnt be much different than anything else.. like, a task manager system tray icon for a music program.. or a anti-virus program for that matter.

I might look into it, since it could be usefull to me too for remote desktop auto restarting from another comp, etc.

_________________
Forget what you know, know what you forget.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 27, 2004 3:10 am 
Offline
Journeyman
Journeyman

Joined: Wed Aug 06, 2003 4:15 am
Posts: 75
Location: Larvik/Norway
dian i think your right but with win2k3 wich i run with remote desktop i sometimes dont get logged on as the same user(get logged in twice) so i use task manager to take control of the old log in and close the new one. anyways what this means is that if you set it up the way you say then there would be 2 instances of the server one already running on the old one and one that starts up with the new login.

with Fire damon it runs as a system service that makes so there will always only be one running at anytime.

but there is a way to create your own services it just requires a large comand line thing that i cant remember.

_________________
Thrain
Beleriand


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 27, 2004 4:39 am 
Offline
Not your daddy
Not your daddy

Joined: Mon Nov 18, 2002 2:18 am
Posts: 1224
Location: Oregon State
I see what you mean, but I dont have that as a problem since I dont have multiple user accounts for login. Also, if the system gets rebooted, that would close any applications completly, so if it started as a service at Windows startup... would it matter what user logged in anyways?
I installed win 2k3 Server last year, but reformatted back to win 2k3 that same day. I didnt have the time to spend learning enough about it at the time, since I had web sites, and shard servers waiting to get back online. Maybe its time to put it back in.

_________________
Forget what you know, know what you forget.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 27, 2004 11:14 am 
Offline
Slayer of Fools
Slayer of Fools
User avatar

Joined: Tue Jul 02, 2002 4:54 pm
Posts: 1289
Dian wrote:
I see what you mean, but I dont have that as a problem since I dont have multiple user accounts for login. Also, if the system gets rebooted, that would close any applications completly, so if it started as a service at Windows startup... would it matter what user logged in anyways?
I installed win 2k3 Server last year, but reformatted back to win 2000 that same day. I didnt have the time to spend learning enough about it at the time, since I had web sites, and shard servers waiting to get back online. Maybe its time to put it back in.


That's the problem, getting it to run as a service. And yes, if it ran as a service it wouldn't matter which user logged in.

Once you get used to 2k3 you'll never want to go back. It is nowhere near as big a change as going from NT4 to 2k. It's mostly small improvements. It actually is the same core as 2k server.

_________________
This space for rent.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group