On Sun, Nov 1, 2009 at 1:19 AM, maximb <maxim.b...@gmail.com> wrote:
> Somewhere I had read an opinion, that such kind of errors can be
> related to size or avalability of free memory in /tmp directory. Is
> that correct ?
Depending on how /tmp is set up, it could be a ramdisk, a separate
partition, or just another folder in the filesystem.
Can you run the following script and post the contents of output.txt:
true && ( set -x
head /etc/issue*
df -hT /tmp
df -hTl
) >& output.txt
Also, have you tried booting up the machine with a LiveCD, e.g.
Knoppix, and running an fsck on the filesystem
Regards,
- Robert
Can you elaborate on what that means? Are you able to run a bash or
sh shell? Are you able to boot into runlevel 1 or single?
> Can you, please, post some examples of a good- and-bad looking outputs
> of the script ?
Here's the output when run on my Ubuntu machine:
$ cat output.txt
+ head /etc/issue /etc/issue.net
==> /etc/issue <==
Ubuntu 8.04.3 LTS \n \l
==> /etc/issue.net <==
Ubuntu 8.04.3 LTS
+ df -hT /tmp
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 ext3 20G 16G 2.4G 87% /
+ df -hTl
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 ext3 20G 16G 2.4G 87% /
varrun tmpfs 220M 116K 220M 1% /var/run
varlock tmpfs 220M 0 220M 0% /var/lock
udev tmpfs 220M 52K 220M 1% /dev
devshm tmpfs 220M 12K 220M 1% /dev/shm
lrm tmpfs 220M 40M 181M 18%
/lib/modules/2.6.24-25-generic/volatile
gvfs-fuse-daemon
fuse.gvfs-fuse-daemon 20G 16G 2.4G 87% /home/rwcitek/.gvfs
The output you get from RedHat should look similar. Although I don't
remember if RH6.1 has /etc/issue or if the df command has the -T
option.
As for bad-looking output, it could be anything, for example an error
with "command not found".
Regards,
- Robert
What product is this? Can you get access to the filesystem by booting
a LiveCD, e.g. Knoppix?
Regards,
- Robert