Mensaje citado por Jerome Lyles <[EMAIL PROTECTED]>:

> Hello List,
> 
> I have installed Postgresql 7.4 on a Suse 9.0 system using apt.
> I cannot do this:
> 
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
> 
> Because there is no "/pgsql/bin/initdb" nor /pgsql/bin/ on my system.
> Since apt did not create these directories how can I do it manually?

You don't. Normal rpm packagers put binaries in /usr/bin and not in
/usr/local/pgsql/bin.

Try this:

$ initdb -D /var/lib/pgsql/data

Or, just try to start the database with the init script:

# /etc/init.d/postgresql start

If it's like the one I have here on Fedora, it should run initdb automatically if
the Cluster hasn't been built yet.

-- 
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-------------------------------------------------------
Martín Marqués          |   Programador, DBA
Centro de Telemática    |     Administrador
               Universidad Nacional
                    del Litoral
-------------------------------------------------------

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to