[Planetlab-devel] 2.6.17

Kevin Atkinson kevina at cs.utah.edu
Fri Aug 4 17:07:10 EDT 2006


On Thu, 3 Aug 2006, Kevin Atkinson wrote:

OK the logs are in /plc/root/var/log/boot.log which I would of known if I 
RTFM.  Any way,  here is my best guess to the cause of each failure:

> PLC: Generating network files:                             [  OK  ]
> PLC: Starting system logger:                               [  OK  ]
> PLC: Starting database server:                             [  OK  ]
> PLC: Generating SSL certificates:                          [FAILED]

+ '[' -f PlanetLab Test Management and Slice Authority ']'
/etc/plc.d/ssl: line 49: [: too many arguments
+ '[' '!' -f PlanetLab Test Management and Slice Authority ']'
/etc/plc.d/ssl: line 60: [: too many arguments
+ chown apache
chown: too few arguments
Try `chown --help' for more information.
+ chmod 600
chmod: too few arguments
Try `chmod --help' for more information.
+ openssl x509 -in -noout -pubkey
/etc/plc.d/ssl: line 102: $PLC_MA_SA_CA_SSL_KEY_PUB: ambiguous redirect
+ check
+ ERRORS=1
+ chmod 644
chmod: too few arguments
Try `chmod --help' for more information.

> PLC: Configuring the API:                                  [FAILED]

+ api-config
Traceback (most recent call last):
   File "/usr/bin/api-config", line 129, in ?
     main()
   File "/usr/bin/api-config", line 32, in main
     root_ca_email = commands.getoutput("openssl x509 -in %s -noout -email" % \
NameError: global name 'plc_ma_sa' is not defined

> PLC: Updating GPG keys:                                    [  OK  ]
> PLC: Generating SSH keys:                                  [  OK  ]
> PLC: Starting web server:                                  [FAILED]

+ exec -a plc_httpd httpd
Syntax error on line 112 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty

> PLC: Bootstrapping the database:                           [FAILED]

+ db-config
Traceback (most recent call last):
   File "/usr/bin/db-config", line 14, in ?
     (plcapi, moreopts, argv) = plcapilib.plcapi(globals())
   File "/usr/lib/python2.4/site-packages/plcapilib.py", line 296, in plcapi
     (moreopts, argv) = __PLCAPI.getopt(args, shortopts, longopts, moreusage)
   File "/usr/lib/python2.4/site-packages/plcapilib.py", line 135, in getopt
     self.server.AdmAuthCheck(self.auth)
   File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
     return self.__send(self.__name, args)
   File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
     verbose=self.__verbose
   File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request
     self.send_content(h, request_body)
   File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content
     connection.endheaders()
   File "/usr/lib/python2.4/httplib.py", line 798, in endheaders
     self._send_output()
   File "/usr/lib/python2.4/httplib.py", line 679, in _send_output
     self.send(msg)
   File "/usr/lib/python2.4/httplib.py", line 646, in send
     self.connect()
   File "/usr/lib/python2.4/httplib.py", line 630, in connect
     raise socket.error, msg
socket.error: (111, 'Connection refused')

Related to API Failure?

> PLC: Starting DNS server:                                  [FAILED]

+ dns-config
Traceback (most recent call last):
...
   File "/usr/lib/python2.4/httplib.py", line 630, in connect
     raise socket.error, msg
socket.error: (111, 'Connection refused')

> PLC: Starting crond:                                       [FAILED]

+ gen-slices-xml-05.py
Traceback (most recent call last):
...
   File "/usr/lib/python2.4/httplib.py", line 630, in connect
     raise socket.error, msg
socket.error: (111, 'Connection refused')

> PLC: Rebuilding Boot CD:                                   [  OK  ]
> PLC: Rebuilding Boot Manager:                              [  OK  ]
> PLC: Signing node packages:                                [  OK  ]
>

I am also attaching the complete log file which I removed before 
restarting plc so it only contains one boot sequence.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.log.gz
Type: application/octet-stream
Size: 6495 bytes
Desc: 
Url : http://lists.planet-lab.org/pipermail/devel/attachments/20060804/2cc9263c/boot.log.obj


More information about the Devel mailing list