Best of Technical Support

Our experts answer your technical questions.
Printer Won't

I am running Red Hat 7.2 and trying to install my HP DeskJet 932C. I have done everything by the book, even tried all the drivers listed, and the printer still does not work. Can anyone tell me what the deal is here? Yes, it is a USB printer.

—Tim Fey, TFey@cfl.rr.com

Try modprobe printer, and check out /var/log/messages to see if your printer is detected. You can then use printtool to configure it for use with your distribution.

—Christopher Wingert, cwingert@qualcomm.com

Try another USB device to make sure the port you are using with the printer is working. If you are getting any error messages please send them.

—Don Marti, dmart@ssc.com

You do not say if you're having a problem configuring the USB to talk to the printer or a problem with the actual data format sent to the printer with a working USB connection. If it's the latter, I'd suggest you go to CUPS for the latest drivers for your printer, www.cups.org. You can even generate the proper configuration files for your printer on-line.

—Felipe Barousse Boué, fbarousse@piensa.com

Don't Run This Program Twice

In libc is there a function to call to see if my application is already running?

—Pieter Coetzee, pieter@cosmosc.co.za

The way most programs do this is they store their PID in a file such as /var/run/gdm.pid.

—Marc Merlin, marc_bts@merlins.org

/var/run is writable only by root. If you want to have only one copy of an X application running per user, gnome-moz-remote probably does something close to what you want. It looks for an already running copy of Mozilla, and if one is running, it opens the given URL with that copy. Otherwise, it starts a new Mozilla process. Look at cvs.gnome.org/lxr/source//libgnome-2/libgnome/gnome-moz-remote.c.

—Don Marti, dmarti@ssc.com

______________________

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix