I am just starting out with Katello and am trying to set up an initial test
system. I have installed a Centos 7.1 server and followed the instructions
at http://www.katello.org/docs/2.2/installation/index.html. Running
katello-installer without any options fails with the following errors
[ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during run:
[ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
–retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
/var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
returned 4 instead of one of [0]
[ERROR 2015-07-07 20:35:16 main]
/Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init > /var/log/candlepin/cpinit.log
2>&1 && touch /var/lib/candlepin/cpinit_done returned 4 instead of one of
[0]
Are the default settings suppossed to produce a running system or am I
missing something here?
···
On Wednesday, July 8, 2015 at 6:12:43 PM UTC+12, Mike Brady wrote:
>
> I am just starting out with Katello and am trying to set up an initial
> test system. I have installed a Centos 7.1 server and followed the
> instructions at http://www.katello.org/docs/2.2/installation/index.html.
> Running katello-installer without any options fails with the following
> errors
>
> [ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during run:
> [ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
> --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
> returned 4 instead of one of [0]
> [ERROR 2015-07-07 20:35:16 main]
> /Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
> to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO-
> http://localhost:8080/candlepin/admin/init >
> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
> returned 4 instead of one of [0]
>
>
> Are the default settings suppossed to produce a running system or am I
> missing something here?
>
> Regards
>
> Mike
>
On Wednesday, July 8, 2015 at 6:12:43 PM UTC+12, Mike Brady wrote:
I am just starting out with Katello and am trying to set up an initial
test system. I have installed a Centos 7.1 server and followed the
instructions at http://www.katello.org/docs/2.2/installation/index.html.
Running katello-installer without any options fails with the following
errors
[ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during run:
[ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
–retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
/var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
returned 4 instead of one of [0]
[ERROR 2015-07-07 20:35:16 main]
/Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
/var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
returned 4 instead of one of [0]
Are the default settings suppossed to produce a running system or am I
missing something here?
I know I encountered this specific error, but I'm not sure which
modification did the trick.
Did you check you FQDN & shortname are associated with your IP in your
etc/hosts file ? not to the 127.0.0.1 address
Regards
Yannig
···
On Wednesday, July 8, 2015 at 12:02:16 PM UTC+2, Mike Brady wrote:
>
> katello-installer log attached
>
> On Wednesday, July 8, 2015 at 6:12:43 PM UTC+12, Mike Brady wrote:
>>
>> I am just starting out with Katello and am trying to set up an initial
>> test system. I have installed a Centos 7.1 server and followed the
>> instructions at http://www.katello.org/docs/2.2/installation/index.html.
>> Running katello-installer without any options fails with the following
>> errors
>>
>> [ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during run:
>> [ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
>> --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>> returned 4 instead of one of [0]
>> [ERROR 2015-07-07 20:35:16 main]
>> /Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
>> to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO-
>> http://localhost:8080/candlepin/admin/init >
>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>> returned 4 instead of one of [0]
>>
>>
>> Are the default settings suppossed to produce a running system or am I
>> missing something here?
>>
>> Regards
>>
>> Mike
>>
>
No and I disabled selinux and firewalld before I ran the installer.
···
On Wednesday, July 8, 2015 at 11:36:30 PM UTC+12, Eric Helms wrote:
>
> Do you have system http_proxy or https_proxy set?
> On Jul 8, 2015 6:02 AM, "Mike Brady" <mjtb...@gmail.com > > wrote:
>
>> katello-installer log attached
>>
>> On Wednesday, July 8, 2015 at 6:12:43 PM UTC+12, Mike Brady wrote:
>>>
>>> I am just starting out with Katello and am trying to set up an initial
>>> test system. I have installed a Centos 7.1 server and followed the
>>> instructions at http://www.katello.org/docs/2.2/installation/index.html.
>>> Running katello-installer without any options fails with the following
>>> errors
>>>
>>> [ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during run:
>>> [ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
>>> --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
>>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>>> returned 4 instead of one of [0]
>>> [ERROR 2015-07-07 20:35:16 main]
>>> /Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
>>> to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO-
>>> http://localhost:8080/candlepin/admin/init >
>>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>>> returned 4 instead of one of [0]
>>>
>>>
>>> Are the default settings suppossed to produce a running system or am I
>>> missing something here?
>>>
>>> Regards
>>>
>>> Mike
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Foreman users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-user...@googlegroups.com .
>> To post to this group, send email to forema...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/foreman-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
The shortname, FQDN and reverse lookup all resolve correctly with DNS.
I built another host the same as the one as I am trying to get Katello
going on and ran through all the foreman quick start instructions
successfully. I believe that this will meet my immediate needs, so I am
giving up on Katello for now. I will leave the Katello host in place for
now so that I can try out any suggests that any one may have and I may try
Katello again at some stage.
Thanks
Mike
···
On Friday, July 10, 2015 at 3:09:04 AM UTC+12, yannig rousseau wrote:
>
> Hi Mike,
>
> I know I encountered this specific error, but I'm not sure which
> modification did the trick.
> Did you check you FQDN & shortname are associated with your IP in your
> etc/hosts file ? not to the 127.0.0.1 address
>
> Regards
> Yannig
>
> On Wednesday, July 8, 2015 at 12:02:16 PM UTC+2, Mike Brady wrote:
>>
>> katello-installer log attached
>>
>> On Wednesday, July 8, 2015 at 6:12:43 PM UTC+12, Mike Brady wrote:
>>>
>>> I am just starting out with Katello and am trying to set up an initial
>>> test system. I have installed a Centos 7.1 server and followed the
>>> instructions at http://www.katello.org/docs/2.2/installation/index.html.
>>> Running katello-installer without any options fails with the following
>>> errors
>>>
>>> [ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during run:
>>> [ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
>>> --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
>>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>>> returned 4 instead of one of [0]
>>> [ERROR 2015-07-07 20:35:16 main]
>>> /Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
>>> to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO-
>>> http://localhost:8080/candlepin/admin/init >
>>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>>> returned 4 instead of one of [0]
>>>
>>>
>>> Are the default settings suppossed to produce a running system or am I
>>> missing something here?
>>>
>>> Regards
>>>
>>> Mike
>>>
>>
···
On Wed, Jul 8, 2015 at 2:30 PM, Mike Brady wrote:
No and I disabled selinux and firewalld before I ran the installer.
On Wednesday, July 8, 2015 at 11:36:30 PM UTC+12, Eric Helms wrote:
Do you have system http_proxy or https_proxy set?
On Jul 8, 2015 6:02 AM, “Mike Brady” mjtb...@gmail.com wrote:
katello-installer log attached
On Wednesday, July 8, 2015 at 6:12:43 PM UTC+12, Mike Brady wrote:
I am just starting out with Katello and am trying to set up an initial
test system. I have installed a Centos 7.1 server and followed the
instructions at http://www.katello.org/docs/2.2/installation/index.html.
Running katello-installer without any options fails with the following
errors
[ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during
run:
[ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
–retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
/var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
returned 4 instead of one of [0]
[ERROR 2015-07-07 20:35:16 main]
/Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
/var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
returned 4 instead of one of [0]
Are the default settings suppossed to produce a running system or am I
missing something here?
Is there anything unique to how you are setup? Any external repositories
that are included? In the past when we have seen users have that error its
because of an inability to resolve localhost properly or certain java
versions had broken prior setups of Candlepin. Do you see any extra
information in the logs that the traceback mentions? Anything in
/var/log/messages that stands out?
···
On Thu, Jul 9, 2015 at 2:46 PM, Mike Brady wrote:
The shortname, FQDN and reverse lookup all resolve correctly with DNS.
I built another host the same as the one as I am trying to get Katello
going on and ran through all the foreman quick start instructions
successfully. I believe that this will meet my immediate needs, so I am
giving up on Katello for now. I will leave the Katello host in place for
now so that I can try out any suggests that any one may have and I may try
Katello again at some stage.
Thanks
Mike
On Friday, July 10, 2015 at 3:09:04 AM UTC+12, yannig rousseau wrote:
Hi Mike,
I know I encountered this specific error, but I’m not sure which
modification did the trick.
Did you check you FQDN & shortname are associated with your IP in your
etc/hosts file ? not to the 127.0.0.1 address
Regards
Yannig
On Wednesday, July 8, 2015 at 12:02:16 PM UTC+2, Mike Brady wrote:
katello-installer log attached
On Wednesday, July 8, 2015 at 6:12:43 PM UTC+12, Mike Brady wrote:
I am just starting out with Katello and am trying to set up an initial
test system. I have installed a Centos 7.1 server and followed the
instructions at http://www.katello.org/docs/2.2/installation/index.html.
Running katello-installer without any options fails with the following
errors
[ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during
run:
[ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
–retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
/var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
returned 4 instead of one of [0]
[ERROR 2015-07-07 20:35:16 main]
/Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
/var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
returned 4 instead of one of [0]
Are the default settings suppossed to produce a running system or am I
missing something here?
[root@katello01 ~]# alternatives --list
libnssckbi.so.x86_64 auto /usr/lib64/pkcs11/p11-kit-trust.so
ld auto /usr/bin/ld.bfd
mta auto /usr/sbin/sendmail.postfix
servlet auto /usr/share/java/tomcat-servlet-3.0-api.jar
jsp auto /usr/share/java/tomcat-jsp-2.2-api.jar
elspec auto /usr/share/java/tomcat-el-2.2-api.jar
mkisofs auto /usr/bin/genisoimage
java auto
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79-2.5.5.2.el7_1.x86_64/jre/bin/java
jre_openjdk auto
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79-2.5.5.2.el7_1.x86_64/jre
jre_1.7.0 auto
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79-2.5.5.2.el7_1.x86_64/jre
jre_1.7.0_openjdk auto
/usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.79-2.5.5.2.el7_1.x86_64
jaxp_transform_impl auto /usr/share/java/xalan-j2.jar
jaxp_parser_impl auto /usr/share/java/xerces-j2.jar
[root@katello01 ~]# java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (rhel-2.5.5.2.el7_1-x86_64 u79-b14)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
···
On Thursday, July 9, 2015 at 6:54:48 AM UTC+12, Eric Helms wrote:
>
> What version of java do you have enabled?
>
> On Wed, Jul 8, 2015 at 2:30 PM, Mike Brady > wrote:
>
>> No and I disabled selinux and firewalld before I ran the installer.
>>
>> On Wednesday, July 8, 2015 at 11:36:30 PM UTC+12, Eric Helms wrote:
>>>
>>> Do you have system http_proxy or https_proxy set?
>>> On Jul 8, 2015 6:02 AM, "Mike Brady" wrote:
>>>
>>>> katello-installer log attached
>>>>
>>>> On Wednesday, July 8, 2015 at 6:12:43 PM UTC+12, Mike Brady wrote:
>>>>>
>>>>> I am just starting out with Katello and am trying to set up an initial
>>>>> test system. I have installed a Centos 7.1 server and followed the
>>>>> instructions at
>>>>> http://www.katello.org/docs/2.2/installation/index.html. Running
>>>>> katello-installer without any options fails with the following errors
>>>>>
>>>>> [ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during
>>>>> run:
>>>>> [ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
>>>>> --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
>>>>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>>>>> returned 4 instead of one of [0]
>>>>> [ERROR 2015-07-07 20:35:16 main]
>>>>> /Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
>>>>> to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO-
>>>>> http://localhost:8080/candlepin/admin/init >
>>>>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>>>>> returned 4 instead of one of [0]
>>>>>
>>>>>
>>>>> Are the default settings suppossed to produce a running system or am I
>>>>> missing something here?
>>>>>
>>>>> Regards
>>>>>
>>>>> Mike
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Foreman users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to foreman-user...@googlegroups.com.
>>>> To post to this group, send email to forema...@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/foreman-users.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Foreman users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-user...@googlegroups.com .
>> To post to this group, send email to forema...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/foreman-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Eric D. Helms
> Red Hat Engineering
> Ph.D. Student - North Carolina State University
>
No nothing unique about the set up. Only repos defined are the Centos ones
and those added as part of the Katello install.
I will reinstall the box and rerun the Katello install so that I am sure
that the logs are only for the install at some stage.
···
On Friday, July 10, 2015 at 7:11:24 AM UTC+12, Eric Helms wrote:
>
> Is there anything unique to how you are setup? Any external repositories
> that are included? In the past when we have seen users have that error its
> because of an inability to resolve localhost properly or certain java
> versions had broken prior setups of Candlepin. Do you see any extra
> information in the logs that the traceback mentions? Anything in
> /var/log/messages that stands out?
>
> On Thu, Jul 9, 2015 at 2:46 PM, Mike Brady > wrote:
>
>> /etc/hosts only contains localhost
>>
>> 127.0.0.1 localhost localhost.localdomain localhost4
>> localhost4.localdomain4
>> ::1 localhost localhost.localdomain localhost6
>> localhost6.localdomain6
>>
>> The shortname, FQDN and reverse lookup all resolve correctly with DNS.
>>
>> I built another host the same as the one as I am trying to get Katello
>> going on and ran through all the foreman quick start instructions
>> successfully. I believe that this will meet my immediate needs, so I am
>> giving up on Katello for now. I will leave the Katello host in place for
>> now so that I can try out any suggests that any one may have and I may try
>> Katello again at some stage.
>>
>> Thanks
>>
>> Mike
>>
>>
>> On Friday, July 10, 2015 at 3:09:04 AM UTC+12, yannig rousseau wrote:
>>>
>>> Hi Mike,
>>>
>>> I know I encountered this specific error, but I'm not sure which
>>> modification did the trick.
>>> Did you check you FQDN & shortname are associated with your IP in your
>>> etc/hosts file ? not to the 127.0.0.1 address
>>>
>>> Regards
>>> Yannig
>>>
>>> On Wednesday, July 8, 2015 at 12:02:16 PM UTC+2, Mike Brady wrote:
>>>>
>>>> katello-installer log attached
>>>>
>>>> On Wednesday, July 8, 2015 at 6:12:43 PM UTC+12, Mike Brady wrote:
>>>>>
>>>>> I am just starting out with Katello and am trying to set up an initial
>>>>> test system. I have installed a Centos 7.1 server and followed the
>>>>> instructions at
>>>>> http://www.katello.org/docs/2.2/installation/index.html. Running
>>>>> katello-installer without any options fails with the following errors
>>>>>
>>>>> [ERROR 2015-07-07 20:35:16 main] Repeating errors encountered during
>>>>> run:
>>>>> [ERROR 2015-07-07 20:35:16 main] /usr/bin/wget --timeout=30 --tries=5
>>>>> --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >
>>>>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>>>>> returned 4 instead of one of [0]
>>>>> [ERROR 2015-07-07 20:35:16 main]
>>>>> /Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun
>>>>> to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO-
>>>>> http://localhost:8080/candlepin/admin/init >
>>>>> /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done
>>>>> returned 4 instead of one of [0]
>>>>>
>>>>>
>>>>> Are the default settings suppossed to produce a running system or am I
>>>>> missing something here?
>>>>>
>>>>> Regards
>>>>>
>>>>> Mike
>>>>>
>>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Foreman users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-user...@googlegroups.com .
>> To post to this group, send email to forema...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/foreman-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Eric D. Helms
> Red Hat Engineering
> Ph.D. Student - North Carolina State University
>