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

Also available in: Atom PDF