Debian: nslookup dependency ?

Hi!
I can't find this on the Net, but there appears to be a (unstated)
dependency. When installing RC1 on a Woody-machine all went well, apart
from the adding of a user.
Checking the logs I see this error:
-----------------------------------------------------------------------------
[Tue Jan 14 12:59:56 2003] [error] [client 192.168.1.2] Premature end of
script headers: /opt/otrs/bin/cgi-bin/index.pl
unable to locate nslookup at
/opt/otrs/bin/cgi-bin/../../Kernel/System/CheckItem.pm line 68
-----------------------------------------------------------------------------
Debian no longer has nslookup as a standard installable package (ie:
apt-get install nslookup will not work). Instead Debian opts for 'host'
as a utility for querying DNS servers.
a simple 'ln -s /usr/bin/host /usr/bin/nslookup' fixed the Internet
Server Error, but I suspect that there must be a better way to fix this.
Anyway: perhaps this is something for the documentation or something?
Thanks again for all the fish,
--
.''`. | Martin

-----BEGIN PGP SIGNED MESSAGE----- On Tue, 14 Jan 2003 otrs@ignore.mine.nu wrote:
Debian no longer has nslookup as a standard installable package (ie: apt-get install nslookup will not work). Instead Debian opts for 'host' as a utility for querying DNS servers.
a simple 'ln -s /usr/bin/host /usr/bin/nslookup' fixed the Internet Server Error, but I suspect that there must be a better way to fix this.
apt-get -t stable install dnsutils This fixes the problem. Bye, Andreas -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUBPiQbO1jtazv9+SBNAQEPfggAyZEs3luEuG6aMpKjRNoWlPI3iLL3s9yE lpaB0CmxeosE/G16XXD65lXYADucWpvcmPgxlNzeE0wYlCZ5QUSllSOT+eH3d6+G W/Qe7HkRUyVfqvYRkoSO80QX/VLrUlxUpM0BA0HB87pvS1sU7PmYNzGWOMVLzYk1 nKIuncZHAn/nz2tsi0GF2zvf3jel8A8C39R8CkFtl8FTZdVHD0SfclgEF8kCvSf9 Snon5ilppCLBnVa//gzZVRGarqYFjkmk7N9zolHYWawhMJMb+ZgWmviJcnQWNf6j mjhMuKHJGnneE3qtizwofouEoaVpgsqUkYDeHMHSUzIaOo443mxa9Q== =KwYa -----END PGP SIGNATURE-----

this fixes the problem but cannot be a resolution. OTRS should use dig instead, or at least check which one is available. nslookup is deprecated... On Tue, Jan 14, 2003 at 03:14:14PM +0100, Andreas Haase wrote:
apt-get -t stable install dnsutils This fixes the problem.
-- Regards, Wiktor Wodecki

Net::DNS would be the best. I added Net::DNS to the INSTALL file and patched Email::Valid to use dig or nslookup (if Net::DNS isn't installed). On Tue, Jan 14, 2003 at 05:34:02PM +0100, Wiktor Wodecki wrote:
this fixes the problem but cannot be a resolution. OTRS should use dig instead, or at least check which one is available. nslookup is deprecated...
On Tue, Jan 14, 2003 at 03:14:14PM +0100, Andreas Haase wrote:
apt-get -t stable install dnsutils This fixes the problem.
-- Regards,
Wiktor Wodecki
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "The number of Unix installations has grown to 10, with more expected." The Unix Programmer's Manual, 2nd Edition, June 1972

On Tue, Jan 14, 2003 at 03:14:14PM +0100, Andreas Haase wrote:
Debian no longer has nslookup as a standard installable package (ie: apt-get install nslookup will not work). Instead Debian opts for 'host' as a utility for querying DNS servers.
a simple 'ln -s /usr/bin/host /usr/bin/nslookup' fixed the Internet Server Error, but I suspect that there must be a better way to fix this.
apt-get -t stable install dnsutils
This fixes the problem.
Or install Net::DNS instead of nslookup. Why this dns stuff is used see "http://lists.otrs.org/pipermail/otrs/2003-January/000765.html". PS: I added it to the documentation (CVS). Thanks!
Andreas
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "The number of Unix installations has grown to 10, with more expected." The Unix Programmer's Manual, 2nd Edition, June 1972
participants (4)
-
Andreas Haase
-
Martin Edenhofer
-
otrs@ignore.mine.nu
-
Wiktor Wodecki