System log help?

Discussion in 'Apple' started by Dave Allen, Aug 19, 2012.

  1. Dave Allen

    Dave Allen Guest

    Running 10.6.8 on an iMac (2.4 GHz Intel Core 2 Duo - Early 2008)

    I was having problems with Dashboard, couldn't delete or otherwise
    manage widgets (problem since resolved with restart). As part of
    investigating the problem I looked at the system logs and noted the
    following three lines that repeat every 10 seconds for pages and pages.

    ==================================================================
    8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    (com.hp.devicemonitor[965]) posix_spawn("/Library/Printers/hp/hpio/HP
    Device Monitor.app/Contents/MacOS/HP Device Monitor", ...): No such file
    or directory
    8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    (com.hp.devicemonitor[965]) Exited with exit code: 1
    8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    (com.hp.devicemonitor) Throttling respawn: Will start in 10 seconds
    ==================================================================

    I looked in /Library/Printers/hp/hpio and there is no "HP Device
    Monitor.app" in there, only an alias to "HPIOPrinterClassDriver.plugin"

    I looked in com.apple.launchd.peruser.503, but the only thing in there
    is a pref file called "overrides.plist" that appears to be empty.

    I thought the HP Printer Drivers might need updating so I downloaded and
    installed "HP Printer Drivers v.2.10 OS X" from Apple support. I'm still
    getting the same three lines every 10 seconds in the system logs and
    still no "HP Device Monitor.app" in /Library/Printers/hp/hpio

    Printing to my HP Deskjet 3050A works fine, both before and after
    installing the new printer drivers.

    I searched the computer for "HP Device Monitor" and found an installer
    package with that name in /Library/Receipts that appears to date from
    Jan 24, 2012. I tried to run that, but get an error reading the
    package, "The selected package is only a receipt."

    Obviously, I'm in way over my head and just flailing about. Any help
    would be greatly appreciated.
    --
    Dave
     
    Dave Allen, Aug 19, 2012
    #1
    1. Advertising

  2. In article
    <-september.org>,
    Dave Allen <> wrote:

    > Running 10.6.8 on an iMac (2.4 GHz Intel Core 2 Duo - Early 2008)
    >
    > I was having problems with Dashboard, couldn't delete or otherwise
    > manage widgets (problem since resolved with restart). As part of
    > investigating the problem I looked at the system logs and noted the
    > following three lines that repeat every 10 seconds for pages and pages.
    >
    > ==================================================================
    > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    > (com.hp.devicemonitor[965]) posix_spawn("/Library/Printers/hp/hpio/HP
    > Device Monitor.app/Contents/MacOS/HP Device Monitor", ...): No such file
    > or directory
    > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    > (com.hp.devicemonitor[965]) Exited with exit code: 1
    > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    > (com.hp.devicemonitor) Throttling respawn: Will start in 10 seconds
    > ==================================================================
    >
    > I looked in /Library/Printers/hp/hpio and there is no "HP Device
    > Monitor.app" in there, only an alias to "HPIOPrinterClassDriver.plugin"
    >
    > I looked in com.apple.launchd.peruser.503, but the only thing in there
    > is a pref file called "overrides.plist" that appears to be empty.
    >
    > I thought the HP Printer Drivers might need updating so I downloaded and
    > installed "HP Printer Drivers v.2.10 OS X" from Apple support. I'm still
    > getting the same three lines every 10 seconds in the system logs and
    > still no "HP Device Monitor.app" in /Library/Printers/hp/hpio
    >
    > Printing to my HP Deskjet 3050A works fine, both before and after
    > installing the new printer drivers.
    >
    > I searched the computer for "HP Device Monitor" and found an installer
    > package with that name in /Library/Receipts that appears to date from
    > Jan 24, 2012. I tried to run that, but get an error reading the
    > package, "The selected package is only a receipt."
    >
    > Obviously, I'm in way over my head and just flailing about. Any help
    > would be greatly appreciated.


    You've got some cruft leftover from some install of the HP printers. My
    guess is it's a plist file in ~/Library/LauchAgents,
    /Library/LaunchDaemons/ or /Library/LaunchAgents/

    If this is way beyond the scope of you going to the Terminal.app,
    finding the file, and deleting it, you should call AppleCare support and
    they'll walk you through the problem. If you don't have support, take
    your system into your nearest Apple Genius Bar and have them fix it. Or
    just live it it. It's not hurting anything other than making your
    system.log file bigger.

    --
    DeeDee, don't press that button! DeeDee! NO! Dee...
    [I filter all Goggle Groups posts, so any reply may be automatically ignored]
     
    Michael Vilain, Aug 20, 2012
    #2
    1. Advertising

  3. Dave Allen

    JF Mezei Guest


    >> ==================================================================
    >> 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    >> (com.hp.devicemonitor[965]) posix_spawn("/Library/Printers/hp/hpio/HP
    >> Device Monitor.app/Contents/MacOS/HP Device Monitor", ...): No such file
    >> or directory
    >> 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    >> (com.hp.devicemonitor[965]) Exited with exit code: 1
    >> 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    >> (com.hp.devicemonitor) Throttling respawn: Will start in 10 seconds
    >> ==================================================================



    In terminal:

    man launchctl

    At the bottom, it lists the directories/folders where the various
    launchd plists are stored. Each .plist file is normally for one job.

    in this case, you could be looking for com.hp.devicemonitor.plist

    you can also

    launchctl list | grep hp

    This should give you the names of all of the jobs with "hp" in it.

    If you are willing to reboot, removing the offending files from one of
    the directories listed in man launchctl and rebooting will fix it.

    Or you can use launchctl stop and launchctl unload first to stop the
    currently running job, and then delete the files. This avoids avoiding
    to reboot.


    To perform actions with launchctl, you may need to prefix with "sudo"
    (but list works without it).


    You can also use the Property List Editor (gone after Snow Leopard) to
    edit the offending .plist and set the "Disabled flag" which will cause
    launchd to ignore that .plist ( man launchd.plist to see the
    documentation on the structure and options of launchd files)
     
    JF Mezei, Aug 20, 2012
    #3
  4. Dave Allen

    Dave Allen Guest

    In article <>,
    Michael Vilain <> wrote:

    > In article
    > <-september.org>,
    > Dave Allen <> wrote:
    >
    > > I looked at the system logs and noted the following three
    > > lines that repeat every 10 seconds for pages and pages.
    > > ==================================================================
    > > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    > > (com.hp.devicemonitor[965]) posix_spawn("/Library/Printers/hp/hpio/HP
    > > Device Monitor.app/Contents/MacOS/HP Device Monitor", ...): No such file
    > > or directory
    > > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    > > (com.hp.devicemonitor[965]) Exited with exit code: 1
    > > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    > > (com.hp.devicemonitor) Throttling respawn: Will start in 10 seconds
    > > ==================================================================

    >
    > You've got some cruft leftover from some install of the HP printers. My
    > guess is it's a plist file in ~/Library/LauchAgents,
    > /Library/LaunchDaemons/ or /Library/LaunchAgents/
    >
    > If this is way beyond the scope of you going to the Terminal.app,
    > finding the file, and deleting it, you should call AppleCare support and
    > they'll walk you through the problem. If you don't have support, take
    > your system into your nearest Apple Genius Bar and have them fix it. Or
    > just live it it. It's not hurting anything other than making your
    > system.log file bigger.


    Thanks for you help, Michael and JF. I do some very limited things in
    terminal when I have very specific step-by-step instructions, but I
    don't feel comfortable poking around in there otherwise. I'll probably
    take the Genius Bar route since Applecare has long expired on this
    machine. I wouldn't bother doing anything except for the fact that these
    entries crowd out everything else in the system log.
    --
    Dave
     
    Dave Allen, Aug 20, 2012
    #4
  5. Dave Allen

    Lewis Guest

    In message <-september.org>
    Dave Allen <> wrote:
    > In article <>,
    > Michael Vilain <> wrote:


    >> In article
    >> <-september.org>,
    >> Dave Allen <> wrote:
    >>
    >> > I looked at the system logs and noted the following three
    >> > lines that repeat every 10 seconds for pages and pages.
    >> > ==================================================================
    >> > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    >> > (com.hp.devicemonitor[965]) posix_spawn("/Library/Printers/hp/hpio/HP
    >> > Device Monitor.app/Contents/MacOS/HP Device Monitor", ...): No such file
    >> > or directory
    >> > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    >> > (com.hp.devicemonitor[965]) Exited with exit code: 1
    >> > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    >> > (com.hp.devicemonitor) Throttling respawn: Will start in 10 seconds
    >> > ==================================================================

    >>
    >> You've got some cruft leftover from some install of the HP printers. My
    >> guess is it's a plist file in ~/Library/LauchAgents,
    >> /Library/LaunchDaemons/ or /Library/LaunchAgents/
    >>
    >> If this is way beyond the scope of you going to the Terminal.app,
    >> finding the file, and deleting it, you should call AppleCare support and
    >> they'll walk you through the problem. If you don't have support, take
    >> your system into your nearest Apple Genius Bar and have them fix it. Or
    >> just live it it. It's not hurting anything other than making your
    >> system.log file bigger.


    > Thanks for you help, Michael and JF. I do some very limited things in
    > terminal when I have very specific step-by-step instructions, but I
    > don't feel comfortable poking around in there otherwise.


    Step by step (and copy paste friendly)

    1. Open Terminal
    2. type

    launchctl list | grep ".hp."

    You will get a list (possibly of one) looking something like this:

    7245 - com.hp.print.deviceManager

    (or something, it doesn't matter what it says)

    3. double click the name part and copy it (command-c) and type

    mdfind -name

    and then press command-v and type

    | grep plist

    The | is important. You will get back a path something like

    /Library/LaunchDaemons/com.hp.print.deviceManager.plist

    4. copy and paste the whole line and type

    launchctl unload

    and press command-v

    5. type in

    sudo rm

    and press command-v

    6. Type in your password.

    If you found multiple items in step 2, you will need to repeat steps 3-5
    for each item.

    --
    Oh never resist an impulse, Sabrina. Especially if it's terrible.
     
    Lewis, Aug 20, 2012
    #5
  6. Dave Allen

    Tom Stiller Guest

    In article <>,
    Lewis <> wrote:

    > In message <-september.org>
    > Dave Allen <> wrote:
    > > In article <>,
    > > Michael Vilain <> wrote:

    >
    > >> In article
    > >> <-september.org>,
    > >> Dave Allen <> wrote:
    > >>
    > >> > I looked at the system logs and noted the following three
    > >> > lines that repeat every 10 seconds for pages and pages.
    > >> > ==================================================================
    > >> > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    > >> > (com.hp.devicemonitor[965]) posix_spawn("/Library/Printers/hp/hpio/HP
    > >> > Device Monitor.app/Contents/MacOS/HP Device Monitor", ...): No such file
    > >> > or directory
    > >> > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    > >> > (com.hp.devicemonitor[965]) Exited with exit code: 1
    > >> > 8/19/12 1:36:23 PM com.apple.launchd.peruser.503[839]
    > >> > (com.hp.devicemonitor) Throttling respawn: Will start in 10 seconds
    > >> > ==================================================================
    > >>
    > >> You've got some cruft leftover from some install of the HP printers. My
    > >> guess is it's a plist file in ~/Library/LauchAgents,
    > >> /Library/LaunchDaemons/ or /Library/LaunchAgents/
    > >>
    > >> If this is way beyond the scope of you going to the Terminal.app,
    > >> finding the file, and deleting it, you should call AppleCare support and
    > >> they'll walk you through the problem. If you don't have support, take
    > >> your system into your nearest Apple Genius Bar and have them fix it. Or
    > >> just live it it. It's not hurting anything other than making your
    > >> system.log file bigger.

    >
    > > Thanks for you help, Michael and JF. I do some very limited things in
    > > terminal when I have very specific step-by-step instructions, but I
    > > don't feel comfortable poking around in there otherwise.

    >
    > Step by step (and copy paste friendly)
    >
    > 1. Open Terminal
    > 2. type
    >
    > launchctl list | grep ".hp."


    The "." characters should be escaped as "\." since the stand-alone "."
    represents any character.

    >
    > You will get a list (possibly of one) looking something like this:
    >
    > 7245 - com.hp.print.deviceManager
    >
    > (or something, it doesn't matter what it says)
    >
    > 3. double click the name part and copy it (command-c) and type
    >
    > mdfind -name
    >
    > and then press command-v and type
    >
    > | grep plist
    >
    > The | is important. You will get back a path something like
    >
    > /Library/LaunchDaemons/com.hp.print.deviceManager.plist
    >
    > 4. copy and paste the whole line and type
    >
    > launchctl unload
    >
    > and press command-v
    >
    > 5. type in
    >
    > sudo rm
    >
    > and press command-v
    >
    > 6. Type in your password.
    >
    > If you found multiple items in step 2, you will need to repeat steps 3-5
    > for each item.


    --
    PRAY, v. To ask that the laws of the universe be annulled in behalf
    of a single petitioner confessedly unworthy. -- Ambrose Bierce
     
    Tom Stiller, Aug 20, 2012
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff Wiseman
    Replies:
    22
    Views:
    676
    Jeff Wiseman
    Mar 24, 2005
  2. Greg White
    Replies:
    2
    Views:
    274
    Greg White
    Jun 18, 2007
  3. Evan Platt
    Replies:
    0
    Views:
    413
    Evan Platt
    Oct 1, 2007
  4. Nick Naym

    Log-Out/Log-In

    Nick Naym, Jan 7, 2009, in forum: Apple
    Replies:
    12
    Views:
    325
    Nick Naym
    Jan 16, 2009
  5. Michael Vilain

    Re: Timestamps in /var/log/appfirewall.log

    Michael Vilain, Jan 25, 2012, in forum: Apple
    Replies:
    4
    Views:
    249
    Michael Vilain
    Jan 29, 2012
Loading...

Share This Page