Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updatedevices.pl: <<Make:PERL>>: bad interpreter: No such file or directory #176

Open
diogoperdomo opened this issue Jul 29, 2022 · 2 comments

Comments

@diogoperdomo
Copy link

Hi !
I´m trying to use CLI to discover devices using the command below:

./updatedevices.pl -B 192.168.1.0/24 -I -c public
bash: ./updatedevices.pl: <<Make:PERL>>: bad interpreter: No such file or directory
Does anyone know what's going on?

----------------------------- Netdor/bin/updatedevices.pl ---------------------

#!<<Make:PERL>>
#
# updatedevices.pl - Update Netdot Devices
#
# This script retrieves SNMP information from one ore more devices
# and updates the Netdot database.  It can retrive basic device information
# as well as bridge forwarding tables and ARP caches. In addition, it can
# execute the topology discovery process.
#
use strict;
use lib "<<Make:LIB>>";
use Netdot::Model::Device;
use Netdot::Topology;
use Getopt::Long qw(:config no_ignore_case bundling);
use Log::Log4perl::Level;
...
@candlerb
Copy link
Collaborator

Yes: you didn't install Netdot. The installation process replaces these <<placeholders>> with correct values.

@diogoperdomo
Copy link
Author

Yes: you didn't install Netdot. The installation process replaces these <<placeholders>> with correct values.

Hi @candlerb . Thanks for your response!

I´m using a Docker (42wim/netdot) image to login with Admin user in web page.
I´m adding devices by especific IP and snmp version 2 public. The Netdot put all data in database very wel.

I think the NetDot is Installed atleast in WEB interface mode.
The problem appear in CLI mode by accessing Docker Image through terminals in linux.
So, I gona check better the images inside the 42wim/netdot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants