insserv: script postgresql-8.4: service postgresql already provided! Message #35 received at [email protected] (full text, mbox, reply): From: Martin Pitt
However, it is generally not recommended to do stuff as DB superuser. This is indeed the preferred way to connect to the DB superuser. > I then run 'ALTER ROLE postgres WITH PASSWORD 'the password I use;', > it runs fine. > > From the "Update complete" window: Errors were encountered while processing: postgresql-8.4 postgresql postgresql-contrib-8.4 postgresql-plperl-8.4 postgresql-plpython-8.4 E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Message #15 received at [email protected] (full text, mbox, reply): From: Arthur Marsh
I also changed the password on the postgres user to match the password on the database user postgres. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the failed! > > Weird that there was no log output.
Errors were encountered while processing: postgresql-8.4 postgresql E: Sub-process /usr/bin/dpkg returned an error code (1) Responses Re: BUG #6305: cann't reinstall postgresql at 2011-11-25 05:19:14 from Craig Ringer pgsql-bugs by date ti ho già spostato un messaggio, se continui così dovrò bloccare il tuo account! So you either need to change pg_hba.conf to "md5" for this (NOT recommended!), or continue to use sudo. dpkg: error processing postgresql-common (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Please check the log output:' ']' + log_failure_msg 'The PostgreSQL server failed to start. Setting up postgresql-8.4 (8.4.9-0ubuntu0.10.04) ... * Starting PostgreSQL 8.4 database server * Error: could not exec /usr/lib/postgresql/8.4/bin/pg_ctl /usr/lib/postgresql/8.4/bin/pg_ctl start -D /var/lib/postgresql/8.4/main -l /var/log/postgresql/postgresql-8.4-main.log -s -o -c config_file="/etc/postgresql/8.4/main/postgresql.conf" : [fail] invoke-rc.d: initscript Same with pgadmin III.
How can I have low-level 5e necromancer NPCs controlling many, many undead in this converted adventure? Setting up postgresql (8.4.0-2) ... frontend ... Zero Emission Tanks Folding Numbers Is the NHS wrong about passwords?
Copy sent to Martin Pitt
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed http://codentropy.com/dpkg-error/dpkg-error-processing-mysql-server-5-1-purge.html Preparing to replace postgresql-8.4 8.4.0-1 (using .../postgresql-8.4_8.4.0-2_i386.deb) ... What is fungibility and why does it matters? Copy sent to Martin Pitt
The reason for adding that line still applies but when it becomes necessary, I will post a question on a PostgreSQL forum/newsgroup. Thanks! If I use 'sudo -u postgres psql postgres' to connect, no problem. http://codentropy.com/dpkg-error/dpkg-error-processing-snmpd-purge.html share|improve this answer edited Sep 7 '13 at 1:41 answered Sep 6 '13 at 16:42 Braiam 38.9k1693154 This series of commands gives me the same error; there appears to
invoke-rc.d: initscript postgresql-8.4, action "start" failed. drwxr-xr-x 34 root root 4096 2009-07-12 17:01 .. -rw------- 1 postgres postgres 6 2009-07-12 17:29 8.4-main.pid srwxrwxrwx 1 postgres postgres 0 2009-07-12 17:29 .s.PGSQL.5433 -rw------- 1 postgres postgres 35 2009-07-12 17:29 Night light, schematic and functioning Syntax Design - Why use parentheses when no arguments are passed?
Is there any additional information that I should provide? === EDIT: Running sudo sh -x /path/to/config.postinst configure yields the following output: + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + Setting up postgresql-8.4 (8.4.2-0ubuntu9.10) ... Weird that there was no log output. I still don't have pgadminIII working yet.
Dennis Gearon Signature Warning ---------------- EARTH has a Right To Life, otherwise we all die. dpkg: error processing postgresql (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: postgresql-8.4 postgresql-contrib-8.4 postgresql-plpython-8.4 postgresql-plperl-8.4 postgresql =================== From the Error box: E: postgresql-8.4: subprocess installed post-installation script Done 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 4 not fully installed or removed. http://codentropy.com/dpkg-error/dpkg-error-processing-bandwidthd-purge.html Information forwarded to [email protected], Martin Pitt
insserv: exiting now! invoke-rc.d: initscript postgresql-8.4, action "start" failed. Create a new DB user for a specific application and use that instead. Press return to continue.
For this you need to understand that PostgreSQL and Linux have two entirely separate concepts and instances of "users". What am I? Not the answer you're looking for? Any ideas?
Please check the log output: failed! My home PC has been infected by a virus! Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson. [Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index] postgresql installation error To: Debian User
Setting up ttf-vlgothic (20090710-1) ... Message #30 received at [email protected] (full text, mbox, reply): From: Dennis Gearon
Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. N.B: Some guys at the Ubuntu IRC channel helped me with the solution. I compared the old '.conf' file with the new one. Need to get 0 B/96.5 kB of archives.
It mostly went well but during the upgrade process and any time I run dpkg, aptitude or synaptic it gripes about postgresql. Report a bug This report contains Public information Edit Everyone can see this information. dpkg: error processing postgresql-8.4 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: postgresql-8.4 E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed