Removing older files OEL 4.5 Erro

Dear all,
I have some problem to remove older file in my OEL 4.5,
Actually our local Oracle Ebiz Instance mount point filled, it because of the old concurrent request files.
then i found that its very huge in size around 5Gb, if i delete one by one its very difficult, more over i should not delete last 15 days files. so i cant simply issue _rm -rf *_ command.
i issued this following command
find /ebiz1/prodappl/inst/apps/DEV01_ibm/logs/appl/conc/log/*.req -mtime -15 -exec rm -f {} \;
i am sure this is the correct command to remove older than 15 days. is in it, but after issuing this command i am getting this following errror..
*$find /ebiz1/prodappl/inst/apps/DEV01_ibm/logs/appl/conc/log/*.req -mtime 10 -exec rm -f {} \;*
-bash: /usr/bin/find: Argument list too long+
why this is happening,, i hope it because of large number files ? is it correct,, if it how to delete the older files which are burden to my server.
Regards
Hameed

Hameed wrote:
find /ebiz1/prodappl/inst/apps/DEV01_ibm/logs/appl/conc/log/*.req -mtime -15 -exec rm -f {} \;
why this is happening,, i hope it because of large number files ? is it correct,, if it how to delete the older files which are burden to my server.There is a shell limit in bash for arguments on the command line. Not just the actual count of arguments, but the length of each arguments is also a factor. This is only a problem for the "*" expansion in your command there. What you should be doing is something like the following:
find /ebiz/prodappl/inst/apps/DEV01_ibm/apply/conc/log/ -name "*.req" -mtime -15 -exec rm -vf {} \;
You want the find command to use it's matching abilities, not the shell. Find will look at everything from that path down and do its matching vs the shell limiting the number of files to pass to find. If what you're currently doing were to work it would be no better than using the ls command.

Similar Messages

  • Firefox 6 won't load from the exe file, always looking to remove older file which has been removed.

    Windows Vista 7. When I double click on Setup 6.0.exe file, it goes thru the file extraction, and prompts to reboot to remove old files. (The old files have been previously removed.) The computer restarts and no continuation of loading vs. 6. Then I proceed to click on Firefox Setup 6.o and click RUN. Goes thru set ups steps and then repeats "you computer must be restarted to complete uninstall of Firefox. Do you want to reboot?". If YES, then process repeats itself, if NO, it terminates the installation. Same results with IE and Google Chrome.

    If there are problems with updating then best is to download the full version and uninstall the currently installed version.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 6.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • I find the remove older Java tool not very useful - Can't it identify the troubled applications

    Suggestion - Why not make  an analyze  / remove older Java JDKs and JREs?
    The ideal application would analyze both Windows Registry and  XML files for any reference to Java and determine the versions they would use if they were made available on
    the file system / registry(windows). I would rather know that some nasty 3rd party application Norton Internet Security may be using as an example can be identified and disarmed
    by either removing that application from the file system or updating the application to properly fix it. Also when no updates are available why not create a legacy release that
    allows all versions to run under a wrapper that can handle any would be security violations that come along
    Also if someone could please tell me what Oracle means when they state the importance of patching CPU fixes?  What exactly are these so called, CPU fixes and why are they so vital??
    I believe Oracle owes its developers much more than some lame removal tool that could leave software on the client system or server just plain BROKEN.
    Being an Oracle  Certified Java Professional  I think we deserve much more from Oracle on these issues. You know today Oracle gets the blame for all the Java
    security vulnerabilities, exploits and successful hacks going on today. How can I be expected to develop code today with such stigmas
    When the public starts raving about the safety of PHP and .NET compared to the awful problems of security found with Java software well lets just say it makes a harsh economic condition 100 times worse.
    I am hugely disappointed in how Oracle is handling things with Java in this respect. They should be doing far better - Its outrageous it took 45 updates to maybe get things right and even that can not be a  sure thing. Based on Oracle's track record  I expect 60 updates by the end of the year and that just seems so wrong
    These are just a few of my pet peeves on this issue

    The Select>Color Range is only in the full versions of photoshop such as photoshop cs6.
    As far as i know that's never been available in photoshop elements (from the factory sorta speak) except in version 3 using an action created in photoshop.
    There are many other ways to make selections in photoshop elements.
    As a side note and not really pertaining to your version of elements, years ago back in the pre os x days, there was a plugin for photoshop/photoshop le/pse 1 on macs quite similar in function to select>color range.

  • Trying to down load itunes 10.4 but it gave an error couldnt remove older version of bonjour... any ideas

    Got a message while down loading Itunes 10.4... couldn't remove older version of bonjour??

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • AVI import fails for older files but works in iMovie

    I have two sets of AVI files, one from early 2000 and newer post 2008.
    Both groups of files import fine into iMovie 11.
    however, only the newer group imports into FCP X.
    I can convert the older files to MOV using QT, but this won't work well for many files.
    Seems if iMovie can read, so should FCP X.

    I have had a similar problem, where maye 8 out of 10 AVI format moves will download into iPhoto, but the rest simply never get there. I did get 107 out of 109 files OK but have seen worse. I can tell you about which camera it is, how I connect and so on, but first, this:
    A small sidebar in the Bugs & Fixes column of the April, 2007 Macworld magazine (see page 89) mentions that: "the likely cause is a problematic third-party QuickTime Plug-in." and advises the reader to check for and remove plug-ins not installed by OSX.
    I took the same camera and imported all 109 pics from my camera on a separate account of the same machine (20" i-mac but I don't think this is relevant) and got all 109 f 109 files just fine.
    So, I think "problematic third party QT plug-ins may be a good call. Need to investigate this some more, but its a flaky problem and Macs are supposed to "just plain work".

  • How to remove Database Files and Backup from ASM

    Hi All,
    Oracle Database 11.2.0.3
    OEL 5.7
    We have a host for restore purposes.
    We execute monthly or quarterly restore operations to verify that I am able to restore a subset of the data in the given amount of time or to other purposes.
    I have a automated script to Clone the Database, but to Clone Database we need remove the old database from ASM before start this operation. I want remove only Database files and keep the configuration (such as oratab/network/ocr and so on).
    Question: There is a easy way to remove these files without connect on ASM or by using DBCA?
    Appreciate any helps.

    user12028775 wrote:
    Hi All,
    Oracle Database 11.2.0.3
    OEL 5.7
    We have a host for restore purposes.
    We execute monthly or quarterly restore operations to verify that I am able to restore a subset of the data in the given amount of time or to other purposes.
    I have a automated script to Clone the Database, but to Clone Database we need remove the old database from ASM before start this operation. I want remove only Database files and keep the configuration (such as oratab/network/ocr and so on).
    Question: There is a easy way to remove these files without connect on ASM or by using DBCA?
    Yes... there is a easy way. Use command DROP DATABASE.
    Use the DROP DATABASE command to delete the target database and, if RMAN is connected to a recovery catalog, unregister it. RMAN removes all datafiles, online redo logs, and control files belonging to the target database. By default, RMAN prompts for confirmation.
    Put this command on your script before clone your database:
    RMAN> CONNECT TARGET SYS@test1
    RMAN> STARTUP FORCE MOUNT
    RMAN> SQL 'ALTER SYSTEM ENABLE RESTRICTED SESSION';
    RMAN> DROP DATABASE INCLUDING BACKUPS NOPROMPT;Regards,
    Levi Pereira

  • Upgraded to LR5.7 and PS Elements 13.  Using a SSD which is becoming Full! Can I remove older versions of these programs without affecting the functionality of the new programs?

    Upgraded to LR5.7 and PS Elements 13.  Using a Solid State Drive which is becoming Full! Can I remove older versions of these programs without affecting the functionality of the new programs?

    Yes, there is no need to keep previous versions of software on the SSD (or on your computer).
    Also, you didn't mention this but if the photos are on the SSD, you should move them off the SSD to a regular hard disk using these instructions: Adobe Lightroom - Find moved or missing files and folders

  • I can't open some of my older files.

    Upon attempting to open an older file I'm prompted to get the latest pages update.  When i go to do so, I'm told I have all the latest updates available.  Last update was Jan 27 2014.  Need these documents asap!!

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Note: Apple has removed over 90 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • Cannot remove older version of Apple Update to reinstall Itunes, tried control panel, no help, what do I do

    Message: "Cannot remove older version of Apple Update" when trying to reinstall Itunes. Tried using add remove programs in control panel, no help. Tried installing new quicktime, same message -- what do I do to get Itunes working again on my computer, using Windows xp

    I'm glad I put a smile on your face Stuff like this can drive me nuts.
    As I went to bed last night, I thought the same thing as you, to try a system restore. Otherwise, to answer the rest of your question, in XP, the location of the Update is in your Program Files/Apple Software Update.
    To find the hidden files that may be stopping you from disabling the updater, and doing a clean install, go to:
    My Computer, and on the Menu bar, click Tools/Folder Options/View/Show Hidden Files and Folders/click Apply/OK then double click on your main drive (C:)  then Documents and Settings/your user name/Application Data/ and delete the Apple computer folder with it iTunes and Preferences.
    Also in that previous views Local Settings/Application Data/Apple (Update Software)and also Apple Computer/iTunes.
    Go back to Documents and Settings (again from C: drive mode) click on All Users/Application Data/Apple and if you open up Installer Cache, you will also see that it has an Apple Updater in it (unless it was uninstalled on the original uninstall). Also from that Application Data window, you will see Apple Computer Folder which has previous iTunes info that needs to be deleted. Some of these folders may be gone, but at least you can check to see, to make sure.
    Here is a link from another post, to confirm or help clear up any of my paths/solutions.
    When you've done all that, restart your PC, and I would run CCleaner  (the free version links are just below the Buy and Download button) just to clean things up, and try your re-install.
    Hope I didn't overwhelm you.

  • Cannot remove older verison of bonjour

    Trying to update my computer to latest version of ITunes but installation will not proceed and I am advised to remove older version of Bonjour but am unable to do so and get a message that Bonjour cannot be removed and to contact technical support.  Any ideas

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • TS3212 unable to remove older version of bonjour

    cant download i tunes because unable to remove older verssion of bonjour

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I keep getting blue screen and error message to remove this file from system. spooldr.sys

    HP Officejet 4500 Wireless All-in-One Printer - G510n    w/operating system     Windows XP Professional
    I installed the printer in February and the disk did not finalize the setup process.  I went online and
    down loaded the drivers and software that was offered from the HP website.
    The printer works, but as the months have gone along, I keep getting updates for the printer and
    the system needs to reboot and it does automatically.
    Now I am getting a blue screen with a critical dump error message.  HP error reporting keeps sending
    the same message back to restore to earlier date before the updates.  That worked for awhile.  Now
    HP Error system says that malware has corrupted and needs to remove system file     spooldr.sys
    Is this in your driver software.  Spooldr is the system that caches pages of data for printing in chronological
    order....
    Can I uninstall my software and drivers and change to the plain & simple, print and scan to prevent the
    spool driver from loading to my system?

    Thank you for your input.  But, It is amazing that you can tell me that I was infected with  rootkit. 
    Without information as to how to fix, your information is after the fact and useless.
    I used the Safety Scanner provided to me by HP.  A full scan didn't detect any Malware in any files on my system.  But the last screen dump provided the information that   spooldr.sys  was corrupted and  needed
    to be removed.  
    Coming into HP Form, I did read on the HP website that my system Windows XP Professional was not listed
    and noted that the software may have not been just what I needed.  This was the reason for the question
    about uninstalling and reinstalling less of the program.  I really don't need my printer to print backward and
    that is all I see that it is doing that other printers don't.
    Besides, Kudos goes to the person from HP who sent the email,  suggesting I used the HP Update software and drives recommended  for my computer system.  Computer, printer is working, back to normal and hasn't taken a dump since, I uploaded  software and drives for Windows XP Professional.

  • How do i delete Older files from the directory before create a new file?

    Hi,
    How do i delete older files in a particular directory,
    the senorio is count the number of .txt files in a directory and delete the older files if file count is more than 10. (if i add 11th file the very first file has to be deleted)
    i have written the code to count the files and delete , but it is deleting all the files instead of older file
    public class ExtensionFilter implements FilenameFilter {
      private String extension;
      public ExtensionFilter( String extension ) {
        this.extension = extension;            
      public boolean accept(File dir, String name) {
        return (name.endsWith(extension));
    public class FileUtils{
      public static void main(String args[]) throws Exception {
        FileUtils.deleteFiles("c:/countfile/", ".txt");
      public static void deleteFiles( String directory, String extension ) {
        ExtensionFilter filter = new ExtensionFilter(extension);
        File dir = new File(directory);
        String[] list = dir.list(filter);
        File file;
        if (list.length == 0) return;
        for (int i = 0; i < list.length; i++) {
          //file = new File(directory + list);
    file = new File(directory, list[i]);
    if ((list[i]).length()>=10)
         System.out.print(file + " deleted : " + file.delete());
    Thanks,
    Jamin Rosina                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    What your code is doing now, is deleting all filenames that are longer than 10 characters.
    Your problem lies in the line:
    if ((list).length()>=10)

  • Error 550 when using CFFTP to remove a file

    I'm using cfftp to download files which I parse, then I need to delete the file from the server. (coldfusion 11 - development)
    I can list, and download the files fine, but am butting my head into a problem that I can't seem to resolve.
    USING THE SAME PATH AND FILE NAME that allowed me to 'get' the file - When I try to remove the file - I get this error.
    Error: 550 file: No such file or directory .
    (again - the path and file name I provide are identical to the path/filename -
    if this is a permission problem, I can delete files thru Filezilla, using the same credentials - with no problem)
    Here is the call to remove -
        <cfftp  action="remove"
                connection="myConnection1"
                passive="true"
                timeout="360"
                remotefile="#myPath##fileName#"
                item="file" >

    I'm not sure where you got the "This is not what the docs say" part.  Looking down the list of CFFTP attributes in the CF11 docs that apply to a "remove" operation, those were the attributes I would have expected to need.  Although I agree the examples could be clearer and a specific example of removing a file would be useful.
    -Carl V.

  • Cant remove a file from a directory

    hi gems...god morning...
    I am facing an issue but i cant figure it out..
    I have two users which belong to same group i.e. user1 and user2
    Now user1 owns a directory(dir1) and the permission is 775.
    Now user2 makes a FTP and places a file(fil1) into that directory(dir1) owned by user1.
    The umask setting is 027 and thats why in that directory(dir1) the file permission becomes 640.
    But when i am trying to delete that file(fil1) using user1, then it is not allowing me..
    what can i do..please suggest...thanks in advance...

    thanks for replying...
    It really looks strange and all i thought it is a code problem..
    Means the scenario i have told here is not from the direct access to the solaris box...
    It is happenning when a batch job is being called from there. The operations the batch job does is to take the file, do some processing and then remove that file. Everything is getting successful except the last step.
    But when I tried from the backend(direct access through putty) then it behaves normally.
    So i am confirm that it is a code issue. I have told the developers to check the code.

Maybe you are looking for

  • Accessing XI Web Service in Web DynPro

    Hi Experts,          I have a scenario wherein, I will have to access a Web Service that created in XI. My Finding still now, 1. I have a web service which is created in XI System. 2. Created a Logical Destination in the Visual Administrator. We have

  • Problem when running a lex/yacc parser

    All, I am currently seeing a problem when using lex/yacc to generate my parser (I suspect that gcc is the problem), I do not have the same result than the same one I use on my linux box. I am currently using XCode 2.4. I have attached below the lexer

  • Building customize component using java API

    Hi, Appreciate for hepls... being trying this for few days...:( I am trying to build a customize component to use in a process using adobe java API. I follow the document and include all the necessary lib files. It compiled with no errors. And I pack

  • Mail wouldn't quit in 10.4.7

    But thanks to an earlier thread, I looked at the third-party JunkMatcher filter and removing it solved the problem. Instructions are at http://junkmatcher.sourceforge.net/Howto/Installation/index.html#Uninstall

  • BDC for VBO1

    Hi, I am trying to create a BDC program to create product hierarchy rebates using VBO1.  I have a problem when entering the material for settlement because there is no page down button on the screen just a scroll bar.  So if I have a load of conditio