473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problem with 7.4 RPMS for Fedora Core 1

Hello, everybody

Thanks to Lamar Owen that I downloaded the rpms for Fedora Core 1 which
I expected all the time after 7.4 was released.

But I found a somewhat weird problem with it. My fedora installation has
no postgresql at all, then I installed all rpms of 7.4, and then run
"service postgresql start" with root, I noticed that the initdb is
executed correctly, and I can access it with psql successfully, all seem
good. But, when I run "service postgresql stop" and then run "service
postgresql start" again, it failed to startup and give the following errors:
----->
An old version of the database format was found.\nYou need to upgrade
the data format before using PostgreSQL.\nSee
/usr/share/doc/postgresql-7.4/README.rpm-dist for more information.
<------

But I can run "postmaster -i" successfully with postgres user. So,
what's the problem?

Thanks you very much.
yours,
mili


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #1
3 2740
On Friday 21 November 2003 09:15 pm, milimeter wrote:
errors: ----->
An old version of the database format was found.\nYou need to upgrade
the data format before using PostgreSQL.\nSee
/usr/share/doc/postgresql-7.4/README.rpm-dist for more information.
<------


Argh. Typo. Replace /etc/rc.d/init.d/postgresql with the attached script.
Rename it from postgresql.init to postgresql and put in /etc/rc.d/init.d

My apologies. I'll rebuild shortly.
--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC 28772
(828)862-5554
www.pari.edu
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #2
On Friday 21 November 2003 09:33 pm, Lamar Owen wrote:
On Friday 21 November 2003 09:15 pm, milimeter wrote:
errors: ----->
An old version of the database format was found.\nYou need to upgrade
the data format before using PostgreSQL.\nSee
/usr/share/doc/postgresql-7.4/README.rpm-dist for more information.
<------


Argh. Typo. Replace /etc/rc.d/init.d/postgresql with the attached script.
Rename it from postgresql.init to postgresql and put in /etc/rc.d/init.d

My apologies. I'll rebuild shortly.


Rebuilding now. While I was at it, I put in conditionals for the 7x and 89
builds. I'll rebuild my 8.0 and Aurora 1.0 builds shortly too; for now I'm
blowing them away on the server. Give me a little bit; rebuilding the rh8
one will take 30 minutes or more, and that's after the fedora one has built.
--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC 28772
(828)862-5554
www.pari.edu
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 12 '05 #3
On Friday 21 November 2003 09:33 pm, Lamar Owen wrote:
On Friday 21 November 2003 09:15 pm, milimeter wrote:
errors: ----->
An old version of the database format was found.\nYou need to upgrade
the data format before using PostgreSQL.\nSee
/usr/share/doc/postgresql-7.4/README.rpm-dist for more information.
<------


Argh. Typo. Replace /etc/rc.d/init.d/postgresql with the attached script.
Rename it from postgresql.init to postgresql and put in /etc/rc.d/init.d

My apologies. I'll rebuild shortly.


Rebuilding, and have uploaded Aurora 1.0 and Fedora Core 1 RPMS for PostgreSQL
7.4-0.2PGDG. The same source RPM works for both, and works for Red Hat 8.0
(I'm building that one now; my RH8 machine is a creaky old Pentium 150).

To rebuild on Red Hat 6.2, executing this should work (but I don't have a 6.2
machine on which to try it....)
rpm --define 'build6x 1' --define 'plperl 0' --rebuild
postgresql-7.4-0.2PGDG.src.rpm

To rebuild on Red Hat 7.3:
rpmbuild --define 'build7x' --define 'plperl 0' --rebuild ....

To rebuild on Red Hat 8.0 and 9:
rpmbuild --define 'build89' --rebuild ....

To rebuild on Fedora Core
rpmbuild --rebuild ...

I fixed the initscript this time, I think, and made it more portable on the
build.
--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC 28772
(828)862-5554
www.pari.edu
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: rgristroph | last post by:
I have an extension in C++, which I compile as a module for php 4.3.11. I am using PHP 4.3.11 on Fedora Core 4, which has gcc 4 instead of gcc 3.2. Fedora Core 4 normally comes with PHP 5, but I...
0
by: Jeremy Sanders | last post by:
Hi - I'm trying to build a Psyco rpm on Fedora 1. I try the command xpc5:~/psyco-1.1.1> python setup.py bdist_rpm this fails with: .... copying dist/psyco-1.1.1.tar.gz ->...
0
by: Adam T. Gautier | last post by:
I am unable to get the following to work with the httplib.response.read() method. It returns ''. Other URLs work fine with my code just not this one. Do I need to set a header or something? the...
5
by: linuxfreak | last post by:
Hi guys, Has anyone installed wxPython on Fedora Core 4. Apparently it need the libstdc++.so.5 file while Fedora installs the newer libstdc++.so.6 file. I tried installing the libstdc rpm from...
4
by: Devrim GUNDUZ | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, For RPM users, (S)RPMS for 7.4.4 was just built. We have (S)RPMS for: * Red Hat Linux 9 * Fedora Core 1
2
by: Devrim GUNDUZ | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, (S)RPMs for new point releases (per http://archives.postgresql.org/pgsql-announce/2004-10/msg00010.php) have been built for Fedora Core...
1
by: Devrim GUNDUZ | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --------------------------------------------------------------------- PostgreSQL RPM Set Update 2004-10-26 Version(s): 7.3.8, 7.4.6
4
by: Philip Wright | last post by:
Can we install the admin client for DB2 7.2 on Fedora Core 4? Thanks, PW
0
by: maluyao | last post by:
Install IBM DB2 on Fedora Core 5 (Bordeaux) author: maluyao RHCE. maluyao@NOSPAMgmail.com(remove NOSPAM) http://www.teenblog.org/tiantian/ (Chinese Version) Pre-installation notes:...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.