Send Netdot-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."


Today's Topics:

   1. Multiple issues with install NetDot 1.0.7 (Roberto Greiner)


----------------------------------------------------------------------

Message: 1
Date: Wed, 4 May 2016 09:22:18 -0300
From: Roberto Greiner <[email protected]>
Subject: [Netdot-users] Multiple issues with install NetDot 1.0.7
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Hi,

I'm trying to install Netdot i a new server (I intend to migrate it from
a Debian 7 install), and got multiple issues with the installation in a
Debian 8 server.

First, when I run the 'make testdeps' command, it reports multiple
libraries missing. Fine. When I try to run 'make apt-install', among
others, it wants to install 'dnssec-tools', but there is no such package
in Debian 8. Installing manually the packages I found listed in
'bin/perldeps.pl', I found that 'libnet-dns-zonefile-fast-perl' did
satisfy the list requirement. So, I managed to proceed with the
installation with 'make testdeps' indicating that all dependencies where
satisfied.

Then, when I run 'make install APACHEUSER=www-data
APACHEGROUP=www-data', I get the following error:
install: ?pollstats.rrd? and ?/usr/local/netdot/var/pollstats.rrd? are
the same file
Makefile:16: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/usr/local/netdot/var'

I found a post from 2011
(http://osl.uoregon.edu/pipermail/netdot-users/2011-February/000592.html)
reporting this problem and how to solve it. 5 years and the error still
breaks the install?

Running 'make install 'again, more issues:
make[1]: Entering directory '/usr/local/netdot/htdocs'
make[1]: *** No rule to make target 'all'.  Stop.

The message is pertinent. There is no Makefile in htdocs. In line 64 of
the Makefile, I removed the entry indicating that htdocs should be
visited by make, and tried again. I got the same error in the next folder:
make[1]: Entering directory '/usr/local/netdot/lib'
make[1]: *** No rule to make target 'all'.  Stop.

Same problem, same procedure. Removed lib from 'Makefile', since the
entire folder holds nothing but  a few empty folders!?

'make install' again and now it goes through. Finished? No.

I run 'make installdb DB_DBA=<mysql_admin> DB_DBA_PASSWORD=<password>',
and get the following error:
Can't locate DBUTIL.pm in @INC (you may need to install the DBUTIL
module) (@INC contains: ../lib /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2
/usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20
/usr/local/lib/site_perl .) at initdb line 7.
BEGIN failed--compilation aborted at initdb line 7.
Makefile:22: recipe for target '_installdb' failed
make[1]: *** [_installdb] Error 2
make[1]: Leaving directory '/usr/local/netdot/bin'
Makefile:134: recipe for target 'installdb' failed
make: *** [installdb] Error 2

Searching in the web, I found out that DBUTIL.pm is a library from
netdot itself
(https://github.com/cvicente/Netdot/blob/master/lib/DBUTIL.pm), but it
is not in the .tar.gz file! As I reported a few lines above, the /lib
folder is completely empty, for but a few empty folders. I tried to copy
this library to /lib, but don't know where to put and how to register it
properly, so I'm unable to proceed.

Could somebody please help me with those issues?

Thank you,

Roberto Greiner

PS: install platform
Debian 8
All programs, except for netdot itself, are from Debian's apt system:
Apache 2.4
Mysql-server 5.5.49
Multiple libraries installed based on what is listed in bin/perldeps.pl



|||
|

-- 
  -----------------------------------------------------
                Marcos Roberto Greiner

   Os otimistas acham que estamos no melhor dos mundos
    Os pessimistas tem medo de que isto seja verdade
                                  James Branch Cabell
  -----------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20160504/64c143fc/attachment-0001.html
 

------------------------------

_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users


End of Netdot-users Digest, Vol 86, Issue 2
*******************************************

Reply via email to