Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Enabling port 1158 at Solaris 10 server

2,386 views
Skip to first unread message

Bill Mackler

unread,
Jun 14, 2013, 8:11:25 PM6/14/13
to
We need to bring up an application which use port #1158 at our Solaris server.
There's no port #1158 running or defined. Anybody knows how ?

It's currently not in /etc/services file. Also, "netstat -rn| grep 1158" returns no result. There's no firewall/router involved since all traffic for port 1158 is internal to the server.

Thanks,

Bill

ji...@specsol.spam.sux.com

unread,
Jun 14, 2013, 10:18:33 PM6/14/13
to
Bill Mackler <underh20.s...@gmail.com> wrote:
> We need to bring up an application which use port #1158 at our Solaris
> server.
> There's no port #1158 running or defined. Anybody knows how ?

Sure, you run the application that opens port 1158 and services connections
to it.

Port 1158 is usually associated with database services of some kind, it
is not a standard UNIX port, and there is no standard UNIX service
associated with it.

Whatever your application is that is trying to access that port has to
have another application that services it.



--
Jim Pennino

Doug McIntyre

unread,
Jun 14, 2013, 10:56:13 PM6/14/13
to
Typically you run the *something* which provides your service on port 1158.

The *something* usually has a well defined notion of how to configure
it to listen on port 1158, it can be configured in a text config file,
it can be configed on the command line, it can be hardcoded in, or
maybe it might lookup what the standard port is defined in /etc/services,
(or a network information service), and use that.

But it all depends on what that *something* does, and you've left the
definition of that *something* as an unknown to everybody else here.

I can give you a command that would listen on port 1158, but it almost
certainly won't do what you are expecting.

chris

unread,
Jun 15, 2013, 9:25:16 AM6/15/13
to
...and then you have the question as to whether it runs under inetd, or as
a daemon ?. Is there no setup info for this application ?.

If it's something new, then the op may like to look at addons like rsync,
or mysql, both of which have the setup info...

Chris

Bill Mackler

unread,
Jun 17, 2013, 4:25:42 PM6/17/13
to
Blow is the error message we get when trying to bring up the application via port #1158 :


http: nmehl_connect_internal: connect failed to (serverA:1158): Connection refused (error = 146)

Ian Collins

unread,
Jun 17, 2013, 4:34:57 PM6/17/13
to
Bill Mackler wrote:

Please wrap your lines and avoid the awful mess google makes of your quotes.

> On Friday, June 14, 2013 5:11:25 PM UTC-7, Bill Mackler wrote:
>> We need to bring up an application which use port #1158 at our
>> Solaris server.
>>
>> There's no port #1158 running or defined. Anybody knows how ?
>>
>>
>>
>> It's currently not in /etc/services file. Also, "netstat -rn| grep
>> 1158" returns no result. There's no firewall/router involved since
>> all traffic for port 1158 is internal to the server.
>
> Blow is the error message we get when trying to bring up the
> application via port #1158 :
>
>
> http: nmehl_connect_internal: connect failed to (serverA:1158):
> Connection refused (error = 146)

So what isn't running on severA that should be listening for connections
on that port?

--
Ian Collins

ji...@specsol.spam.sux.com

unread,
Jun 17, 2013, 5:26:27 PM6/17/13
to
Of course connection is refused as you don't have any server application
running to respond to client connections to that port.

Several people have already told you that.

Whatever your unnamed client application is has to have a corresponding
server application running, and since you refuse to name the client
application, there is no way anyone can help you with what the server
application might be.

My wild ass guess since you provide no usefull information is that you
are trying to run some part of an Oracle management tool and you don't
have the server part installed correctly or it is not running.

If it is Oracle related, I would suggest posting to an Oracle group
WITH FULL INFORMATION as to what you are trying to run.



--
Jim Pennino

jiml...@dorsai.org

unread,
Jun 19, 2013, 1:21:09 PM6/19/13
to
On Friday, June 14, 2013 10:56:13 PM UTC-4, Doug McIntyre wrote:

> I can give you a command that would listen on port 1158, but it almost
>
> certainly won't do what you are expecting.

Can you post the command to listen on port 1158? TIA.

Chris Ridd

unread,
Jun 19, 2013, 5:40:20 PM6/19/13
to
nc -l 1158

--
Chris

ji...@specsol.spam.sux.com

unread,
Jun 19, 2013, 5:55:01 PM6/19/13
to
Where in the SOLARIS distribution does one find nc?



--
Jim Pennino

John D Groenveld

unread,
Jun 19, 2013, 8:50:06 PM6/19/13
to
In article <lul99a-...@mail.specsol.com>,
<ji...@specsol.spam.sux.com> wrote:
>Where in the SOLARIS distribution does one find nc?

In Solaris 11.1, its part of pkg:/network/netcat
<URL:http://pkg.oracle.com/solaris/release/manifest/0/network%2Fnetcat%400.5.11%2C5.11-0.175.1.0.0.24.2%3A20120919T184427Z>

For Solaris 10, the OP will need to build from source or
fetch the package from a third party like OpenCSW.ORG or
SunFreeware.COM.

John
groe...@acm.org

John
groe...@acm.org
0 new messages