Installing postgres

Started by Doug Daltonalmost 22 years ago3 messagesgeneral
Jump to latest
#1Doug Dalton
ddalton@shortbus.net

I installed postgres 7.2 on freedbsd 5.1 using the /usr/post dist,
after not finding any relations in the template1 database I deleted
/usr/local/pgsql/data and reran initdb, now I get the error:

/usr/local/etc/rc.d/010.pgsql.sh start
ldconfig: mkstemp(/var/run/ld-elf.so.hints.dLieHP): Permission denied

Can anyone tell me why?

Regards,
Doug

#2Joshua D. Drake
jd@commandprompt.com
In reply to: Doug Dalton (#1)
Re: Installing postgres

Hello,

I strongly suggest that you use a newer version... The current version
of PostgreSQL is 7.4.2... 7.2 is quite old (really old).

Sincerely,

Joshua D. Drake

Doug Dalton wrote:

I installed postgres 7.2 on freedbsd 5.1 using the /usr/post dist,
after not finding any relations in the template1 database I deleted
/usr/local/pgsql/data and reran initdb, now I get the error:

/usr/local/etc/rc.d/010.pgsql.sh start
ldconfig: mkstemp(/var/run/ld-elf.so.hints.dLieHP): Permission denied

Can anyone tell me why?

Regards,
Doug

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

-- 
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL
#3Shawn Harrison
harrison@tbc.net
In reply to: Joshua D. Drake (#2)
OT: FreeBSD help (was Re: Installing postgres)

Joshua D. Drake wrote:

Hello,

I strongly suggest that you use a newer version... The current version
of PostgreSQL is 7.4.2... 7.2 is quite old (really old).

To this end, you need to first install cvsup from the ports tree, read
the cvsup docs, and then cvsup the ports tree to -CURRENT. Then you
should have a nice, up-to-date pgsql to work with there.

Doug Dalton wrote:

I installed postgres 7.2 on freedbsd 5.1 using the /usr/post dist,
after not finding any relations in the template1 database I deleted
/usr/local/pgsql/data and reran initdb, now I get the error:

/usr/local/etc/rc.d/010.pgsql.sh start
ldconfig: mkstemp(/var/run/ld-elf.so.hints.dLieHP): Permission denied

Can anyone tell me why?

Regards,
Doug

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

--

Shawn