stephen_r_miles Posted September 18, 2014 Report Share Posted September 18, 2014 I have setup Uniform Server Zero XI on a windows server to run an online application 24/7. Each time the server restarts I have to login for Uniform Server to start. Once login happens it automatically start but I would like it to start without having to login. Does anybody have any solutions for this? Thank you Quote Link to comment Share on other sites More sharing options...
Ric Posted September 24, 2014 Report Share Posted September 24, 2014 You can try the following to see if that helps:First check the services are set to automatic if not change them accordingly.If they are set to automatic. In an elevated command prompt type the following:sc config us_apache_1 start=delayed-autosc config uus_mysql_1 start=delayed-autoOther than that I have no idea.All the bestRic Quote Link to comment Share on other sites More sharing options...
stephen_r_miles Posted October 16, 2014 Author Report Share Posted October 16, 2014 Thank you for your response, sorry for the delay I have been working on other projects. I will try these and get back to you. Do I type them into the command prompt when I am in the same directory as UniController.exe? Quote Link to comment Share on other sites More sharing options...
curiouscrow Posted December 12, 2014 Report Share Posted December 12, 2014 I'm having the same issue (I think). I need Apache to start when the server starts with out having to log on.I'm running UniServer XI 11.4.1 on Win Server 2008 R2.I've tried starting the UniController as administrator and in compatibility mode (XP).The PC-Win Start up only starts when we log in. I tried (running command as administrator): sc config us_apache_1 start=delayed-auto sc config uus_mysql_1 start=delayed-autoBut the response is as if it did not even recognize the service names I also tired: C:\webroot\core\apache2\bin>httpd_z.exe -k install Installing the Apache2.4 service The Apache2.4 service is successfully installed. Testing httpd.conf.... Errors reported here must be corrected before the service can be started. [Fri Dec 12 12:10:15.732486 2014] [core:warn] [pid 1192:tid 280] AH00111: Config variable ${US_ROOTF} is not defined httpd_z.exe: Syntax error on line 44 of C:/webroot/core/apache2/conf/httpd.conf: ServerRoot must be a valid directoryHas anyone gotten this to start automatically after a reboot? Quote Link to comment Share on other sites More sharing options...
meows Posted January 17, 2015 Report Share Posted January 17, 2015 curiouscrowHas anyone gotten this to start automatically after a reboot? 23the question about starting apache and mysql at boot even before you log in, I have a success story, I figured it out for WIN7 I do not know about WIN8 though. I went to start windows help and typed in schedule task and made a advanced task, in win 7 there seems to be 2 types. basic and schedule . Anyway in the First Tab General click the option, at system start up. Then again in Triggers select at system start up. However this alone does not guarantee apache will fire at boot. you have to go to the general tab again and choose a new user to start apache.. and NETWORK will start any program that uses the NIC at system boot or reboot. Just make sure to add the parameters you need to restart apache -r, Now thats cleared up lets move on to the serious stuff that is really making me mad.. since I need SSL and Zero X is short on the information I need,Errors reported here must be corrected before the service can be started.[Fri Dec 12 12:10:15.732486 2014] [core:warn] [pid 1192:tid 280] AH00111: Config variable ${US_ROOTF} is not definedhttpd_z.exe: Syntax error on line 44 of C:/webroot/core/apache2/conf/httpd.conf: ServerRoot must be a valid directory Since I installed a certificate i get the same errors you are getting.. and search as I may I can't re-find the one post I saw years ago about the dam ${US_ROOT] crap. I say it's crap as it's a variable but a variable I can't find a way to change to what I need. Before the certificate I just loaded every file in the UniServerZ22 directory into Notepad++ and did a replace all opened files ${US_ROOT] to c:/UniServerZ22 and everything worked,. Now nothing will even start, no matter what I do. So I can't run ssl at all. SO here comes c:/UniServerZ23 so I can at least get a web site up. If any one knows how to harness ${US_ROOT] ${US_ROOTW and ${US_ROOT]SSL either how to re direct them or better yet how to remove them I would love it. I can't run mysql until i have some security in place for it. as for some reason everytime i start MySql my port watcher security shows china and the Ukraine is banging at my doors. Quote Link to comment Share on other sites More sharing options...
meows Posted January 18, 2015 Report Share Posted January 18, 2015 26wow what a trip'' I ran a new install of X and it went seamlessly. but prior i went into the registry and deleted every uniform server referance there was. Gosh the variables are working@! Getting excited again. going to go for the ssl. if it works I will report back on what I did so maybe it will help others, PS loaded the works. perl pear and so on.. I did put a lock on UniserverZ\home\us_opt1 and the other home directories by using a htpassword for each dir.. keeps everyone out. and the files work fine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.