09-06-2007
By the way I am using Sun OS...
Urgent help required......
10 More Discussions You Might Find Interesting
1. Solaris
hi all ,
we are in the process of migrating from one system to another.
i have some questions/concerns and i hope that u can help me with.
1) . we are in the process of merging to seperate system together , these applications run on 2 seperate sunfires . after the merge we will have one... (0 Replies)
Discussion started by: ppass
0 Replies
2. Filesystems, Disks and Memory
I like to find out Server Drive/Storage Specifications like Drive Size?
Storage Type: Local or SAN ?
Number of Processors:
Processor Speed:
Memory:
please someone help me out how I can get from command line?
Thanks you in advance (4 Replies)
Discussion started by: thopputhurai
4 Replies
3. AIX
hello
i need a help in finding a specific file where it is stored in the unix server. is there a way to find it.
Regards (3 Replies)
Discussion started by: dsdev_123
3 Replies
4. UNIX for Dummies Questions & Answers
I am getting the fallowing error when i am trying to execute the scp commomd in shell script
warning: You have no controlling tty. Cannot read confirmation.
warning: Authentication failed.
Disconnected; key exchange or algorithm negotiation failed (Key exchange failed.).
scp2: warning: ssh2... (1 Reply)
Discussion started by: manit
1 Replies
5. Shell Programming and Scripting
hi Friends,
In my directory i have some files. I need to find out latest modified file. Please help me.
Sreenu. (2 Replies)
Discussion started by: sreenu80
2 Replies
6. Shell Programming and Scripting
Hi Gurus,
I'm a unix newbie and I would like to connect to multiple unix servers from unix server using shell script i.e from server a to server b,c,d etc. I want to copy the files from unix server a to server b, c, d. I can access staright using ssh without the need to have password and user... (5 Replies)
Discussion started by: sexyTrojan
5 Replies
7. Shell Programming and Scripting
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies
8. Programming
I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning.
The script is called cwrmail.pl and is located in my cgi-bin.
When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Some of our application team uses Microsoft Team Foundation server (TFS) reposity tool for their .NET projects , I would like to access it form Unix/Linux machine. Please let me know how can access the TFS from unix.
Thanks (0 Replies)
Discussion started by: posix
0 Replies
10. How to Post in the The UNIX and Linux Forums
I have a list of servers which has both VIP and normal server. Is there a command to identify which server is a VIP and which is a normal server?
Please help. (1 Reply)
Discussion started by: Usha Rajesh
1 Replies
LEARN ABOUT DEBIAN
pg_ctlcluster
PG_CTLCLUSTER(8) Debian PostgreSQL infrastructure PG_CTLCLUSTER(8)
NAME
pg_ctlcluster - start/stop/restart/reload a PostgreSQL cluster
SYNOPSIS
pg_ctlcluster [options] cluster-version cluster-name action -- [pg_ctl options]
where action = start|stop|restart|reload|promote
DESCRIPTION
This program controls the postmaster server for a particular cluster. It essentially wraps the pg_ctl(1) command. It determines the cluster
version and data path and calls the right version of pg_ctl with appropriate configuration parameters and paths.
You have to start this program as the user who owns the database cluster or as root.
ACTIONS
start
A log file for this specific cluster is created if it does not exist yet (by default, /var/log/postgresql/postgresql-cluster-
version-cluster-name.log), and a PostreSQL server process (postmaster(1)) is started on it. Exits with 0 on success, with 2 if the
server is already running, and with 1 on other failure conditions.
stop
Stops the postmaster(1) server of the given cluster. By default, "smart" mode is used, which waits until all clients disconnected.
With the --force option the "fast" mode is used which rolls back all active transactions, disconnects clients immediately and thus
shuts down cleanly. If that does not work, shutdown is attempted again in "immediate" mode, which can leave the cluster in an
inconsistent state and thus will lead to a recovery run at the next start. If this still does not help, the postmaster process is
killed. Exits with 0 on success, with 2 if the server is not running, and with 1 on other failure conditions. This mode should only be
used when the machine is about to be shut down.
restart
Stops the server if it is running and starts it (again).
reload
Causes the configuration files to be re-read without a full shutdown of the server.
promote
Commands a running standby server to exit recovery and begin read-write operations.
OPTIONS
-o option
Pass given option as command line option to the postmaster process. It is possible to specify -o multiple times. See postmaster(1) for
a description of valid options.
pg_ctl options
Pass given pg_ctl options as command line options to pg_ctl. See pg_ctl(1) for a description of valid options.
FILES
/etc/postgresql/cluster-version/cluster-name/pg_ctl.conf
This configuration file contains cluster specific options to be passed to pg_ctl(1).
SEE ALSO
pg_ctl(1), pg_wrapper(1), pg_lsclusters(1), postmaster(1)
AUTHOR
Martin Pitt <mpitt@debian.org>
Debian 2012-10-08 PG_CTLCLUSTER(8)