DrLeandro Posted January 6, 2012 Report Share Posted January 6, 2012 This problem appear after move servers files from another computer. If you try to run the Start_as_program.exe and start_as_service.exe appears warning message "Unable to start apache server" or "unable to start mysql server" Detail: no erros in log file in apache or myql Apache and mysql dont start with Start_as_program.exe and start_as_service.exe BUT works property if started with batch files start_apache.bat and start_mysql.bat. I need any idea to debug this error. Thanks. Quote Link to comment Share on other sites More sharing options...
Yoni Posted January 7, 2012 Report Share Posted January 7, 2012 What OS did you move it into? Go to the .exe properties and make sure files are not locked. If they are, unlock them and try again. Quote <p class="bbc_center"><span style="font-size:12px;"><strong>Yoni</strong></span></p> Link to comment Share on other sites More sharing options...
DrLeandro Posted January 7, 2012 Author Report Share Posted January 7, 2012 What OS did you move it into? Go to the .exe properties and make sure files are not locked. If they are, unlock them and try again. Master, to systems is "Windows 7" and my user is administrator and I try to start with "run with administrator" Files isn't locked. Note: Start Apache and Start Mysql buttons are cliklable, but "Start Both" no clicklable Quote Link to comment Share on other sites More sharing options...
Yoni Posted January 7, 2012 Report Share Posted January 7, 2012 Master, to systems is "Windows 7" and my user is administrator and I try to start with "run with administrator" Files isn't locked. Note: Start Apache and Start Mysql buttons are cliklable, but "Start Both" no clicklablecan you please stop apache and mysql and try to run the run as service.exe Go to Event Viewer and tell us what error(s) you're getting. Quote <p class="bbc_center"><span style="font-size:12px;"><strong>Yoni</strong></span></p> Link to comment Share on other sites More sharing options...
DrLeandro Posted January 7, 2012 Author Report Share Posted January 7, 2012 can you please stop apache and mysql and try to run the run as service.exe Go to Event Viewer and tell us what error(s) you're getting. run_as_service.exe insn't clickable too. Quote Link to comment Share on other sites More sharing options...
Yoni Posted January 7, 2012 Report Share Posted January 7, 2012 run_as_service.exe insn't clickable too.I believe you have an instance of apache or mysql already running there that's why those options are disabled. Shutdown Uniserver completely, open task manager and ensure there is no mysql1.exe or httpd1.exe service or processes running. Then try again Quote <p class="bbc_center"><span style="font-size:12px;"><strong>Yoni</strong></span></p> Link to comment Share on other sites More sharing options...
DrLeandro Posted January 7, 2012 Author Report Share Posted January 7, 2012 I believe you have an instance of apache or mysql already running there that's why those options are disabled. Shutdown Uniserver completely, open task manager and ensure there is no mysql1.exe or httpd1.exe service or processes running. Then try again I try this and don't work. Another note: "clean" uniserver work's perfectly. My uniserver need run "cuteflow" (uses php+mysql). Quote Link to comment Share on other sites More sharing options...
Yoni Posted January 7, 2012 Report Share Posted January 7, 2012 I try this and don't work. Another note: "clean" uniserver work's perfectly.My uniserver need run "cuteflow" (uses php+mysql).I was able to reproduce something similar and it was related to what I just pointed out. Do you have another my.ini configuration in that machine? Have you stopped all services or instances of the application and restarted the server (computer) Quote <p class="bbc_center"><span style="font-size:12px;"><strong>Yoni</strong></span></p> Link to comment Share on other sites More sharing options...
DrLeandro Posted January 7, 2012 Author Report Share Posted January 7, 2012 I was able to reproduce something similar and it was related to what I just pointed out. Do you have another my.ini configuration in that machine? Have you stopped all services or instances of the application and restarted the server (computer) Hello, my system can be downloaded in http://www.4shared.com/zip/uatGA_WM/Contro...cessos2012.html Thanks for help. Quote Link to comment Share on other sites More sharing options...
BobS Posted January 10, 2012 Report Share Posted January 10, 2012 OKAY!The PRIMARY problem was that the UniServer\uni_con\config_tracker.ini file was out of sync with reality. It had your .exes still marked as installed as services (which was obviously false for my system). I suppose I could have run the batch files to install them as services, and then the Start_as_service.exe would have been in sync. I also reverted your change in UniServer\uni_con\includes\core_config_inc.vbs on line 124. I don't know if this actually was a problem, but why not keep it the same as the "standard"? With just these changes, the system came up with no problem. "Cute!" Regards,BobS PS. You probably should delete your 4shared copy.And change your MySQL password to something SECURE!! What you have is no better than "root". Quote Link to comment Share on other sites More sharing options...
BobS Posted January 10, 2012 Report Share Posted January 10, 2012 I noticed that you had SyncToy dat files. You might want to look at TreeComp for comparing and synchronizing directories. I've stopped using SyncToy in favor of it. See http://lploeger.home.xs4all.nl/TreeComp3.htmI use it extensively for checking what Ric has fixed from version to version. Regards,BobS Quote Link to comment Share on other sites More sharing options...
DrLeandro Posted January 10, 2012 Author Report Share Posted January 10, 2012 I forgot to mention SyncToy, I did not expecty that the problem was with it. I try Treecomp3. PS: I changed my passwords in 4shared zip especialy for this post. PS2: BobS: Please, send me the files that you changed. 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.