Re: Error install postgresql-9.1

2013-05-21 Thread Fernando ff77
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


Re: Error install postgresql-9.1

2013-05-20 Thread Fernando ff77
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


Re: Error install postgresql-9.1

2013-05-20 Thread Fernando ff77
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


Re: Error install postgresql-9.1

2013-05-20 Thread Chris Bannister
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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130520132712.GC15770@tal



Re: Error install postgresql-9.1

2013-05-20 Thread Selim T. Erdogan
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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130520143055.gb10...@cs.utexas.edu



Re: Error install postgresql-9.1

2013-05-19 Thread Selim T. Erdogan
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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130519112205.gc29...@cs.utexas.edu



Re: Error install postgresql-9.1

2013-05-17 Thread Lisi Reisz
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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201305171759.10982.lisi.re...@gmail.com



Re: Error install postgresql-9.1

2013-05-17 Thread Fernando ff77
2013/5/17 Lisi Reisz lisi.re...@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.
http://it.wikipedia.org/wiki/Venerd%C3%AC_17