Discussion:
[Netdot-users] Permission denied at /usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm
Wolf F.
2017-02-02 18:54:14 UTC
Permalink
CentOS: Linux release 7.3.1611
netdot: git clone https://github.com/cvicente/Netdot.git netdot
httpd user: apache


installed via the following instructions:
https://www.digitalocean.com/community/tutorials/how-to-document-your-network-with-netdot-on-centos-7
and
https://github.com/cvicente/Netdot/blob/master/doc/manual/netdot-manual.pdf

install via
sudo make install PREFIX=/usr/local/netdot APACHEUSER=apache APACHEGROUP=apache






I am greeted by the following "System error"

rror: mkdir /usr/local/netdot/htdocs/masondata/obj/1874909815: Permission denied at /usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm line 112.
context:
...
96: local @CARP_NOT = $cgc ? $cgc->() : caller();
97: shortmess_heavy(@_);
98: }
99:
100: sub croak { die shortmess @_ }
101: sub confess { die longmess @_ }
102: sub carp { warn shortmess @_ }
103: sub cluck { warn longmess @_ }
104:
...
code stack: /usr/share/perl5/vendor_perl/Carp.pm:100
/usr/share/perl5/vendor_perl/File/Path.pm:156
/usr/share/perl5/vendor_perl/File/Path.pm:114
/usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm:112
/usr/local/share/perl5/HTML/Mason/Interp.pm:437
/usr/local/share/perl5/HTML/Mason/Request.pm:249
/usr/local/share/perl5/HTML/Mason/Request.pm:212
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:97
/usr/local/share/perl5/Class/Container.pm:275
/usr/local/share/perl5/Class/Container.pm:353
/usr/local/share/perl5/HTML/Mason/Interp.pm:348
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:868
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:822
/usr/local/netdot/lib/Netdot/Mason.pm:59
-e:0



Any idea as to how to fix this issue ?







Kind Regards,
Wolf F.
Carlos Vicente
2017-02-02 19:23:20 UTC
Permalink
Wolf, you should be using the `make rpm-install` option for CentOS.

I'm not sure about the permissions error. I have not installed in CentOS in
a while.

cv
Post by Wolf F.
CentOS: Linux release 7.3.1611
netdot: git clone https://github.com/cvicente/Netdot.git netdot
httpd user: apache
https://www.digitalocean.com/community/tutorials/how-to-
document-your-network-with-netdot-on-centos-7
and
https://github.com/cvicente/Netdot/blob/master/doc/manual/
netdot-manual.pdf
install via
sudo make install PREFIX=/usr/local/netdot APACHEUSER=apache
APACHEGROUP=apache
I am greeted by the following "System error"
Permission denied at /usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm
line 112.
...
98: }
...
code stack: /usr/share/perl5/vendor_perl/Carp.pm:100
/usr/share/perl5/vendor_perl/File/Path.pm:156
/usr/share/perl5/vendor_perl/File/Path.pm:114
/usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm:112
/usr/local/share/perl5/HTML/Mason/Interp.pm:437
/usr/local/share/perl5/HTML/Mason/Request.pm:249
/usr/local/share/perl5/HTML/Mason/Request.pm:212
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:97
/usr/local/share/perl5/Class/Container.pm:275
/usr/local/share/perl5/Class/Container.pm:353
/usr/local/share/perl5/HTML/Mason/Interp.pm:348
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:868
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:822
/usr/local/netdot/lib/Netdot/Mason.pm:59
-e:0
Any idea as to how to fix this issue ?
Kind Regards,
Wolf F.
_______________________________________________
Netdot-users mailing list
https://osl.uoregon.edu/mailman/listinfo/netdot-users
Loading...