11-17-2001
services
Hi,
Is it possible to remove/disconnect a socket connection having
a status of LISTEN, from command prompt..??
Thanks in Advance..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello all,
in order for me to close ports and remove services that could be a danger to my system i have edited the /etc/initd.conf file, /etc/system file, and renamed some of the r commands. However i wanted to know if anyone knows how to turn off all services and close ALL known ports, so i... (3 Replies)
Discussion started by: Holistic
3 Replies
2. UNIX for Dummies Questions & Answers
I have an application service running on an AIX server
Client application is able to connect to the server machine.
Strange thing is
when i do "netstat -a | grep servicename" I get no output
but
when i do "ps -ef | grep service name", I am able to see the service running
I... (1 Reply)
Discussion started by: bryan
1 Replies
3. HP-UX
Hi,
We are running HP-UX 11.11 in trusted mode. We have a audit scheduled next week and I have been given the resp. to check all the network servies and other user maintenance things.
Is there any HP document which states which services can be easily disabled and how. Like ftp, finger etc.... (1 Reply)
Discussion started by: isingh786
1 Replies
4. Windows & DOS: Issues & Discussions
I just installed Services for Unix on a Windows 2003 DC. I have a Debian box with Samba shares for our storage drive. I'm trying to test a Linux client.
She is unable to read or write from the Samba shares. Her login is being mapped to the same name from NIS to AD. She can login from a windows... (0 Replies)
Discussion started by: dawningtech
0 Replies
5. UNIX for Dummies Questions & Answers
hi,
what is the command for checking the particular services and how can we find whether that service is up or down. Consider http service. how to check whether its up or down
Edit: Question continued here. (0 Replies)
Discussion started by: satheeshkr_cse
0 Replies
6. Solaris
Need help from the unix admins out there. I am trying to telnet from a windoze machine to a sun machine. It won't let me connect. I looked at etc/services and I found the port that telnet was listening on. But, how can I tell if its actually up and available? is there a unix command I can issue?... (15 Replies)
Discussion started by: Harleyrci
15 Replies
7. AIX
Hi
In my AIX 5.3 box I already have the below entry:
#cat /etc/services | grep -i 3602
infiniswitchcl 3602/tcp # InfiniSwitch Mgr Client
infiniswitchcl 3602/udp # InfiniSwitch Mgr Client
Now I got an requirement to add the below entry in the same port... (6 Replies)
Discussion started by: samsungsamsung
6 Replies
8. Red Hat
I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed.
I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed.
Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies
9. Shell Programming and Scripting
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies
LEARN ABOUT SUSE
droplang
DROPLANG(1) PostgreSQL Client Applications DROPLANG(1)
NAME
droplang - remove a PostgreSQL procedural language
SYNOPSIS
droplang [ connection-option... ] langname [ dbname ]
droplang [ connection-option... ] [ --list ] [ -l ] dbname
DESCRIPTION
droplang is a utility for removing an existing programming language from a PostgreSQL database. droplang can drop any procedural language,
even those not supplied by the PostgreSQL distribution.
Although backend programming languages can be removed directly using several SQL commands, it is recommended to use droplang because it
performs a number of checks and is much easier to use. See DROP LANGUAGE [drop_language(7)] for more.
OPTIONS
droplang accepts the following command line arguments:
langname
Specifies the name of the backend programming language to be removed.
[-d] dbname
[--dbname] dbname
Specifies from which database the language should be removed. The default is to use the database with the same name as the current
system user.
-e
--echo Display SQL commands as they are executed.
-l
--list Show a list of already installed languages in the target database.
droplang also accepts the following command line arguments for connection parameters:
-h host
--host host
Specifies the host name of the machine on which the server is running. If host begins with a slash, it is used as the directory for
the Unix domain socket.
-p port
--port port
Specifies the Internet TCP/IP port or local Unix domain socket file extension on which the server is listening for connections.
-U username
--username username
User name to connect as.
-w
--no-password
Never issue a password prompt. If the server requires password authentication and a password is not available by other means such as
a .pgpass file, the connection attempt will fail. This option can be useful in batch jobs and scripts where no user is present to
enter a password.
-W
--password
Force droplang to prompt for a password before connecting to a database.
This option is never essential, since droplang will automatically prompt for a password if the server demands password authentica-
tion. However, droplang will waste a connection attempt finding out that the server wants a password. In some cases it is worth
typing -W to avoid the extra connection attempt.
ENVIRONMENT
PGDATABASE
PGHOST
PGPORT
PGUSER Default connection parameters
This utility, like most other PostgreSQL utilities, also uses the environment variables supported by libpq (see in the documentation).
DIAGNOSTICS
Most error messages are self-explanatory. If not, run droplang with the --echo option and see under the respective SQL command for details.
Also, any default connection settings and environment variables used by the libpq front-end library will apply.
NOTES
Use createlang(1) to add a language.
EXAMPLES
To remove the language pltcl:
$ droplang pltcl dbname
SEE ALSO
createlang(1), DROP LANGUAGE [drop_language(7)]
Application 2010-05-14 DROPLANG(1)