I notice in syslog messages.. Jun 14 12:56:03 mega systemd[1]: Reloading. Jun 14 12:56:04 mega systemd[1]: [/lib/systemd/system/zoneminder.service:11] Invalid executable path in command line, ignoring: ps aux | grep -q [z]mdc.pl && /usr/bin/zmpkg.pl stop Every time it Reloads there is an associated zoneminder message Not sure what is wrong there as the zmpkg.pl path seems valid.. # which zmpkg.pl /usr/bin/zmpkg.pl
Assignee: bugsquad => zen25000
(In reply to comment #0) > Every time it Reloads there is an associated zoneminder message Hi Claire, Thanks - is this on boot or shutdown, or when you manually start/stop the service? I don't see anything in my server logs here which is running mga2. However I rarely stop/start it. That line was a fix for another bug - maybe needs a re-think. I can't do much testing at the moment as my main system motherboard died a week ago. Expecting shiny new one today :) Barry
I had to check Barry, I'd forgotten this one. It seems to happen whenever systemd reloads, it's config I'm guessing. This was after testing net-snmp, I was removing it which caused systemd to reload. Jun 23 22:20:50 mega urpme: called with: net-snmp Jun 23 22:20:53 mega urpme: transaction on / (remove=3, install=0, upgrade=0) Jun 23 22:20:53 mega snmpd[32453]: Received TERM or STOP signal... shutting down... Jun 23 22:20:53 mega systemd[1]: Reloading. Jun 23 22:20:53 mega systemd[1]: [/lib/systemd/system/zoneminder.service:11] Invalid executable path in command line, ignoring: ps aux | grep -q [z]mdc.pl && /usr/bin/zmpkg.pl stop Jun 23 22:20:53 mega systemd[1]: Reloading. Jun 23 22:20:53 mega systemd[1]: [/lib/systemd/system/zoneminder.service:11] Invalid executable path in command line, ignoring: ps aux | grep -q [z]mdc.pl && /usr/bin/zmpkg.pl stop Jun 23 22:20:54 mega perl: [RPM] net-snmp-5.7.1-3.1.mga2.x86_64 removed Jun 23 22:20:54 mega perl: [RPM] net-snmp-utils-5.7.1-3.1.mga2.x86_64 removed Jun 23 22:20:55 mega perl: [RPM] perl-NetSNMP-5.7.1-3.1.mga2.x86_64 removed Jun 23 22:20:55 mega systemd[1]: Reloading. Jun 23 22:20:55 mega systemd[1]: [/lib/systemd/system/zoneminder.service:11] Invalid executable path in command line, ignoring: ps aux | grep -q [z]mdc.pl && /usr/bin/zmpkg.pl stop
It perhaps just needs /usr/bin/ps aux | /usr/bin/grep -q ... etc
(In reply to comment #3) > It perhaps just needs /usr/bin/ps aux | /usr/bin/grep -q ... etc Yep - spot on! Just tested on my server. I'll fix it and have another look at another (possibly related) issue before pushing an update. Thanks again, Barry
Hmm was not that easy so used a different approach. Update Advisory ############### zoneminder-1.25.0-10.1.mga2 is now in updates/testing This fixes this bug. Testing procedure: Install (preferably using urpmi as a root terminal is needed for next step) Follow the README.urpmi and run zmsetup Using a browser go to the URL given at the end of zmsetup and check that it is "Running" (top centre of screen). Open a terminal and run: tailf /var/log/syslog Open a second terminal and run: (while watching for errors in syslog on first terminal) su systemctl --system daemon-reload systemctl stop zoneminder.service systemctl start zoneminder.service There should be no errors in syslog.
Assignee: zen25000 => qa-bugs
Testing x86_64
Before ------ # systemctl --system daemon-reload systemd[1]: Reloading. systemd[1]: [/lib/systemd/system/zoneminder.service:11] Invalid executable path in command line, ignoring: ps aux | grep -q [z]mdc.pl && /usr/bin/zmpkg.pl stop # systemctl stop zoneminder.service zmdc[2466]: INF ['zmupdate.pl -c' stopping at 12/07/09 12:30:05] zmdc[2466]: INF [Can't find child with pid of '2470'] zmdc[2466]: INF ['zmfilter.pl ' exited, signal 14] zmdc[2466]: INF ['zmaudit.pl -c' exited, signal 14] zmdc[2466]: INF ['zmwatch.pl ' exited, signal 14] zmdc[2466]: INF ['zmupdate.pl -c' exited, signal 14] systemd[1]: zoneminder.service: main process exited, code=exited, status=9 zmc_dvideo0[2493]: INF [Got signal 15 (Terminated), exiting] zmc_dvideo0[2493]: INF [Got signal 15 (Terminated), exiting] systemd[1]: Unit zoneminder.service entered failed state. # systemctl start zoneminder.service Seems to start OK. After ----- Depcheck checked OK # systemctl --system daemon-reload systemd[1]: Reloading. # systemctl stop zoneminder.service zmpkg[14740]: INF [Command: stop] zmdc[14200]: INF ['zmwatch.pl ' stopping at 12/07/09 12:46:37] zmdc[14200]: INF [Can't find child with pid of '14204'] zmdc[14200]: INF ['zmwatch.pl ' exited, signal 14] zmdc[14200]: INF ['zmaudit.pl -c' stopping at 12/07/09 12:46:37] zmdc[14200]: INF ['zmaudit.pl -c' exited, signal 14] zmdc[14200]: INF ['zmfilter.pl ' stopping at 12/07/09 12:46:37] zmdc[14200]: INF ['zmfilter.pl ' exited, signal 14] zmdc[14200]: INF ['zmupdate.pl -c' stopping at 12/07/09 12:46:37] zmdc[14200]: INF ['zmupdate.pl -c' exited, signal 14] zmdc[14200]: INF ['zmc -d /dev/video0' stopping at 12/07/09 12:46:37] zmc_dvideo0[14229]: INF [Got signal 15 (Terminated), exiting] zmdc[14200]: INF ['zmc -d /dev/video0' exited normally] zmdc[14200]: INF [Server shutdown at 12/07/09 12:46:47] # systemctl start zoneminder.service Starts normally. Tested with saa7134 cctv card & camera and usb webcam all seems OK. Thanks Barry. Testing complete x86_64
Whiteboard: (none) => mga2-64-OK
Tested OK i586 with a webcam. Validating Advisory -------- This corrects an invalid executable path in the systemd service file which left error messages in syslog. -------- zoneminder-1.25.0-10.1.mga2.src.rpm Could sysadmin please push from core/updates_testing to core/updates Thanks!
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugsWhiteboard: mga2-64-OK => mga2-64-OK mga2-32-OK
Hardware: x86_64 => All
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0117
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED