<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>When I try to start pulp-server it for the first time, I get the
following...<br>
<br>
# service pulp-server start<br>
Pulp database not initialized, please run: /etc/init.d/pulp-server init<br>
<br>
...so I start it with the init parameter...<br>
<br>
</span></font><font face="Courier New"><span style='font-family:"Courier New"'>#
service pulp-server init<br>
Starting mongod: [ OK ]<br>
Traceback (most recent call last):<br>
<a href="http://www.linuxforums.org/forum/" id=KonaLink3 style='font-weight:
inherit ! important;font-size:inherit ! important'><span class=klink><span
style='font-weight:inherit ! important;font-size:inherit ! important'>File</span></span></a>
"/usr/bin/pulp-migrate", line 19, in ?<br>
from pulp.server.db.migrate import script<br>
File
"/usr/lib/python2.4/site-packages/pulp/server/db/migrate/script.py",
line 27, in ?<br>
connection.initialize()<br>
File "/usr/lib/python2.4/site-packages/pulp/server/db/connection.py",
line 42, in initialize<br>
_connection = pymongo.Connection(seeds)<br>
File "/usr/lib64/python2.4/site-packages/pymongo/connection.py", line
184, in __init__<br>
self.__find_master()<br>
File "/usr/lib64/python2.4/site-packages/pymongo/connection.py", line
456, in __find_master<br>
raise AutoReconnect("could not find master")<br>
pymongo.errors.AutoReconnect: could not find master</span></font><br>
<br>
...I suspect this is because pulp uses mongodb, and mongodb doesn't look to be
starting properly. When I start it manually, I get the following...<br>
<br>
# service mongod start<br>
Starting mongod: [ OK ]<br>
<br>
...which looks OK, but the log file reports...<br>
<br>
<font face="Courier New"><span style='font-family:"Courier New"'>Tue Jan 25
13:01:11 MongoDB starting : pid=13069 port=27017 dbpath=/var/lib/mongodb 64-bit<br>
Tue Jan 25 13:01:11 db version v1.6.4, pdfile version 4.5<br>
Tue Jan 25 13:01:11 git version: nogitversion<br>
Tue Jan 25 13:01:11 sys info: Linux x86-11.phx2.fedoraproject.org
2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT 2010 x86_64
BOOST_LIB_VERSION=1_33_1<br>
Tue Jan 25 13:01:11 [initandlisten] Accessing: local for the first time<br>
Tue Jan 25 13:01:11 [initandlisten] query local.system.namespaces reslen:36
nreturned:0 1ms<br>
Tue Jan 25 13:01:11 Got signal: 11 (Segmentation fault).<br>
<br>
Tue Jan 25 13:01:11 Backtrace:<br>
0x7b5b14 0x36736302d0<br>
/usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x384) [0x7b5b14]<br>
/lib64/libc.so.6 [0x36736302d0]<br>
<br>
Tue Jan 25 13:01:11 dbexit:<br>
<br>
Tue Jan 25 13:01:11 [initandlisten] shutdown: going to close listening
sockets...<br>
Tue Jan 25 13:01:11 [initandlisten] shutdown: going to flush oplog...<br>
Tue Jan 25 13:01:11 [initandlisten] shutdown: going to close sockets...<br>
Tue Jan 25 13:01:11 [initandlisten] shutdown: waiting for fs preallocator...<br>
Tue Jan 25 13:01:11 [initandlisten] shutdown: closing all files...<br>
Tue Jan 25 13:01:11 closeAllFiles() finished<br>
<br>
Tue Jan 25 13:01:11 [initandlisten] shutdown: removing fs lock...<br>
Tue Jan 25 13:01:11 dbexit: really exiting now</span></font><br>
<br>
...so it looks like it tries to start, and then gets a segmentation fault and
shuts down.<br>
<br>
Any ideas as to the cause of the problem?<font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font
size=3 face=Arial><span style='font-size:12.0pt;font-family:Arial;font-weight:
bold'>Stephen Dunkley<o:p></o:p></span></font></b></p>

</div>

<BR>
This e-mail may contain information which is confidential, legally privileged and/or copyright protected. This e-mail is intended for the addressee only. If you receive this in error, please contact the sender and delete the material from your computer<BR>
</body>

</html>