Bug #4881
closedpostgresql: unrecognized service
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,
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 ?
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,
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 :)
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
Updated by Matthieu CERDA over 10 years ago
- Assignee changed from Christophe Nowicki to Matthieu CERDA
Updated by Christophe Nowicki over 10 years ago
thanks now it's working much better ;-) could you close this bug and #4838.
thanks !
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!
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 34 to Rudder
- Category set to Packaging