- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Can someone help me in creating a port in TRU6...
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
тАО05-31-2010 05:07 AM
тАО05-31-2010 05:07 AM
Can someone help me in creating a port in TRU64
I used the same process in HP and Solaris 9 which is working fine. Am I missing something in the process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2010 06:24 AM
тАО05-31-2010 06:24 AM
Re: Can someone help me in creating a port in TRU64
sizer -v
> [...] I am trying to create a port. [...]
You don't really "create a port". You can
run your program, which might listen on some
port, or you can register your program with
inetd, so that inetd will listen on some
port, and run your program when appropriate.
> I added an entry [...]
My psychic powers are too weak to show me the
changes which you made to these files.
> [...] I am not able to do a telnet [...]
"I am not able" is not a useful problem
description. It does not say what you did.
It does not say what happened when you did
it.
As usual, showing actual commands with their
actual output can be more helpful than vague
descriptions and interpretations.
> Am I missing something in the process?
Apparently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2010 06:43 AM
тАО05-31-2010 06:43 AM
Re: Can someone help me in creating a port in TRU64
/etc/inetd.conf:
alert stream tcp nowait root /usr/bin/tcpd
/etc/services:
alert 4949/tcp #alert Script
and then: inetd -h.
after this I try telnet localhost 4949, it says:
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
My my_script.ksh is a one line script which tails a log file. The out put expected above is few lines from my log file.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2010 06:52 AM
тАО05-31-2010 06:52 AM
Re: Can someone help me in creating a port in TRU64
That normally means that no one is listening
at that port.
> [...]
I can't see what that is, either. Does it
exist? Is it executable?
Any clues in the system log file(s)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2010 07:02 AM
тАО05-31-2010 07:02 AM
Re: Can someone help me in creating a port in TRU64
#!/usr/bin/ksh
/usr/bin/tail -f /opt/home/TestMsg.log
The file TestMsg.log contains few Oracle error messages I collected from the internet. Infact this entire process has no connection with Oracle process/database. When I connect to this port from a remote server, I need to get the log messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 12:11 AM
тАО06-01-2010 12:11 AM
Re: Can someone help me in creating a port in TRU64
>>
>> That normally means that no one is listening
>> at that port.
can you verify with "netstat -a | grep 4949" that a listener is started? on that port
check "ls /usr/bin/tcpd" ift his file exists?
(I don't have any on my system)
use "inetd -hL" to log status messages, like the startup and shutdown of services, to syslogd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 12:41 AM
тАО06-01-2010 12:41 AM
Re: Can someone help me in creating a port in TRU64
is this package installed?
http://h30097.www3.hp.com/docs/iass/OSIS_67/admin/ch09.html
During installation, the TCP service entries in the /etc/inetd.conf file that match the service entries specified in the /usr/internet/security/config.tcp file are modified to include the TCP Wrapper (tcpd) daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 01:06 AM
тАО06-01-2010 01:06 AM
Re: Can someone help me in creating a port in TRU64
Making an entry in the files
/usr/internet/security/config.tcp for tcpd and
/usr/internet/security/hosts.allow like tcpd:ALL:ALLOW
The same process(adding enries to /etc/services and /etc/inetd.conf works fine with Solaris and HP-UX).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 01:54 AM
тАО06-01-2010 01:54 AM
Re: Can someone help me in creating a port in TRU64
Yes I think you need to make changes to some of these files.
The procedure seems to be to make changes in /usr/internet/security files, and then run a script to activate those changes in /etc files.
http://h30097.www3.hp.com/docs/iass/OSIS_67/admin/ch09.html#sec-conrol-net-ser-tcp
The whole "Internet Express Version 6.7 for Tru64 UNIX" package seems also to contain a firewall.
Check if this is activated, you may need to change that config too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2010 05:58 AM
тАО06-01-2010 05:58 AM