zmtelemetry.pl' exited abnormally, exit status 9

Forum for questions and support relating to the 1.29.x releases only.
Locked
GDixon
Posts: 9
Joined: Sun Jan 31, 2016 11:40 pm

zmtelemetry.pl' exited abnormally, exit status 9

Post by GDixon »

this is on 1.29 updated to the mar3rd updates

when i run zmfilter.pl as root in a ssh terminal I get this

Name "Net::SFTP::Foreign::debug" used only once: possible typo at /usr/bin/zmfilter.pl line 940.

How would one go about fixing this issue?

Greg
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: zmtelemetry.pl' exited abnormally, exit status 9

Post by knight-of-ni »

zmtelemetry.pl exited abnormally, exit status 9
Do the same thing you did with zmfilter.pl, run it as root from the command line. It will probably tell you the names of some newly required Perl modules, which you will need to install onto your system.
Name "Net::SFTP::Foreign::debug" used only once: possible typo at /usr/bin/zmfilter.pl line 940.
Known issue. It is a non-fatal warning message and has been there forever. Net::SFTP::Foreign does not have a debug module, which is why it is complaining. Uncheck UPLOAD_DEBUG under Options if you don't want to see the warning. It'll get fixed eventually.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
GDixon
Posts: 9
Joined: Sun Jan 31, 2016 11:40 pm

Re: zmtelemetry.pl' exited abnormally, exit status 9

Post by GDixon »

Thank you for the direction to go in.

I ran zmtelemetry.pl as sudo su and this is what I got back.

Can't locate Sys/MemInfo.pm in @INC (you may need to install the Sys::MemInfo module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/i386-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/bin/zmtelemetry.pl line 56.
BEGIN failed--compilation aborted at /usr/bin/zmtelemetry.pl line 56


is the above used to send the usage info back to zoneminder.com?
if so I would like to participate and get it to work.


upload_debug isn't checked and wasn't checked.


I am using ubuntu server 32 bit 15.10 and zoneminder 1.29 with the latest updates done as a apt-get dist-upgrade

I've tried to find Meminfo.pm to install as it looks like it's a module that pulls in the needed perl with no luck. I'm messing up and missing something obvious I'm thinking.

I have been having decent luck with everything running acceptable and stable until the last apt-get dist-upgrade
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: zmtelemetry.pl' exited abnormally, exit status 9

Post by knight-of-ni »

Welcome to the bleeding edge. Well, I'm glad you are willing to send info about your system to our telemetry server. We plan to use that to figure out what features are used the most, size of the average zoneminder system, etc. This will help determine what features to focus on in the future and help turn ZoneMinder into a better product.

I don't use Ubuntu, but here are the Redhat package names needed:
perl-IO-Socket-SSL
perl-Sys-CPU
perl-Sys-MemInfo

The names of the packages are going to be different in Debian-land. Just use Synaptic and search on some those words to find the equivalent packages. It will probably be like libperl-sys-cpu or something like that.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: zmtelemetry.pl' exited abnormally, exit status 9

Post by knight-of-ni »

Hey, so I finally got around to fixing that zmfilter warning:
https://github.com/ZoneMinder/ZoneMinder/pull/1323

Can you test this to make sure it works?
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
GDixon
Posts: 9
Joined: Sun Jan 31, 2016 11:40 pm

Re: zmtelemetry.pl' exited abnormally, exit status 9

Post by GDixon »

it got late here, I'll give it a try in the morning and if it doesn't quite work I will do a complete install to make sure.

Thank you for the clues :) and where to start. I would never have guessed the correct package names.

Hmmm my very first distro was redhat with kde, that was an awful long time ago, I think 14 yrs maybe 16.

Might give redhat server a try if I end up reinstalling fresh but first is to get ubuntu server working .

Greg
Locked