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

ls: not found

129 views
Skip to first unread message

John Poltorak

unread,
Dec 21, 1999, 3:00:00 AM12/21/99
to
I'm attempting to do some maintenance on an AIX (4.1.5) system which
keeps hanging on bootup. After booting off CD I go through a number
of steps until I get a choice of volume groups to manage. I select one,
and then mount shows me:-

/dev/ram0 / jfs rw
/dev/cd0 /SPOT cdrfs ro

At this point I try ls and get :-

/usr/bin/ksh: ls: not found

How do I get to a directory from which I can run ls?

I suspect that the hang could be due to running out of space, but I'm
not sure how to tell. When I switch on I normally get a resumption
of a hibernation. Is there any way to prevent his?

--
John

Bertrand, Martin

unread,
Dec 21, 1999, 3:00:00 AM12/21/99
to
mount /usr since most commands are in /usr/bin or /usr/sbin
OR
when you access your volume group choose the option to access only,
do not select the option before mounting filesystems.

John Poltorak

unread,
Dec 21, 1999, 3:00:00 AM12/21/99
to
In <385FDC89...@it.postoffice.co.uk>, Peter Bennett <benn...@it.postoffice.co.uk> writes:
>
>Often, you can't, at least not until the /usr filesystem is available.
>You have to get inventive with echo and wildcards, so
>echo *
>will expand to all the filenames in the current directory.

Well I never knew that trick!

>You then
>have to move about and try to vary on the root volume group and
>mount the root and usr file systems.

I do have access to find, but can't locate either more or vi.

>You would normally run a script somewhere (long, long ago it was
>something like 'continue.sh') which will help vary on the rootvg
>so look around for that script. If you want more direction towards
>it, e-mail me and I'll trawl through one of our AIX machines.

I'm an absolute newbie when it comes to volume groups and suchlike.
Basically I have two disks attached which appear to be in different volume groups.
I want to be able to mount the first and change it's start up so that it
comes up with a command line login.


>Pete Bennett
>benn...@it.postoffice.co.uk


>
>John Poltorak wrote:
>>
>> I'm attempting to do some maintenance on an AIX (4.1.5) system which
>> keeps hanging on bootup. After booting off CD I go through a number
>> of steps until I get a choice of volume groups to manage. I select one,
>> and then mount shows me:-
>>
>> /dev/ram0 / jfs rw
>> /dev/cd0 /SPOT cdrfs ro
>>
>> At this point I try ls and get :-
>>
>> /usr/bin/ksh: ls: not found
>>
>> How do I get to a directory from which I can run ls?
>>
>> I suspect that the hang could be due to running out of space, but I'm
>> not sure how to tell. When I switch on I normally get a resumption
>> of a hibernation. Is there any way to prevent his?
>>
>> --
>> John
>

>--
>
>Peter Bennett - Distributed Computing Environment specialist
>Post Office Middleware Development Group
>TEL: 01246 283 221

--
John

John Poltorak

unread,
Dec 22, 1999, 3:00:00 AM12/22/99
to
In <385FF584...@nortelnetworks.com>, "Bertrand, Martin" <mb...@nortelnetworks.com> writes:
>mount /usr since most commands are in /usr/bin or /usr/sbin
>OR

Can you give me an example of how to do this?

I have two disks, which I think are in different volume groups, and I suspect
both have a /usr

>when you access your volume group choose the option to access only,
>do not select the option before mounting filesystems.

>John Poltorak wrote:


>>
>> I'm attempting to do some maintenance on an AIX (4.1.5) system which
>> keeps hanging on bootup. After booting off CD I go through a number
>> of steps until I get a choice of volume groups to manage. I select one,
>> and then mount shows me:-
>>
>> /dev/ram0 / jfs rw
>> /dev/cd0 /SPOT cdrfs ro
>>
>> At this point I try ls and get :-
>>
>> /usr/bin/ksh: ls: not found
>>
>> How do I get to a directory from which I can run ls?
>>
>> I suspect that the hang could be due to running out of space, but I'm
>> not sure how to tell. When I switch on I normally get a resumption
>> of a hibernation. Is there any way to prevent his?
>>
>> --
>> John

--
John

0 new messages