Motherboard Forums


Reply
Thread Tools Display Modes

System log help?

 
 
Dave Allen
Guest
Posts: n/a
 
      08-19-2012, 07:37 PM
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
 
Reply With Quote
 
 
 
 
Michael Vilain
Guest
Posts: n/a
 
      08-20-2012, 01:52 AM
In article
<(E-Mail Removed)-september.org>,
Dave Allen <(E-Mail Removed)> 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]


 
Reply With Quote
 
 
 
 
JF Mezei
Guest
Posts: n/a
 
      08-20-2012, 03:25 AM

>> ================================================== ================
>> 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)



 
Reply With Quote
 
Dave Allen
Guest
Posts: n/a
 
      08-20-2012, 07:15 PM
In article <(E-Mail Removed)>,
Michael Vilain <(E-Mail Removed)> wrote:

> In article
> <(E-Mail Removed)-september.org>,
> Dave Allen <(E-Mail Removed)> 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
 
Reply With Quote
 
Lewis
Guest
Posts: n/a
 
      08-20-2012, 08:13 PM
In message <(E-Mail Removed)-september.org>
Dave Allen <(E-Mail Removed)> wrote:
> In article <(E-Mail Removed)>,
> Michael Vilain <(E-Mail Removed)> wrote:


>> In article
>> <(E-Mail Removed)-september.org>,
>> Dave Allen <(E-Mail Removed)> 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.
 
Reply With Quote
 
Tom Stiller
Guest
Posts: n/a
 
      08-20-2012, 09:38 PM
In article <(E-Mail Removed)>,
Lewis <(E-Mail Removed)> wrote:

> In message <(E-Mail Removed)-september.org>
> Dave Allen <(E-Mail Removed)> wrote:
> > In article <(E-Mail Removed)>,
> > Michael Vilain <(E-Mail Removed)> wrote:

>
> >> In article
> >> <(E-Mail Removed)-september.org>,
> >> Dave Allen <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Timestamps in /var/log/appfirewall.log Michael Vilain Apple 4 01-29-2012 05:13 AM
Log-Out/Log-In Nick Naym Apple 12 01-16-2009 05:06 PM
/var/log/mail.log not being written to after logrotate Evan Platt Apple 0 10-01-2007 05:38 PM
Maintaining permissions on /var/log/system.log? Greg White Apple 2 06-18-2007 02:28 AM
/var/log/windowserver.log not showing up in Console utility Jeff Wiseman Apple 22 03-24-2005 01:49 AM


All times are GMT. The time now is 01:09 PM.


Welcome!
Welcome to Motherboard Point
 

Advertisment