Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20
thanks, its set at level 2, also for some reason i get 'write error in swap file' message when i open a file as in when i vim-ed /etc/sysconfig/msec, do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jun 2005
    Posts
    16

    thanks, its set at level 2, also for some reason i get 'write error in swap file' message when i open a file as in when i vim-ed /etc/sysconfig/msec, do you have any idea why thats happening?

  2. #12
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Write errors typically occur for one of the following reasons:

    1) Disk full;

    2) Bad sector encountered; or

    3) The swap file was deleted by another process within a multitasking
    environment on a workstation in which the SHARE utility has not been
    loaded.

    Check the amount of used/free space with
    Code:
    df -hT
    and open
    Code:
    top
    and look at the Mem: and Swap: fields at the top to see whether your swap file is actually filling up.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  3. #13
    Just Joined!
    Join Date
    Jun 2005
    Posts
    16
    yea my root dir is at 100% and top is showing mem and swap as normal.

  4. $spacer_open
    $spacer_close
  5. #14
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    That might give us a clue as to the problems chage is experiencing. The system creates lock files (like the /etc/password.lock file I mentioned earlier) to keep concurrent users from modifying files at the same time...if chage can't create that file because the disk is full, that may cause a problem like the one you're experiencing. Any idea what's taking up all that space?
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  6. #15
    Just Joined!
    Join Date
    Jun 2005
    Posts
    16
    i'm not sure, root is only 510MB to start with and i found a tar.gz file taking up 100MB so i moved it into a more appropriate location, but when i do df -hT it still shows root/ at 100%..

  7. #16
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Could you post the df -hT output?
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  8. #17
    Just Joined!
    Join Date
    Jun 2005
    Posts
    16
    ok after another mv i got it down to 98%.

    Filesystem Type Size Used Avail Use% Mounted on
    /dev/hda1 reiserfs 510M 499M 12M 98% /
    /dev/hda9 reiserfs 13G 11G 2.0G 85% /home
    /dev/hda6 reiserfs 495M 33M 463M 7% /tmp
    /dev/hda7 reiserfs 9.0G 6.9G 2.2G 77% /usr
    /dev/hda8 reiserfs 13G 7.6G 5.1G 60% /var

  9. #18
    Just Joined!
    Join Date
    Jun 2005
    Posts
    16
    ok now chage is working when i run it manually .. i still have no idea how root/ got full though..

  10. #19
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    The / partition is tiny...I pretty much never use less than 1Gb for the / partition "just in case". You could pretty easily fill up 512Mb without really even adding anything. Glad we at least figured out the problem with chage, though.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  11. #20
    Just Joined!
    Join Date
    Jun 2005
    Posts
    16
    yea thats true.. thanks alot for your help, i really appreciate it

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •