Dear guys,
getting this error when executing agent at HP-UX 11.31
dc1hbkp:/tmp# /opt/perl/bin/ocsinventory-agent
Unsuccessful stat on filename containing newline at /opt/perl_32/lib/site_perl/5.8.8/Ocsinventory/Agent/Backend.pm line 33.
dc1hbkp:/tmp#
I have extracted the part of /opt/perl_32/lib/site_perl/5.8.8/Ocsinventory/Agent/Backend.pm containing line 33
30
31 my $calling_namespace = caller(0);
32 chomp(my $binpath=`which $binary 2>/dev/null`);
33 return unless -x $binpath;
34 $self->{logger}->debug(" - $binary found");
35 1
36 },