Sie sind auf Seite 1von 9

-rwxr--r-- 1 root root 657 oct 29 drwxr-xr-x 2 root root 4096 mar 30 2012 rc5.

d/ drwxr-xr-x 2 root root 4096 nov 10 2011 rc6.d/ drwxr-xr-x 2 root root 4096 mar 26 2012 rcS.d/ lrwxrwxrwx 1 root root 4 nov 10 2011 reboot -> halt*

-rwxr-xr-x 1 root root 1793 oct 29 2011 rpcbind* -rwxr-xr-x 1 root root 2528 oct 28 2011 rpmconfigcheck* -rwxr-xr-x 1 root root 3778 oct 29 2011 rsyncd* -rwxr-xr-x 1 root root 9645 oct 29 2011 setserial* -rwxr-xr-x 1 root root 1431 nov 2 2011 single* -rwxr-xr-x 1 root root 10638 nov 2 2011 skeleton* -rwxr-xr-x 1 root root 12735 nov 2 2011 skeleton.compat* -rwxr-xr-x 1 root root 18516 oct 29 2011 smartd* -rwxr-xr-- 1 root root 3728 nov 2 2011 smb* -rwxr-xr-x 1 root root 2048 oct 29 2011 smolt* -rwxr-xr-x 1 root root 3066 oct 29 2011 splash* -rwxr-xr-x 1 root root 460 oct 29 2011 splash_early* -rwxr-xr-x 1 root root 4093 may 10 2011 sshd* -rwxr-xr-x 1 root root 1646 nov 7 2011 SuSEfirewall2_init* -rwxr-xr-x 1 root root 2061 nov 7 2011 SuSEfirewall2_setup* -rwxr-xr-- 1 root root 6197 oct 29 2011 syslog* -rwxr-xr-x 1 root root 5291 oct 29 2011 vmtoolsd* -rwxr-xr-x 1 root root 2987 oct 29 2011 vsftpd* -rwxr-xr-x 1 root root 6773 sep 2 2011 xdm* -rwxr-xr-x 1 root root 2165 abr 5 2011 xfs* -rwxr-xr-x 1 root root 5882 oct 29 2011 xinetd* -rwxr-xr-x 1 root root 4450 oct 29 2011 ypbind* postgres@linux-v7rc:/etc/init.d> cd.. postgres@linux-v7rc:/etc> cd.. postgres@linux-v7rc:/> cd/home

-bash: cd/home: No existe el fichero o el directorio postgres@linux-v7rc:/> cd / home/ postgres@linux-v7rc:/> l total 108 drwxr-xr-x 23 root root 4096 mar 27 2012 ./ drwxr-xr-x 23 root root 4096 mar 27 2012 ../ drwxr-xr-x 2 root root 4096 mar 26 2012 bin/ drwxr-xr-x 3 root root 4096 mar 26 2012 boot/ drwxr-xr-x 2 root root 4096 mar 27 2012 .config/ drwxr-xr-x 17 root root 3760 mar 21 00:57 dev/ drwxr-xr-x 114 root root 12288 mar 21 16:57 etc/ drwxr-xr-x 5 root root 4096 mar 17 02:05 home/ drwxr-xr-x 22 root root 12288 mar 28 2012 lib/ drwx------ 2 root root 16384 mar 26 2012 lost+found/ drwxr-xr-x 2 root root 40 mar 20 21:56 media/ drwxr-xr-x 2 root root 4096 oct 25 2011 mnt/ drwxr-xr-x 2 root root 4096 oct 25 2011 opt/ dr-xr-xr-x 142 root root 0 mar 20 21:56 proc/

drwx------ 28 root root 4096 mar 21 00:58 root/ drwxr-xr-x 21 root root 680 mar 21 17:08 run/ drwxr-xr-x 3 root root 12288 mar 26 2012 sbin/ drwxr-xr-x 2 root root 4096 oct 25 2011 selinux/ drwxr-xr-x 4 root root 4096 nov 10 2011 srv/ drwxr-xr-x 12 root root 0 mar 20 21:56 sys/

drwxrwxrwt 20 root root 4096 mar 21 17:00 tmp/ drwxr-xr-x 12 root root 4096 nov 10 2011 usr/ drwxr-xr-x 15 root root 4096 nov 10 2011 var/ postgres@linux-v7rc:/> cd local -bash: cd: local: No existe el fichero o el directorio

postgres@linux-v7rc:/> cd.. postgres@linux-v7rc:/> l total 108 drwxr-xr-x 23 root root 4096 mar 27 2012 ./ drwxr-xr-x 23 root root 4096 mar 27 2012 ../ drwxr-xr-x 2 root root 4096 mar 26 2012 bin/ drwxr-xr-x 3 root root 4096 mar 26 2012 boot/ drwxr-xr-x 2 root root 4096 mar 27 2012 .config/ drwxr-xr-x 17 root root 3760 mar 21 00:57 dev/ drwxr-xr-x 114 root root 12288 mar 21 17:13 etc/ drwxr-xr-x 5 root root 4096 mar 17 02:05 home/ drwxr-xr-x 22 root root 12288 mar 28 2012 lib/ drwx------ 2 root root 16384 mar 26 2012 lost+found/ drwxr-xr-x 2 root root 40 mar 20 21:56 media/ drwxr-xr-x 2 root root 4096 oct 25 2011 mnt/ drwxr-xr-x 2 root root 4096 oct 25 2011 opt/ dr-xr-xr-x 142 root root 0 mar 20 21:56 proc/

drwx------ 28 root root 4096 mar 21 00:58 root/ drwxr-xr-x 21 root root 680 mar 21 17:13 run/ drwxr-xr-x 3 root root 12288 mar 26 2012 sbin/ drwxr-xr-x 2 root root 4096 oct 25 2011 selinux/ drwxr-xr-x 4 root root 4096 nov 10 2011 srv/ drwxr-xr-x 12 root root 0 mar 20 21:56 sys/

drwxrwxrwt 20 root root 4096 mar 21 17:13 tmp/ drwxr-xr-x 12 root root 4096 nov 10 2011 usr/ drwxr-xr-x 15 root root 4096 nov 10 2011 var/ postgres@linux-v7rc:/> cd /usr/local/ postgres@linux-v7rc:/usr/local> l total 19964

drwxr-xr-x 12 root root drwxr-xr-x 12 root root drwxr-xr-x 2 root root drwxr-xr-x 2 root root drwxr-xr-x 2 root root drwxr-xr-x 2 root root drwxr-xr-x 12 root root drwxr-xr-x 7 root root

4096 mar 17 02:03 ./ 4096 nov 10 2011 ../ 4096 oct 25 2011 bin/ 4096 oct 25 2011 games/ 4096 oct 25 2011 include/ 4096 oct 25 2011 lib/ 4096 mar 26 2012 man/ 4096 mar 17 02:08 pgsql/ 4096 mar 21 01:09 postgresql-9.1.3/

drwxrwxrwx 7 1107 1107

-rw-r--r-- 1 root root 20391547 mar 29 2012 postgresql-9.1.3.tar.gz drwxr-xr-x 2 root root drwxr-xr-x 2 root root drwxr-xr-x 2 root root 4096 oct 25 2011 sbin/ 4096 oct 25 2011 share/ 4096 oct 25 2011 src/

postgres@linux-v7rc:/usr/local> cd pgsql/bin postgres@linux-v7rc:/usr/local/pgsql/bin> l total 7764 drwxr-xr-x 2 root root 4096 mar 21 01:10 ./ drwxr-xr-x 7 root root 4096 mar 17 02:08 ../ -rwxr-xr-x 1 root root 52425 mar 21 01:10 clusterdb* -rwxr-xr-x 1 root root 52402 mar 21 01:10 createdb* -rwxr-xr-x 1 root root 56598 mar 21 01:10 createlang* -rwxr-xr-x 1 root root 52572 mar 21 01:10 createuser* -rwxr-xr-x 1 root root 48172 mar 21 01:10 dropdb* -rwxr-xr-x 1 root root 56564 mar 21 01:10 droplang* -rwxr-xr-x 1 root root 48174 mar 21 01:10 dropuser* -rwxr-xr-x 1 root root 680509 mar 21 01:10 ecpg* -rwxr-xr-x 1 root root 72285 mar 21 01:10 initdb* -rwxr-xr-x 1 root root 43393 mar 21 01:10 pg_basebackup* -rwxr-xr-x 1 root root 29335 mar 21 01:10 pg_config*

-rwxr-xr-x 1 root root 24691 mar 21 01:10 pg_controldata* -rwxr-xr-x 1 root root 39048 mar 21 01:10 pg_ctl* -rwxr-xr-x 1 root root 324100 mar 21 01:10 pg_dump* -rwxr-xr-x 1 root root 73731 mar 21 01:10 pg_dumpall* -rwxr-xr-x 1 root root 33445 mar 21 01:10 pg_resetxlog* -rwxr-xr-x 1 root root 132890 mar 21 01:10 pg_restore* -rwxr-xr-x 1 root root 5588729 mar 21 01:10 postgres* lrwxrwxrwx 1 root root 8 mar 21 01:10 postmaster -> postgres*

-rwxr-xr-x 1 root root 403821 mar 21 01:10 psql* -rwxr-xr-x 1 root root 52441 mar 21 01:10 reindexdb* -rwxr-xr-x 1 root root 34510 mar 21 01:10 vacuumdb* postgres@linux-v7rc:/usr/local/pgsql/bin> cd.. postgres@linux-v7rc:/usr/local/pgsql> data If 'data' is not a typo you can use command-not-found to lookup the package t hat contains it, like this: cnf data postgres@linux-v7rc:/usr/local/pgsql> cd data postgres@linux-v7rc:/usr/local/pgsql/data> l total 96 drwx------ 13 postgres root 4096 mar 21 13:47 ./ drwxr-xr-x 7 root root 4096 mar 17 02:08 ../

drwx------ 6 postgres users 4096 mar 21 13:52 base/ drwx------ 2 postgres users 4096 mar 21 16:37 global/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_clog/ -rw------- 1 postgres users 4476 mar 21 01:35 pg_hba.conf -rw------- 1 postgres users 1636 mar 21 01:35 pg_ident.conf drwx------ 4 postgres users 4096 mar 21 01:35 pg_multixact/ drwx------ 2 postgres users 4096 mar 21 13:47 pg_notify/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_serial/

drwx------ 2 postgres users 4096 mar 21 17:14 pg_stat_tmp/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_subtrans/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_tblspc/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_twophase/ -rw------- 1 postgres users 4 mar 21 01:35 PG_VERSION

drwx------ 3 postgres users 4096 mar 21 01:35 pg_xlog/ -rw------- 1 postgres users 19129 mar 21 01:35 postgresql.conf -rw------- 1 postgres users 59 mar 21 13:47 postmaster.opts -rw------- 1 postgres users 78 mar 21 13:47 postmaster.pid postgres@linux-v7rc:/usr/local/pgsql/data> mcedit pg_hba.conf

postgres@linux-v7rc:/usr/local/pgsql/data> l total 96 drwx------ 13 postgres root 4096 mar 21 13:47 ./ drwxr-xr-x 7 root root 4096 mar 17 02:08 ../

drwx------ 6 postgres users 4096 mar 21 13:52 base/ drwx------ 2 postgres users 4096 mar 21 16:37 global/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_clog/ -rw------- 1 postgres users 4476 mar 21 01:35 pg_hba.conf -rw------- 1 postgres users 1636 mar 21 01:35 pg_ident.conf drwx------ 4 postgres users 4096 mar 21 01:35 pg_multixact/ drwx------ 2 postgres users 4096 mar 21 13:47 pg_notify/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_serial/ drwx------ 2 postgres users 4096 mar 21 17:23 pg_stat_tmp/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_subtrans/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_tblspc/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_twophase/ -rw------- 1 postgres users 4 mar 21 01:35 PG_VERSION

drwx------ 3 postgres users 4096 mar 21 01:35 pg_xlog/

-rw------- 1 postgres users 19129 mar 21 01:35 postgresql.conf -rw------- 1 postgres users 59 mar 21 13:47 postmaster.opts -rw------- 1 postgres users 78 mar 21 13:47 postmaster.pid postgres@linux-v7rc:/usr/local/pgsql/data> mcedit postgresql.conf

postgres@linux-v7rc:/usr/local/pgsql/data> mcedit pg_hba.conf

postgres@linux-v7rc:/usr/local/pgsql/data> ^C postgres@linux-v7rc:/usr/local/pgsql/data> ./pg_ctl -D /usr/local/pgsql/data/restar -bash: ./pg_ctl: No existe el fichero o el directorio postgres@linux-v7rc:/usr/local/pgsql/data> ./pg_ctl -D /usr/local/pgsql/data/ restar -bash: ./pg_ctl: No existe el fichero o el directorio postgres@linux-v7rc:/usr/local/pgsql/data> pg_control -D /usr/local/pgsql/data/restart If 'pg_control' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf pg_control postgres@linux-v7rc:/usr/local/pgsql/data> pg_ctl -D /usr/local/pgsql/data/ restart If 'pg_ctl' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf pg_ctl postgres@linux-v7rc:/usr/local/pgsql/data> pg_ctl -D /usr/local/pgsql/data/ restart If 'pg_ctl' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf pg_ctl postgres@linux-v7rc:/usr/local/pgsql/data> pg_ctl -D /usr/local/pgsql/data/pg_ctl -D /usr/local/pgsql/data/ If 'pg_ctl' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf pg_ctl postgres@linux-v7rc:/usr/local/pgsql/data> ^C postgres@linux-v7rc:/usr/local/pgsql/data> l

total 96 drwx------ 13 postgres root 4096 mar 21 17:36 ./ drwxr-xr-x 7 root root 4096 mar 17 02:08 ../

drwx------ 6 postgres users 4096 mar 21 13:52 base/ drwx------ 2 postgres users 4096 mar 21 16:37 global/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_clog/ -rw------- 1 postgres users 4473 mar 21 17:36 pg_hba.conf -rw------- 1 postgres users 1636 mar 21 01:35 pg_ident.conf drwx------ 4 postgres users 4096 mar 21 01:35 pg_multixact/ drwx------ 2 postgres users 4096 mar 21 13:47 pg_notify/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_serial/ drwx------ 2 postgres users 4096 mar 21 17:43 pg_stat_tmp/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_subtrans/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_tblspc/ drwx------ 2 postgres users 4096 mar 21 01:35 pg_twophase/ -rw------- 1 postgres users 4 mar 21 01:35 PG_VERSION

drwx------ 3 postgres users 4096 mar 21 01:35 pg_xlog/ -rw------- 1 postgres users 19120 mar 21 17:30 postgresql.conf -rw------- 1 postgres users 59 mar 21 13:47 postmaster.opts -rw------- 1 postgres users 78 mar 21 13:47 postmaster.pid postgres@linux-v7rc:/usr/local/pgsql/data> cd.. postgres@linux-v7rc:/usr/local/pgsql> l total 28 drwxr-xr-x 7 root drwxr-xr-x 12 root drwxr-xr-x 2 root root 4096 mar 17 02:08 ./ root 4096 mar 17 02:03 ../ root 4096 mar 21 01:10 bin/

drwx------ 13 postgres root 4096 mar 21 17:36 data/ drwxr-xr-x 6 root drwxr-xr-x 3 root root 4096 mar 21 01:10 include/ root 4096 mar 21 01:10 lib/

drwxr-xr-x 6 root

root 4096 mar 21 01:10 share/

postgres@linux-v7rc:/usr/local/pgsql> cd.. postgres@linux-v7rc:/usr/local> cd pgsql/ postgres@linux-v7rc:/usr/local/pgsql> cd bin postgres@linux-v7rc:/usr/local/pgsql/bin> ./pg_ctl -D /usr/local/pgsql/data/ restart waiting for server to shut down.... done server stopped server starting postgres@linux-v7rc:/usr/local/pgsql/bin> LOG: database system was shut down at 2014-03-21 17:45:19 ART LOG: autovacuum launcher started LOG: database system is ready to accept connections ^C postgres@linux-v7rc:/usr/local/pgsql/bin>

Das könnte Ihnen auch gefallen