Hi Jose,
Thank you for your message.
I had followed the CentOS gist instructions when initially installing AtoM which was to install via yum, enable and start. If I run sudo systemctl status gearmand I get this below, which seems to indicate it is running ok (and always has been):
● gearmand.service - Gearmand distributed job system
Loaded: loaded (/usr/lib/systemd/system/gearmand.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2020-08-10 12:50:43 BST; 12min ago
Process: 26328 ExecStart=/usr/sbin/gearmand -d $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 26329 (gearmand)
CGroup: /system.slice/gearmand.service
└─26329 /usr/sbin/gearmand -d
Aug 10 12:50:43 specialcollections systemd[1]: Starting Gearmand distributed job system...
Aug 10 12:50:43 specialcollections systemd[1]: Started Gearmand distributed job system.
I've also read through the link you sent, and I've checked that
config/gearman.yml is setup correctly. It's pointing to the default
127.0.0.1:4730. I also ran
gearmand -p 4730 just to be sure it was indeed operating on that port still. After this I restarted
gearmand followed by the
reset-failed and restart on the
atom-worker, but the status still remains:
● atom-worker.service - AtoM worker
Loaded: loaded (/usr/lib/systemd/system/atom-worker.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2020-08-10 12:55:15 BST; 13min ago
Process: 26389 ExecStart=/opt/rh/rh-php70/root/bin/php -d memory_limit=-1 -d error_reporting="E_ALL" symfony jobs:worker (code=exited, status=1/FAILURE)
Main PID: 26389 (code=exited, status=1/FAILURE)
Aug 10 12:55:12 specialcollections systemd[1]: Started AtoM worker.
Aug 10 12:55:15 specialcollections php[26389]: Couldn't connect to any available servers
Aug 10 12:55:15 specialcollections systemd[1]: atom-worker.service: main process exited, code=exited, status=1/FAILURE
Aug 10 12:55:15 specialcollections systemd[1]: Unit atom-worker.service entered failed state.
Aug 10 12:55:15 specialcollections systemd[1]: atom-worker.service failed.
Thanks for reminding me about executing symfony, Dan had mentioned this to me in an earlier post of mine.
Any ideas what I should try next? systemctl reports gearmand is running properly, but is there a gearmand command I can run so it can tell me it is running ok, and on which port etc? (Google wasn't any help)
Many thanks again,
Stephen