Unix Technical Forum

lsconf output

This is a discussion on lsconf output within the AIX Operating System forums, part of the Unix Operating Systems category; --> Good Day, I have a IBM p640 (2X Power3) running AIX 4.3.3. Does anybody know why i get the ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 08:19 PM
M Hirst
 
Posts: n/a
Default lsconf output

Good Day,

I have a IBM p640 (2X Power3) running AIX 4.3.3. Does anybody know
why i get the following output from lsconf.

/usr/sbin/lsconf: set: unknown option: A
Network Information
Host Name:
IP Address:
Sub Netmask:
Gateway:
Name Server:
Domain Name:

There are two network cards and both are up.

Hostname gives the correct response and smitty 'sees' the correct
addresses etc...

Cheers

Martin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 08:19 PM
Andreas Schulze
 
Posts: n/a
Default Re: lsconf output

"M Hirst" <hirst@interomex.com> schrieb im Newsbeitrag
news:e0f2e7f2.0310010917.3ea48d94@posting.google.c om...
> Good Day,
>
> I have a IBM p640 (2X Power3) running AIX 4.3.3. Does anybody know
> why i get the following output from lsconf.
>
> /usr/sbin/lsconf: set: unknown option: A
> Network Information
> Host Name:
> IP Address:
> Sub Netmask:
> Gateway:
> Name Server:
> Domain Name:
>
> There are two network cards and both are up.
>
> Hostname gives the correct response and smitty 'sees' the correct
> addresses etc...
>
> Cheers
>
> Martin


Hallo Martin,

I do not have your hardware/software combination to check but lsconf aka
prtconf is a simple (Korn-) shell script. Thus you might just look into it
and/or use the -x Option to watch it during execution.

Regards,
Andreas


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 08:20 PM
Nicholas Dronen
 
Posts: n/a
Default Re: lsconf output

Andreas Schulze <b79xan@gmx.de> wrote:
AS> "M Hirst" <hirst@interomex.com> schrieb im Newsbeitrag
AS> news:e0f2e7f2.0310010917.3ea48d94@posting.google.c om...
>> Good Day,
>>
>> I have a IBM p640 (2X Power3) running AIX 4.3.3. Does anybody know
>> why i get the following output from lsconf.
>>
>> /usr/sbin/lsconf: set: unknown option: A
>> Network Information
>> Host Name:
>> IP Address:
>> Sub Netmask:
>> Gateway:
>> Name Server:
>> Domain Name:
>>
>> There are two network cards and both are up.
>>
>> Hostname gives the correct response and smitty 'sees' the correct
>> addresses etc...
>>
>> Cheers
>>
>> Martin


AS> Hallo Martin,

AS> I do not have your hardware/software combination to check but lsconf aka
AS> prtconf is a simple (Korn-) shell script. Thus you might just look into it
AS> and/or use the -x Option to watch it during execution.

Someone at IBM forgot to include the #!/bin/ksh line at the head
of the script. I believe the problem's been fixed in a higher level
of whatever fileset delivers those scripts.

Regards,

Nicholas

--
"Why shouldn't I top-post?" http://www.aglami.com/tpfaq.html
"Meanings are another story." http://www.ifas.org/wa/glossolalia.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-04-2008, 08:20 PM
M Hirst
 
Posts: n/a
Default Re: lsconf output

Thank You!

I (stupidly) was running lsconf in a BASH shell. When i switched to
ksh it worked like a charm.

Cheers

Martin







"Andreas Schulze" <b79xan@gmx.de> wrote in message news:<blgtd3$s41@news-1.bank.dresdner.net>...
> "M Hirst" <hirst@interomex.com> schrieb im Newsbeitrag
> news:e0f2e7f2.0310010917.3ea48d94@posting.google.c om...
> > Good Day,
> >
> > I have a IBM p640 (2X Power3) running AIX 4.3.3. Does anybody know
> > why i get the following output from lsconf.
> >
> > /usr/sbin/lsconf: set: unknown option: A
> > Network Information
> > Host Name:
> > IP Address:
> > Sub Netmask:
> > Gateway:
> > Name Server:
> > Domain Name:
> >
> > There are two network cards and both are up.
> >
> > Hostname gives the correct response and smitty 'sees' the correct
> > addresses etc...
> >
> > Cheers
> >
> > Martin

>
> Hallo Martin,
>
> I do not have your hardware/software combination to check but lsconf aka
> prtconf is a simple (Korn-) shell script. Thus you might just look into it
> and/or use the -x Option to watch it during execution.
>
> Regards,
> Andreas

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-04-2008, 08:20 PM
RobH
 
Posts: n/a
Default Re: lsconf output


"M Hirst" <hirst@interomex.com> wrote in message
news:e0f2e7f2.0310020852.5d5f3ffb@posting.google.c om...
> Thank You!
>
> I (stupidly) was running lsconf in a BASH shell.

You're not stupid. It should still work under BASH.
IBM's poor QA is what's stupid (see Nicholas' post).


> When i switched to
> ksh it worked like a charm.

Warded off the evil spirits, eh?

RobH


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:06 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com