Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15
well i mean you can use a find command to delete items older than a certain date, but all i meant was go through and delete some of the older ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035

    well i mean you can use a find command to delete items older than a certain date, but all i meant was go through and delete some of the older temporary configuration files.
    the find command though for files older than say 14 days would be (as root)
    Code:
    find /tmp -atime 14 -xdev -print0 | xargs -0r rm -f
    -lakerdonald

  2. #12
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105
    what about my accidently deleting mysql.sock? How do I fix that?

  3. #13
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    i think that will repair itself next time you start the mysql daemon
    -lakerdonald

  4. $spacer_open
    $spacer_close
  5. #14
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105
    the email appearantly is stuck also when sending email.

    An unknown error has occurred.

    Server: 'mail.domain.com', Protocol: SMTP, Server Response: '451 Temporary local problem - please try later', Port: 25, Secure(SSL): No, Server Error: 451, Error Number: 0x800CCC6A


    Why am I getting this error now?

    I deleted some files from /tmp I don't know why it doesn't clear by itself.

    Why 451 error?

  6. #15
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    try restarting your sendmail daemon

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
  •