08-14-2007
When it does fail, check to see if the port is listening:
netstat -an | grep 389 | grep LISTEN
You should see an entry that says LISTEN. If you don't, check that the process is up and running.
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I am using gmake to compile a c program with a makefile. The make file runs ld. I get the following error
jsh1035c:/users/egate453/admegate/kapil/samples $ gmake -e -f GNUmakefile queue_c
gmake -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples... (2 Replies)
Discussion started by: handak9
2 Replies
2. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
3. UNIX for Advanced & Expert Users
Usually when su rejects an attempt to switch user it responds with "Sorry" but with a certain username on some unix servers the response is "Killed". I'm guessing the su accepted the username/password but refused to spawn child shell with the specified username. What's causing this and what has to... (8 Replies)
Discussion started by: twk
8 Replies
4. Solaris
Hi,
I telnet to the localost in new install Sun 5.10
I get below error
I also telnet from other to this mahcine but get "access deny" after input root password.
The password is correct as I can login in console
"Not on system console
connection to unknown cloase by foregin host"
Why ,... (25 Replies)
Discussion started by: chuikingman
25 Replies
5. Shell Programming and Scripting
Hi
I wanna automate the telnet process for port connection..
# telnet 0 port_number
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
If its connected how to make it disconnect automatically..
And how to check for success or failure.. (0 Replies)
Discussion started by: ningy
0 Replies
6. Shell Programming and Scripting
Hi,
I am running a shell script which will spawn the telnet and login.
But sometimes, the telnet session itself is not getting spawned.
My requirement is, if the telnet session is not spawned, the user must be notified that it failed.
Is there any command to capture the status of telnet... (2 Replies)
Discussion started by: merin
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies
8. Red Hat
I am configuring Samba on one of my vmware.when i put smbclient -L local its showing error message : NT_STATUS_LOGON failure.I found that when i remove "Encrypted password entry from smb.conf" it works.
pls help me
---------- Post updated at 08:39 PM ---------- Previous update was at 07:11 PM... (0 Replies)
Discussion started by: Vaibhav.T
0 Replies
9. UNIX for Dummies Questions & Answers
hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ?
Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies
LEARN ABOUT XFREE86
upsd.conf
UPSD.CONF(5) NUT Manual UPSD.CONF(5)
NAME
upsd.conf - Configuration for Network UPS Tools upsd
DESCRIPTION
upsd uses this file to control access to the server and set some other miscellaneous configuration values. This file contains details on
access controls, so keep it secure. Ideally, only the upsd process should be able to read it.
CONFIGURATION DIRECTIVES
"MAXAGE seconds"
upsd usually allows a driver to stop responding for up to 15 seconds before declaring the data "stale". If your driver takes a very
long time to process updates but is otherwise operational, you can use MAXAGE to make upsd wait longer.
Most users should leave this at the default value.
"STATEPATH path"
Tell upsd to look for the driver state sockets in path rather than the default that was compiled into the program.
"LISTEN interface port"
Bind a listening port to the interface specified by its Internet address. This may be useful on hosts with multiple interfaces. You
should not rely exclusively on this for security, as it can be subverted on many systems.
Listen on TCP port port instead of the default value which was compiled into the code. This overrides any value you may have set with
configure --with-port. If you don't change it with configure or this value, upsd will listen on port 3493 for this interface.
Multiple LISTEN addresses may be specified. The default is to bind to 127.0.0.1 if no LISTEN addresses are specified (and ::1 if IPv6
support is compiled in).
LISTEN 127.0.0.1
LISTEN 192.168.50.1
LISTEN ::1
LISTEN 2001:0db8:1234:08d3:1319:8a2e:0370:7344
This parameter will only be read at startup. You'll need to restart (rather than reload) upsd to apply any changes made here.
"MAXCONN connections"
This defaults to maximum number allowed on your system. Each UPS, each LISTEN address and each client count as one connection. If the
server runs out of connections, it will no longer accept new incoming client connections. Only set this if you know exactly what you're
doing.
"CERTFILE certificate file"
When compiled with SSL support, you can enter the certificate file here. The certificates must be in PEM format and must be sorted
starting with the subject's certificate (server certificate), followed by intermediate CA certificates (if applicable_ and the highest
level (root) CA. It should end with the server key. See docs/security.txt or the Security chapter of NUT user manual for more
information on the SSL support in NUT.
SEE ALSO
upsd(8), nutupsdrv(8), upsd.users(5)
INTERNET RESOURCES
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/21/2012 UPSD.CONF(5)