Sponsored Content
Operating Systems Solaris Error in the configuration of printers Post 302420855 by to.brunoaugusto on Wednesday 12th of May 2010 05:11:03 PM
Old 05-12-2010
Question Error in the configuration of printers

I'm trying to install printers with the shell below:

Code:
#! /bin/bash -x
lpadmin -p brmblack03 -v socket://172.30.0.14:9100/
lpadmin -p brmblack04 -v socket://172.30.0.10:9100/
lpadmin -p brmblack05 -v socket://172.30.0.13:9100/
lpadmin -p cscnshopping -v socket://192.168.0.250:9100/
lpadmin -p nshoppjt -v socket://192.168.0.251:9100/
lpadmin -p snshplj4250 -v socket://200.222.81.52:9109/
mv /usr/bin/lpstat /usr/bin/lpstat.old
mv /usr/bin/cancel /usr/bin/cancel.old
mv /usr/bin/enable /usr/bin/enable.old
mv /usr/bin/lpadmin /usr/bin/lpadmin.old
mv /usr/bin/lpmove /usr/bin/lpmove.old
mv /usr/bin/accept /usr/bin/accept.old
ln -s /opt/sfw/cups/bin/lpstat /usr/bin/lpstat
ln -s /opt/sfw/cups/bin/cancel /usr/bin/cancel
ln -s /opt/sfw/cups/bin/enable /usr/bin/enable
ln -s /opt/sfw/cups/sbin/lpadmin /usr/bin/lpadmin
ln -s /opt/sfw/cups/sbin/lpmove /usr/bin/lpmove
ln -s /opt/sfw/cups/sbin/accept /usr/bin/accept
/etc/init.d/cups stop
/etc/init.d/cups start
/opt/sfw/cups/bin/enable brmblack05
/opt/sfw/cups/bin/enable brmblack04
/opt/sfw/cups/bin/enable cscnshopping
/opt/sfw/cups/bin/enable nshoppjt
/opt/sfw/cups/bin/enable snshplj4250

This displays the following error:
Code:
+ /opt/sfw/cups/bin/enable brmblack05
enable: Operation failed: client-error-not-found
+ /opt/sfw/cups/bin/enable brmblack04
enable: Operation failed: client-error-not-found
+ /opt/sfw/cups/bin/enable cscnshopping
enable: Operation failed: client-error-not-found
+ /opt/sfw/cups/bin/enable nshoppjt
enable: Operation failed: client-error-not-found
+ /opt/sfw/cups/bin/enable snshplj4250
enable: Operation failed: client-error-not-found

What is this error?

Moderator's Comments:
Mod Comment Please use code tags

Last edited by Scott; 05-12-2010 at 06:18 PM..
 

9 More Discussions You Might Find Interesting

1. Linux

Evolution 1.4 error after configuration

After configuring Evolution 1.4, I get an error. I went through all the settings, and I dont have what it says in the error anywhere. I am posting an image so if anyone knows where to change this I would appreciate it. This pops up when sending email. The SMTP server is set correctly i.e.... (10 Replies)
Discussion started by: the_chameleon
10 Replies

2. Infrastructure Monitoring

Nagios - NRPE configuration error

HI guyz, I have a nagios 3.0.6 server which is running on fedora 5. I had already added some windows clients and monitoring it. Now i want to add a unix client. Steps done till now : - 1.nagios-plugins-1.4.13 was installed and configured. 2.unzipped and untarred the NRPE 2.8 3.I gave a... (0 Replies)
Discussion started by: Renjesh
0 Replies

3. Red Hat

Dns configuration error in Redhat

Dear All I want to configure DNS in redhat linux. i am following these steps but when i restart the services it is showing status failed. Please any body can help me on urgent basis. #service named restart Stopping named: Starting named: ---------Edited in named.conf... (2 Replies)
Discussion started by: sahu.tapan
2 Replies

4. UNIX for Advanced & Expert Users

Old XFree86 configuration error

Hello experts, I installed an old linux distribution and i'm having troubles with the XFree86 server. The thing is, when i run XF86Setup, X server and windows actually works, because i can get the graphical configuration screen, but when i'm "done" and save the changes to the config file... (1 Reply)
Discussion started by: semash!
1 Replies

5. Solaris

Error in LdapClient configuration

Hi all, My code for configuring ldapclient is as follows: ldapclient manual \ -a credentialLevel=proxy \ -a authenticationMethod=simple \ -a proxyDN=cn=proxyagent,cn=user1,dc=sema,dc=com \ -a proxyPassword=user1 \ -a defaultSearchBase=dc=sema,dc=com \ -a domainName=sema.com \ -a... (10 Replies)
Discussion started by: sathya47
10 Replies

6. Ubuntu

Printers Error on LTSP Client

I have Ubuntu Server 11.04 with at least 20 clients LTSP, in 7 clients we have HP LaserJet 1005p connected via USB, sometimes the printers appear likes disconnected, the only way to fix it is unplug the cable, plug into mu laptop with Windows 7, print a test page and then connect to LTSP Client and... (0 Replies)
Discussion started by: dmejias
0 Replies

7. Solaris

ntp client configuration error

hi all ntp client side configuration file is done but in # ntpq -p remote refid st t when poll reach delay offset disp ============================================================================== ntpserver .INIT. 16 u - 64 0 0.00 0.000... (5 Replies)
Discussion started by: nikhil kasar
5 Replies

8. Red Hat

OpenLDAP Server Configuration error

I followed the guide from the below link to set up a ldap server. After everything is finished, I configured a client for ldap authentication and I can search the entries in ldap using the command ldapsearch -x ZZ but when I am trying to login to the client using a ldap user, the prompt just keeps... (0 Replies)
Discussion started by: aninmuk
0 Replies

9. Red Hat

Yum client configuration error

Dear concern, I want to configure a yum client node. Yum configuration file (/etc/yum.repos.d/) is given below: # cat server.repo name=rhel6 baseurl=ftp://192.168.225.3/pub/Packages/ enabled=1 gpgcheck=0 We got following error message while executing yum list command. # yum clean... (1 Reply)
Discussion started by: makauser
1 Replies
libusb(3LIB)                                                    Interface Libraries                                                   libusb(3LIB)

NAME
libusb - user-space USB device management library SYNOPSIS
cc [ flag... ] -I/usr/sfw/include file... -L/usr/sfw/lib -R/usr/sfw/lib -lusb [ library... ] #include <usb.h> DESCRIPTION
The libusb library contains interfaces for managing USB devices without a kernel driver. It is an open-source API supported on Linux, Mac- OS X, and NetBSD. See http://libusb.sourceforge.net. The current implementation is version 0.1.8 of the libusb API. Complete documentation for this library can be found at /usr/sfw/share/doc/libusb/libusb.txt. INTERFACES
The shared object libusb.so.1 provides the following public interfaces. See intro(3) for additional information on shared object inter- faces. usb_bulk_read usb_bulk_write usb_claim_interface usb_clear_halt usb_close usb_control_msg usb_find_busses usb_find_devices usb_get_busses usb_get_descriptor_by_endpoint usb_get_descriptor usb_get_string usb_get_string_simple usb_init usb_interrupt_read usb_interrupt_write usb_open usb_release_interface usb_reset usb_resetep usb_set_altinterface usb_set_configuration usb_set_debug usb_strerror FILES
/usr/sfw/lib/libusb.so.1 shared object /usr/sfw/lib/libusb_plugins implementation-specific libusb modules /usr/sfw/bin/libusb-config script to determine linking environment ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibusb, SUNWlibusbut, | | |SUNWlibugenusb | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
intro(3), attributes(5) http://libusb.sourceforge.net SunOS 5.10 14 Oct 2004 libusb(3LIB)
All times are GMT -4. The time now is 05:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy