A period of time in order to facilitate project management, in their own company's server set up a Bitnami Redmine, and then take a week off travel, come back but found Redmine not used!!!
So immediately began to locate the problem, first, open the manager, found manage servers inside all the services are gone, and then check Apache, MySQL, and so on, confirm that the directory structure is not damaged, the service can start normally, no clue, Internet God, the following solution:
(To confirm, my Redmine installation directory is d:/redmine/)
1. Locate the following script in the serviceinstall.bat file in the D:\redmine\apache2\scripts directory
"D:/redmine/apache2\bin\httpd.exe"-K install-n "Redmineapache"-F "d:/redmine/apache2\conf\httpd.conf"
Executes under CMD.
2. Locate the following script in the serviceinstall.bat file in the D:\redmine\mysql\scripts directory
"D:\redmine/mysql\bin\mysqld.exe"--install "Redminemysql"--defaults-file= "D:\redmine/mysql\my.ini"
Executes under CMD.
3. Locate the following script in the serviceinstall.bat file in the D:\redmine\subversion\scripts directory
"D:\redmine/subversion\scripts\winserv.exe" Install Redminesubversion-displayname "redminesubversion"-start Auto "D : \redmine/subversion\bin\svnserve.exe "-D--listen-port=3699
Executes under CMD.
4. Locate the following script in the serviceinstall.bat file in the D:\redmine\apps\redmine\scripts directory
"D:\redmine/apps/redmine\scripts\winserv.exe" Install "redmineThin1"-start Auto "D:\redmine\ruby\bin\ruby.exe" "d:\ Redmine/apps/redmine\htdocs\bin\thin "Start-p 3001-e production-c" D:\redmine/apps/redmine/htdocs "-a 127.0.0.1-- Prefix/redmine
"D:\redmine/apps/redmine\scripts\winserv.exe" Install "redmineThin2"-start Auto "D:\redmine\ruby\bin\ruby.exe" "d:\ Redmine/apps/redmine\htdocs\bin\thin "Start-p 3002-e production-c" D:\redmine/apps/redmine/htdocs "-a 127.0.0.1-- Prefix/redmine
Executes under CMD.
When the script is executed as above, opening the manager again will reveal that the original five services have appeared again, testing redmine from the browser, indicating that it is available.
Bitnami Redmine All Services lost repair method