Installation failed in phase protogeni:

41 views
Skip to first unread message

zhaoxin...@gmail.com

unread,
Apr 23, 2024, 4:17:15 AM4/23/24
to emulab-admins
Hi, Could you help me through this installation problem when I run the cmd:
cd install 
perl emulab-install -p /var/tmp/packages boss
I've got these outputs:

Installing protogeni subsystem
| Calling protogeni initsite                      [ Failed    ]
+-----------------------------------------------> [ Failed    ]

##### Installation failed in phase protogeni:
Unable to execute: 'cd ./../protogeni/scripts;   perl ./initsite '
-------------------- Phase Stack ----------------------------
initsite   Calling protogeni initsite
protogeni  Installing protogeni subsystem
--------------------------------------------------------------
------------------------------------------ Last Command Output
Command: cd ./../protogeni/scripts;   perl ./initsite

 Installing ports
 | Checking for libxml2>=2.6.26                    [ Skipped (Already installed) ]
 | Checking for p5-Crypt-OpenSSL-X509              [ Skipped (Already installed) ]
 | Checking for p5-Crypt-SSLeay>=0.57              [ Skipped (Already installed) ]
 | Checking for p5-Crypt-X509                      [ Skipped (Already installed) ]
 | Checking for p5-Frontier-RPC                    [ Skipped (Already installed) ]
 | Checking for p5-XML-LibXML>=1.70                [ Skipped (Already installed) ]
 | Checking for p5-XML-SemanticDiff                [ Skipped (Already installed) ]
 | Checking for xerces-c2>=2.7.0                   [ Skipped (Already installed) ]
 | Checking for xmlsec1                            [ Skipped (Already installed) ]
 +-----------------------------------------------> [ Skipped   ] (16:12:06)
 Installing www crossdomain.xml
 | Creating file                                   [ Skipped (File already exists) ]
 | Setting permissions                             [ Succeeded ] (16:12:06)
 +-----------------------------------------------> [ Succeeded ] (16:12:06)
 Creating directories
 | /usr/testbed/www/protogeni                      [ Skipped (already exists) ]
 | /usr/testbed/etc/genicacerts                    [ Skipped (already exists) ]
 | /usr/testbed/www/protogeni/advertisements       [ Skipped (already exists) ]
 | /usr/testbed/www/protogeni/authorities          [ Skipped (already exists) ]
 +-----------------------------------------------> [ Skipped   ] (16:12:06)
 Installing protogeni crossdomain.xml
 | Creating file                                   [ Skipped (File already exists) ]
 | Setting permissions                             [ Succeeded ] (16:12:06)
 +-----------------------------------------------> [ Succeeded ] (16:12:06)
 Installing the flash policy
 | Adding services entry                           [ Skipped (File has already been edited) ]
 | Adding inetd.conf entry                         [ Skipped (File has already been edited) ]
 | Restarting inetd                                [ Skipped (not changed) ]
 +-----------------------------------------------> [ Skipped   ] (16:12:06)
 Installing SSL bundles
 | Installing genica.bundle                        [ Skipped (File already exists) ]
 | Creating initial CRL                            [ Succeeded ] (16:12:06)
 | Installing genicrl.bundle                       [ Succeeded ] (16:12:06)
 +-----------------------------------------------> [ Succeeded ] (16:12:06)
 Initial genicacerts directory                     [ Skipped (File already exists) ]
 Copying genica.bundle to www                      [ Skipped (File already exists) ]
 Copying genicrl.bundle to www                     [ Skipped (File already exists) ]
 Creating ssl index.txt.attr                       [ Succeeded ] (16:12:06)
 Updating ssl syscert.cnf                          [ Succeeded ] (16:12:06)
 Updating apache config                            [ Skipped (Files has not changed) ]
 Updating /etc/rc.conf                             [ Skipped (File has already been edited) ]
 Updating /etc/newsyslog.conf                      [ Skipped (File has already been edited) ]
 Creating user geniuser                            [ Skipped (already created) ]
 Creating project GeniSlices                       [ Skipped (already created) ]
 Creating certificate for geniuser                 [ Skipped (already created) ]
 Changing ownership on dirs                        [ Succeeded ] (16:12:06)
 Adding a few things to Emulab DB                  [ Succeeded ] (16:12:06)
 Creating Databases
 | Creating DB geni                                [ Skipped (already exists) ]
 | Initializing DB geni                            [ Skipped (already initialized) ]
 | Patching DB geni                                [ Succeeded ] (16:12:06)
 | Creating DB geni-ch                             [ Skipped (already exists) ]
 | Initializing DB geni-ch                         [ Skipped (already initialized) ]
 | Patching DB geni-ch                             [ Succeeded ] (16:12:06)
 | Creating DB geni-cm                             [ Skipped (already exists) ]
 | Initializing DB geni-cm                         [ Skipped (already initialized) ]
 | Patching DB geni-cm                             [ Succeeded ] (16:12:06)
 +-----------------------------------------------> [ Succeeded ] (16:12:06)
 Creating PG certificates                          [ Succeeded ] (16:12:09)
 Restarting Apache                                 [ Succeeded ] (16:12:09)
 Running cacontrol                                 [ Succeeded ] (16:12:10)
 Posting initial CRL                               [ Failed    ]

 ##### Installation failed in phase postcrl:
 Unable to execute: '/usr/testbed/sbin/protogeni/postcrl -f'
 -------------------- Phase Stack ----------------------------
 postcrl    Posting initial CRL
 --------------------------------------------------------------
 ------------------------------------------ Last Command Output
 Command: /usr/testbed/sbin/protogeni/postcrl -f
 --------------------------------------------------------------
 Please send the above output to testb...@emulab.net

zhaoxin...@gmail.com

unread,
Apr 24, 2024, 12:40:00 AM4/24/24
to emulab-admins
If I run 
/usr/testbed/sbin/protogeni/postcrl -f
I get these msgs. Could it be network problems?
Using configuration from /usr/testbed/lib/ssl/ca.cnf
GeniRegistry::ClearingHouse->GetCredential: code:35 (Server timed out or could not be reached), value:2, output:Cannot connect to server
Could not create clearinghouse credential
*** postcrl:
    Could not create a clearinghouse client

I tried to comment out the protogeni module in the emulab-install script, and It run to the end with success.
But now I found that I can't open web pages, like https://www.netemu.zzsf.net/portal/landing.php.
tail /usr/testbed/log/apache_access_log show
10.1.56.111 - - [24/Apr/2024:11:10:51 +0800] 0 "GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0
10.1.56.111 - - [24/Apr/2024:11:10:51 +0800] 0 "GET /portal/landing.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0
tail apache_error_log show
[Tue Apr 23 21:33:31.356951 2024] [mpm_prefork:notice] [pid 5953] AH00169: caught SIGTERM, shutting down 
[Tue Apr 23 21:35:54.594023 2024] [suexec:notice] [pid 5893] AH01232: suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec) 
[Tue Apr 23 21:35:55.281559 2024] [mpm_prefork:notice] [pid 5894] AH00163: Apache/2.4.52 (FreeBSD) OpenSSL/1.1.1l-freebsd PHP/7.4.26 configured -- resuming normal operations 
[Tue Apr 23 21:35:55.281595 2024] [core:notice] [pid 5894] AH00094: Command line: '/usr/local/sbin/httpd -f /usr/local/etc/apache24/httpd.conf -c PidFile /var/run/httpd.www.pid -D SSL -D PGENI -D PGENI_FCGID -D NOHTTPACCEPT' 
[Tue Apr 23 22:16:10.967081 2024] [mpm_prefork:notice] [pid 5894] AH00169: caught SIGTERM, shutting down 
[Tue Apr 23 22:18:32.103871 2024] [suexec:notice] [pid 5885] AH01232: suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec) 
[Tue Apr 23 22:18:32.714737 2024] [mpm_prefork:notice] [pid 5886] AH00163: Apache/2.4.52 (FreeBSD) OpenSSL/1.1.1l-freebsd PHP/7.4.26 configured -- resuming normal operations 
[Tue Apr 23 22:18:32.714764 2024] [core:notice] [pid 5886] AH00094: Command line: '/usr/local/sbin/httpd -f /usr/local/etc/apache24/httpd.conf -c PidFile /var/run/httpd.www.pid -D SSL -D NOHTTPACCEPT' 
It seems no valuable infos, can anyone help?
Reply all
Reply to author
Forward
0 new messages