Thank you for the suggestions, Sriram, Ketan.

I checked both chkconfig and the init.d directory and neither recognized 
go-server either:

$ sudo chkconfig go-server --list
error reading information on service go-server: No such file or directory
$ sudo sh -c 'ls /etc/init.d/go-*'
ls: cannot access /etc/init.d/go-*: No such file or directory

I searched under /etc and found a few files related to GoCD:

$ sudo find /etc/ -name 'go-*'
/etc/default/go-server.pre-migration
/etc/default/go-server~
/etc/default/go-server.rpmnew
/etc/init/go-server.conf

I think the files in /etc/default are legacy files that are no longer used 
by GoCD, but the conf file in /etc/init looks legitimate. A bit more 
research and I confirmed that the go-server service on these servers is 
controlled via initctl (upstart) rather than by the service command:

$ initctl status go-server
go-server start/running, process 19196

Thank you again for the hints that got me moving in the right direction.

Regards,
Jason Smyth

On Sunday, 28 August 2022 at 05:16:11 UTC-4 [email protected] wrote:

> Try /etc/init.d/go-{server,agent} instead.
>
> On Sun, 28 Aug, 2022, 05:52 Jason Smyth, <[email protected]> wrote:
>
>> Hello everyone,
>>
>> We are running GoCD 19.8.0 on CentOS 6.10 (Final).
>>
>> On both the production and test server we are apparently unable to manage 
>> the GoCD server process. The documentation 
>> <https://docs.gocd.org/current/installation/install/server/linux.html#managing-the-gocd-server-process>
>>  says 
>> that we should use service go-server to interact with the GoCD server, 
>> but this returns an "unrecognized service" error on both machines.
>>
>> GoCD is up and running so presumably the system knows both that it is 
>> supposed to start the service and how to do so; I just can't figure out how 
>> to stop it so that I can do maintenance. Presumably I can reboot the server 
>> to restart the service, but I want to stop the service, not restart it.
>>
>> Any ideas on where we can go from here are greatly appreciated.
>>
>> Regards,
>> Jason Smyth
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "go-cd" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/ffbe8be2-4b54-4709-8772-5fd0009c6fd6n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/ffbe8be2-4b54-4709-8772-5fd0009c6fd6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/10ebf36a-e039-493a-a90a-1c469256688en%40googlegroups.com.

Reply via email to