Description of problem: After configuring netdisco and restarting apache the following warning is reported: [Wed Sep 30 09:28:13 2009] [warn] The Alias directive in /etc/httpd/conf.d/zz_netdisco_apache_dir.conf at line 5 will probably never match because it overlaps an earlier Alias. When trying to open netdisco Web page an internal server error is reported and in the log there is the following message: [Wed Sep 30 09:23:31 2009] [error] [client 172.16.80.1] failed to resolve handler `netdisco::Mason': Can't locate netdisco/Mason.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl . /etc/httpd) at (eval 5) line 3.\n Version-Release number of selected component (if applicable): netdisco-0.95-2.fc11.noarch httpd-2.2.13-1.fc11.i586 How reproducible: Always Steps to Reproduce: 1. Open Web page to access netdisco Web console Actual results: Error page Expected results: Administration console Additional info: The solution to the letter problem is documented in the following post: http://lists.centos.org/pipermail/centos/2009-April/075560.html
Did you use the netdisco_config script to configure netdisco? Or, did you do it manually?
It was manual install.
You should've used the netdisco_config script. If you had used the script, it would have configured netdisco properly for you and you would not have received the above errors. Can you try it again by running the config script?
Yes, using netdisco_config it works with no problems. The problem was that I didn't knew for that script. Maybe it would be good to plase INSTALL.fedora or something similar in /usr/share/doc directory with the note that the script should be used for post installation?
I just manually imported oui.txt and it turns out that there are many errors because of encoding. I did: iconv -f iso88591 -t utf8 oui.txt.orig > oui.txt and then no errors were reported.
Thanks, I will add an INSTALL.fedora file when I next update the package. I should have done that to start with. Thanks for suggesting that. As far as the oui.txt file, it is downloaded from ieee.org and imported to the postgres db via the netdisco_config script. Any encoding error output is directed to /dev/null. So given that, I don't know that the fact that there are encoding errors really matters.
I didn't do any checking to see if imports differ. And I don't know should I open new bug report, or not, but trying to remove netdisco with rpm -e, fails with the following message: # rpm -e netdisco service netdisco does not support chkconfig error: %preun(netdisco-0.95-2.fc11.noarch) scriptlet failed, exit status 1
Yeah, see Bug# 526744. Someone else opened a bug on not being able to uninstall the rpm properly. This issue is fixed in netdisco-0.95-4.fc11 which should be showing up in the stable repo in the next day or so.
I had a slightly different problem when installing netdisco on a x86_64 system. I run the x86_64 version of httpd and mod_perl. The /usr/sbin/netdisco_config script modifies the netdisco file /etc/httpd/conf.d/netdisco_apache.conf so it contains a reference to /usr/lib/httpd/modules/mod_perl.so, a file provided by the mod_perl package. The x86_64 version, however, provides /usr/lib64/httpd/modules/mod_perl.so, so I had to edit the /etc/httpd/conf.d/netdisco_apache.conf file manually to provide that. I don't have access to my 64 bit system right now, but looking at the netdisco_config script, I don't think that it handles this case. As I recall, there were two references to /usr/lib/httpd that had to change to /usr/lib64/httpd in that netdisco_apache.conf file.
(In reply to comment #9) > I had a slightly different problem when installing netdisco on a x86_64 system. > I run the x86_64 version of httpd and mod_perl. The /usr/sbin/netdisco_config > script modifies the netdisco file /etc/httpd/conf.d/netdisco_apache.conf so it > contains a reference to /usr/lib/httpd/modules/mod_perl.so, a file provided by > the mod_perl package. The x86_64 version, however, provides > /usr/lib64/httpd/modules/mod_perl.so, so I had to edit the > /etc/httpd/conf.d/netdisco_apache.conf file manually to provide that. I don't > have access to my 64 bit system right now, but looking at the netdisco_config > script, I don't think that it handles this case. As I recall, there were two > references to /usr/lib/httpd that had to change to /usr/lib64/httpd in that > netdisco_apache.conf file. Chuck - can you open up a separate bug request for the above 64 bit problem you experienced? I would appreciate it - this will help me to better track the bugs that have been submitted. Thanks, -W
(In reply to comment #8) > Yeah, see Bug# 526744. Someone else opened a bug on not being able to > uninstall the rpm properly. This issue is fixed in netdisco-0.95-4.fc11 which > should be showing up in the stable repo in the next day or so. FYI - netdisco-0.95-4.fc11 is now out and the uninstall problems that existed in netdisco-0.95-2.fc11 should not exist anymore.
netdisco-1.0-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/netdisco-1.0-2.fc12
netdisco-1.0-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/netdisco-1.0-2.fc11
netdisco-1.0-2.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/netdisco-1.0-2.el5
netdisco-1.0-2.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update netdisco'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2009-0828
netdisco-1.0-2.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update netdisco'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-11323
netdisco-1.0-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update netdisco'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-11383
Fixed. Closing bug.
netdisco-1.0-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
netdisco-1.0-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
netdisco-1.0-2.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.