I tried sending the debug log but the attachment is to large so I put it on our
webserver:
http://www.netbulae.eu/debug/katello-debug.tar.gz
<<original message>>
Hi Partha,
Will run the updated remove script after debugging.
The problem I have is the install finishes but the services don't start:
katello-service status
Redirecting to /bin/systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: active (running) since Mon 2013-10-28 11:16:17 CET; 17min ago
Process: 1948 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited,
status=0/SUCCESS)
Main PID: 1975 (httpd)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0
B/sec"
CGroup: name=systemd:/system/httpd.service
├─1975 /usr/sbin/httpd -DFOREGROUND
├─1976 (wsgi:pulp) -DFOREGROUND
├─1977 /usr/sbin/httpd -DFOREGROUND
├─1978 /usr/sbin/httpd -DFOREGROUND
├─1979 /usr/sbin/httpd -DFOREGROUND
├─1980 /usr/sbin/httpd -DFOREGROUND
└─1981 /usr/sbin/httpd -DFOREGROUND
Oct 28 11:16:17 hq-ma01 httpd[1975]: AH00548: NameVirtualHost has no effect and will be
removed in the next release /etc/httpd/conf.d/katello.conf:6
Oct 28 11:16:17 hq-ma01 systemd[1]: Started The Apache HTTP Server.
Oct 28 11:22:37 hq-ma01 systemd[1]: Started The Apache HTTP Server.
Redirecting to /bin/systemctl status mongod.service
mongod.service - High-performance, schema-free document-oriented database
Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled)
Active: active (running) since Mon 2013-10-28 11:16:05 CET; 17min ago
Main PID: 1809 (mongod)
CGroup: name=systemd:/system/mongod.service
└─1809 /usr/bin/mongod --quiet -f /etc/mongodb.conf run
Oct 28 11:16:05 hq-ma01 mongod[1807]: about to fork child process, waiting until server is
ready for connections.
Oct 28 11:16:05 hq-ma01 mongod[1807]: forked process: 1809
Oct 28 11:16:05 hq-ma01 mongod[1807]: all output going to: /var/log/mongodb/mongodb.log
Oct 28 11:16:05 hq-ma01 mongod[1807]: log file [/var/log/mongodb/mongodb.log] exists;
copied to temporary file [/var/log/mongodb/mongodb.log.2013-10-28T10-16-05]
Oct 28 11:16:05 hq-ma01 mongod[1807]: child process started successfully, parent exiting
Oct 28 11:16:05 hq-ma01 systemd[1]: Started High-performance, schema-free
document-oriented database.
Oct 28 11:22:37 hq-ma01 systemd[1]: Started High-performance, schema-free
document-oriented database.
Redirecting to /bin/systemctl status qpidd.service
qpidd.service - An AMQP message broker daemon.
Loaded: loaded (/usr/lib/systemd/system/qpidd.service; enabled)
Active: active (running) since Mon 2013-10-28 11:16:13 CET; 17min ago
Docs: man:qpidd(1)
http://qpid.apache.org/
Main PID: 1934 (qpidd)
CGroup: name=systemd:/system/qpidd.service
└─1934 /usr/sbin/qpidd --config /etc/qpid/qpidd.conf
Oct 28 11:16:13 hq-ma01 systemd[1]: Started An AMQP message broker daemon..
Oct 28 11:16:13 hq-ma01 qpidd[1934]: 2013-10-28 11:16:13 [Security] notice SSL plugin not
enabled, you must set --ssl-cert-db to enable it.
Oct 28 11:16:13 hq-ma01 qpidd[1934]: 2013-10-28 11:16:13 [Store] notice Journal
"TplStore": Created
Oct 28 11:16:13 hq-ma01 qpidd[1934]: 2013-10-28 11:16:13 [Store] notice Store module
initialized; store-dir=/var/lib/qpidd/.qpidd
Oct 28 11:16:13 hq-ma01 qpidd[1934]: 2013-10-28 11:16:13 [Store] warning Message store
plugin: No storage providers available.
Oct 28 11:16:13 hq-ma01 qpidd[1934]: 2013-10-28 11:16:13 [Network] notice Listening on
TCP/TCP6 port 5672
Oct 28 11:16:13 hq-ma01 qpidd[1934]: 2013-10-28 11:16:13 [Broker] notice Broker running
Oct 28 11:22:42 hq-ma01 systemd[1]: Started An AMQP message broker daemon..
elasticsearch.service - LSB: Starts elasticsearch
Loaded: loaded (/etc/rc.d/init.d/elasticsearch)
Active: active (running) since Mon 2013-10-28 11:13:06 CET; 20min ago
CGroup: name=systemd:/system/elasticsearch.service
└─884 /bin/java -Xms256m -Xmx256m -Xss256k -Djava.awt.headless=true
-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Delastic...
Oct 28 11:13:06 hq-ma01 runuser[877]: pam_unix(runuser:session): session opened for user
elasticsearch by (uid=0)
Oct 28 11:13:06 hq-ma01 systemd[1]: Started LSB: Starts elasticsearch.
Oct 28 11:22:42 hq-ma01 systemd[1]: Started LSB: Starts elasticsearch.
Foremanforeman.service - SYSV: Init script for foreman
Loaded: loaded (/etc/rc.d/init.d/foreman)
Active: active (exited) since Mon 2013-10-28 11:22:43 CET; 10min ago
Process: 2240 ExecStart=/etc/rc.d/init.d/foreman start (code=exited, status=0/SUCCESS)
Oct 28 11:22:42 hq-ma01 foreman[2240]: Starting foreman: Starting server on 127.0.0.1:5500
...
Oct 28 11:22:43 hq-ma01 foreman[2240]: Starting server on 127.0.0.1:5501 ...
Oct 28 11:22:43 hq-ma01 systemd[1]: Started SYSV: Init script for foreman.
foreman.service - SYSV: Init script for foreman
Loaded: loaded (/etc/rc.d/init.d/foreman)
Active: active (exited) since Mon 2013-10-28 11:22:43 CET; 10min ago
Process: 2240 ExecStart=/etc/rc.d/init.d/foreman start (code=exited, status=0/SUCCESS)
Oct 28 11:22:42 hq-ma01 foreman[2240]: Starting foreman: Starting server on 127.0.0.1:5500
...
Oct 28 11:22:43 hq-ma01 foreman[2240]: Starting server on 127.0.0.1:5501 ...
Oct 28 11:22:43 hq-ma01 systemd[1]: Started SYSV: Init script for foreman.
katello is not running.
delayed_job is not running.
delayed_job_monitor is not running.
Attached the logfiles and this error gets my attention:
WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded
2.9.1
[ERROR] There has been an error when creating the index -- elasticsearch returned:
400 : {"error":"IndexAlreadyExistsException[[katello_changeset] Already
exists]","status":400}
[ERROR] There has been an error when creating the index -- elasticsearch returned:
400 : {"error":"IndexAlreadyExistsException[[katello_contentview] Already
exists]","status":400}
> Exiting!
/usr/share/gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:1161:in
`async_exec': PG::Error: ERROR: relation "content_view_definition_bases"
does not exist (ActiveRecord::StatementInvalid)
LINE 5: WHERE a.attrelid = '"content_view_definition_ba...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid,
a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid =
'"content_view_definition_bases"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
from
/usr/share/gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:1161:in
`exec_no_cache'
from
/usr/share/gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:660:in
`block in exec_query'
from
/usr/share/gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in
`block in log'
from
/usr/share/gems/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
from
/usr/share/gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in
`log'
from
/usr/share/gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:659:in
`exec_query'
from
/usr/share/gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:1286:in
`column_definitions'
from
/usr/share/gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:855:in
`columns'
from
/usr/share/gems/gems/activerecord-3.2.13/lib/active_record/connection_adapters/schema_cache.rb:12:in
`block in initialize'
from /usr/share/gems/gems/activerecord-3.2.13/lib/active_record/model_schema.rb:228:in
`yield'
from /usr/share/gems/gems/activerecord-3.2.13/lib/active_record/model_schema.rb:228:in
`columns'
from /usr/share/gems/gems/activerecord-3.2.13/lib/active_record/model_schema.rb:237:in
`columns_hash'
from /usr/share/gems/gems/activerecord-3.2.13/lib/active_record/inheritance.rb:19:in
`descends_from_active_record?'
from /usr/share/gems/gems/activerecord-3.2.13/lib/active_record/inheritance.rb:25:in
`finder_needs_type_condition?'
from /usr/share/gems/gems/activerecord-3.2.13/lib/active_record/base.rb:455:in
`relation'
from /usr/share/gems/gems/activerecord-3.2.13/lib/active_record/scoping/named.rb:37:in
`scoped'
from /usr/share/gems/gems/activerecord-3.2.13/lib/active_record/querying.rb:9:in
`where'
from /usr/share/katello/app/models/content_view_definition.rb:33:in
`<class:ContentViewDefinition>'
from /usr/share/katello/app/models/content_view_definition.rb:13:in `<top
(required)>'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
from
/usr/share/gems/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block
in require'
from
/usr/share/gems/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in
`load_dependency'
from
/usr/share/gems/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in
`require'
from
/usr/share/gems/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:359:in
`require_or_load'
from
/usr/share/gems/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:313:in
`depend_on'
from
/usr/share/gems/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in
`require_dependency'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/engine.rb:439:in `block (2 levels)
in eager_load!'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/engine.rb:438:in `each'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/engine.rb:438:in `block in
eager_load!'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/engine.rb:436:in `each'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/engine.rb:436:in
`eager_load!'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/application/finisher.rb:53:in
`block in <module:Finisher>'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/initializable.rb:30:in
`instance_exec'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in
run_initializers'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/initializable.rb:54:in
`run_initializers'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/application.rb:136:in
`initialize!'
from /usr/share/gems/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in
`method_missing'
from /usr/share/katello/config/environment.rb:5:in `<top (required)>'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/share/katello/config.ru:3:in `block in <main>'
from /usr/share/gems/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
from /usr/share/gems/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
from /usr/share/katello/config.ru:1:in `new'
from /usr/share/katello/config.ru:1:in `<main>'
from /usr/share/gems/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `eval'
from /usr/share/gems/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `load'
from /usr/share/gems/gems/thin-1.5.0/lib/thin/controllers/controller.rb:181:in
`load_rackup_config'
from /usr/share/gems/gems/thin-1.5.0/lib/thin/controllers/controller.rb:71:in
`start'
from /usr/share/gems/gems/thin-1.5.0/lib/thin/runner.rb:187:in `run_command'
from /usr/share/gems/gems/thin-1.5.0/lib/thin/runner.rb:152:in `run!'
from /usr/share/gems/gems/thin-1.5.0/bin/thin:6:in `<top (required)>'
from /usr/share/katello/script/thin:24:in `load'
from /usr/share/katello/script/thin:24:in `<main>'
from caused by: (PG::Error) ERROR: relation "content_view_definition_bases"
does not exist
LINE 5: WHERE a.attrelid = '"content_view_definition_ba...
^
from ... skipped 58 lines
-----Original Message-----
From: "Partha Aji" <paji(a)redhat.com>
To: katello(a)lists.fedorahosted.org
Date: 25/10/2013 18:59
Subject: Re: error when running katello-remove.sh
Hey Jorick,
While we fix the remove data script, can you provide us any information on why it was
unsuccessful?
If the installer errored out somewhere, would it be possible to provide us the logs under
/var/log/katello/katello-configure ?
Partha
----- Original Message -----
> From: "Jorick Astrego" <j.astrego(a)netbulae.eu>
> To: katello(a)lists.fedorahosted.org
> Sent: Friday, October 25, 2013 7:20:41 AM
> Subject: error when running katello-remove.sh
>
> Hi,
>
> After an unsuccesfull install of katello 1.4 on fedora 19, I try to remove it
> with the katello-remove.sh script.
>
> This script has two errors that prevent it from running:
>
> "No Match for argument: tomcat6"
>
> and
>
> "Error: Trying to remove "systemd", which is protected"
>
> Kind regards,
>
> Jorick Astrego
> Netbulae B.V.
>
>
>
>
>
> _______________________________________________
> katello mailing list
> katello(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/katello
>
_______________________________________________
katello mailing list
katello(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/katello