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

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-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 netdisco-users digest..."
Today's Topics:

   1. Re: new install everything up and running no website
      (Nick Nauwelaerts)
   2. Re: new install everything up and running no website (Ed Blom)
--- Begin Message ---
hm, now it seems you did certain parts of the install process as root user and 
are running into permissions.



just to make sure, the parts listed under 
https://metacpan.org/pod/App::Netdisco#Dependencies should be run as root (for 
centos i guess the redhat/fedora part is the one you need)

everything from https://metacpan.org/pod/App::Netdisco#Installation down should 
not be run as root.



// nick






From: Ed Blom [mailto:[email protected]] 
Sent: Wednesday, August 7, 2019 19:29
To: Nick Nauwelaerts <[email protected]>
Subject: Re: [Netdisco] new install everything up and running no website

so after a reboot, changing over to netdisco user starting the web and backend 
successfully and running DBIC_TRACE=1 ~/bin/localenv plackup 
bin/netdisco-web-fg     I get a permission denied error :

[netdisco@netdisco root]$ DBIC_TRACE=1 ~/bin/localenv plackup 
bin/netdisco-web-fg
Error while loading /root/bin/netdisco-web-fg: Permission denied at (eval 9) 
line 4.
[netdisco@netdisco root]$


On Wednesday, August 7, 2019, 12:15:40 PM CDT, Ed Blom <[email protected]> 
wrote: 



copied it from somewhere on the list serve
On Wednesday, August 7, 2019, 12:10:49 PM CDT, Nick Nauwelaerts 
<[email protected]> wrote: 


seems for some reason you have 2 web frontends running.
 
might i ask where you found this command "DBIC_TRACE=1 ~netdisco/bin/localenv 
plackup bin/netdisco-web-fg"? it should be "DBIC_TRACE=1 ~/bin/localenv plackup 
bin/netdisco-web-fg " instead for troubleshooting, so it seems i missed that 
one somewhere in the docs.
 
// nick
 
From: Ed Blom [mailto:[email protected]] 
Sent: Wednesday, August 7, 2019 19:06
To: [email protected]; Nick Nauwelaerts 
<[email protected]>
Subject: Re: [Netdisco] new install everything up and running no website
 
 
I blew away that install and started brand new server from scratch, exactly the 
same except
 
DBIC_TRACE=1 ~netdisco/bin/localenv plackup bin/netdisco-web-fg 
Gives me:
[76997] 2019-08-07 17:03:42  warn App::Netdisco 2.042010 web
SELECT me.version, me.installed
  FROM dbix_class_schema_versions me
WHERE 1 = 0
SELECT me.version
  FROM dbix_class_schema_versions me
ORDER BY installed DESC
  LIMIT '1'
SELECT me.id, me.creation, me.a_session
  FROM sessions me
WHERE me.id = 'dancer_session_cookie_key'
tcp_bind: Address already in use at 
/home/netdisco/perl5/lib/perl5/Twiggy/Server.pm line 79.
[netdisco@netdisco ~]$
  
  
  
running:  wget http://127.0.0.1:5000 -S -O -      GIVES
  
[netdisco@netdisco ~]$ wget http://127.0.0.1:5000 -S -O -
--2019-08-07 12:04:30--  http://127.0.0.1:5000/
Connecting to 127.0.0.1:5000... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Server: Perl Dancer 1.3512
  Content-Length: 6949
  Content-Type: text/html; charset=utf-8
  Set-Cookie: 
dancer.session=3979108334~~U2FsdGVkX1_-A7wozulVNbL_R2AwPEDuCLMsQVTGt9M3hCWcQpPLCv9qHAIqMVdRXGBPVLUocp3PxCKTK38D_ny8-hcp0W8_X3N9ECumpn8~Dv9b_XRLdFyeBwjB4AjX9T_zJ4Bcio3jgV2loVyCuXA;
 path=/; HttpOnly
  X-Powered-By: Perl Dancer 1.3512
  Date: Wed, 07 Aug 2019 17:04:30 GMT
  Connection: close
Length: 6949 (6.8K) [text/html]
Saving to: ‘STDOUT’
  
 0% [                                                                           
                                                ] 0           --.-K/s           
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon">
  <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
  <title>Netdisco</title>
  
  <!-- HTML5 shim, for IE6-8 support of HTML elements -->
  <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js";></script>
  <![endif]-->
  
  <script type="text/javascript" 
src="/javascripts/jquery-latest.min.js"></script>
<!--  <script type="text/javascript" 
src="http://code.jquery.com/jquery-migrate-1.1.1.js";></script> -->
  <script type="text/javascript" 
src="/javascripts/jquery-ui.custom.min.js"></script>
  <script type="text/javascript" src="/javascripts/jquery-history.js"></script>
<!--  <script type="text/javascript" 
src="/javascripts/jquery.cookie.js"></script> -->
  <script type="text/javascript" 
src="/javascripts/jquery-deserialize.js"></script>
  <script type="text/javascript" src="/javascripts/bootstrap.min.js"></script>
  <script type="text/javascript" 
src="/javascripts/bootstrap2-toggle.min.js"></script>
  <script type="text/javascript" src="/javascripts/underscore.min.js"></script>
  <script type="text/javascript" src="/javascripts/jquery.qtip.min.js"></script>
  <script type="text/javascript" src="/javascripts/d3-3.5.17.min.js"></script>
  <script type="text/javascript" 
src="/javascripts/d3-force-network-chart.js"></script>
  <script type="text/javascript" src="/javascripts/toastr.js"></script>
  <script type="text/javascript" 
src="/javascripts/jquery.floatThead.js"></script>
  <script type="text/javascript" src="/javascripts/daterangepicker.js"></script>
  <script type="text/javascript" src="/javascripts/moment.min.js"></script>
  <script type="text/javascript" 
src="/javascripts/jquery.dataTables.min.js"></script>
  <script type="text/javascript" 
src="/javascripts/dataTables.bootstrap.js"></script>
  <script type="text/javascript" 
src="/javascripts/dataTables.ip-address-detect.js"></script>
  <script type="text/javascript" 
src="/javascripts/dataTables.ip-address-sort.js"></script>
  <script type="text/javascript" src="/javascripts/he.js"></script>
  <script type="text/javascript" src="/javascripts/natural.js"></script>
  <script type="text/javascript" src="/javascripts/portsort.js"></script>
  
  <script type="text/javascript">
    var uri_base = '';
    var nd_check_userlog = '';
  </script>
  <script type="text/javascript" src="/javascripts/netdisco.js"></script>
  
  
  
  <link rel="stylesheet" href="/css/bootstrap.min.css"/>
  <link rel="stylesheet" href="/css/bootstrap2-toggle.min.css"/>
  <link rel="stylesheet" href="/css/awesome-bootstrap-checkbox.css"/>
  <link rel="stylesheet" href="/css/jquery.qtip.min.css"/>
  <link rel="stylesheet" href="/css/smoothness/jquery-ui.custom.min.css"/>
  <link rel="stylesheet" href="/css/font-awesome.min.css"/>
  <link rel="stylesheet" href="/css/toastr.css"/>
  <link rel="stylesheet" href="/css/d3-force-network-chart.css"/>
  <link rel="stylesheet" href="/css/netdisco.css"/>
  <link rel="stylesheet" href="/css/bootstrap-tree.css"/>
  <link rel="stylesheet" href="/css/daterangepicker-bs2.css"/>
  <link rel="stylesheet" href="/css/dataTables.bootstrap.css"/>
  <link rel="stylesheet" href="/css/nd_print.css" media="print"/>
  
</head>
  
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container">
      <a class="brand" href="/">Netdisco</a>
    </div>
  </div>
</div>
<div class="container">
  <div class="row nd_hero-row">
    <div class="span8 offset2">
      <div class="hero-unit">
        <h2>Welcome to Netdisco</h2>
        <small>Netdisco is an Open Source management tool designed for network 
administrators.</small>
        <form class="nd_login-form" method="post" action="/login">
          <div class="form-horizontal">
            <input id='loginuser' placeholder="Username" class="span2" 
name="username" type="text" required="required"/>
            <input placeholder="Password" class="span2" name="password" 
type="password" required="required"/>
            <button type="submit" class="btn btn-info">Log In</button>
          </div>
          <input type="hidden" name="return_url" value="/inventory"/>
        </form>
      </div>
    </div>
  </div>
</div> <!-- /container -->
  
  
  
<script type="text/javascript">
  // csv download icon on any table page
  // needs to be dynamically updated to use current search options
  function update_csv_download_link (type, tab, show) {
    var form = '#' + tab + '_form';
    var query = $(form).serialize();
  
    if (show.length) {
      $('#nd_csv-download')
        .attr('href', uri_base + '/ajax/content/' + type + '/' + tab + '?' + 
query)
        .attr('download', 'netdisco-' + type + '-' + tab + '.csv')
        .show();
    }
    else {
      $('#nd_csv-download').hide();
    }
  }
  
  // page title includes tab name and possibly device name
  // this is nice for when you have multiple netdisco pages open in the
  // browser
  function update_page_title (tab) {
    var pgtitle = 'Netdisco';
    if ($.trim($('#nd_device-name').text()).length) {
      pgtitle = $.trim($('#nd_device-name').text()) +' - '+ $('#'+ tab + 
'_link').text();
    }
    return pgtitle;
  }
  
  // update browser search history with the new query.
  // support history add (push) or replace via push parameter
  function update_browser_history (tab, pgtitle, push) {
    var form = '#' + tab + '_form';
    var query = $(form).serialize();
    if (query.length) { query = '?' + query }
  
    if (window.History && window.History.enabled) {
      is_from_history_plugin = 1;
  
      if (push.length) {
        var target = uri_base + '/' + path + '/' + tab + query;
        if (location.pathname == target) { return };
        window.History.pushState(
          {name: tab, fields: $(form).serializeArray()}, pgtitle, target
        );
      }
      else {
        var target = uri_base + '/' + path + query;
        window.History.replaceState(
          {name: tab, fields: $(form).serializeArray()}, pgtitle, target
        );
      }
  
      is_from_history_plugin = 0;
    }
  }
  
  // each sidebar search form has a hidden copy of the main navbar search
  function copy_navbar_to_sidebar (tab) {
    var form = '#' + tab + '_form';
  
    // copy navbar value to currently active sidebar form
    if ($('#nq').val()) {
      $(form).find("input[name=q]").val( $('#nq').val() );
    }
    // then copy to all other inactive tab sidebars
    $('form').find("input[name=q]").each( function() {
      $(this).val( $(form).find("input[name=q]").val() );
    });
  }
  
  $(document).ready(function() {
  
  
  
    // on page load, load the content for the active tab
  });
</script>
  
</body>
</html>
100%[==========================================================================================================================>]
 6,949       --.-K/s   in 0s
  
2019-08-07 12:04:30 (190 MB/s) - written to stdout [6949/6949]
  
[netdisco@netdisco ~]$
  
  
  
  
  
On Wednesday, August 7, 2019, 11:36:45 AM CDT, Nick Nauwelaerts 
<[email protected]> wrote: 
 
 
hm, not a firewall issue by any change then?
 
if you run the following command on the server what's the output then?
 
wget http://127.0.0.1:5000 -S -O -
 
 
// nick
 
From: Ed Blom [mailto:[email protected]] 
Sent: Wednesday, August 7, 2019 18:07
To: Nick Nauwelaerts <[email protected]>
Subject: Re: [Netdisco] new install everything up and running no website
 
From the same network, different client computer. the server IP address :5000   
(server responds to pings)
 
 
 
 
On Wednesday, August 7, 2019, 10:58:22 AM CDT, Nick Nauwelaerts 
<[email protected]> wrote: 
 
 
thats strange. are you trying to connect from the server running netdisco or 
from a different client? in both cases i"m interested what url you are using.
 
// nick
 
From: Ed Blom via netdisco-users [mailto:[email protected]] 
Sent: Wednesday, August 7, 2019 17:36
To: [email protected]
Subject: Re: [Netdisco] new install everything up and running no website
 
 
As an update, I stopped the web front end and ran:  
DBIC_TRACE=1 ~netdisco/bin/localenv plackup bin/netdisco-web-fg
Output
 
netdisco@psdnetdisco ~]$ ~/bin/netdisco-web stop
config watcher: sending TERM to the server (pid:59935)...
Netdisco Web                                                  [Stopped]
[netdisco@psdnetdisco ~]$ DBIC_TRACE=1 ~netdisco/bin/localenv plackup 
bin/netdisco-web-fg
[59964] 2019-08-07 15:35:02  warn App::Netdisco 2.042010 web
SELECT me.version, me.installed
  FROM dbix_class_schema_versions me
WHERE 1 = 0
SELECT me.version
  FROM dbix_class_schema_versions me
ORDER BY installed DESC
  LIMIT '1'
SELECT me.id, me.creation, me.a_session
  FROM sessions me
WHERE me.id = 'dancer_session_cookie_key'
Twiggy: Accepting connections at http://0.0.0.0:5000/
 
 
On Wednesday, August 7, 2019, 10:33:04 AM CDT, Ed Blom via netdisco-users 
<[email protected]> wrote: 
 
 
I've installed twice following the guide and both times I am not getting the 
website ( ip address and port 5000)
 
Check and both deamons, and they have started and are running
 
This is on centos7.6.1810
 
 
any pointers  ?
_______________________________________________
Netdisco mailing list
[email protected]
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
 
________________________________________

Volg Aquafin op Facebook | Twitter | YouTube | LinkedIN | Instagram 

In het kader van de uitoefening van onze taken verzamelen we bij Aquafin 
persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de 
betrokkenen zijn, kan je nalezen in onze privacy policy. 

   Denk aan het milieu. Druk deze mail niet onnodig af. 

--- End Message ---
--- Begin Message ---
 
I'm going to blow this vm away again, (I'm using hyper-v) and will step by step 
run the install again. Dank voor de hulp.
    On Wednesday, August 7, 2019, 02:56:26 PM CDT, Nick Nauwelaerts 
<[email protected]> wrote:  
 
 hm, now it seems you did certain parts of the install process as root user and 
are running into permissions.



just to make sure, the parts listed under 
https://metacpan.org/pod/App::Netdisco#Dependencies should be run as root (for 
centos i guess the redhat/fedora part is the one you need)

everything from https://metacpan.org/pod/App::Netdisco#Installation down should 
not be run as root.



// nick






From: Ed Blom [mailto:[email protected]] 
Sent: Wednesday, August 7, 2019 19:29
To: Nick Nauwelaerts <[email protected]>
Subject: Re: [Netdisco] new install everything up and running no website

so after a reboot, changing over to netdisco user starting the web and backend 
successfully and running DBIC_TRACE=1 ~/bin/localenv plackup 
bin/netdisco-web-fg     I get a permission denied error :

[netdisco@netdisco root]$ DBIC_TRACE=1 ~/bin/localenv plackup 
bin/netdisco-web-fg
Error while loading /root/bin/netdisco-web-fg: Permission denied at (eval 9) 
line 4.
[netdisco@netdisco root]$


On Wednesday, August 7, 2019, 12:15:40 PM CDT, Ed Blom <[email protected]> 
wrote: 



copied it from somewhere on the list serve
On Wednesday, August 7, 2019, 12:10:49 PM CDT, Nick Nauwelaerts 
<[email protected]> wrote: 


seems for some reason you have 2 web frontends running.
 
might i ask where you found this command "DBIC_TRACE=1 ~netdisco/bin/localenv 
plackup bin/netdisco-web-fg"? it should be "DBIC_TRACE=1 ~/bin/localenv plackup 
bin/netdisco-web-fg " instead for troubleshooting, so it seems i missed that 
one somewhere in the docs.
 
// nick
 
From: Ed Blom [mailto:[email protected]] 
Sent: Wednesday, August 7, 2019 19:06
To: [email protected]; Nick Nauwelaerts 
<[email protected]>
Subject: Re: [Netdisco] new install everything up and running no website
 
 
I blew away that install and started brand new server from scratch, exactly the 
same except
 
DBIC_TRACE=1 ~netdisco/bin/localenv plackup bin/netdisco-web-fg 
Gives me:
[76997] 2019-08-07 17:03:42  warn App::Netdisco 2.042010 web
SELECT me.version, me.installed
  FROM dbix_class_schema_versions me
WHERE 1 = 0
SELECT me.version
  FROM dbix_class_schema_versions me
ORDER BY installed DESC
  LIMIT '1'
SELECT me.id, me.creation, me.a_session
  FROM sessions me
WHERE me.id = 'dancer_session_cookie_key'
tcp_bind: Address already in use at 
/home/netdisco/perl5/lib/perl5/Twiggy/Server.pm line 79.
[netdisco@netdisco ~]$
  
  
  
running:  wget http://127.0.0.1:5000 -S -O -      GIVES
  
[netdisco@netdisco ~]$ wget http://127.0.0.1:5000 -S -O -
--2019-08-07 12:04:30--  http://127.0.0.1:5000/
Connecting to 127.0.0.1:5000... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Server: Perl Dancer 1.3512
  Content-Length: 6949
  Content-Type: text/html; charset=utf-8
  Set-Cookie: 
dancer.session=3979108334~~U2FsdGVkX1_-A7wozulVNbL_R2AwPEDuCLMsQVTGt9M3hCWcQpPLCv9qHAIqMVdRXGBPVLUocp3PxCKTK38D_ny8-hcp0W8_X3N9ECumpn8~Dv9b_XRLdFyeBwjB4AjX9T_zJ4Bcio3jgV2loVyCuXA;
 path=/; HttpOnly
  X-Powered-By: Perl Dancer 1.3512
  Date: Wed, 07 Aug 2019 17:04:30 GMT
  Connection: close
Length: 6949 (6.8K) [text/html]
Saving to: ‘STDOUT’
  
 0% [                                                                           
                                                ] 0           --.-K/s           
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon">
  <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
  <title>Netdisco</title>
  
  <!-- HTML5 shim, for IE6-8 support of HTML elements -->
  <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js";></script>
  <![endif]-->
  
  <script type="text/javascript" 
src="/javascripts/jquery-latest.min.js"></script>
<!--  <script type="text/javascript" 
src="http://code.jquery.com/jquery-migrate-1.1.1.js";></script> -->
  <script type="text/javascript" 
src="/javascripts/jquery-ui.custom.min.js"></script>
  <script type="text/javascript" src="/javascripts/jquery-history.js"></script>
<!--  <script type="text/javascript" 
src="/javascripts/jquery.cookie.js"></script> -->
  <script type="text/javascript" 
src="/javascripts/jquery-deserialize.js"></script>
  <script type="text/javascript" src="/javascripts/bootstrap.min.js"></script>
  <script type="text/javascript" 
src="/javascripts/bootstrap2-toggle.min.js"></script>
  <script type="text/javascript" src="/javascripts/underscore.min.js"></script>
  <script type="text/javascript" src="/javascripts/jquery.qtip.min.js"></script>
  <script type="text/javascript" src="/javascripts/d3-3.5.17.min.js"></script>
  <script type="text/javascript" 
src="/javascripts/d3-force-network-chart.js"></script>
  <script type="text/javascript" src="/javascripts/toastr.js"></script>
  <script type="text/javascript" 
src="/javascripts/jquery.floatThead.js"></script>
  <script type="text/javascript" src="/javascripts/daterangepicker.js"></script>
  <script type="text/javascript" src="/javascripts/moment.min.js"></script>
  <script type="text/javascript" 
src="/javascripts/jquery.dataTables.min.js"></script>
  <script type="text/javascript" 
src="/javascripts/dataTables.bootstrap.js"></script>
  <script type="text/javascript" 
src="/javascripts/dataTables.ip-address-detect.js"></script>
  <script type="text/javascript" 
src="/javascripts/dataTables.ip-address-sort.js"></script>
  <script type="text/javascript" src="/javascripts/he.js"></script>
  <script type="text/javascript" src="/javascripts/natural.js"></script>
  <script type="text/javascript" src="/javascripts/portsort.js"></script>
  
  <script type="text/javascript">
    var uri_base = '';
    var nd_check_userlog = '';
  </script>
  <script type="text/javascript" src="/javascripts/netdisco.js"></script>
  
  
  
  <link rel="stylesheet" href="/css/bootstrap.min.css"/>
  <link rel="stylesheet" href="/css/bootstrap2-toggle.min.css"/>
  <link rel="stylesheet" href="/css/awesome-bootstrap-checkbox.css"/>
  <link rel="stylesheet" href="/css/jquery.qtip.min.css"/>
  <link rel="stylesheet" href="/css/smoothness/jquery-ui.custom.min.css"/>
  <link rel="stylesheet" href="/css/font-awesome.min.css"/>
  <link rel="stylesheet" href="/css/toastr.css"/>
  <link rel="stylesheet" href="/css/d3-force-network-chart.css"/>
  <link rel="stylesheet" href="/css/netdisco.css"/>
  <link rel="stylesheet" href="/css/bootstrap-tree.css"/>
  <link rel="stylesheet" href="/css/daterangepicker-bs2.css"/>
  <link rel="stylesheet" href="/css/dataTables.bootstrap.css"/>
  <link rel="stylesheet" href="/css/nd_print.css" media="print"/>
  
</head>
  
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container">
      <a class="brand" href="/">Netdisco</a>
    </div>
  </div>
</div>
<div class="container">
  <div class="row nd_hero-row">
    <div class="span8 offset2">
      <div class="hero-unit">
        <h2>Welcome to Netdisco</h2>
        <small>Netdisco is an Open Source management tool designed for network 
administrators.</small>
        <form class="nd_login-form" method="post" action="/login">
          <div class="form-horizontal">
            <input id='loginuser' placeholder="Username" class="span2" 
name="username" type="text" required="required"/>
            <input placeholder="Password" class="span2" name="password" 
type="password" required="required"/>
            <button type="submit" class="btn btn-info">Log In</button>
          </div>
          <input type="hidden" name="return_url" value="/inventory"/>
        </form>
      </div>
    </div>
  </div>
</div> <!-- /container -->
  
  
  
<script type="text/javascript">
  // csv download icon on any table page
  // needs to be dynamically updated to use current search options
  function update_csv_download_link (type, tab, show) {
    var form = '#' + tab + '_form';
    var query = $(form).serialize();
  
    if (show.length) {
      $('#nd_csv-download')
        .attr('href', uri_base + '/ajax/content/' + type + '/' + tab + '?' + 
query)
        .attr('download', 'netdisco-' + type + '-' + tab + '.csv')
        .show();
    }
    else {
      $('#nd_csv-download').hide();
    }
  }
  
  // page title includes tab name and possibly device name
  // this is nice for when you have multiple netdisco pages open in the
  // browser
  function update_page_title (tab) {
    var pgtitle = 'Netdisco';
    if ($.trim($('#nd_device-name').text()).length) {
      pgtitle = $.trim($('#nd_device-name').text()) +' - '+ $('#'+ tab + 
'_link').text();
    }
    return pgtitle;
  }
  
  // update browser search history with the new query.
  // support history add (push) or replace via push parameter
  function update_browser_history (tab, pgtitle, push) {
    var form = '#' + tab + '_form';
    var query = $(form).serialize();
    if (query.length) { query = '?' + query }
  
    if (window.History && window.History.enabled) {
      is_from_history_plugin = 1;
  
      if (push.length) {
        var target = uri_base + '/' + path + '/' + tab + query;
        if (location.pathname == target) { return };
        window.History.pushState(
          {name: tab, fields: $(form).serializeArray()}, pgtitle, target
        );
      }
      else {
        var target = uri_base + '/' + path + query;
        window.History.replaceState(
          {name: tab, fields: $(form).serializeArray()}, pgtitle, target
        );
      }
  
      is_from_history_plugin = 0;
    }
  }
  
  // each sidebar search form has a hidden copy of the main navbar search
  function copy_navbar_to_sidebar (tab) {
    var form = '#' + tab + '_form';
  
    // copy navbar value to currently active sidebar form
    if ($('#nq').val()) {
      $(form).find("input[name=q]").val( $('#nq').val() );
    }
    // then copy to all other inactive tab sidebars
    $('form').find("input[name=q]").each( function() {
      $(this).val( $(form).find("input[name=q]").val() );
    });
  }
  
  $(document).ready(function() {
  
  
  
    // on page load, load the content for the active tab
  });
</script>
  
</body>
</html>
100%[==========================================================================================================================>]
 6,949       --.-K/s   in 0s
  
2019-08-07 12:04:30 (190 MB/s) - written to stdout [6949/6949]
  
[netdisco@netdisco ~]$
  
  
  
  
  
On Wednesday, August 7, 2019, 11:36:45 AM CDT, Nick Nauwelaerts 
<[email protected]> wrote: 
 
 
hm, not a firewall issue by any change then?
 
if you run the following command on the server what's the output then?
 
wget http://127.0.0.1:5000 -S -O -
 
 
// nick
 
From: Ed Blom [mailto:[email protected]] 
Sent: Wednesday, August 7, 2019 18:07
To: Nick Nauwelaerts <[email protected]>
Subject: Re: [Netdisco] new install everything up and running no website
 
>From the same network, different client computer. the server IP address :5000  
> (server responds to pings)
 
 
 
 
On Wednesday, August 7, 2019, 10:58:22 AM CDT, Nick Nauwelaerts 
<[email protected]> wrote: 
 
 
thats strange. are you trying to connect from the server running netdisco or 
from a different client? in both cases i"m interested what url you are using.
 
// nick
 
From: Ed Blom via netdisco-users [mailto:[email protected]] 
Sent: Wednesday, August 7, 2019 17:36
To: [email protected]
Subject: Re: [Netdisco] new install everything up and running no website
 
 
As an update, I stopped the web front end and ran:  
DBIC_TRACE=1 ~netdisco/bin/localenv plackup bin/netdisco-web-fg
Output
 
netdisco@psdnetdisco ~]$ ~/bin/netdisco-web stop
config watcher: sending TERM to the server (pid:59935)...
Netdisco Web                                                  [Stopped]
[netdisco@psdnetdisco ~]$ DBIC_TRACE=1 ~netdisco/bin/localenv plackup 
bin/netdisco-web-fg
[59964] 2019-08-07 15:35:02  warn App::Netdisco 2.042010 web
SELECT me.version, me.installed
  FROM dbix_class_schema_versions me
WHERE 1 = 0
SELECT me.version
  FROM dbix_class_schema_versions me
ORDER BY installed DESC
  LIMIT '1'
SELECT me.id, me.creation, me.a_session
  FROM sessions me
WHERE me.id = 'dancer_session_cookie_key'
Twiggy: Accepting connections at http://0.0.0.0:5000/
 
 
On Wednesday, August 7, 2019, 10:33:04 AM CDT, Ed Blom via netdisco-users 
<[email protected]> wrote: 
 
 
I've installed twice following the guide and both times I am not getting the 
website ( ip address and port 5000)
 
Check and both deamons, and they have started and are running
 
This is on centos7.6.1810
 
 
any pointers  ?
_______________________________________________
Netdisco mailing list
[email protected]
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
 
________________________________________

Volg Aquafin op Facebook | Twitter | YouTube | LinkedIN | Instagram 

In het kader van de uitoefening van onze taken verzamelen we bij Aquafin 
persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de 
betrokkenen zijn, kan je nalezen in onze privacy policy. 

   Denk aan het milieu. Druk deze mail niet onnodig af. 
  

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to