Wednesday, May 9, 2012

FreeBSD: Enter full pathname of shell or RETURN for /bin/sh

I got this error after scp a big file yesterday.. I thought my server was crash.
But it actually run in single user shell.

Solution:
Enter full pathname of shell or RETURN for /bin/sh:  > Enter
# Exit or ctrl-D to leave the single-user shell.


Then login like usual to your server.


**********Standard way of dealing with single user mode:
Code:
fsck -y
mount -u /
mount -a -t ufs
swapon -a

1 comments:

Unknown said...

I was skeptical but desperate. Worked flawlessly. Thanks!

Post a Comment