I assume you copied over the netdb.cgi.pl script over to your /usr/lib/cgi-bin/ directory as netdb.pl already and made sure to do a chmod +x on it? Can you run md5 on the netdb.pl. Perhaps you copied over netdb.pl to the cgi-bin and not the netdb.cgi.pl script? The fact you are getting the svn error makes me think this might be likely.
Let me know, this should not be hard to fix.
Thanks,
Jonathan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I looked a little further, and I think you probably copied over the netdb.pl to the cgi-bin directory instead of netdb.cgi.pl, since NetDB v1.8 from the error log is the first line of that script when you run it. Try copying /opt/netdb/netdb.cgi.pl to /usr/lib/cgi-bin/netdb.pl and give that a shot.
It is a little confusing, so I'll try to make this clearer in the documentation.
Jonathan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Having finally got round to upgrading from 1.7 to 1.8 I'm getting errors when trying to use the CGI script. I get the following in my httpd-error.log:
svn: not found
malformed header from script. Bad header=NetDB v1.8 : netdb.pl
I'm bound to have done something wrong somewhere … ?
The database upgrade produced no errors and running 'netdbctl -ud -a -m -v' produces nothing unexpected.
Thanks,
Hube
Hube,
I assume you copied over the netdb.cgi.pl script over to your /usr/lib/cgi-bin/ directory as netdb.pl already and made sure to do a chmod +x on it? Can you run md5 on the netdb.pl. Perhaps you copied over netdb.pl to the cgi-bin and not the netdb.cgi.pl script? The fact you are getting the svn error makes me think this might be likely.
Let me know, this should not be hard to fix.
Thanks,
Jonathan
I looked a little further, and I think you probably copied over the netdb.pl to the cgi-bin directory instead of netdb.cgi.pl, since NetDB v1.8 from the error log is the first line of that script when you run it. Try copying /opt/netdb/netdb.cgi.pl to /usr/lib/cgi-bin/netdb.pl and give that a shot.
It is a little confusing, so I'll try to make this clearer in the documentation.
Jonathan
You're right, of course. I had indeed copied the wrong file to the CGI-bin.
Doh!
Works perfectly now … thanks.