I installed Openserver 5.0.7 and I cannot telnet to the localhost and I can't telnet from my old SCO 3.2.42 to the new SCO machine but I can ping the new machine and it will telnet to the old machine. (2 Replies)
Hi there,
Anything will help.
I have running server on computer and want to connect from some clients.
Server:
memset(&hints, 0, sizeof(hints));
hints.ai_family = domain;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo("localhost", "8300", &hints, &res0);
if (error)
{
... (1 Reply)
Hi guys i am facing this issue while opening new xterm window.please help me out.
Xlib: connection to "delop125ld:0.0" refused by server
Xlib: Maximum number of clients reached
xterm Xt error: Can't open display: delop125ld:0.0
thanks (1 Reply)
OS : Solaris sparc
In c program After socket created when I do Connect() it results "Connection refused", but the system is online and I am able to do telnet, ping everything, but it says connection refused.
What would need to correct ? (6 Replies)
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
I dont' what happened with my servers (test servers only) but I just noticed that suddenly I cannot up the domain anymore (Sun Java System Application Server 9.1_01).
a. server.log
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the... (1 Reply)
From my machine (ubuntu), I can do
$ nc somemachine 80
But, when I want to connect to other machine that runs nc on different ports, it throws "Connection refused" error.
The same error occurs on my local machine. For example,
nc -l 5555
nc x.x.x.x 5555 --> this throws "Connection... (2 Replies)
Hi- While trying ftp from AIX to Windows im getting below error. Can anyone share ur views on this topic.
root@AB101# ftp -n 10.192.168.68
ftp: connect: A remote host refused an attempted connect operation.
ftp>
Thanks. (3 Replies)
I have two computers running Debian 6.0 and one running Solaris 2.6 on a private network. The Debian computers can ftp to the Solaris computer but if a Debian computer is the destination the ftp connection is refused. I assume this is some security feature of Debian. What can I do to allow... (2 Replies)
Hi I am trying to execute a shell script which is in unix server gs1. The script is below which basically connects to another unix server q15 and tries to get a file using FTP .
But i get error as "ftp: connect: Connection refused
Not connected.
Not connected."
Please help with if the below... (8 Replies)
Discussion started by: samrat dutta
8 Replies
LEARN ABOUT OPENSOLARIS
rndc-confgen
rndc-confgen(1M) System Administration Commands rndc-confgen(1M)NAME
rndc-confgen - rndc key generation tool
SYNOPSIS
rndc-confgen [-ah] [-b keysize] [-c keyfile] [-k keyname]
[-p port] [-r randomfile] [-s address] [-t chrootdir]
[-u user]
DESCRIPTION
The rndc-confgen utility generates configuration files for rndc(1M). This utility can be used as a convenient alternative to writing by
hand the rndc.conf(4) file and the corresponding controls and key statements in named.conf. It can also be run with the -a option to set up
a rndc.key file and avoid altogether the need for a rndc.conf file and a controls statement.
OPTIONS
The following options are supported:
-a Perform automatic rndc configuration. This option creates a file rndc.key in /etc (or however sysconfdir was specified
when BIND was built) that is read by both rndc and named(1M) on startup. The rndc.key file defines a default command chan-
nel and authentication key allowing rndc to communicate with named with no further configuration. Running rndc-confgen
with -a specified allows BIND 9 and rndc to be used as drop-in replacements for BIND 8 and ndc, with no changes to the
existing BIND 8 named.conf file.
-b keysize Specify the size of the authentication key in bits. The keysize argument must be between 1 and 512 bits; the default is
128.
-c keyfile Used with the -a option to specify an alternate location for rndc.key.
-h Print a short summary of the options and arguments to rndc-confgen.
-k keyname Specify the key name of the rndc authentication key. The keyname argument must be a valid domain name. The default is
rndc-key.
-p port Specify the command channel port where named listens for connections from rndc. The default is 953.
-r randomfile Specify a source of random data for generating the authorization. By default, /dev/random is used. The randomdev argument
specifies the name of a character device or file containing random data to be used instead of the default. The special
value keyboard indicates that keyboard input should be used.
-s address Specify the IP address where named listens for command channel connections from rndc. The default is the loopback address
127.0.0.1.
-t chrootdir Used with the -a option to specify a directory where named will run after the root directory is changed with chroot(1M).
An additional copy of the rndc.key will be written relative to this directory so that it will be found by the named in the
new directory.
-u user Used with the -a option to set the owner of the rndc.key file generated. If -t is also specified only the file in the
chroot area has its owner changed.
EXAMPLES
Example 1 Create Automatic rndc Configuration
The following command creates an automatic rndc configuration, so that rndc can be used immediately.
# rndc-confgen -a
Example 2 Print a Sample rndc.conf File
The following command prints a sample rndc.conf file with corresponding controls and key statements. These statements can subsequently be
manually inserted in the file named.conf.
# rndc-confgen
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbind |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO chroot(1M), named(1M), rndc(1M), rndc.conf(4), attributes(5)
BIND 9 Administrator Reference Manual, available at the ISC web site
SunOS 5.11 24 Dec 2008 rndc-confgen(1M)