Unix command needed to search alert log

Hi. Im trying to search the alert log file to see if there is any thing related to the checkpointing process.
Specifically Im looking for anything that includes "Checkpoint not complete".
If anyone knows the command for searching the file in UNIX for this then please post here!
Many thanks
DA

Hi Dan,
"Checkpoint not complete".In UNIX try: http://www.dba-oracle.com/op_unix_16_cat_grep_commands.htm
grep "checkpoint not complete" /u01/app/..../alertSID.log
In Windows:
http://www.dba-oracle.com/t_windows_alert_log_script.htm
I e-mail myself important alert log messages, using this technique:
http://www.remote-dba.cc/oracle_tips_table_alerts.htm
Also, you can read the alert log from SQL, if you want:
http://www.dba-oracle.com/t_oracle_alert_log_sql_external_tables.htm
Hope this helps. . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference":
http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

Similar Messages

  • Working Code from Unix Command, needs fixing!

    /* Codes needs modification to run and display in GUI, will run and produce output in terminal, but will not display in GUI with setText and getText */
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class UnixCommand extends JFrame
    private JComboBox comboBox;
    private JTextArea displayArea;
    private JPanel mainPanel, displayPanel, comboPanel;
    private String names[] = { "Check Processes", "Check Network Connectivity",
                        "Check Remote Users", "Check Share Devices" };
    TitledBorder selectBorder, displayBorder;
    public UnixCommand()
         super( "Unix Command Tools in GUI" );
         Container container = getContentPane();
         mainPanel = new JPanel( new BorderLayout() );
         container.add( mainPanel );
         displayPanel = new JPanel();
         comboPanel = new JPanel();
              mainPanel.add( displayPanel, BorderLayout.CENTER );
              mainPanel.add( comboPanel, BorderLayout.NORTH );
                   comboBox = new JComboBox( names );
                   comboBox.setMaximumRowCount( 3 );
                   comboPanel.add( comboBox );
                        selectBorder = BorderFactory.createTitledBorder( "Select the Task to Perform" );
                        selectBorder.setTitlePosition( TitledBorder.TOP );
                        comboPanel.setBorder( selectBorder );     
                   displayArea = new JTextArea( 22, 40 );
                   displayPanel.add( displayArea );
                        displayBorder = BorderFactory.createTitledBorder( "The Command Output Selected" );
                        displayBorder.setTitlePosition( TitledBorder.BOTTOM );
                        displayPanel.setBorder( displayBorder );
    String s = null;
         displayArea.setText("\tHere is the standard output of the command:\n");
    try
                             // run the Unix "ps -ef" command
    Process p = Runtime.getRuntime().exec("ps -ef");
    BufferedReader stdInput = new BufferedReader(new
    InputStreamReader(p.getInputStream()));
    BufferedReader stdError = new BufferedReader(new
    InputStreamReader(p.getErrorStream()));
                        // read the output from the command
    System.out.println("Here is the standard output of the command:\n");
    while ((s = stdInput.readLine()) != null)
    System.out.println(s);
                        // read any errors from the attempted command
    System.out.println("Here is the standard error of the command (if any):\n");
    while ((s = stdError.readLine()) != null)
    System.out.println(s);
    System.exit(0);
    catch (IOException e)
         System.out.println("exception happened - here's what I know: ");
         e.printStackTrace();
         System.exit(-1);
    setSize( 500, 500 );
    setVisible( true );
    public static void main( String args[] )
         UnixCommand application = new UnixCommand();
         application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    }

    All files are regenerated if changed.
    That goes for the .java and the .class files that are created. The jsp server checks to see if the current version is the latest. If it is, nothing gets changed or recompiled. If things are different, programs are recompiled.
    Youll notice that if you have a new jsp it always takes longer the first time. Or even when you change a jsp, the first time takes the longest for the page to come up in a browser. This is because of recompiling.
    Does this make any sense?
    Adam

  • SAP related UNIX commands needed.

    Dear All,
    I am new to unix environment, we have HPUX OS.
    Please provide me frequently used Unix commands related to SAP.or document please send it to me at [email protected] or paste it here.
    appreciate your early response.
    Regards,
    SM

    Hi again. The commands like ps -ef or grep is not special commands for SAP,it's commands for HP-UX, you can read
    about him on HP forums or HP documents...
    The links -->
    1) Technical documentation http://docs.hp.com/
    2) Online help - home http://www12.itrc.hp.com/service/help/onlineHelpHome.do?admit=109447627120628628184728353475
    3) Forums --> hp-ux technical documentation
    http://forums11.itrc.hp.com/service/forums/categoryhome.do?categoryId=475
    If you interest some commands only run search on the HP forum.
    Regards. Award if helpful.

  • Unix Command Needed

    I would like to format a SATA drive that is connected with a USB adapter, but I am unsure how to do it without overwriting my internal drive.
    diskutil resizeVolume disk0s2 200G "JHFS+" 4-Linux 30G "MS-DOS FAT32" 4-Windows 0b
    The command above was copied from another forum. I couldn't remember if it has a typo that needs to be fixed (0b to 0G?).
    I assume that disk0s2 needs to be changed, but I cannot figure out what my external drive would be named. Please advise.

    diskutil resizeVolume disk1s3 200G "JHFS+" 4-Linux 30G "MS-DOS FAT32" 4-Windows 0b
    Thanks, that worked perfectly!
    This worked, but I now see that UNIX was not needed to make it happen. I'm stumped why so many forums regarding triple booting a Mac don't use Disk Utility instead of UNIX. Not to mention, I found one that had bad syntax, and I had to keep searching to find one that worked.
    The Linux partition was formatted in Mac OS Extended Journaled. Linux must be able to see the partition when installing, and then it probably reformats to a non-Apple scheme before installation begins. Since it cannot be mounted by OS X when booting into X, it may be defaulting to ext3 format. In Disk Utility, it shows up as disk0s3, and it is grayed out.

  • Drop database deletes the alert log

    Hi DBA's ,
    I ran into a strange situation i never faced before.
    We have a Oracle database version 11.2.0.3.0.
    This is dev db which i had to refresh from production via rman.
    After the  drop database command finished all the contents of my trace folder dissapered including the alert log.
    Has anyone faced this situation before or help me understand what happened

    himmy, if you are dropping the database why would you need the old alert.log or any other diagnostic directory files?  Ideally if you drop a database there should be no record of it left on the system when the drop completes.  Why is this a problem?
    If you are refreshing the database from production then instead of dropping the database and creating a new database via rman restore perhaps you should be using either the export/import transportable tablespace feature to move the files or traditional export/import of the data.
    HTH -- Mark D Powell --

  • Alert logs for 100databases

    Hi Techies,
    we have nearly 100 databases to administrate , as part of our job, need to look alert logs of all the databases.what would be the easiest way to find the last day alert log file( need to navigate the alert log file location of each database and tail -f <Filename 500> to find the alert logs. This process will take time to go thru alert logs of all of our databases.).
    I Kindly requesting all you to give the valuable ideas and suggestions.
    DB:Oracle 10g (10.2.0.3.0)
    OS :Solaris /HP-UX
    Count of databases are increasing every 3 months.
    Thanks,
    Tippu

    Hi Tippu/ALL
    I am also working on the same type scripts , Where it would fetch the last days (yesterdays)entri from alert_SID.log file and grep -ORA error on that.
    But the tricky part is to fetch only yesterdays entry.
    For that i am using awk '/BEGIN/,/END/' <filename>
    wher it will give you the yesterdays entry.
    Take the variable say YESTERDAY and TODAY where it will be the Y'days and T'days date.
    But what i am fecing is alert_SID.log has the enrty somethiing like Oct 30 <some time say 15:25:54> 2009
    And if your Y'day variable value is something like Oct 29 2009 nad TODAYS is Oct 30 2009.
    If you user Y'day=Oct 29 and T'day=Oct 30
    then your job will be done....
    but the bug is it will fetch the through out year record say if u r ahving 2005,06,07,08,09 entry.
    and if you use Y'day=Oct 29 2009 and T'day=Oct 30 2009
    it wont give the o/p , because there is a timestamp btn this and which is varaible.
    If any way mean if we can skip this "Oct 30 <some time say 15:25:54> 2009" time stamp i.e. hour entry then we can get the girl.
    Please input neede

  • Checking alert logs

    hi ,
    i am new dba ..
    i need to check alert logs in my db under hp-ux how can i do it????
    appreciate your help

    For 10g releases
    ~~~
    show parameter background_dump_destfind alert_<sid>.log file
    Thanks
    FOr 11g
    ~~~~~~
    show parameter diagEdited by: CKPT on Aug 12, 2010 2:42 PM

  • Unix Command to search file

    Hi
    Can anyone tell me how to get filename from server using
    UNIX command in ABAP program.I have requirement to search file in server using date criteria.
    should i use 'FIND' command to search file??
    Plz do needful..

    You need to use SM69 to define command and use it in your report.
    Regards,
    Christophe

  • ARD 3.6.1 remote log in Unix command failure

    Hello, I am using 10.7.5 and ARD 3.6.1 and cannot figure out how to remotely log in to another computer
    I wish to remotely log in using ARD to multiple computers in my network, up to 30 at a time for elementary students.  I can observe, control and send Unix commands to the machines when they are at startup log in screen or in use. This is the Unix command I am trying to use to log into the comptuer using ARD and Unix command function.
    osascript -e 'tell application "System Events" to keystroke "login"'; \
    osascript -e 'tell application "System Events" to keystroke tab'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke "password"'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke return'
    **and yes I am changing the login and password keystroke**
    I have tried the above Unix command and several others but I get a message saying "A console user is not logged in on “studnetmacbook""  so I click the button to run command as user admin but then get the message below. 
    36:50: execution error: An error of type -10810 has occurred. (-10810)
    36:49: execution error: An error of type -10810 has occurred. (-10810)
    36:54: execution error: An error of type -10810 has occurred. (-10810)
    36:52: execution error: An error of type -10810 has occurred. (-10810)
    36:52: execution error: An error of type -10810 has occurred. (-10810)
    Could someone explain these errors.  Is ARD not compatible with remote log in with the versions I have?  I have seen on sites this is posted and other sites that this needs to be run as the root user...Should I know how to run this as a root user and if so could someone help me with how to do this? 
    Or if anyone else has a working command could you share it with me for remotely logging in using ARD.
    Thanks!

    Hi
    Don't quite recognise what it is you're using. Maybe try:
    osascript <<EOF
    tell application "System Events"
    keystroke "whateverusernameyou'reusing"
    keystroke tab
    delay 0.5
    keystroke "whateverthepasswordis"
    delay 0.5
    keystroke return
    end tell
    EOF
    Instead. Works every time for me.
    The above are all on separate lines.
    HTH?
    Tony

  • Need to find the way to get the actual error message in the alert log.

    Hi,
    I have configured OEM 11G and monitoring target versions are from 9i to 11g. Now my problem is i have defined the metrics for monitoring the alert log contents and OEM is sending alert if there is any error in the alert log but it is not showing the actual error message just it is showing as below.
    ============================
    Target Name=IDMPRD
    Target type=Database Instance
    Host=oidmprd01.ho.abc.com
    Occurred At=Dec 21, 2011 12:05:21 AM GMT+03:00
    Message=1 distinct types of ORA- errors have been found in the alert log.
    Metric=Generic Alert Log Error Status
    Metric value=1
    Severity=Warning
    Acknowledged=No
    Notification Rule Name=RULE_4_PROD_DATABASES
    Notification Rule Owner=SYSMAN
    ============================
    Is there any way to get the complete error details in the OEM alert itself.
    Regards
    DBA.

    You need to look at the Alert Log error messages, not the "status" messages. See doc http://docs.oracle.com/cd/E11857_01/em.111/e16285/oracle_database.htm#autoId2

  • Need a unix command

    Hi all,
    I just can't figure this out... I need a unix command that will backup any file matching a specific file extension AND the directory structure those files are in into a separate directory or volume. In other words, let's say that I have the files and directory structure below. I want to backup all of the txt files as separate files (not a tar archive) without writing the img files, without overwriting one txt file with another, and preserving the directory structure.
    foo/bar/a.txt
    foo/bar/b.txt
    foo/bar/a.img
    foo/bar/b.img
    foo/me/a.txt
    foo/me/b.txt
    foo/me/a.img
    foo/me/b.img
    foo/me/you/a.txt
    foo/me/you/b.txt
    foo/me/you/a.img
    foo/me/you/b.img
    I've read the man pages for ditto and rsync... they're geared toward backing up every file in a directory, and so they're not very clear about how to backup one single file type/extension.
    Everytime I try different varients of the rsync command, I either get errors "rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-24.1/rsync/main.c(717)", or file not found, or it overwrites the 'a.txt' with a different 'a.txt' without preserving the directory structure.
    Can someone give me the exact syntax for backing up the .txt files in the example above to an external disk (e.g. /Volume/backup)???
    Thanks!

    OK... my example was oversimplified. There are tons of different types of files in my directories (*.img, *.gif, *.etc), and I only want to cp one type (e.g., .txt).
    So, I started with the --include flag using the following command:
    rsync -nav --include *.txt foo/ /Volumes/baz/
    the result listed every file in foo (e.g., *.txt, *.img)
    I thought that perhaps the \*.txt should be *.txt
    rsync -nav --include *.txt foo/ /Volumes/baz/
    the result listed every file in foo (e.g., *.txt, *.img)
    rsync -nav --include "*.txt" foo/ /Volumes/baz/
    again, the result listed every file in foo (e.g., *.txt, *.img)
    Clearly, the --include flag wasn't working as I expected it to work. So, I decided to try the --exclude flag:
    rsync -nav --exclude "*.img" foo/ /Volumes/baz/
    Now, the results listed every file in foo except the *.img files.
    I needed to exclude other files as well, so I tried:
    rsync -nav --exclude "*.img *.etc" foo/ /Volumes/baz/
    Now, the results listed every file in foo INCLUDING the *.img files. So, adding additional file types within quotes broke the original command.
    rsync -nav --exclude *.img *.etc foo/ /Volumes/baz/
    Now, I get the error "rsync: link_stat "/Volumes/HD/foo/*.etc" failed: No such file or directory (2)"; and all .etc files are still included
    Now I tried:
    rsync -nav --exclude *.img --exclude *.etc foo/ /Volumes/baz/
    Now, this excluded both *.img and *.etc files. I have about 20 file types other than *.txt ... there has to be some other way!!!
    PowerMac Dual 2.7GHz G5 Mac OS X (10.4.9) 4.5GB RAM

  • Unix command sorely needed

    Hi
    Our tmp file was rammed up to 98% early this morning and I was called to deal with it.
    I needed to see the largest files then decide if we could eliminate them.
    I really need a Unix command that will list the largest files first (or last) from a given directory.
    Does this command exist? I already tried googling to meagre avail.
    Thanks.
    AIX 5.2
    9.2.0.2
    DA

    Hi Dan,
    I really need a Unix command that will list the largest files first (or last) from a given directory.Here is how I do it, using the "find" command:
    http://www.dba-oracle.com/t_unix_script_find_files_older_date.htm
    Finding large files on Linux
    The following command is very useful in cases where a Linux file system has become full. As we may know, Oracle will hang whenever Oracle must expand a tablespace and Oracle cannot extend the UNIX filesystem.
    When a UNIX file become unexpectedly full, it may be because Oracle has written a huge core or trace file into the UNIX filesystem.
    The script below will display all files that are greaten then one megabyte in size. Note that the size parameter is specified in K-bytes.
    root> find . -size +1024 –print
    ./prodsid_ora_22951.trc
    Of course, you can easily append the xargs of –exec command to automatically remove the large file:
    root> find . -size +1024 –print|xargs –i rm \;
    This find command will do a "stats" on all files in a directory structure, showing the total size of all files in the directory. You can also incorporate the "df -k" command"
    find ${START_DIR} -mtime -${DAYS} |xargs stat -c "%s"|awk '{sum += $1}END{print sum}'
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • What is the absolute client permission needed to receive Unix commands?

    The ARD error "This task is not authorized on (computerName)" is forcing me to allow almost all the privileges in the Remote Management section of client computer's Sharing System Preferences. I've already had to add:
    "open and quit applications"
    "change settings"
    "delete and replace items"
    "restart and shutdown" (see this Apple document's suggestion for Unix commands)
    "copy items"
    It makes no sense to my why 'Generate reports' must also be added, but clicking it off makes the error return. I'm just triggering a Unix command that goes something like "echo 1" and runs as root on the one test computer (and potentially dozens, so it wouldn't be pretty changing settings in that many) If it helps, the ARD host is 10.6.7 with ARD 3.4 (installed via the App Store a couple weeks ago) and the clients are 10.4.11 and 10.5.8.
    I'm preparing documentation for ARD and some clients installing our software will not warm to the idea of widening up the permissions footprint. Potentially dozens of computers will need to be retweaked, even if they wouldn't have to leave their seat.
    We also will need to deploy a pkg installer, so some of those may need to remain checked, but ...
    What is the absolute client permission needed to receive Unix commands?
    Thanks

    Have you tried sending it as User: Root
    To my knowledge with that setting you do not need any client permissions as a unix command used as Root overides any permission set. If this is something you need to do often I do know for a fact you can make the report task up use send as Root and tell it to save as template. After this you will be able use the templte to make things a bet quicker. I believe in oder to do this you must enable root user open Directory Utility in order to do this. Keep in mind root has full permissions and any command you enter with unix will be executed as such. This is a word around in the way that the normal client users do not need to have permissions enabled, also having root available at times is handy in stick situations.

  • Problem with Updating clients with UNIX command

    Hi.
    Until this day, I used to update all our 50 client macs by manually logging in as administrator via ARD and choosing Software Update from the apple menu, this works always and I use our own servers SUS so the downloading is really fast. Still, this clearly is time consuming and annoying when you have this many clients. I have now done some search and I know I could do this by sending unix command to clients using ARD. First I had problems with running the command, then I noticed I need to run this as root. Then it "works".
    Works, not quite. It starts to run, and I can see all the output. I have tried this with few clients and the results are confusing. The following is an output from one client I send the command "softwareupdate -i -r"
    SIBELIUS411 (172.17.6.36)
    2011-03-25 13:13:20.610 softwareupdate[1692:392b] PackageKit: * Missing bundle identifier: /Library/Receipts/PPDInstallerRI3222E3L.pkg
    2011-03-25 13:14:09.636 softwareupdate[1692:392b] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.NetworkUtility"></bundle>
    2011-03-25 13:14:09.798 softwareupdate[1692:392b] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.remoteinstallmacosx"></bundle>
    2011-03-25 13:14:09.801 softwareupdate[1692:392b] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.server.SystemImageUtility"></bundle>
    2011-03-25 13:19:40.016 softwareupdate[1692:903] PackageKit: * Missing bundle identifier: /Library/Receipts/PPDInstallerRI3222E3L.pkg
    Software Update Tool
    Copyright 2002-2009 Apple
    Downloading Safari
    Verifying Safari
    Waiting to install Safari
    Downloading Mac OS X Update Combined
    Verifying Mac OS X Update Combined
    Waiting to install Mac OS X Update Combined
    Downloading Ricoh Printer Software Update
    Verifying Ricoh Printer Software Update
    Waiting to install Ricoh Printer Software Update
    Downloading iWeb Update
    Verifying iWeb Update
    Waiting to install iWeb Update
    Downloading Java for Mac OS X 10.6 Update 4
    Verifying Java for Mac OS X 10.6 Update 4
    Waiting to install Java for Mac OS X 10.6 Update 4
    Downloading iTunes
    Verifying iTunes
    Waiting to install iTunes
    Downloading Remote Desktop Client Update x signature
    x RemoteDesktopClient.pkg.tar
    x RemoteDesktopClient.pkg
    x RemoteDesktopClient.pkg/Contents
    x RemoteDesktopClient.pkg/Contents/Archive.bom
    x RemoteDesktopClient.pkg/Contents/Archive.pax.gz
    x RemoteDesktopClient.pkg/Contents/Info.plist
    x RemoteDesktopClient.pkg/Contents/._RemoteDesktopClient.dist
    x RemoteDesktopClient.pkg/Contents/RemoteDesktopClient.dist
    x RemoteDesktopClient.pkg/Contents/Resources
    x RemoteDesktopClient.pkg/Contents/Resources/background.tif
    x RemoteDesktopClient.pkg/Contents/Resources/BundleVersions.plist
    x RemoteDesktopClient.pkg/Contents/Resources/cleanup_list
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/InstallationCheck.strings
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/deleteomatic
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/InstallationCheck.string s
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/InstallationCheck.stri ngs
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/InstallationCheck.strings
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/InstallationCheck.strin gs
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/InstallationCheck.strin gs
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Hints.plist
    x RemoteDesktopClient.pkg/Contents/Resources/InstallationCheck
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/InstallationCheck.stri ngs
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/InstallationCheck.str ings
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Welcome.rtfd/icons.pn g
    x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/kickstart
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/InstallationCheck.strings
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/makeuser
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/InstallationCheck.strings
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/package_version
    x RemoteDesktopClient.pkg/Contents/Resources/PlistBuddy
    x RemoteDesktopClient.pkg/Contents/Resources/postflight
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/cleanStartup.pl
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/copypackages
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/deleteObsoleteFil es
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/learnFiles
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/postflightKicksta rt
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/setupLaunchFiles
    x RemoteDesktopClient.pkg/Contents/Resources/postflightactions/setupLaunchFilesRFBEventHelper
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/setupMenuExtras
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/stampBuildNumInPl istStrings
    x RemoteDesktopClient.pkg/Contents/Resources/postflight_kickstart
    x RemoteDesktopClient.pkg/Contents/Resources/postflightkickstartentries
    x RemoteDesktopClient.pkg/Contents/Resources/postflightmakeuserentries
    x RemoteDesktopClient.pkg/Contents/Resources/preflight
    x RemoteDesktopClient.pkg/Contents/Resources/preflight_actions
    x RemoteDesktopClient.pkg/Contents/Resources/preflight_actions/cleanAndPreflightK ickstart
    x RemoteDesktopClient.pkg/Contents/Resources/preflight_actions/maybeNukeVNCServer
    x RemoteDesktopClient.pkg/Contents/Resources/preflight_actions/moveAsideFirewallD efaultPrefsTiger
    x RemoteDesktopClient.pkg/Contents/Resources/preflight_kickstart
    x RemoteDesktopClient.pkg/Contents/Resources/preflightkickstartentries
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/InstallationCheck.strings
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/InstallationCheck.stri ngs
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/InstallationCheck.strings
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/InstallationCheck.string s
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Description.plist
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/InstallationCheck.string s
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/License.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Localizable.strings
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/PantherSU.xml
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/ReadMe.rtf
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/SUDescription.html
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Welcome.rtfd
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Welcome.rtfd/icons.png
    x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Welcome.rtfd/TXT.rtf
    x RemoteDesktopClient.pkg/Contents/version.plist
    Verifying Remote Desktop Client Update
    Waiting to install Remote Desktop Client Update
    Checking packages…
    Installing
    Waiting for other installations to complete…2011-03-25 13:20:01.468 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.remoteinstallmacosx"></bundle>
    2011-03-25 13:20:01.471 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.server.SystemImageUtility"></bundle>
    2011-03-25 13:20:01.540 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.NetworkUtility"></bundle>
    2011-03-25 13:20:01.731 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.remoteinstallmacosx"></bundle>
    2011-03-25 13:20:01.734 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.server.SystemImageUtility"></bundle>
    2011-03-25 13:20:01.808 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.NetworkUtility"></bundle>
    Validating packages…
    Writing files…
    Running package scripts…
    Removing old files…
    Optimizing system for installed software…
    Moving items into place…
    Registering updated components…
    And thats it, it stops there. Few clients completed the task, but the output says that they skipped the installation of all updates. In the case above, there is some skipping too, and I don't know what it means. Yesterday I left one client to this part where its Registering updated components.... , and today when I came in, it's still there, and the task is still running. When I update the clients with the Software Update from apple menu, it takes usually 10 minutes max to complete the whole process, download and install. After I restarted the same client and ran the manual Software Update from apple menu, it shows the same updates, it didn't do anything???
    Am I doing something wrong with the command?

    I am having the same issue. I send the unix command to some test clients to install all updates. The process never finishes and stays at "Registering updated companents....". (See screen shot)
    I have manually restarted some of the clients after waiting a very long time. All updates seem to have been installed. I am wondering why the task hangs at this point. I want to be able to ran ASU with this Unix method on the 450+ macs that I manage at work, but it scares me that the task never seems to finish.

  • Alert log monitor help

    Hello,
    I am very new to shell scripting. Our DB is 10g on AIX. And i wanted to setup something that will monitor my alertlog and send me e-mail out. And i found this online. But have very little knowledge on cronjob. I can set one up. But this script dont tell what goes here. Here is the script that i found online. So if anyone could give me what goes where i would be thankfull. it does says put the check_alert.awk someplace. But is that where the cron comes in place. i mean do i schedule check_alert.awk in my cronjob ??? Just wanted to know what parts goes where and how to set this up the right way so i get e-mail alert for my alert log. a step - step process would be good. Thanks
    UNIX shell script to monitor and email errors found in the alert log. Is ran as the oracle OS owner. Make sure you change the "emailaddresshere" entries to the email you want and put the check_alert.awk someplace. I have chosen $HOME for this example, in real life I put it on as mounted directory on the NAS.
    if test $# -lt 1
    then
    echo You must pass a SID
    exit
    fi
    # ensure environment variables set
    #set your environment here
    export ORACLE_SID=$1
    export ORACLE_HOME=/home/oracle/orahome
    export MACHINE=`hostname`
    export PATH=$ORACLE_HOME/bin:$PATH
    # check if the database is running, if not exit
    ckdb ${ORACLE_SID} -s
    if [ "$?" -ne 0 ]
    then
    echo " $ORACLE_SID is not running!!!"
    echo "${ORACLE_SID is not running!" | mailx -m -s "Oracle sid ${ORACLE_SID} is not running!" "
    |emailaddresshere|"
    exit 1
    fi;
    #Search the alert log, and email all of the errors
    #move the alert_log to a backup copy
    #cat the existing alert_log onto the backup copy
    #oracle 8 or higher DB's only.
    sqlplus '/ as sysdba' << EOF > /tmp/${ORACLE_SID}_monitor_temp.txt
    column xxxx format a10
    column value format a80
    set lines 132
    SELECT 'xxxx' ,value FROM v\$parameter WHERE name = 'background_dump_dest'
    exit
    EOF
    cat /tmp/${ORACLE_SID}_monitor_temp.txt | awk '$1 ~ /xxxx/ {print $2}' > /tmp/${ORACLE_SID}_monitor_location.txt
    read ALERT_DIR < /tmp/${ORACLE_SID}_monitor_location.txt
    ORIG_ALERT_LOG=${ALERT_DIR}/alert_${ORACLE_SID}.log
    NEW_ALERT_LOG=${ORIG_ALERT_LOG}.monitored
    TEMP_ALERT_LOG=${ORIG_ALERT_LOG}.temp
    cat ${ORIG_ALERT_LOG} | awk -f $HOME/check_alert.awk > /tmp/${ORACLE_SID}_check_monitor_log.log
    rm /tmp/${ORACLE_SID}_monitor_temp.txt 2>/dev/null
    if [ -s /tmp/${ORACLE_SID}_check_monitor_log.log ]
    then
    echo "Found errors in sid ${ORACLE_SID}, mailed errors"
    echo "The following errors were found in the alert log for ${ORACLE_SID}" > /tmp/${ORACLE_SID}_check_monitor_log.mail
    echo "Alert log was copied into ${NEW_ALERT_LOG}" >> /tmp/${ORACLE_SID}_check_monitor_log.mail
    echo " "
    date >> /tmp/${ORACLE_SID}_check_monitor_log.mail
    echo "--------------------------------------------------------------">>/tmp/${ORACLE_SID}_check_monitor_log.mail
    echo " "
    echo " " >> /tmp/${ORACLE_SID}_check_monitor_log.mail
    echo " " >> /tmp/${ORACLE_SID}_check_monitor_log.mail
    cat /tmp/${ORACLE_SID}_check_monitor_log.log >> /tmp/${ORACLE_SID}_check_monitor_log.mail
    cat /tmp/${ORACLE_SID}_check_monitor_log.mail | mailx -m -s "on ${MACHINE}, MONITOR of Alert Log for ${ORACLE_SID} found errors" "
    |emailaddresshere|"
    mv ${ORIG_ALERT_LOG} ${TEMP_ALERT_LOG}
    cat ${TEMP_ALERT_LOG} >> ${NEW_ALERT_LOG}
    touch ${ORIG_ALERT_LOG}
    rm /tmp/${ORACLE_SID}_monitor_temp.txt 2> /dev/null
    rm /tmp/${ORACLE_SID}_check_monitor_log.log
    rm /tmp/${ORACLE_SID}_check_monitor_log.mail
    exit
    fi;
    rm /tmp/${ORACLE_SID}_check_monitor_log.log > /dev/null
    rm /tmp/${ORACLE_SID}_monitor_location.txt > /dev/null
    The referenced awk script (check_alert.awk). You can modify it as needed to add or remove things you wish to look for. The ERROR_AUDIT is a custom entry that a trigger on DB error writes in our environment.
    $0 ~ /Errors in file/ {print $0}
    $0 ~ /PMON: terminating instance due to error 600/ {print $0}
    $0 ~ /Started recovery/{print $0}
    $0 ~ /Archival required/{print $0}
    $0 ~ /Instance terminated/ {print $0}
    $0 ~ /Checkpoint not complete/ {print $0}
    $1 ~ /ORA-/ { print $0; flag=1 }
    $0 !~ /ORA-/ {if (flag==1){print $0; flag=0;print " "} }
    $0 ~ /ERROR_AUDIT/ {print $0}
    I simply put this script into cron to run every 5 minutes passing the SID of the DB I want to monitor.

    I have a PERL script that I wrote that does exactly what you want and I'll be glad to share that with you along with the CRON entries.
    The script runs opens the current alert_log and searches for key phrases and send e-mail if it finds anything. It then sleeps for 60 sec, wakes up and reads from were it left off to the bottom of the file, searching again and then sleeping. The only down side is it keeps a file handle open on the alert_log, so you have to kill this processes if you want to rename or delete the alert_log.
    My email in my profile is not hidden.
    Tom

Maybe you are looking for