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. Re: new install netdot 1.07 (Stefan Deling)


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

Message: 1
Date: Fri, 22 Apr 2016 10:21:50 +0200
From: Stefan Deling <[email protected]>
Subject: Re: [Netdot-users] new install netdot 1.07
To: Kristof Van Doorsselaere <[email protected]>,
        "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Great to hear that!

Whoops - copy&paste error. Sorry for that.

Maybe you should open a bug report.

Cheers,

Stefan

Am 22.04.16 um 09:43 schrieb Kristof Van Doorsselaere:
> Stefan,
>
> Thanks a lot, I think something went wrong creating the file you 
> attached, the netdot.rtf contains 2 times your netdot.conf, with some 
> terminal command in between.
>
> Anyway, I modified your file (had to replace /data by /usr/local) and 
> tried it, I was very surprised apache started without any issues.
>
> So I did some further investigation, there were indeed some white 
> spaces diffs, but these didn?t make the difference in starting apache. 
> I tested all diffs 1 by one, and the diff that finally made apache2 
> start was:
>
> PerlModule Apache::LogSTDERR
>  HookStderr logs/stderr_log
>
> inside the <perl> ? </perl> section
>
> Thanks a lot!
>
> Kristof Van Doorsselaere
> hoofdmedewerker server- en netwerkbeheer
> ----------------------------------
>
>
> Hogeschool Gent
> Directie Financi?n en ICT
> Valentin Vaerwijckweg 1
> BE-9000 Gent
> T +32 9 243 35 20
> HoGent.be
>
> From: Stefan Deling <[email protected] 
> <mailto:[email protected]>>
> Date: Thursday 21 April 2016 at 16:03
> To: Kristof Van Doorsselaere <[email protected] 
> <mailto:[email protected]>>, 
> "[email protected] <mailto:[email protected]>" 
> <[email protected] <mailto:[email protected]>>
> Subject: Re: [Netdot-users] new install netdot 1.07
>
> Kristof,
>
> please check the attached file and give me some feedback.
>
> --Stefan
>
> Am 21.04.16 um 15:59 schrieb Kristof Van Doorsselaere:
>> Stefan,
>>
>> Thanks for your reply, can you send me the full netdot.conf, the top 
>> part of the file was missing in your email (if you could send it as 
>> attachment, that would be great).
>>
>> based on the apachectl configtest output , the netdot.conf syntax 
>> looks ok
>>
>>     /root@netdot-new:/etc/apache2/sites-available# apachectl configtest/
>>
>>     /Syntax OK/
>>
>>
>> Kristof Van Doorsselaere
>> hoofdmedewerker server- en netwerkbeheer
>> ----------------------------------
>>
>>
>> Hogeschool Gent
>> Directie Financi?n en ICT
>> Valentin Vaerwijckweg 1
>> BE-9000 Gent
>> T +32 9 243 35 20
>> HoGent.be
>>
>> From: <[email protected]> on behalf of Stefan 
>> Deling <[email protected] <mailto:[email protected]>>
>> Date: Thursday 21 April 2016 at 08:55
>> To: "[email protected]" <[email protected] 
>> <mailto:[email protected]>>
>> Subject: Re: [Netdot-users] new install netdot 1.07
>>
>> Hallo Kristof,
>>
>> I had similar trouble with my first installation on debian 8.2 
>> "jessie". I had a typo or newline issue in the apache/netdot.conf
>>
>> Mine looks now like this:
>>
>>     use Netdot::Mason;
>>
>>     # Override SiteControl's login method
>>     use Netdot::SiteControlLoginWrapper;
>>     </Perl>
>>
>>
>>     # If you would like to put netdot somewhere other than ``/netdot''
>>     # just change this alias, the location of the login target
>>     # (i.e. /netdot/NetdotLogin), and the variable NetdotPath below.
>>     Alias /netdot "/data/netdot/htdocs/"
>>
>>     # Force UTF8
>>     PerlSetVar MasonPreamble "use utf8;"
>>     AddDefaultCharset utf-8
>>
>>     # Set the path that will be protected.
>>     #
>>     # *NOTE* This variable is used to determine absolute paths where
>>     # needed in the netdot pages.  The Netdot corresponds to AuthName
>>     # Netdot below.  If you want to change the AuthName you will still
>>     # need this variable as the Mason code assumes you didn't change the
>>     # AuthName.
>>     PerlSetVar NetdotPath "/netdot/"
>>
>>     # Indicate the path to the login page. Be careful, HTML::Mason can
>>     # interfere with proper handling...make sure you know your
>>     dependencies.
>>     # See samples and Apache::AuthCookie for more information.
>>     PerlSetVar NetdotLoginScript /netdot/login.html
>>
>>     # See Apache::AuthCookie for descriptions of these.
>>     #
>>     # A general note about these Netdot variables: Some are accessed when
>>     # a user requests a page and others are accessed when a user attempts
>>     # to login.  In our setup the login target (NetdotLogin) is in the
>>     # same apache scope as the netdot pages (/netdot) and these variables
>>     # are specified at the global scope so there isn't an issue, but if
>>     # you decide to move them inside a Directory, Files, or Location
>>     block
>>     # and move the login target be sure that you put the right variables
>>     # in the right places (hint: you will probably have to read the
>>     # AuthCookie code as it is not clear from the docs, if you don't want
>>     # any duplicates).  The same probably goes for the SiteControl and
>>     # other non prefixed variables, but since they don't have prefixes it
>>     # would be inconsiderate to put them at the top level (pollute the
>>     # global name space), and so if you move the login target be sure to
>>     # duplicate any relevant variables (again, it might not be obvious
>>     # which).
>>
>>     # If this is set you wont be able to use unqualified hostnames and
>>     # rely on DNS to supply the domain. DNS will supply the domain no
>>     # doubt, but the browser doesn't see it so the cookie will be
>>     invalid.
>>     # Also, a hostname isn't valid here.
>>     #PerlSetVar NetdotDomain .uoregon.edu
>>     PerlSetVar NetdotCache 1
>>
>>     # We change the value of NetdotExpires dynamically to implement both
>>     # temporary and permanent sessions. NetdotTemporySessionExpires
>>     # specifies the length of the tempory sessions, i.e. it
>>     corresponds to
>>     # NetdotExpires in a typical AuthCookie setup.
>>     PerlSetVar NetdotTemporarySessionExpires +2h
>>
>>     # Apache 2.4 Authorization
>>     PerlAddAuthzProvider user Apache2::SiteControl->authz_handler
>>
>>     <Directory /data/netdot/htdocs/>
>>        # Other applications may have attempted to override how .html
>>     files are
>>        # interpreted.  We need to reset this so that HTML::Mason can
>>     work
>>        # correctly.
>>        AddType text/html .html
>>
>>        # Defaults: everything is protected and handled by mason
>>        SetHandler perl-script
>>        PerlHandler Netdot::Mason
>>        AuthType Apache2::SiteControl
>>        AuthName Netdot
>>        Require valid-user
>>
>>        # Prevent mason from handling css and javascript
>>        <FilesMatch (\.css|\.js)$>
>>            SetHandler default-handler
>>        </FilesMatch>
>>
>>        # Allow access to the css and and title image so the login page
>>        # displays correctly.
>>        <FilesMatch (\.css|title\.png)$>
>>            Require all granted
>>        </FilesMatch>
>>
>>        <Files login.html>
>>            Require all granted
>>        </Files>
>>
>>        <Files NetdotLogin>
>>            Require all granted
>>            PerlHandler Netdot::SiteControlLoginWrapper->login
>>        </Files>
>>
>>        # Use Local authentication
>>        PerlSetVar SiteControlMethod Netdot::AuthLocal
>>
>>        # Turn on debugging
>>        PerlSetVar AccessControllerDebug 1
>>        PerlSetVar AuthCookieDebug 1
>>        PerlSetVar SiteControlDebug 1
>>
>>        # Configure the factories. See SiteControl::UserFactory and
>>        # SiteControl::ManagerFactory
>>        PerlSetVar SiteControlManagerFactory
>>     Netdot::NetdotPermissionFactory
>>
>>        # Configure the location of the session data on server disks
>>        # NOTE: apache should have read/write access to these locations.
>>        PerlSetVar SiteControlSessions /data/netdot/tmp/sessions
>>        PerlSetVar SiteControlLocks /data/netdot/tmp/sessions/locks
>>
>>        # Tell mod_perl that you want this module to control access:
>>        PerlAuthenHandler Apache2::SiteControl->authenticate
>>
>>        # See Apache2::SiteControl::UserFactory.  There are more
>>     variables,
>>        # but this seems to be the only one which makess SiteControl
>>     insult
>>        # you in the logs :P
>>        PerlSetVar UserObjectPasswordKey "Netdot gets the last laugh"
>>     </Directory>
>>
>>
>> Kind regards
>>
>> Stefan Deling
>>
>>
>> Am 20.04.16 um 15:47 schrieb Kristof Van Doorsselaere:
>>> Hello,
>>>
>>> We are currently running netdot 1.07 on a physical server (cents 
>>> 6.6). Because this server is out of warranty I have to migrate the 
>>> netdot setup to a new machine (vm).
>>>
>>> So far I tried centos 7.2 and debian 8.4, but on both platforms I 
>>> run into trouble, can anyone help?
>>>
>>> On Debian 8.4
>>> ?> all but 1 dependencies are installing via make apt-install , for 
>>> 1 dependency the package name has changed:
>>>
>>>     /root@netdot-new:/root/packages/netdot/1.0.7# apt-get install
>>>     dnssec-tools /
>>>
>>>     /Reading package lists... Done/
>>>
>>>     /Building dependency tree /
>>>
>>>     /Reading state information... Done/
>>>
>>>     /Package dnssec-tools is not available, but is referred to by
>>>     another package./
>>>
>>>     /This may mean that the package is missing, has been obsoleted, or/
>>>
>>>     /is only available from another source/
>>>
>>>     /However the following packages replace it:/
>>>
>>>     /libnet-dns-zonefile-fast-perl/
>>>
>>>     /
>>>     /
>>>
>>>     /E: Package 'dnssec-tools' has no installation candidate/
>>>
>>>     /root@netdot-new:/root/packages/netdot/1.0.7# /
>>>
>>>
>>> Once everything is installed, and the (exported) DB is imported, and 
>>> apache cfg is done (I?m using the netdot_apache24_local.conf), 
>>> apache 2.4.10  refuses to start, No errors are logged. I tried to 
>>> debug this startup issue, and it seems that when I comment: use 
>>> Netdot::Mason; apache starts without issues. So something goes wrong 
>>> while loading the netdot::Mason perl module, enabling debugging 
>>> results in:
>>>
>>>     /root@netdot-new:/root/packages/netdot/1.0.7# apache2ctl -k
>>>     start -X -e debug/
>>>
>>>     /[Wed Apr 20 15:43:52.433473 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module access_compat_module from
>>>     /usr/lib/apache2/modules/mod_access_compat.so/
>>>
>>>     /[Wed Apr 20 15:43:52.433605 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module alias_module from
>>>     /usr/lib/apache2/modules/mod_alias.so/
>>>
>>>     /[Wed Apr 20 15:43:52.433741 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module apreq_module from
>>>     /usr/lib/apache2/modules/mod_apreq2.so/
>>>
>>>     /[Wed Apr 20 15:43:52.433841 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module auth_basic_module from
>>>     /usr/lib/apache2/modules/mod_auth_basic.so/
>>>
>>>     /[Wed Apr 20 15:43:52.433909 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module authn_core_module from
>>>     /usr/lib/apache2/modules/mod_authn_core.so/
>>>
>>>     /[Wed Apr 20 15:43:52.433973 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module authn_file_module from
>>>     /usr/lib/apache2/modules/mod_authn_file.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434057 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module authz_core_module from
>>>     /usr/lib/apache2/modules/mod_authz_core.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434152 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module authz_host_module from
>>>     /usr/lib/apache2/modules/mod_authz_host.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434220 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module authz_user_module from
>>>     /usr/lib/apache2/modules/mod_authz_user.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434305 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module autoindex_module from
>>>     /usr/lib/apache2/modules/mod_autoindex.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434461 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module deflate_module from
>>>     /usr/lib/apache2/modules/mod_deflate.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434537 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module dir_module from
>>>     /usr/lib/apache2/modules/mod_dir.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434612 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module env_module from
>>>     /usr/lib/apache2/modules/mod_env.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434707 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module filter_module from
>>>     /usr/lib/apache2/modules/mod_filter.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434784 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module mime_module from
>>>     /usr/lib/apache2/modules/mod_mime.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434887 2016] [so:debug] [pid 20402]
>>>     mod_so.c(266): AH01575: loaded module mpm_event_module from
>>>     /usr/lib/apache2/modules/mod_mpm_event.so/
>>>
>>>     /[Wed Apr 20 15:43:52.434975 2016] [so:debug] [pid 20402:tid
>>>     139902927501184] mod_so.c(266): AH01575: loaded module
>>>     negotiation_module from /usr/lib/apache2/modules/mod_negotiation.so/
>>>
>>>     /[Wed Apr 20 15:43:52.436071 2016] [so:debug] [pid 20402:tid
>>>     139902927501184] mod_so.c(266): AH01575: loaded module
>>>     perl_module from /usr/lib/apache2/modules/mod_perl.so/
>>>
>>>     /[Wed Apr 20 15:43:52.436186 2016] [so:debug] [pid 20402:tid
>>>     139902927501184] mod_so.c(266): AH01575: loaded module
>>>     setenvif_module from /usr/lib/apache2/modules/mod_setenvif.so/
>>>
>>>     /[Wed Apr 20 15:43:52.436281 2016] [so:debug] [pid 20402:tid
>>>     139902927501184] mod_so.c(266): AH01575: loaded module
>>>     status_module from /usr/lib/apache2/modules/mod_status.so/
>>>
>>>     /Segmentation fault/
>>>
>>>     /Action '-k start -X -e debug' failed./
>>>
>>>     /The Apache error log may have more information./
>>>
>>>     /root@netdot-new:/root/packages/netdot/1.0.7# /
>>>
>>>
>>>
>>> On centos 7.2
>>> ?> only half of the dependencies are installing via make rpm-install
>>> ?> all but 1 dependency are installing via make installdeps
>>>
>>> for some reason I can?t get Net::DNS::ZoneFile::Fast installed on 
>>> Centos 7.2, when I try to install this module via cpanm, I?m getting 
>>> this error:
>>>
>>>
>>>     /cpanm (App::cpanminus) 1.6922 on perl 5.016003 built for
>>>     x86_64-linux-thread-multi/
>>>
>>>     /Work directory is /root/.cpanm/work/1461153485.8990/
>>>
>>>     /You have make /usr/bin/make/
>>>
>>>     /You have LWP 6.05/
>>>
>>>     /You have /usr/bin/tar: tar (GNU tar) 1.26/
>>>
>>>     /Copyright (C) 2011 Free Software Foundation, Inc./
>>>
>>>     /License GPLv3+: GNU GPL version 3 or later
>>>     <http://gnu.org/licenses/gpl.html>./
>>>
>>>     /This is free software: you are free to change and redistribute it./
>>>
>>>     /There is NO WARRANTY, to the extent permitted by law./
>>>
>>>     /
>>>     /
>>>
>>>     /Written by John Gilmore and Jay Fenlason./
>>>
>>>     /You have /usr/bin/unzip/
>>>
>>>     /Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (7.12)/
>>>
>>>     /Checking if you have ExtUtils::Install 1.46 ... Yes (1.58)/
>>>
>>>     /Searching Net::DNS::ZoneFile::Fast on cpanmetadb .../
>>>
>>>     /--> Working on Net::DNS::ZoneFile::Fast/
>>>
>>>     /Fetching
>>>     
>>> http://www.cpan.org/authors/id/H/HA/HARDAKER/Net-DNS-ZoneFile-Fast-1.24.tar.gz/
>>>
>>>     /-> OK/
>>>
>>>     /Unpacking Net-DNS-ZoneFile-Fast-1.24.tar.gz/
>>>
>>>     /Entering Net-DNS-ZoneFile-Fast-1.24/
>>>
>>>     /Checking configure dependencies from META.json/
>>>
>>>     /Configuring Net-DNS-ZoneFile-Fast-1.24/
>>>
>>>     /Running Makefile.PL/
>>>
>>>     /Checking if your kit is complete.../
>>>
>>>     /Looks good/
>>>
>>>     /Generating a Unix-style Makefile/
>>>
>>>     /Writing Makefile for Net::DNS::ZoneFile::Fast/
>>>
>>>     /Writing MYMETA.yml and MYMETA.json/
>>>
>>>     /-> OK/
>>>
>>>     /Checking dependencies from MYMETA.json .../
>>>
>>>     /Checking if you have IO::File 0 ... Yes (1.16)/
>>>
>>>     /Checking if you have Net::DNS 0.65 ... Yes (0.72)/
>>>
>>>     /Checking if you have MIME::Base64 0 ... Yes (3.13)/
>>>
>>>     /Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.12)/
>>>
>>>     /Checking if you have Net::DNS::SEC 0.15 ... Yes (1.02)/
>>>
>>>     /Building and testing Net-DNS-ZoneFile-Fast-1.24/
>>>
>>>     /cp Fast.pm blib/lib/Net/DNS/ZoneFile/Fast.pm/
>>>
>>>     /Manifying 1 pod document/
>>>
>>>     /PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM"
>>>     "-MTest::Harness" "-e" "undef *Test::Harness::Switches;
>>>     test_harness(0, 'blib/lib', 'blib/arch')" t/*.t/
>>>
>>>     /t/00-load.t ..... ok/
>>>
>>>     /t/comment.t ..... ok/
>>>
>>>     /t/generate.t .... ok/
>>>
>>>     /t/lines.t ....... ok/
>>>
>>>     /t/newlines.t .... ok/
>>>
>>>     /t/null-rr.t ..... ok/
>>>
>>>     /t/origin.t ...... ok/
>>>
>>>     /t/read.t ........ ok/
>>>
>>>     */RRSIG not implemented at
>>>     /usr/lib64/perl5/vendor_perl/Net/DNS/RR.pm line 630./*
>>>
>>>     */new Net::DNS::RR( ... ) at t/rr-dnssec.t line 91./*
>>>
>>>     */# Looks like your test exited with 2 before it could output
>>>     anything./*
>>>
>>>     /t/rr-dnssec.t ... /
>>>
>>>     /Dubious, test returned 2 (wstat 512, 0x200)/
>>>
>>>     /Failed 42/42 subtests /
>>>
>>>     /t/rr-multi-a.t .. ok/
>>>
>>>     /t/rrs-ws.t ...... ok/
>>>
>>>     /t/rrs.t ......... ok/
>>>
>>>     /t/soattl.t ...... ok/
>>>
>>>     /t/ttl.t ......... ok/
>>>
>>>     /t/zone.t ........ ok/
>>>
>>>     /
>>>     /
>>>
>>>     /Test Summary Report/
>>>
>>>     /-------------------/
>>>
>>>     /t/rr-dnssec.t (Wstat: 512 Tests: 0 Failed: 0)/
>>>
>>>     /Non-zero exit status: 2/
>>>
>>>     /Parse errors: Bad plan.  You planned 42 tests but ran 0./
>>>
>>>     /Files=15, Tests=316,  1 wallclock secs ( 0.04 usr  0.00 sys + 
>>>     0.90 cusr 0.12 csys =  1.06 CPU)/
>>>
>>>     /Result: FAIL/
>>>
>>>     /Failed 1/15 test programs. 0/316 subtests failed./
>>>
>>>     /make: *** [test_dynamic] Error 255/
>>>
>>>
>>>
>>> I can?t find any solution to get above module installed.
>>>
>>> Can anyone solve any of above errors?
>>>
>>> Did someone installed netdot recently? If yes, and install was 
>>> successful , can you tell me on which linux distro?
>>>
>>> Thanks in advance for your replies!
>>>
>>> Kristof Van Doorsselaere
>>>
>>>
>>>
>>> _______________________________________________
>>> Netdot-users mailing list
>>> [email protected]https://osl.uoregon.edu/mailman/listinfo/netdot-users
>>
>> -- 
>> --
>> Stefan Deling
>> Senior Consultant
>>
>> eksp? GmbH
>>
>> Hahnstr. 70
>> 60528 Frankfurt am Main
>> Tel: 069/77019031
>> Mobil: 0172/ 656 90 42
>> Fax: 069/96244482
>> [email protected]
>> www.ekspe.de
>> ------------
>> HRB Frankfurt am Main 98158
>> Gesch?ftsf?hrer: Markus Mengelkamp
>> Gerichtsstand: Frankfurt am Main
>> USt-Nr. DE285782197
>
> -- 
> --
> Stefan Deling
> Senior Consultant
>
> eksp? GmbH
>
> Hahnstr. 70
> 60528 Frankfurt am Main
> Tel: 069/77019031
> Mobil: 0172/ 656 90 42
> Fax: 069/96244482
> [email protected]
> www.ekspe.de
> ------------
> HRB Frankfurt am Main 98158
> Gesch?ftsf?hrer: Markus Mengelkamp
> Gerichtsstand: Frankfurt am Main
> USt-Nr. DE285782197

-- 
--
Stefan Deling
Senior Consultant

eksp? GmbH

Hahnstr. 70
60528 Frankfurt am Main
Tel: 069/77019031
Mobil: 0172/ 656 90 42
Fax: 069/96244482
[email protected]
www.ekspe.de
------------
HRB Frankfurt am Main 98158
Gesch?ftsf?hrer: Markus Mengelkamp
Gerichtsstand: Frankfurt am Main
USt-Nr. DE285782197
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20160422/61697a25/attachment.html
 

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

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


End of Netdot-users Digest, Vol 85, Issue 8
*******************************************

Reply via email to