1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.9 2000/05/02 20:02:03 thomas Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.10 2000/07/21 00:24:37 momjian Exp $
3
3
Postgres documentation
4
4
-->
5
5
@@ -299,11 +299,11 @@ StreamServerPort: cannot bind to port
299
299
process already running on the same port number. The easiest way to
300
300
determine this is by using the command
301
301
<programlisting>
302
- % ps -ax | grep postmaster
302
+ $ ps -ax | grep postmaster
303
303
</programlisting>
304
304
on BSD-based systems, or
305
305
<programlisting>
306
- % ps -e | grep postmast
306
+ $ ps -e | grep postmast
307
307
</programlisting>
308
308
for System V-like or POSIX-compliant systems such as HP-UX.
309
309
</para>
@@ -408,13 +408,13 @@ IpcMemoryAttach: shmat() failed: Permission denied
408
408
should be used instead. Using
409
409
410
410
<programlisting>
411
- % kill -KILL
411
+ $ kill -KILL
412
412
</programlisting>
413
413
414
414
or its alternative form
415
415
416
416
<programlisting>
417
- % kill -9
417
+ $ kill -9
418
418
</programlisting>
419
419
420
420
will prevent <application>postmaster</application>
@@ -443,7 +443,7 @@ or its alternative form
443
443
values, type:
444
444
445
445
<programlisting>
446
- % nohup postmaster >logfile 2>&1 &
446
+ $ nohup postmaster >logfile 2>&1 &
447
447
</programlisting>
448
448
449
449
This command will start up <application>postmaster</application>
@@ -456,7 +456,7 @@ or its alternative form
456
456
To start <application>postmaster</application> with a specific port:
457
457
458
458
<programlisting>
459
- % nohup postmaster -p 1234 &
459
+ $ nohup postmaster -p 1234 &
460
460
</programlisting>
461
461
462
462
This command will start up <application>postmaster</application>
@@ -465,14 +465,14 @@ or its alternative form
465
465
using psql, you would need to run it as
466
466
467
467
<programlisting>
468
- % psql -p 1234
468
+ $ psql -p 1234
469
469
</programlisting>
470
470
471
471
or set the environment variable <envar>PGPORT</envar>:
472
472
473
473
<programlisting>
474
- % setenv PGPORT 1234
475
- % psql
474
+ $ setenv PGPORT 1234
475
+ $ psql
476
476
</programlisting>
477
477
</para>
478
478
</refsect1>
0 commit comments