wex-alpha Posted April 26, 2006 Report Share Posted April 26, 2006 I posted previously about thid problem. I am trying to make a Joomla release on the stick, but I am always hitting the same problem Nice Admin told me to look for previous posts concerning this issues, and I did... but without success. This is what I have done:This is my modified bat file: Name: Start Server File: Created By: The Uniform Server Development Team: Edited Last By: Olajide Olaolorun (empirex): Comment: After start, go to apanel directly.: To Developers: Implemented %www%, and %apanel% @echo off rem use: start mysql console - to start mysql at server start and display consolerem use: start mysql - to start mysql at server startrem use: start nomysql console - to display console diskw\home\admin\program\pskill.exe Apache.exeIF NOT ERRORLEVEL 1 goto startedset Disk=%1IF "%Disk%"=="" set Disk=wrem create the disksubst %Disk%: "diskw"IF ERRORLEVEL 1 goto hintset apachepath=\usr\local\apache2\set apacheit=%Disk%:%apachepath%bin\Apache.exe -f %apachepath%conf\httpd.conf -d %apachepath%.set programit=%Disk%:\home\admin\program\set closeit=%programit%close.bat %Disk% %Disk%:cd \usr\local\php // [color=red]erased IF "%2"=="mysql"[/color]start \usr\local\mysql\bin\mysqld-opt.exe --defaults-file=/usr/local/mysql/bin/my-small.cnfCLSecho The server is working on the disk %Disk%:\ [http/127.0.0.1/apanel/]set www=\www\set apanel=\home\admin\www\start %apanel%\redirect.htmlIF "%3"=="console" goto consolestart %programit%uniserv.exe "%apacheit%" "%closeit%"goto end:console%apacheit%%closeit%goto end:hintCLSecho The disk %Disk% is busy. Use 'Disk Start.vbs' [disk letter]goto pause:startedCLSecho ERROR!!! echo One of the instances of Apache server is started. Use Stop.bat:pauseecho .pause:end To mention I have changed redirect.html to go to http://localhost where resided Joomla. When I start that modified bat, localhost will not start... its just repeating to load, I think at that point mysql is not loaded at all. I went to http://localhost/apanel and manually clicked run mysql, after that localhost was able to start normally. Can anyone help me with this?This is irritating, I see the power of uniform server, and its right under my fingers, yet I cant useit damn mysql Thanks Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.