lpstat command gives strange error in RHEL
Issue
-
When we are giving the command "
lpstat -t" , it is giving below error:# lpstat -t lpstat: (null)lpstat: (null)lpstat: (null)lpstat: (null)lpstat: (null)scheduler is runningsystem default destination: pr123Other commands also generate unusual messages:
# lpq col7778 is readyno entries # lpr lpr: symbol lookup error: lpr: undefined symbol: cupsCreateJob -
When crunning the
lpstatcommand with the -p option following output is generated:lpstat: symbol lookup error: lpstat: undefined symbol: _cupsStrDate
Environment
- Red Hat Enterprise Linux (RHEL), all versions
- Common Unix Printing System (CUPS), all versions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.