Project

General

Profile

Actions

Bug #4881

closed

postgresql: unrecognized service

Added by Christophe Nowicki over 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Hi Matthieu,

On CentOS 6.5 with the nighties (git201405220218) packages, rudder-webapp is trying to setup postgresql :

Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install rudder-webapp' returned 1: Error in PREIN scriptlet in rpm package 1398866025:rudder-reports-2.10.1.rc1.git201405220218-1.EL.6.noarch
postgresql: unrecognized service
postgresql: unrecognized service
postgresql: unrecognized service
grep: /var/lib/pgsql/data/pg_hba.conf: No such file or directory
sed: can't read /var/lib/pgsql/data/pg_hba.conf: No such file or directory
sed: can't read /var/lib/pgsql/data/pg_hba.conf: No such file or directory
postgresql: unrecognized service
error: %pre(rudder-reports-1398866025:2.10.1.rc1.git201405220218-1.EL.6.noarch) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping rudder-reports-1398866025:2.10.1.rc1.git201405220218-1.EL.6
INFO: Setting Apache HTTPd as a boot service... Done
INFO: Restrating syslog... Done
INFO: Stopping Apache HTTPd... Done
INFO: Initialising in /var/rudder/configuration-repository/ncf
INFO: Success
INFO: No usable SSL certificate detected for Rudder HTTP/S support, generating one automatically... Done
INFO: Starting Apache HTTPd... Done
INFO: Launching script to check if a migration is needed
INFO: The /opt/rudder/etc/rudder-passwords.conf file is absent. LDAP and SQL passwords not checked in {rudder,inventory}-web.properties
INFO: Checking PostgreSQL service status............PostgreSQL service verification failed after 10 tries. Aborting the migration.
Please restart the Rudder service, and start the migration script again:
#?/etc/init.d/rudder-server-root restart
#?/opt/rudder/bin/rudder-upgrade
INFO: End of migration script
********************************************************************************
rudder-webapp has been upgraded, but for the upgrade to take effect, please
restart the jetty application server as follows:
# /sbin/service rudder-jetty restart
********************************************************************************

@Matthieu : did you split the redhat packages? ( it works on Debian (a true operating system for men) ;-)

Best Regards,


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4838: "Funky" mix of dependency with Yum on Redhat 6RejectedMatthieu CERDA2014-05-09Actions
Actions #1

Updated by Matthieu CERDA over 10 years ago

  • Status changed from New to Discussion
  • Assignee changed from Matthieu CERDA to Christophe Nowicki

I just verified, and it seems the packages are indeed correct, but in Rudder 2.11 :) 2.10 does not include those splits !

Can you test again with 2.11 please ?

Actions #2

Updated by Christophe Nowicki over 10 years ago

Matthieu CERDA wrote:

I just verified, and it seems the packages are indeed correct, but in Rudder 2.11 :) 2.10 does not include those splits !

Can you test again with 2.11 please ?

Yes !

But what is the repo url?

in rpm-latest-nightly the last version is rudder-webapp-2.10.1 :

http://www.rudder-project.org/rpm-latest-nightly/RHEL_6/noarch/

Thanks,

Actions #3

Updated by Christophe Nowicki over 10 years ago

BUP ;-)

Actions #4

Updated by Matthieu CERDA over 10 years ago

Hello Chris,

The right URL is http://www.rudder-project.org/rpm-repos/2.11-nightly/RHEL_6/x86_64/ !

Good luck for your tests :)

Actions #5

Updated by Matthieu CERDA over 10 years ago

I corrected the configuration of rudder-project.org, you should now be able to use http://www.rudder-project.org/rpm-2.11-nightly/RHEL_6/, the "normalized" URL for Rudder nightlies btw

Actions #6

Updated by Matthieu CERDA over 10 years ago

  • Assignee changed from Christophe Nowicki to Matthieu CERDA
Actions #7

Updated by Christophe Nowicki over 10 years ago

thanks now it's working much better ;-) could you close this bug and #4838.

thanks !

Actions #8

Updated by Matthieu CERDA over 10 years ago

  • Status changed from Discussion to Rejected
  • % Done changed from 0 to 100

OK, I'm closing this !

Thanks Christophe!

Actions #9

Updated by Matthieu CERDA over 10 years ago

  • Target version set to 2.10.1
Actions #10

Updated by Benoît PECCATTE over 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF