- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- enable port 2401 on HPUX11.11
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
Forums
Discussions
Discussions
Discussions
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
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
11-01-2002 12:39 AM
11-01-2002 12:39 AM
enable port 2401 on HPUX11.11
In order to install CVS on one of our servers, I need to enable port 2401 on it. The server OS is HPUX11.11. I did some test by adding below lines into inetd.conf and sevices under /etc.
add 'test stream tcp nowait root/bin/echo echo hello'
in /etc/inetd.conf
add 'test 2401/tcp'
an then, issue command 'telent localhost 2401'.
The result was connect failed. These problem can be repeated on HPUX servers with OS11.11, but I find all other servers with OS HPUX11.0 can passed the test.
Any suggestion and idea? is there any patch can help fixing the peoblem.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 12:48 AM
11-01-2002 12:48 AM
Re: enable port 2401 on HPUX11.11
Did you add the port to /etc/services ?
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 01:25 AM
11-01-2002 01:25 AM
Re: enable port 2401 on HPUX11.11
with the same proceude, I can telenet 2401 port to a hpux11.0 server, but cannot make it on ux11.11.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 01:45 AM
11-01-2002 01:45 AM
Re: enable port 2401 on HPUX11.11
Did you restarted inetd with inetd -c
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2002 07:52 PM
11-03-2002 07:52 PM
Re: enable port 2401 on HPUX11.11
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2002 10:51 PM
11-03-2002 10:51 PM
Re: enable port 2401 on HPUX11.11
I like to know a bit more:
- What is the exact error message you get when you do telnet localhost 2401
- When it is failing are you getting anything in /var/adm/syslog/syslog.log
- Is there a /var/adm/inetd.sec file on the 11.11 system
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2002 11:12 PM
11-03-2002 11:12 PM
Re: enable port 2401 on HPUX11.11
the error message was ' unable to connect to remote host, connection refused.
I didn't see any error in syslog.log file. and there is no file called etc/inetd.sec in HPux11.11
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 01:39 AM
11-04-2002 01:39 AM
Re: enable port 2401 on HPUX11.11
Can you show me the content of your /etc/nsswitch.conf file ?
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 05:16 AM
11-04-2002 05:16 AM
Re: enable port 2401 on HPUX11.11
Unless that is a typo, you need a space between "root" and "/bin/echo" in the /etc/inetd.conf entry.
Just tested this on my 11i system and it is fine.
regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 05:08 PM
11-04-2002 05:08 PM
Re: enable port 2401 on HPUX11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 05:35 PM
11-04-2002 05:35 PM
Re: enable port 2401 on HPUX11.11
Here is an example:
hosts: files [NOTFOUND=continue UNAVAIL=return TRYAGAIN=return] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
services: files[NOTFOUND=return] nis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 07:48 PM
11-04-2002 07:48 PM
Re: enable port 2401 on HPUX11.11
I create the nsswitch.conf with the config you sent to me. It solved the issue. Many thanks.
could you tell me more on this file.
best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 08:05 PM
11-04-2002 08:05 PM
Re: enable port 2401 on HPUX11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 08:50 PM
11-04-2002 08:50 PM
Re: enable port 2401 on HPUX11.11
for nsswitch.conf
==============================
nsswitch.conf - name-service switch configuration file
DESCRIPTION
The nsswitch.conf file specifies how the nsdispatch(3) (name-service
switch dispatcher) routines in the C library should operate.
The configuration file controls how a process looks up various databases
containing information regarding hosts, users (passwords), groups, net-
groups, etc. Each database comes from a source (such as local files,
DNS, and NIS), and the order to look up the sources is specified in
nsswitch.conf.
Each entry in nsswitch.conf consists of a database name, and a space sep-
arated list of sources. Each source can have an optional trailing crite-
rion that determines whether the next listed source is used, or the
search terminates at the current source. Each criterion consists of one
or more status codes, and actions to take if that status code occurs.
==============================
Also, see http://campuscgi.princeton.edu/man?nsswitch.conf
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 11:31 PM
11-04-2002 11:31 PM
Re: enable port 2401 on HPUX11.11
I see the guess for the nsswitch.conf file was right.
I saw an example was posted for you as well.
Please be so kind to assign the points to the people who helped you out.
C.