Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 libpapi-dynamic should support failover

open
nobody
None
2
2005-02-26
2005-02-26
Norm Jacobs
No

the dynamic PAPI library should be enhanced to failover
some of the operations when a print service is not
available.

Discussion

  • Drew Parsons
    Drew Parsons
    2005-04-20

    Logged In: YES
    user_id=1232190

    Fixing this is important to me: I don't have LPD installed,
    so currently default PAPI (13 April 2005) always fails:

    $ /opt/papi/bin/lpstat -t
    scheduler is running
    system default printer: _default
    Failed to contact service for : psm_open():
    /opt/papi/lib/psm-.so: /opt/papi/lib/psm-.so: cannot open
    shared object file: No such file or directory

    I need to use LD_PRELOAD=/opt/papi/lib/psm-ipp.so to get
    lpstat to list my CUPS printers.

    Does Solaris use LPD or CUPS by default (or something
    else?). I think Linux systems are more likely to use CUPS
    these days. For this reason, is it reasonable to ask that
    psm-ipp.so be accessed first in preference to psm-lpd.so, as
    a short-term workaround for this bug?

    p.s. the "psm-.so" in lpstat's output rather than
    "psm-lp.so" or "psm-ipp.so" is suspicious - is that simply a
    bug?