Service won't start after changing configuration
After upgrading to youtrack 6, everything was working great, except previously YT was running on port 8085 not 8081, now it ran on 8081.
I followed the instructions on how to change the port, this led me to the configuration file which then said to run bin/youtrack configure –listen-port=8085
I ran this command, but after running the command the service no longer runs.
This is the log:
I followed the instructions on how to change the port, this led me to the configuration file which then said to run bin/youtrack configure –listen-port=8085
I ran this command, but after running the command the service no longer runs.
This is the log:
[2014-12-16 10:47:43,669] RollFileWriter [Info] Logging will be redirected to: C:\ProgramData\JetBrains\YouTrack\logs\service.log [2014-12-16 10:47:43,669] LOG [Info] Settings log level from the settings file: debug [2014-12-16 10:47:43,669] ServiceAction [Debug] ExecuteAction entered [2014-12-16 10:47:43,669] ServiceAction [Debug] Calling StartServiceCtrlDispatcher [2014-12-16 10:47:43,673] ServiceAction [Debug] Executing JetServiceMain [2014-12-16 10:47:43,673] ServiceMain [Debug] Executing JetServiceMain [2014-12-16 10:47:43,673] ServiceMain [Debug] RegisterServiceCtrlHandler completed [2014-12-16 10:47:43,673] ServiceStatus [Debug] Set status to: starting [2014-12-16 10:47:43,673] ThreadedServiceTask[Info] CallStartService [2014-12-16 10:47:43,673] ServiceStatus [Debug] Set status to: starting [2014-12-16 10:47:43,673] ThreadedServiceTask [Debug] Started service task thread [2014-12-16 10:47:43,673] ServiceStatus::Thread [Debug] Call SetServiceStatus called for: starting [2014-12-16 10:47:43,673] ThreadedServiceTask:Thread [Debug] Thread started [2014-12-16 10:47:43,673] FileServiceSettings [Debug] Loading service settings from C:\ProgramData\JetBrains\YouTrack\conf\internal\launcher.service.settings.xml [2014-12-16 10:47:43,674] FileServiceSettings [Debug] Loaded settings: <?xml version="1.0" encoding="utf-8"?> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- DO NOT CHANGE THIS FILE! ALL YOUR CHANGES WILL BE ELIMINATED AFTER AUTOMATIC UPGRADE. --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <jetservice> <name>youtrack</name> <displayName>YouTrack</displayName> <description>The Agile Issue Tracking and Project Tracking Tool</description> <service-logging file="C:\ProgramData\JetBrains\YouTrack\logs\service.log" level="debug"/> <execution> <workdir>..\..</workdir> <program>cmd.exe</program> <arguments>/c bin\youtrack.bat run from-service</arguments> <status-marker> <started>###-STARTED-f0SJK3P4wGKm6dOdWlouxGHLBO5Pogsbq27V7h9M-###</started> </status-marker> <termination timeout="6"> <execution> <workdir>..\..</workdir> <program>cmd.exe</program> <arguments>/c bin\youtrack.bat stop</arguments> </execution> </termination> </execution> </jetservice> [2014-12-16 10:47:43,674] FileTaskSettings [Info] Parsing service settings [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Relative paths are resolved with base path: C:\ProgramData\JetBrains\YouTrack\conf\internal\launcher.service.settings.xml [2014-12-16 10:47:43,674] File [Debug] Resolved base path: C:\ProgramData\JetBrains\YouTrack\conf\internal [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Program work dir from settings: ..\.. [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Resolved workdir path: C:\ProgramData\JetBrains\YouTrack [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Program to execute from settings: cmd.exe [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Resolved path to program: C:\Windows\system32\cmd.exe [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Program arguments from settings: /c bin\youtrack.bat run from-service [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Program stop timeout from settings: 6 [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Parsing timeout: 6 [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Parsed value: 6.000000 [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Program to execute from settings: cmd.exe [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Resolved path to program: C:\Windows\system32\cmd.exe [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Program work dir from settings: ..\.. [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Resolved workdir path: C:\ProgramData\JetBrains\YouTrack [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Program arguments from settings: /c bin\youtrack.bat stop [2014-12-16 10:47:43,674] FileTaskSettings [Debug] Service started marker: ###-STARTED-f0SJK3P4wGKm6dOdWlouxGHLBO5Pogsbq27V7h9M-### [2014-12-16 10:47:43,674] FileTaskSettings [Info] Program to execute: C:\Windows\system32\cmd.exe [2014-12-16 10:47:43,674] FileTaskSettings [Info] Program arguments: /c bin\youtrack.bat run from-service [2014-12-16 10:47:43,674] FileTaskSettings [Info] Program work dir: C:\ProgramData\JetBrains\YouTrack [2014-12-16 10:47:43,674] FileTaskSettings [Info] Program stop timeout: 360000 [2014-12-16 10:47:43,674] ServiceProcessCommand [Debug] starting process [2014-12-16 10:47:43,674] ServiceProcessCommand [Debug] stop wait timeout: 360000 [2014-12-16 10:47:43,674] ServiceProcessCommand [Debug] Will call stop command. Termination wait timeout is 360000 milliseconds. [2014-12-16 10:47:43,674] ProcessCommand [Debug] Starting process [2014-12-16 10:47:43,674] ProcessCommand [Debug] Starting process: "C:\Windows\system32\cmd.exe" /c bin\youtrack.bat run from-service (in C:\ProgramData\JetBrains\YouTrack) [2014-12-16 10:47:43,674] ProcessCommand [Debug] Starting process [2014-12-16 10:47:43,721] ProcessCommand [Info] Process exited with code: 1 [2014-12-16 10:47:43,802] console [Info] The system cannot find the path specified. [2014-12-16 10:47:43,802] PipeReader [Debug] PipeReader::~PipeReader => inheritor object is disposed! [2014-12-16 10:47:43,802] ServiceExecuteProcessTask [Error] Service process exited without service stop request [2014-12-16 10:47:43,802] ThreadedServiceTask:Thread [Debug] Task finished. Interrupted=false. [2014-12-16 10:47:43,803] ServiceStatus [Debug] Set status to: stopped [2014-12-16 10:47:43,803] ServiceStatus::Thread [Debug] Call SetServiceStatus called for: stopped [2014-12-16 10:47:43,803] ServiceStatus::Thread [Debug] Recieved final event. Thread exiting [2014-12-16 10:47:43,805] ServiceAction [Debug] Exit ExecuteAction [2014-12-16 10:47:43,805] JetServiceRunner [Debug] Exited with code 0
Please sign in to leave a comment.
Apologies for not responding earlier!
Did you follow this guide?
I think you ran 'listen-port' as a command, but this is the value that should be changed in bundle.properties file (and not run as command).
Thank you.