- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- How configure RedHat allowing printing request fro...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- Report Inappropriate Content
03-29-2001 01:08 PM
03-29-2001 01:08 PM
Re: How configure RedHat allowing printing request from HPUX?
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP