<div dir="ltr">It looks like mongodb is not running. Pulp can't operate without the database.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 12, 2017 at 3:08 PM, Donald Wolfe <span dir="ltr"><<a href="mailto:dwolfe@central.com" target="_blank">dwolfe@central.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_4822493476493774620WordSection1">
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any help would be greatly appreciated.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I had Pulp working fine with CentOS and RHEL 6 repositories, but ran into issues when installing RHEL 7 repos which, on the surface, would not seem to be related, but who's timing is suspect.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I copied certs from our RHEL 7 system so pulp could log in and sync repos from RH network.  I ran into an issue with the repo sync, and somewhere along the line when I ran:  subscription-manager refresh on the rhel 7 client system, copied
 the new certs over to the pulp server, removed those they replaced, and now nothing works.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">root@sacpulp:/root # pulp-admin rpm repo list<u></u><u></u></p>
<p class="MsoNormal">+-----------------------------<wbr>------------------------------<wbr>-----------+<u></u><u></u></p>
<p class="MsoNormal">                            RPM Repositories<u></u><u></u></p>
<p class="MsoNormal">+-----------------------------<wbr>------------------------------<wbr>-----------+<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">There was an internal server error while trying to access the Pulp application.<u></u><u></u></p>
<p class="MsoNormal">One possible cause is that the database needs to be migrated to the latest<u></u><u></u></p>
<p class="MsoNormal">version. If this is the case, run pulp-manage-db and restart the services. More<u></u><u></u></p>
<p class="MsoNormal">information may be found in Apache's log.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">root@sacpulp:/root # su - apache<u></u><u></u></p>
<p class="MsoNormal">Last login: Thu Oct 12 10:53:43 PDT 2017 on pts/1<u></u><u></u></p>
<p class="MsoNormal">$ pulp-manage-db<u></u><u></u></p>
<p class="MsoNormal">Attempting to connect to localhost:27017<u></u><u></u></p>
<p class="MsoNormal">Database initialization failed: localhost:27017: [Errno 111] Connection refused<u></u><u></u></p>
<p class="MsoNormal">Cannot connect to the database, please validate that the database is online and accessible.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">root@sacpulp:/root # pulp-admin status<u></u><u></u></p>
<p class="MsoNormal">+-----------------------------<wbr>------------------------------<wbr>-----------+<u></u><u></u></p>
<p class="MsoNormal">                          Status of the server<u></u><u></u></p>
<p class="MsoNormal">+-----------------------------<wbr>------------------------------<wbr>-----------+<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">There was an internal server error while trying to access the Pulp application.<u></u><u></u></p>
<p class="MsoNormal">One possible cause is that the database needs to be migrated to the latest<u></u><u></u></p>
<p class="MsoNormal">version. If this is the case, run pulp-manage-db and restart the services. More<u></u><u></u></p>
<p class="MsoNormal">information may be found in Apache's log.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any help would be appreciated.<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p>
<p class="MsoNormal">Thank you, and best regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Don<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Times New Roman",serif">Email:  <a href="mailto:dwolfe@central.com" target="_blank">dwolfe@central.com</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Times New Roman",serif">Office:  <a href="tel:(925)%20948-2829" value="+19259482829" target="_blank">(925) 948-2829</a><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
Disclaimer: This communication and any attachments contain private, confidential, privileged and/or proprietary information intended solely for the Recipient(s) named above. If you are not the intended Recipient, any use, dissemination, distribution or copying
 of the communication is strictly prohibited. If received in error, we apologize and ask that you please notify the Sender by returning this e-mail and permanently deleting this communication from your computer, including destruction of any printed copies.
 Any views expressed herein are not necessarily those of the Company represented by this e-mail source. No contracts, agreements or legally binding understandings may be entered into solely by an e-mail communication.
</div>

<br>______________________________<wbr>_________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-list</a><br></blockquote></div><br></div>