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

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
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-devel digest..."


Today's Topics:

   1. [Netdot - Bug #782] Missing libssl-dev and rrdtool        after make
      installdeps-apt-get ([email protected])
   2. [Netdot - Bug #801] Could not open file
      
(<<Make:PREFIX>>/tmp/sessions/locks/Apache-Session-53e8f3ce4476a0e07f5c11c879a990a9.lock
      ([email protected])


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

Message: 1
Date: Tue, 6 Sep 2016 03:25:31 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #782] Missing libssl-dev and
        rrdtool after make installdeps-apt-get
To: [email protected], [email protected],
        [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #782 has been updated by Tshering Dhendup.


I had the same issue. I solved the issue by copying the /etc/Site.conf file to 
the netdot directory at /usr/local/netdot/etc


Tho' the reply is very late, please consider this as a reference.


----------------------------------------
Bug #782: Missing libssl-dev and rrdtool after make installdeps-apt-get
https://osl.uoregon.edu/redmine/issues/782#change-3359

Author: sebastian-denz-googlemail-com -
Status: Closed
Priority: Normal
Assignee: Carlos Vicente
Category: 
Target version: 0.9.9
Resolution: fixed


I tried to install netdot 0.9.8 on fresh installed ubuntu 10.10 (first i tried 
debian lenny with the same result).
Everything was done step by step after the installation manual.

But when i tried to start apache i got the following error:

<pre>
root@netdot:/usr/src/netdot-0.9.8# /etc/init.d/apache2 restart
Syntax error on line 28 of /etc/apache2/conf.d/netdot_apache2_local.conf:
Attempt to reload Netdot/Model/Zone.pm aborted.\nCompilation failed in require 
at (eval 384) line 3.\n\t...propagated at /usr/share/perl/5.10/base.pm line 
93.\nBEGIN failed--compilation aborted at (eval 383) line 1.\nBEGIN 
failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 
289.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 
22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm 
line 22.\nCompilation failed in require at 
/usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation 
aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in 
require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN 
failed--compilation aborted\t(in cleanup) Attempt to reload 
Netdot/Model/Zone.pm aborted.\nCompilation failed in require at (eval 384) line 
3.\n\t...propagated at /usr/share/perl/5.10/base.pm line 93.\nBEGIN 
failed--compilation aborted at (eval 383) line 1.\nBEGIN fa!
 iled--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 
289.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 
22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm 
line 22.\nCompilation failed in require at 
/usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation 
aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in 
require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN 
failed--compilation aborted at /etc/apache2/conf.d/netdot_apache2_local.conf 
line 31.\n
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!
</pre>

I think the reason for this was the missing Net::DNS::ZoneFile::Fast Module.

After installing libssl-dev and re-installing the deps by make installdeps 
everything compiled fine and after make install i was able to start apache und 
use netdot.

So i would suggest to add libssl-dev to the bin/perldeps.pl file.
While doing this rrdtool could be added too.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


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

Message: 2
Date: Tue, 6 Sep 2016 03:55:44 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #801] Could not open file
        
(<<Make:PREFIX>>/tmp/sessions/locks/Apache-Session-53e8f3ce4476a0e07f5c11c879a990a9.lock
        
To: [email protected], [email protected],
        [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #801 has been updated by Tshering Dhendup.


Hi . I am facing the same issue here. I do I do that. 

The final install directory is /usr/local/netdot.

While I compiled, I had the source file under /tmp directory.


----------------------------------------
Bug #801: Could not open file 
(<<Make:PREFIX>>/tmp/sessions/locks/Apache-Session-53e8f3ce4476a0e07f5c11c879a990a9.lock
https://osl.uoregon.edu/redmine/issues/801#change-3360

Author: simoncomputer2008-gmail-com -
Status: Closed
Priority: Normal
Assignee: Carlos Vicente
Category: 
Target version: 0.9.10
Resolution: invalid


Hello,

This is a fresh install of netdot. 

On various pages (like Management -> Address Space or when trying to add a 
device) I get errors like:

Could not open file 
(<<Make:PREFIX>>/tmp/sessions/locks/Apache-Session-ff18c235ce9cc549ad9214df56346517.lock)
 for writing: No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/Apache/Session/Lock/File.pm line 75.

or when trying to discover a device:

updatedevice.html produced the following error:

Could not open file 
(<>/tmp/sessions/locks/Apache-Session-53b4c00e59223514299ab6ecc9aa3fa6.lock) 
for writing: No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/Apache/Session/Lock/File.pm line 75.


permissions on directory are ok, i.e.

l /usr/local/netdot/tmp/sessions/
total 8
-rw-r--r-- 1 apache apache  291 Mar 22 16:42 25afba5401015d289d1ad945fa21fe39
drwxrwxr-x 2 apache apache 4096 Mar 22 16:26 locks

but still I get these errors on various pages.

Any hints?

Simon


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


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

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


End of Netdot-devel Digest, Vol 114, Issue 2
********************************************

Reply via email to