Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nslookup doesn't work on CGI server

2 views
Skip to first unread message

Andrew Haylett

unread,
Jul 24, 2002, 12:32:22 PM7/24/02
to
I use /usr/bin/nslookup in one of my scripts. It's now started saying:

ld.so.1: /usr/bin/nslookup: fatal: libl.so.1: open failed: No such file or directory

Any ideas? (Esp. from Demon.)

Andrew.

Olaf Leimann

unread,
Jul 25, 2002, 6:32:18 AM7/25/02
to
On stardate Wed, 24 Jul 2002 16:32:22 +0000 (UTC), Andrew Haylett
<a...@primagraphics.co.uk> scribbled meticuously:

I think that the CGI script does not get a full complement of
Unix/Linux commands in its path (at least not on customer sites on
Demon Office).
You can basically only depend on the basic Perl libraries and some
others, like CGI.

When calling external commands, make sure it is accessible first.

Ciao,
Olaf.

Richard Clayton

unread,
Jul 25, 2002, 6:30:04 AM7/25/02
to
In article <ahmkqm$d1p$1...@atlas.primag>, Andrew Haylett
<a...@primagraphics.co.uk> writes

>I use /usr/bin/nslookup in one of my scripts. It's now started saying:
>
>ld.so.1: /usr/bin/nslookup: fatal: libl.so.1: open failed: No such file or
>directory
>
>Any ideas?

try it again now :)

> (Esp. from Demon.)

--
richard writing to inform and not as company policy

"Assembly of Japanese bicycle require great peace of mind" quoted in ZAMM

Andrew Haylett

unread,
Jul 26, 2002, 5:16:10 AM7/26/02
to
Olaf Leimann <olei...@hotmail.com> wrote:
> <a...@primagraphics.co.uk> scribbled meticuously:

That should be "meticulously" ;-)

>> I use /usr/bin/nslookup in one of my scripts. It's now started saying:
>>
>> ld.so.1: /usr/bin/nslookup: fatal: libl.so.1: open failed: No such file or directory
>>
>> Any ideas? (Esp. from Demon.)
>>
>> Andrew.

> I think that the CGI script does not get a full complement of
> Unix/Linux commands in its path (at least not on customer sites on
> Demon Office).
> You can basically only depend on the basic Perl libraries and some
> others, like CGI.

> When calling external commands, make sure it is accessible first.

Well, yes. But the command has been available for years, and in fact
still was; it just didn't run correctly. But now it is fixed - thanks
Richard!

Andrew.

Olaf Leimann

unread,
Jul 30, 2002, 2:40:25 AM7/30/02
to
On stardate Fri, 26 Jul 2002 09:16:10 +0000 (UTC), Andrew Haylett
<a...@primagraphics.co.uk> scribbled meticulously:

> Olaf Leimann <olei...@hotmail.com> wrote:
> > <a...@primagraphics.co.uk> scribbled meticuously:
>
> That should be "meticulously" ;-)

Fixed.
So, where's your spelling error then ? <g>

> >> I use /usr/bin/nslookup in one of my scripts. It's now started saying:
> >>
> >> ld.so.1: /usr/bin/nslookup: fatal: libl.so.1: open failed: No such file or directory
> >>
> >> Any ideas? (Esp. from Demon.)
> >>
> >> Andrew.
>
> > I think that the CGI script does not get a full complement of
> > Unix/Linux commands in its path (at least not on customer sites on
> > Demon Office).
> > You can basically only depend on the basic Perl libraries and some
> > others, like CGI.
>
> > When calling external commands, make sure it is accessible first.
>
> Well, yes. But the command has been available for years, and in fact
> still was; it just didn't run correctly. But now it is fixed - thanks
> Richard!

Yes, I saw that posting as well - looks like I'll have to write a
little script that shows me all the available commands, then.

I'm on the dutch Demon Office, and when logging in through SSH
(puTTY), the amount of commands available is rather slim.
It didn't occur to me that the web server/perl module has quite a bit
more external commands available to it (let alone Perl modules?)...
>
> Andrew.

Thanks,
Olaf.

0 new messages