From: hume.spamfilter on
happytoday <ehabaziz2001(a)gmail.com> wrote:
> svc.startd could not set context for method: chdir: No such file or
> directory

Somebody is missing a directory. Does root's homedir exist?

> I tried to cat a library file . That was the cause of the crash.

catting a library file shouldn't crash the system, unless you were catting
INTO the file (overwriting it).

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: happytoday on
On Feb 18, 1:50 am, hume.spamfil...(a)bofh.ca wrote:
> happytoday <ehabaziz2...(a)gmail.com> wrote:
> > svc.startd could not set context for method: chdir: No such file or
> > directory
>
> Somebody is missing a directory.  Does root's homedir exist?
>
> > I tried to cat a library file . That was the cause of the crash.
>
> catting a library file shouldn't crash the system, unless you were catting
> INTO the file (overwriting it).
>
> --
> Brandon Hume    - hume -> BOFH.Ca,http://WWW.BOFH.Ca/

How can I investigate root's homedir exist?
???

From: Richard B. Gilbert on
happytoday wrote:
> On Feb 18, 1:50 am, hume.spamfil...(a)bofh.ca wrote:
>> happytoday <ehabaziz2...(a)gmail.com> wrote:
>>> svc.startd could not set context for method: chdir: No such file or
>>> directory
>> Somebody is missing a directory. Does root's homedir exist?
>>
>>> I tried to cat a library file . That was the cause of the crash.
>> catting a library file shouldn't crash the system, unless you were catting
>> INTO the file (overwriting it).
>>
>> --
>> Brandon Hume - hume -> BOFH.Ca,http://WWW.BOFH.Ca/
>
> How can I investigate root's homedir exist?
> ???
>

Boot from the Install CD/DVD. You can get to a shell prompt, mount the
disk, get a directory listing, etc, etc.
From: hume.spamfilter on
happytoday <ehabaziz2001(a)gmail.com> wrote:
> How can I investigate root's homedir exist?
> ???

su to root. If you see the message "no homedir", then it's gone.

Also, you could grep '^root' /etc/passwd.

% grep ^root /etc/passwd
root:x:0:0:Super-User:/root:/usr/bin/bash

The sixth field is the homedir. In this case, /root, although it may be
different on your system. Check to see if the directory exists.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: hume.spamfilter on
Richard B. Gilbert <rgilbert88(a)comcast.net> wrote:
> Boot from the Install CD/DVD. You can get to a shell prompt, mount the
> disk, get a directory listing, etc, etc.

That's a bit excessive. The system is obviously bootable.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/