Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error install postgresql-9.1

145 views
Skip to first unread message

Fernando ff77

unread,
May 17, 2013, 1:00:02 PM5/17/13
to
hello,
i update my server from sarge to wheezy (stable). (dist-upgrade)

All package is ok... thanks aptitude !!!

The problem is postgresql-9.1, during the installation i read this error...

Configurazione di postgresql-9.1 (9.1.9-1)...
[....] Starting PostgreSQL 9.1 database server: main[....] Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 215. Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 215. Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 215. Use of uninitialized value $logsize in numeric gt (>) at...
................
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: errore nell'elaborare postgresql-9.1 (--configure):
 il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
Si sono verificati degli errori nell'elaborazione:
 postgresql-9.1

I searched on Google but have not found a solution.

HELP ME ! 

ps: Today is Friday 17 !!! ARGHHH.

Thanks.
FerX

Lisi Reisz

unread,
May 17, 2013, 1:10:03 PM5/17/13
to
On Friday 17 May 2013 17:54:01 Fernando ff77 wrote:
> hello,
>
> ps: Today is Friday 17 !!! ARGHHH.

What is wrong with Friday 17 ???

Lisi


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/201305171759.1...@gmail.com

Fernando ff77

unread,
May 17, 2013, 1:40:02 PM5/17/13
to
2013/5/17 Lisi Reisz <lisi....@gmail.com>
On Friday 17 May 2013 17:54:01 Fernando ff77 wrote:
> hello,
>
> ps: Today is Friday 17 !!! ARGHHH.

What is wrong with Friday 17 ???

Lisi


sorry but is only in italian.

Selim T. Erdogan

unread,
May 19, 2013, 7:30:02 AM5/19/13
to
Fernando ff77, 17.05.2013:
> hello,
> i update my server from sarge to wheezy (stable). (dist-upgrade)

Are you really trying to go from *sarge* to wheezy? Sounds like asking
for trouble.

> All package is ok... thanks aptitude !!!
>
> The problem is postgresql-9.1, during the installation i read this error...
>
> Configurazione di postgresql-9.1 (9.1.9-1)...
> [....] Starting PostgreSQL 9.1 database server: main[....] Use of
> uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster
> line 215. Use of uninitialized value $logsize in numeric gt (>) at
> /usr/bin/pg_ctlcluster line 215. Use of uninitialized value $logsize in
> numeric gt (>) at /usr/bin/pg_ctlcluster line 215. Use of uninitialized
> value $logsize in numeric gt (>) at...
> ................
> invoke-rc.d: initscript postgresql, action "start" failed.
> dpkg: errore nell'elaborare postgresql-9.1 (--configure):
> il sottoprocesso installato script di post-installation ha restituito lo
> stato di errore 1
> Si sono verificati degli errori nell'elaborazione:
> postgresql-9.1

Can you try removing the package and reinstalling it? Maybe the new
version's post-install script is looking for something that doesn't
exist in your old version from sarge.

> I searched on Google but have not found a solution.

A very quick google search on your error message showed up some
cases when a file didn't exist, but I'm not sure how similar the
situations were to yours. Do you know where $logsize is supposed to
come from?


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20130519112...@cs.utexas.edu

Fernando ff77

unread,
May 20, 2013, 3:30:02 AM5/20/13
to

2013/5/19 Selim T. Erdogan <se...@alumni.cs.utexas.edu>

Fernando ff77, 17.05.2013:
> hello,
> i update my server from sarge to wheezy (stable). (dist-upgrade)

Are you really trying to go from *sarge* to wheezy?  Sounds like asking
for trouble.

update is all ok.
 
> ................
> invoke-rc.d: initscript postgresql, action "start" failed.
> dpkg: errore nell'elaborare postgresql-9.1 (--configure):
>  il sottoprocesso installato script di post-installation ha restituito lo
> stato di errore 1
> Si sono verificati degli errori nell'elaborazione:
>  postgresql-9.1

Can you try removing the package and reinstalling it?  Maybe the new
version's post-install script is looking for something that doesn't
exist in your old version from sarge.

I uninstalled with purge and reinstalled but the problem persists
 

> I searched on Google but have not found a solution.

A very quick google search on your error message showed up some
cases when a file didn't exist, but I'm not sure how similar the
situations were to yours.  Do you know where $logsize is supposed to
come from?

I do not understand where it comes from.
 
Thanks.
ff77

Fernando ff77

unread,
May 20, 2013, 4:40:02 AM5/20/13
to
Update:

I tried to install all the packages postgresql from SID. I have not solved.

I can not understand where is the problem.

Thanks.
ff77

Chris Bannister

unread,
May 20, 2013, 9:30:02 AM5/20/13
to
On Mon, May 20, 2013 at 10:38:25AM +0200, Fernando ff77 wrote:
> Update:
>
> I tried to install all the packages postgresql from SID. I have not solved.

Ouch! Sid is likely to be in a bit of a chaotic state at the moment.

> I can not understand where is the problem.

Then you should not be running Sid.

What is output of:

root@tal:~# cat /etc/apt/sources.list

and

root@tal:~# dpkg -l postgresq*

Please provide all output and make sure it is in English.

(I noticed in a previous mail that the messages were not in English, if
you can't provide them in English[1] there are other debian-user lists for
other languages.)

[1] This can be accomplished by prefixing "LANG=C" to the commands, e.g.
root@tal:~# LANG=C dpkg -l postgresq*

--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20130520132712.GC15770@tal

Selim T. Erdogan

unread,
May 20, 2013, 10:40:02 AM5/20/13
to
Fernando ff77, 20.05.2013:
> Update:
>
> I tried to install all the packages postgresql from SID. I have not solved.
>
> I can not understand where is the problem.

I don't know what the problem is either, since I don't use postgresql,
but I noticed the following in the release notes for wheezy:
http://www.debian.org/releases/wheezy/amd64/release-notes/ch-upgrading.en.html

-----
The list of obsolete packages includes:

* postgresql-8.4, successor is postgresql-9.1. Wheezy provides only an
updated postgresql-plperl-8.4 package that is linked against the new
version of libperl in order to enable upgrading to the new Perl version
in wheezy without making existing postgresql-8.4 installations unusable.
Once the operating system upgrade is finished, you should plan to also
upgrade your PostgreSQL 8.4 database clusters to the new PostgreSQL
version 9.1 using the pg_upgradecluster tool.
-----

Note that it mentions an upgrade tool for upgrading databases. Even if
this doesn't solve your immediated problem, you might need it later.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20130520143...@cs.utexas.edu

Fernando ff77

unread,
May 21, 2013, 1:00:02 PM5/21/13
to
I solved this way:
1 - postgres installation package from official (not debian) in / opt
2 - install debian lenny and old postgres on the virtual machine
3 - copy directory postgres-data from backup in virtual machine
4 - recovered data dump
5- install dump data on new postgres
6- create user e pass for database

Thank you all for the help.

Bye.
ff'77
0 new messages