Error in the configuration of printers


 
Thread Tools Search this Thread
Operating Systems Solaris Error in the configuration of printers
# 1  
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..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question