Skip to content

Instantly share code, notes, and snippets.

@mccun934
Created September 4, 2012 18:38
Show Gist options
  • Select an option

  • Save mccun934/3624755 to your computer and use it in GitHub Desktop.

Select an option

Save mccun934/3624755 to your computer and use it in GitHub Desktop.
# /usr/share/candlepin/cpdb --drop --create
Dropping candlepin database
Creating candlepin database
Loading candlepin schema
########## ERROR ############
Error running command: liquibase --driver=org.postgresql.Driver --classpath=/usr/share/java/postgresql-jdbc.jar:/var/lib/tomcat6/webapps/candlepin/WEB-INF/classes/ --changeLogFile=db/changelog/changelog-create.xml --url=jdbc:postgresql:candlepin --username=candlepin migrate
Status code: 256
Command output: Error: Could not find or load main class liquibase.integration.commandline.Main
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment