- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How configure RedHat allowing printing request...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2001 12:42 AM
тАО03-25-2001 12:42 AM
How configure RedHat allowing printing request from HPUX?
I would like to install a remote printer on HPUX, and that printer was already configured on a linux system, Pls help.
many thanks in advance.
tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2001 01:38 AM
тАО03-26-2001 01:38 AM
Re: How configure RedHat allowing printing request from HPUX?
You have to ensure that your LPD daemon is running on your RedHat system to be able to serve remote lp requests ie.
[root@abc /root]# ps -fae|grep lpd
lp 28206 1 0 17:34 ? 00:00:00 lpd Waiting
If it is not, check that your lpd startup script runs during system startup:
[root@abc /root]# grep :initdefault: /etc/inittab
id:3:initdefault:
[root@abc /root]# ls /etc/rc.d/rc3.d/*lpd
/etc/rc.d/rc3.d/S60lpd
The 60lpd must be prefixed by a capital S and not a small letter s.
From the HP-UX client, configure a remote printer queue using SAM.
If you are running iptables or ipchains, please ensure that inbound traffic to port TCP/515 on your RedHat system has not been blocked.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2001 07:52 PM
тАО03-26-2001 07:52 PM
Re: How configure RedHat allowing printing request from HPUX?
I got the following output from RedHat server:
[root@wlinux1 /root]# ls /etc/rc.d/rc3.d/*lpd
/etc/rc.d/rc3.d/S60lpd
[root@wlinux1 /root]# grep :initdefault: /etc/inittab
id:5:initdefault:
[root@wlinux1 /root]# ps -fae|grep lpd
root 569 1 0 Mar26 ? 00:00:00 lpd
[root@wlinux1 /root]# grep :initdefault: /etc/inittab
id:5:initdefault:
[root@wlinux1 /root]# ls /etc/rc.d/rc3.d/*lpd
/etc/rc.d/rc3.d/S60lpd
[root@wlinux1 /root]#
I have tried to add a remote printer queue in HP-UX client and got the following info;
# lpstat -a
prt01 accepting requests since Oct 12 11:26
prt02 accepting requests since Mar 5 10:31
# lpstat -d prt02
system default destination: prt01
printer queue for prt02
wlinux1: lpd: prt: Your host does not have line printer access
wmo_a: prt02: ready and waiting
no entries
#
It seems that the RedHat does not enable its remote printing service. Is this right?
Many thanks
tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2001 08:10 PM
тАО03-26-2001 08:10 PM
Re: How configure RedHat allowing printing request from HPUX?
Check if it is a TCP or network connectivity issue before proceeding with testing the configuration by trying the following from your HP-UX system:
# telnet linux-host 515
If the output is
Trying...
Connected to linux-host.
Escape character is '^]'.
then, your TCP connection is fine.
However, if the output is
Trying...
telnet: Unable to connect to remote host: Connection refused
then, your TCP connection is likely to have been blocked or there is no route from your HP-UX system to your linux system.
If your TCP connection is fine, you will need to check the configuration settings you set at your HP-UX system. Perform this:
# /usr/sam/lbin/lpmgr|grep remote-printer-queue
where remote-printer-name refers to the printer queue you named for the remote linux printer. This will show the configuration of your remote printer queue.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2001 08:24 PM
тАО03-26-2001 08:24 PM
Re: How configure RedHat allowing printing request from HPUX?
Thanks for your quick reply, I think I have set somethin wrong on RedHat:
# telnet wlinux1 515
Trying...
Connected to wlinux1.
Escape character is '^]'.
lpd: prt: Malformed from address
Connection closed by foreign host.
# /usr/sam/lbin/lpmgr|grep prt02
prt02:remote:yes, idle:yes:prt on wlinux1:0: :
Anything does the above message indicate?
thanks
tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2001 09:35 PM
тАО03-26-2001 09:35 PM
Re: How configure RedHat allowing printing request from HPUX?
The printer queue settings at your linux system might have been misconfigured.
Further debugging,
On your linux system:
# /etc/rc.d/init.d/lpd stop
# lpd -D1 -F
From your hpux system:
# telnet linux-system 515
Record the debug messages on your linux system.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2001 10:40 PM
тАО03-26-2001 10:40 PM
Re: How configure RedHat allowing printing request from HPUX?
I carry out the following steps and produce the same result,
On Linux printer server side:
[root@wlinux1 /etc]# ps -ef |grep lpd
root 1545 1 0 12:06 ? 00:00:00 lpd
root 1699 1429 0 14:34 pts/0 00:00:00 grep lpd
[root@wlinux1 /etc]# /etc/rc.d/init.d/lpd stop
Shutting down lpd: [ OK ]
[root@wlinux1 /etc]# lpd -D1 -F
[root@wlinux1 /etc]# ps -ef |grep lpd
root 1715 1 0 14:35 ? 00:00:00 lpd -D1 -F
root 1718 1429 0 14:35 pts/0 00:00:00 grep lpd
[root@wlinux1 /etc]#
On HP-UX client side:
# telnet wlinux1 515
Trying...
Connected to wlinux1.
Escape character is '^]'.
lpd: prt: Malformed from address
Connection closed by foreign host.
#
Best regards
tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 06:58 AM
тАО03-27-2001 06:58 AM
Re: How configure RedHat allowing printing request from HPUX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2001 01:08 PM
тАО03-29-2001 01:08 PM