Deleting Log files

Further to my other post on vanishing disk space, I'd like to just delete the kernel.log.1 and kernel.log.2 files that have gotten so big.
I realise that they may grow again if there's an underlying problem that hasn't fixed itself, but the issue of the vanishing disk space seems to have sorted itself.
So as its the first time, this seems like an easier option than a clean install etc.
However, I can't see the folder they are in via the finder :
Macintosh HD > Private > Var > Log
I've tracked them down using OmniDiskSweeper, but when I try to delete them in ODS, nothing happens...
Any suggestions on how to delete these two files would be much appreciated.

Figured out how to do it in the terminal :
sudo rm/private/var/log/kernel.log.1
Will keep an eye on the free space to see if it happens again.

Similar Messages

  • Adobe 9.5 deletes log files - need to turn off creation of log files

    We have a bunch of files from SAS outputs that include a .sas, .rtf, .log extensions.
    When we try to convert a batch of the .rtf files to PDF by right clicking on them, the .log files are deleted. The originals are not Adobe .log files, but required files from the SAS output.
    I have unchecked "Delete Log Files for Successful jobs" in both Distiller and the Adobe printer preferences.
    It only deletes the .log with the same name as file types associated with Word. If I create .txt or xls files and .log files with the same name (i.e. test.txt and test.log) it does not delete the .log file, but it is overwritten by the Adobe log.
    This happens whether the file is local or on a mapped network drive.
    If I save to a different location, the .log is not deleted or overwritten, but that is really just a workaround. It's doable if it's the only option.
    They can also copy only the .rtf files to another folder and copy the .pdf files back after, but this is alot of extra work for high volumes
    This is an ongoing need involving lots of files, so moving or renaming is not an option, even with batch programs.
    What I really need to do is stop Adobe from creating AND deleting log files or force it to create the .log files in a different location than the original. Unless the problem is Word, but I cannot find any information on this problem.
    Thanks
    Mike

    Hi Shay,
    You are right, it would make perfect sense, however as you can see from the below forum, I was not able to solve this compilation issue..
    Oracle 10g Email Portlet - HELP PLEASE!!!
    (First post is the issue).
    If you have any ideas on how I could solve it, it would be great.
    Thanks
    Sam

  • Delete Log File: Correspondence in Training and Event Management ( t77vp)

    Is there a standard way of deleting the Log File: Correspondence in Training and Event Management ( T77VP ) from the system.
    Thanks for your help.
    Andi

    Hi Niladri,
    Please open a new discussion for this as it's a different question. Not only is this stated in the guidelines and makes it easier for other members to search for the right things, but it also increases your chances of getting the right answers, because users know you are looking at LSO rather than TEM and because many users, sadly, are driven by points primarily for giving answers and know you could not mark their answer as correct, because it's not your post.
    Please also give context info: which correspondence solution are you using (Smartforms, Adobe forms, SAPscript) and which version of LSO. 

  • How to delete log files in wheel group

    Let me start by saying that I've never used the terminal mode on a mac before, and I know nothing about UNIX. But here's my problem:
    My MacBook Pro, running OS 10.6, began filling up its boot disk for no apparent reason. I ran Disk Inventory X and found that a group of files had just been created in a folder called "Private" that is in the wheel group, to which I do not have access (I understand that this is a root admin group used by OSX). These files include, among others, a log file that is 20GB and was just created today. Since I can't access this folder as a normal user, how do I delete these files, and how can stop this from continuing to fill up my disk?

    Open the Console in the /Applications/Utilities/ folder and look at the various log files for an entry or group of entries which is repeated many times. When done, choose Go to Folder from the Finder's Go menu, provide /private/var/log/ as the path, and delete the files as you would any other.
    (60027)

  • How to recover from deleting log file?

    Hi,
    In a case on Mondayitis I accidentally deleted C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_35N72N5G_.LOG'
    and now can't start my database. (see error below)
    Tue Jun 12 12:40:29 2007
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_lgwr_3544.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_35N72N5G_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Tue Jun 12 12:40:30 2007
    ORA-313 signalled during: ALTER DATABASE OPEN...
    Can someone guide me on how I can create a new log file and get my database up and running.
    Thanks
    Anthony

    After a bit more research I fixed the problem.
    But just in case anyone else does the same stupid thing - here is how I fixed it.
    connect / as sysdba
    RECOVER DATABASE UNTIL CANCEL;
    ALTER DATABASE OPEN RESETLOGS;
    And database is up and running.
    Regards
    Anthony

  • How to delete log files in ACS 3.3

    hi guys, does any 1 know how to delete log/accounting files (*.csv) in ACS 3.3 (software version under win2000 server)
    kindly let me know, coz i m not able to find any option that allows me to delete them

    Have you tried shutting down the ACS Service and moving / deleting the file in Windows 2000 Server.
    You have to turn on the ACS service after you have deleted the log file.

  • Issues o delete log files

    Hi All,
    I am using oracle AS 10g wireless for messaging services. Now one log file is taking too much size and i want to delete it. Can anyone let me know...can I delete it
    Log file name -----Oracle Home\j2ee\OC4J_Wireless\log\OC4J_Wireless_default_island_1
    I think there should not be any issue to delete it but i want to make sure plz let me ASAP.
    Thanks in advance
    Saqib

    Ok, as nobody wanted to risk answering this question a close the message.

  • How to delete log file after zipping in batch

        
        **please check my code ... and suggest any changes to be made ... i m able to zipp the logs but not able to delete those logs.........
            thanking you...
            this is my code....
            @echo off
            set zip="C:\Program Files\7-Zip\7z.exe"
            rem Findout Month, Year and Date
            FOR /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do set year=%%D
            FOR /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do set month=%%B
            FOR /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do set day=%%C
            rem Solve problem Year start and adding 0 in month
            if %month% EQU 01 (
            set month=12
            set /a year=%year%-1
            ) else (
            set /a month=%month%-1
            if %month% LSS 10 set month=0%month%
            rem Set file names for last month file.
            set lastmonthfiles=server.log.%year%-%month%-
            %zip% -tzip  a -y "%lastmonthfiles%.zip" %lastmonthfiles%*
            if exist %lastmonthfiles%.zip(
            DEL server.log.%year%-%month%-*
            ) else (
                echo file not found
                pause

    Actually it is only the 7Z filemanager that can delete files using the "Move" command and the "Delete after archiving" option.
    if EXIST %lastmonthfiles%.zip ( DEL server.log.%year%-%month%-* ) ELSE echo zip not found
    ¯\_(ツ)_/¯

  • Delete logged file

    I have a file in the trash, what is located on an external HD. I have tried everything includig rename , Gravejard but it is impossible to remove this file from the trash it is locked and can not be unlocked (file name: boot.efi). Any idea how to get rid of this??
    Thanks
    Sorry wanted to post in Lion...

    Whay are your trying to get rid of this?? How did it even get into the trash.
    The file boot_efi is a required filr for boot up.
    Steve

  • Delete concurrent manager log files

    hai,
    can i delete manually concurrent log files($APPLCSF) tell me the command .
    just last 3 days log files is enough . and then above log and out file .
    how can u remove these log and out files for specific reqiurment
    . in linux flatform
    regards
    dba

    what problem occur if i delete log files at os levelThere should be no issues, but as stated above this can be done by the concurrent request so why to bother yourself and do it manaully?
    If you delete log/out files manaully from the OS for some requests which have not been purged from the tables, then you will not be able to access the log/out file of that request from the application.

  • RESTORE ARCHIVELOG ALL VALIDATE; - returns log file names

    Environment:
    Oracle 11.2.0.3 EE on Solaris 10.5
    RMAN using control file as repository.
    My archive logs are going to /arch/<SID>. During a time of unforeseen high activity the directory was filling up and some of the files had to be move to a different mount point. I have since done several Level 0 incremental backups including (plus) archivelogs.
    My RMAN archivelog deletion setting is: CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO DISK;
    I have since begun to run more frequent archive log backups to keep the mount point cleaner.
    Since I have several successful Level 0 backups including archivelogs, I manually deleted the archived logs on the secondary mount point.
    I registered the logs in the secondary mount point using REGISTER ARCHIVELOG START IN '/xxxx';
    I then ran a CROSSCHECK ARCHIVELOG ALL; to update the control file repository.
    When I query the V$ARCHIVED_LOG view I see many entries for my deleted log files with a STATUS = 'X' (Expired) and a BACKUP_COUNT = 0.
    I ran DELETE EXPIRED ARCHIVELOG ALL;
    Now when I query the V$ARCHIVED_LOG view I see many entries with blank name column for the SEQUENCE# in my list and with a STATUS = 'D' (Deleted) and a BACKUP_COUNT = 0.
    When I run a RESTORE ARCHIVELOG ALL VALIDATE; it returns a long list of my deleted files with:
    RMAN-06025: no backup of archived log ... to restore
    OK, enough background. My question is how do I get RMAN to not look for my deleted files since I have several good backups?
    I realize my deletion policy says the files have to be backed up once to disk, which according to the V$ARCHIVED_LOG view they are not, but I was hoping since I ran the CROSSCHECK RMAN would not even be concerned with them.
    Many thanks for any advice!!
    -gary

    Thanks for the help! Square brackets! Doh!
    I changed the SQL just a bit. I have only one (1) thread and the primary database was running for several months before the standby was implemented so there are over 3500 sequence#'s in the V$ARCHIVED_LOG view for the Primary (DEST=1) that are not in the Standby (DEST=2).
    Here's the SQL I ran, using the SQUARE brackets! :-)
    SELECT SEQUENCE#
    FROM V$ARCHIVED_LOG
    WHERE DEST_ID=1
    MINUS
    SELECT SEQUENCE#
    FROM V$ARCHIVED_LOG
    WHERE DEST_ID=2It appears to me the Standby is accepting and applying the archived logs from the Primary based on looking at the most recent archived log sequence#'s.
    I'm just trying to get rid of the entries in the RESTORE ARCHIVELOG VALIDATE; command output.
    I don't have an RMAN Repository but am using the control files at the moment.
    Any other suggestions are very welcomed!!
    Thanks again!
    -gary

  • Log files will continue increasing if disable checkpoint operation?

    Hi all,
    If I disable the checkpoint operation by setting CkptFrequency=0,I think data store's log file will continue increasing and have to be deleted manually, is that right?
    thanks,
    Michael

    Hi Michael
    This is not correct. You should NEVER manually delete log files. If you disable automatic checkpoint you will still have to perform checkpoints but it will be completely under your control as to when they occur.
    It is only the operation of the checkpoint, or ttDestroy which should delete log files.
    Hope this helps
    Paul

  • Where can the log file be found after printing to the PDF printer?

    Cannot locate the log file after printing to the Adobe PDF printer.  The box was unchecked for delete log file after successful print.  Running Adobe Acrobat X Standard (v10.0.0) on a windows 2008 R2 server.

    There is usually no log file when the conversion succeeds. Only in certain cases are their warning or information messages, usually of little interest.

  • Need to Create a New Listener Log file 9i

    Hi, I have a issue with a oracle 9i database.
    First the listener.log file is 1.2G not good on a 25G server..
    How do you create and delete the listener file? Windows 2000 OS...
    Second I also have an issue with the archive log files... I have about 150 file 102M each...Again Not good...
    Need HELP drowning in a sea of oracle... Given the Shrink command....
    At least the Listener issue first then the archive log problem..
    Thank you...

    carlo_sc wrote:
    yes, we normally do a full daily backup and the archive logs are then deleted..But the Job didn't finish
    last night. Also we had big Network issue yesterday and I believe that caused the issue with this server
    causing an excessive amount of log files to be created...
    So with simply thing with lister is just too:
    1) stop listener service
    2) delete Log file.... (that won't mess anything up on restart ) I'm very skittish about manually deleting stuff from oracle..
    Got burned in Sept of last year big timeIt's just a log file. It's for your own use if needed. oracle doesn't use it or require it. You even have an option in the listener to not even write to it in the first place.
    3) restart listener service
    The archive logs : What if I move some of the files to another location then perform the a full daily backup will the that
    solve my archive log issues....
    Thanks for all the quick responses
    Edited by: carlo_sc on Jan 15, 2010 10:09 AMYou say you already have a backup job that gets the archivelogs and deletes them after backup? And the only real problem here is that it failed? Fix the failure and run it again. You can, in a pinch, manually move the archivelogs, but then YOU are responsible for keeping up with them.
    Edited by: EdStevens on Jan 15, 2010 9:32 AM

  • Clearing log files

    I am running 10.2.8. Can someone tell if I should clear my log files. I see some of them are from 2004. I have opened console in utilities and find under options "reload" and "clean" under edit. I can't seem to find the purpose for these and hate to click on them if I don't know what to do. I have found some info in the MacWorld Feb 2005 as to how to use Console to delete log files, but, it seems to be referring to a later version of console. I do have MacJanitor I use to clear cache files. Just not sure if I should or how to clear log files. Any info is appreciated.
    Thanks for helping.
    Cayleen

    hi cayleen--
    you can delete all the logs you want and it won't harm anything. they don't actually take up very much space but if you like cleaning things out then go ahead. the only time you may not want to do this is if your computer has been having problems so you can read over them. [ 8 ) ]

Maybe you are looking for