Thanks a lot.
I realised that the problem is, that pgsql cant find my libssl.so !
The file is located at /usr/libexec/apache/libssl.so so how and where can i configure/edit that postgressql finds this lib at this path?
May you post the url/ftp url where you downloaded the packs for slackware? would be very nice.
hmm will google/code/food for help
thanks in advance !
mfg Rock
-------------------- UPDATE -------------------------
Okay i have now reinstalled the hole package !
I have done everything like in the install manule (
http://www7.de.postgresql.org/docs/7...tallation.html)
Now it shows me this errors :
root@rockshome:/home/rock/downloads/gamerirc/postgresql-7.4.6# chown postgres /usr/local/pgsql/data
root@rockshome:/home/rock/downloads/gamerirc/postgresql-7.4.6# su - postgres
/dev/pts/1: Operation not permitted
In the beginning there was nothing. And the Lord said "Let There Be Light!"
And still there was nothing, but at least now you could see it.
postgres@rockshome:~$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locales:
COLLATE: C
CTYPE: en_US
MESSAGES: en_US
MONETARY: en_US
NUMERIC: en_US
TIME: en_US
initdb: directory "/usr/local/pgsql/data" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/usr/local/pgsql/data" or run initdb with an argument other than
"/usr/local/pgsql/data".
postgres@rockshome:~$ initdb -D /usr/local/pgsql/data
-su: initdb: command not found
postgres@rockshome:~$ ls
postgres@rockshome:~$ cd /usr/local/pgsql
postgres@rockshome:/usr/local/pgsql$ initdb -D /usr/local/pgsql/data
-su: initdb: command not found
postgres@rockshome:/usr/local/pgsql$ cd bin
postgres@rockshome:/usr/local/pgsql/bin$ initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locales:
COLLATE: C
CTYPE: en_US
MESSAGES: en_US
MONETARY: en_US
NUMERIC: en_US
TIME: en_US
initdb: directory "/usr/local/pgsql/data" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/usr/local/pgsql/data" or run initdb with an argument other than
"/usr/local/pgsql/data".
postgres@rockshome:/usr/local/pgsql/bin$ /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
[1] 3457
postgres@rockshome:/usr/local/pgsql/bin$ -su: logfile: Permission denied
/usr/local/pgsql/bin/createdb test
createdb: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
[1]+ Exit 1 /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1
postgres@rockshome:/usr/local/pgsql/bin$ /usr/local/pgsql/bin/psql test
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
postgres@rockshome:/usr/local/pgsql/bin$ psql test
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
postgres@rockshome:/usr/local/pgsql/bin$ ls
clusterdb* createuser* dropuser* initlocation* pg_controldata* pg_dumpall* pg_resetxlog* postmaster@
createdb* dropdb* ecpg* ipcclean* pg_ctl* pg_encoding* pg_restore* psql*
createlang* droplang* initdb* pg_config* pg_dump* pg_id* postgres* vacuumdb*
postgres@rockshome:/usr/local/pgsql/bin$
Thanks for your help