[katello-devel] Katello installation issues

Vikash Gounder coolvixs at gmail.com
Thu May 31 23:27:34 UTC 2012


Hi,

I tried installing Katello on fedora 16 using the instructions as per
install wiki.

this is what i got when doing katello-configure

katello-configure
Starting Katello configuration
The top-level log file is
[/var/log/katello/katello-configure-20120601-084146/main.log]
Creating Katello database user
############################################################ ... OK
Creating Katello database
############################################################ ... OK
Creating Candlepin database user
############################################################ ... OK
Candlepin setup

  Failed, please check [/var/log/katello/katello-configure/cpsetup.log]


and contents of cpsetup.log are:

########## ERROR ############
Error running command: /usr/share/candlepin/cpdb --create -u candlepin
--database candlepin
Status code: 256
Command output:
########## ERROR ############
Error running command: liquibase --driver=org.postgresql.Driver
--classpath=/usr/share/java/postgresql-jdbc.ja
r:/var/lib/tomcat6/webapps/candlepin/WEB-INF/classes/
--changeLogFile=db/changelog/changelog-create.xml --url=
jdbc:postgresql:candlepin --username=candlepin migrate
Status code: 32512
Command output: sh: liquibase: command not found
Creating candlepin database
Loading candlepin schema
Traceback (most recent call last):
  File "/usr/share/candlepin/cpdb", line 126, in <module>
    dbsetup.create()
  File "/usr/share/candlepin/cpdb", line 61, in create
    self._run_liquibase("db/changelog/changelog-create.xml")
  File "/usr/share/candlepin/cpdb", line 91, in _run_liquibase
    self.username,
  File "/usr/share/candlepin/cpdb", line 32, in run_command
    error_out(command, status, output)
  File "/usr/share/candlepin/cpdb", line 40, in error_out
    raise Exception("Error running command")
Exception: Error running command
Traceback (most recent call last):
  File "/usr/share/candlepin/cpsetup", line 221, in <module>
    main(sys.argv[1:])
  File "/usr/share/candlepin/cpsetup", line 201, in main
    options.dbuser, options.db))
  File "/usr/share/candlepin/cpsetup", line 42, in run_command
    raise Exception("Error running command")
Exception: Error running command

seems like candlepin is not able to find postgresql java driver files

would appreciate someone's help on it as it is a show stopper.

thanks
Vikash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/katello-devel/attachments/20120601/a2ecfea1/attachment.htm>


More information about the katello-devel mailing list