[root@voms02 ~]# yum install voms-server voms-admin-server voms-admin-client voms --enablerepo=UMD* Loaded plugins: fastestmirror, langpacks, priorities, protectbase Loading mirror speeds from cached hostfile * base: centos.mirror.ptisp.pt * elrepo: mirrors.ptisp.pt * epel: mirrors.ptisp.pt * extras: centos.mirror.ptisp.pt * rpmforge: mirror.bacloud.com * updates: centos.mirror.ptisp.pt 362 packages excluded due to repository priority protections 0 packages excluded due to repository protections Resolving Dependencies --> Running transaction check ---> Package voms.x86_64 0:2.0.14-1.el7 will be updated ---> Package voms.x86_64 0:2.0.15-1.el7 will be an update ---> Package voms-admin-client.noarch 0:2.0.20-1.el7 will be installed --> Processing Dependency: python2-zsi for package: voms-admin-client-2.0.20-1.el7.noarch ---> Package voms-admin-server.noarch 0:3.8.0-1.el7 will be installed --> Processing Dependency: java-1.8.0-openjdk-devel for package: voms-admin-server-3.8.0-1.el7.noarch ---> Package voms-server.x86_64 0:2.0.15-1.el7 will be installed --> Processing Dependency: gsoap for package: voms-server-2.0.15-1.el7.x86_64 --> Processing Dependency: libgsoapssl++.so.4()(64bit) for package: voms-server-2.0.15-1.el7.x86_64 --> Running transaction check ---> Package gsoap.x86_64 0:2.8.16-12.el7 will be installed ---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.272.b10-1.el7_9 will be installed ---> Package python2-zsi.noarch 0:2.1-16.el7 will be installed --> Processing Dependency: python2-setuptools for package: python2-zsi-2.1-16.el7.noarch --> Running transaction check ---> Package python-setuptools.noarch 0:0.9.8-7.el7 will be installed --> Processing Dependency: python-backports-ssl_match_hostname for package: python-setuptools-0.9.8-7.el7.noarch --> Running transaction check ---> Package python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 will be installed --> Processing Dependency: python-ipaddress for package: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch --> Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch --> Running transaction check ---> Package python-backports.x86_64 0:1.0-8.el7 will be installed ---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================ Installing: voms-admin-client noarch 2.0.20-1.el7 UMD-4-untested 67 k voms-admin-server noarch 3.8.0-1.el7 UMD-4-untested 85 M voms-server x86_64 2.0.15-1.el7 UMD-4-untested 134 k Updating: voms x86_64 2.0.15-1.el7 UMD-4-untested 147 k Installing for dependencies: gsoap x86_64 2.8.16-12.el7 epel 247 k java-1.8.0-openjdk-devel x86_64 1:1.8.0.272.b10-1.el7_9 updates 9.8 M python-backports x86_64 1.0-8.el7 base 5.8 k python-backports-ssl_match_hostname noarch 3.5.0.1-1.el7 base 13 k python-ipaddress noarch 1.0.16-2.el7 base 34 k python-setuptools noarch 0.9.8-7.el7 base 397 k python2-zsi noarch 2.1-16.el7 UMD-4-untested 417 k Transaction Summary ============================================================================================================================================================ Install 3 Packages (+7 Dependent packages) Upgrade 1 Package Total download size: 97 M Is this ok [y/d/N]: n Exiting on user command Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx.2020-11-16.17-33.akegkV.yumtx [root@voms02 ~]# yum install voms-server voms-admin-server voms-admin-client voms voms-mysql-plugin --enablerepo=UMD* Loaded plugins: fastestmirror, langpacks, priorities, protectbase Loading mirror speeds from cached hostfile * base: centos.mirror.ptisp.pt * elrepo: mirrors.ptisp.pt * epel: mirrors.ptisp.pt * extras: centos.mirror.ptisp.pt * rpmforge: mirror.bacloud.com * updates: centos.mirror.ptisp.pt 362 packages excluded due to repository priority protections 0 packages excluded due to repository protections Resolving Dependencies --> Running transaction check ---> Package voms.x86_64 0:2.0.14-1.el7 will be updated ---> Package voms.x86_64 0:2.0.15-1.el7 will be an update ---> Package voms-admin-client.noarch 0:2.0.20-1.el7 will be installed --> Processing Dependency: python2-zsi for package: voms-admin-client-2.0.20-1.el7.noarch ---> Package voms-admin-server.noarch 0:3.8.0-1.el7 will be installed --> Processing Dependency: java-1.8.0-openjdk-devel for package: voms-admin-server-3.8.0-1.el7.noarch ---> Package voms-mysql-plugin.x86_64 0:3.1.7-2.el7 will be installed ---> Package voms-server.x86_64 0:2.0.15-1.el7 will be installed --> Processing Dependency: gsoap for package: voms-server-2.0.15-1.el7.x86_64 --> Processing Dependency: libgsoapssl++.so.4()(64bit) for package: voms-server-2.0.15-1.el7.x86_64 --> Running transaction check ---> Package gsoap.x86_64 0:2.8.16-12.el7 will be installed ---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.272.b10-1.el7_9 will be installed ---> Package python2-zsi.noarch 0:2.1-16.el7 will be installed --> Processing Dependency: python2-setuptools for package: python2-zsi-2.1-16.el7.noarch --> Running transaction check ---> Package python-setuptools.noarch 0:0.9.8-7.el7 will be installed --> Processing Dependency: python-backports-ssl_match_hostname for package: python-setuptools-0.9.8-7.el7.noarch --> Running transaction check ---> Package python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 will be installed --> Processing Dependency: python-ipaddress for package: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch --> Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch --> Running transaction check ---> Package python-backports.x86_64 0:1.0-8.el7 will be installed ---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================ Installing: voms-admin-client noarch 2.0.20-1.el7 UMD-4-untested 67 k voms-admin-server noarch 3.8.0-1.el7 UMD-4-untested 85 M voms-mysql-plugin x86_64 3.1.7-2.el7 UMD-4-untested 26 k voms-server x86_64 2.0.15-1.el7 UMD-4-untested 134 k Updating: voms x86_64 2.0.15-1.el7 UMD-4-untested 147 k Installing for dependencies: gsoap x86_64 2.8.16-12.el7 epel 247 k java-1.8.0-openjdk-devel x86_64 1:1.8.0.272.b10-1.el7_9 updates 9.8 M python-backports x86_64 1.0-8.el7 base 5.8 k python-backports-ssl_match_hostname noarch 3.5.0.1-1.el7 base 13 k python-ipaddress noarch 1.0.16-2.el7 base 34 k python-setuptools noarch 0.9.8-7.el7 base 397 k python2-zsi noarch 2.1-16.el7 UMD-4-untested 417 k Transaction Summary ============================================================================================================================================================ Install 4 Packages (+7 Dependent packages) Upgrade 1 Package Total download size: 97 M Is this ok [y/d/N]: Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. (1/12): python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch.rpm | 13 kB 00:00:00 (2/12): python-backports-1.0-8.el7.x86_64.rpm | 5.8 kB 00:00:00 (3/12): python-setuptools-0.9.8-7.el7.noarch.rpm | 397 kB 00:00:00 (4/12): python-ipaddress-1.0.16-2.el7.noarch.rpm | 34 kB 00:00:00 (5/12): java-1.8.0-openjdk-devel-1.8.0.272.b10-1.el7_9.x86_64.rpm | 9.8 MB 00:00:00 (6/12): gsoap-2.8.16-12.el7.x86_64.rpm | 247 kB 00:00:00 (7/12): voms-2.0.15-1.el7.x86_64.rpm | 147 kB 00:00:00 (8/12): python2-zsi-2.1-16.el7.noarch.rpm | 417 kB 00:00:01 (9/12): voms-admin-client-2.0.20-1.el7.noarch.rpm | 67 kB 00:00:00 (10/12): voms-mysql-plugin-3.1.7-2.el7.x86_64.rpm | 26 kB 00:00:00 (11/12): voms-server-2.0.15-1.el7.x86_64.rpm | 134 kB 00:00:00 (12/12): voms-admin-server-3.8.0-1.el7.noarch.rpm | 85 MB 00:00:08 ------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 9.8 MB/s | 97 MB 00:00:09 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 1:java-1.8.0-openjdk-devel-1.8.0.272.b10-1.el7_9.x86_64 1/13 Updating : voms-2.0.15-1.el7.x86_64 2/13 Installing : python-ipaddress-1.0.16-2.el7.noarch 3/13 Installing : python-backports-1.0-8.el7.x86_64 4/13 Installing : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 5/13 Installing : python-setuptools-0.9.8-7.el7.noarch 6/13 Installing : python2-zsi-2.1-16.el7.noarch 7/13 Installing : gsoap-2.8.16-12.el7.x86_64 8/13 Installing : voms-server-2.0.15-1.el7.x86_64 9/13 Installing : voms-mysql-plugin-3.1.7-2.el7.x86_64 10/13 Installing : voms-admin-client-2.0.20-1.el7.noarch 11/13 Installing : voms-admin-server-3.8.0-1.el7.noarch 12/13 Created symlink from /etc/systemd/system/multi-user.target.wants/voms-admin.service to /usr/lib/systemd/system/voms-admin.service. Cleanup : voms-2.0.14-1.el7.x86_64 13/13 Verifying : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 1/13 Verifying : gsoap-2.8.16-12.el7.x86_64 2/13 Verifying : python-backports-1.0-8.el7.x86_64 3/13 Verifying : voms-server-2.0.15-1.el7.x86_64 4/13 Verifying : python-ipaddress-1.0.16-2.el7.noarch 5/13 Verifying : python2-zsi-2.1-16.el7.noarch 6/13 Verifying : voms-admin-server-3.8.0-1.el7.noarch 7/13 Verifying : voms-mysql-plugin-3.1.7-2.el7.x86_64 8/13 Verifying : voms-admin-client-2.0.20-1.el7.noarch 9/13 Verifying : python-setuptools-0.9.8-7.el7.noarch 10/13 Verifying : voms-2.0.15-1.el7.x86_64 11/13 Verifying : 1:java-1.8.0-openjdk-devel-1.8.0.272.b10-1.el7_9.x86_64 12/13 Verifying : voms-2.0.14-1.el7.x86_64 13/13 Installed: voms-admin-client.noarch 0:2.0.20-1.el7 voms-admin-server.noarch 0:3.8.0-1.el7 voms-mysql-plugin.x86_64 0:3.1.7-2.el7 voms-server.x86_64 0:2.0.15-1.el7 Dependency Installed: gsoap.x86_64 0:2.8.16-12.el7 java-1.8.0-openjdk-devel.x86_64 1:1.8.0.272.b10-1.el7_9 python-backports.x86_64 0:1.0-8.el7 python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 python-ipaddress.noarch 0:1.0.16-2.el7 python-setuptools.noarch 0:0.9.8-7.el7 python2-zsi.noarch 0:2.1-16.el7 Updated: voms.x86_64 0:2.0.15-1.el7 Complete! [root@voms02 ~]# ### CONFIGURING VO ##### [root@voms02 ~]# voms-configure install --vo worsica.vo.incd.pt --dbtype mysql --createdb --deploy-database --dbname '***' --dbauser *** --dbapwd **** --dbusername **** --dbpassword *** --core-port * --mail-from *@ncg.ingrid.pt --smtp-host mail.lip.pt Configuring VOMS admin service for vo worsica.vo.incd.pt Creating VOMS services certificate in /etc/grid-security/vomscert.pem, /etc/grid-security/vomskey.pem VOMS Admin service configuration for VO worsica.vo.incd.pt exists. Deploying database for VO worsica.vo.incd.pt Creating database VOMS_WORSICA Granting user ibrepifca read/write access on database **** Done. Checking database connectivity... Database contacted succesfully Checking database existence... No schemas found .... No voms-admin database found. Checking that the database is writable... Database is writable. HHH000227: Running hbm2ddl schema export Deploying voms database... create index aed_value_idx on audit_event_data(value) create index aed_name_idx on audit_event_data(name) create index ua_value_idx on usr_attrs(a_id,a_value) Database deployed correctly! Adding VO administrator reading information from /etc/grid-security/vomscert.pem WARNING: No email was specified for this administrator! The new administrator will not receive VOMS Admin notifications Admin '/DC=org/DC=terena/DC=tcs/C=PT/L=LISBOA/O=LIP Lab Instrumentacao Fis Exper Particulas-Assoc Invest Desenv/CN=voms02.ncg.ingrid.pt,/C=NL/O=GEANT Vereniging/CN=GEANT eScience SSL CA 4' not found. It will be created... Adding ALL permissions on '/worsica.vo.incd.pt' for admin '/DC=org/DC=terena/DC=tcs/C=PT/L=LISBOA/O=LIP Lab Instrumentacao Fis Exper Particulas-Assoc Invest Desenv/CN=voms02.ncg.ingrid.pt,/C=NL/O=GEANT Vereniging/CN=GEANT eScience SSL CA 4' Adding ALL permissions on role '/worsica.vo.incd.pt/Role=VO-Admin' for admin '/DC=org/DC=terena/DC=tcs/C=PT/L=LISBOA/O=LIP Lab Instrumentacao Fis Exper Particulas-Assoc Invest Desenv/CN=voms02.ncg.ingrid.pt,/C=NL/O=GEANT Vereniging/CN=GEANT eScience SSL CA 4' Adding read-only access to authenticated clients on the VO. Checking that the database is writable... Database is writable. Granting read-only access to any authenticated user on group '/worsica.vo.incd.pt' Granting read-only access to any authenticated user on role '/worsica.vo.incd.pt/Role=VO-Admin' Configuring VOMS core service for vo worsica.vo.incd.pt VOMS core service configured succesfully. VO worsica.vo.incd.pt configuration completed succesfully. root@voms02 ~]# voms-config-info-providers -s NCG-INGRID-PT -e Will install providers for voms-admin The script file /usr/bin/glite-info-glue2-voms was not found. Creating conf file /etc/glite/info/service/glite-info-glue2-voms.conf cp: cannot create regular file ‘/etc/glite/info/service/glite-info-glue2-voms.conf’: No such file or directory Creating conf file /etc/glite/info/service/glite-info-service-voms.conf cp: cannot create regular file ‘/etc/glite/info/service/glite-info-service-voms.conf’: No such file or directory Creating conf file /etc/glite/info/service/glite-info-glue2-voms-admin.conf cp: cannot create regular file ‘/etc/glite/info/service/glite-info-glue2-voms-admin.conf’: No such file or directory Creating conf file /etc/glite/info/service/glite-info-service-voms-admin.conf cp: cannot create regular file ‘/etc/glite/info/service/glite-info-service-voms-admin.conf’: No such file or directory Create the /var/lib/bdii/gip/provider in case it doesn't exist Create the /var/lib/bdii/gip/provider/glite-info-glue2-provider-service-voms file Create the /var/lib/bdii/gip/provider/glite-info-provider-service-voms file Create the /var/lib/bdii/gip/provider/glite-info-provider-service-voms-admin file ############# START SERVICE ############### systemctl start voms-admin.service systemctl start voms@worsica.vo.ncd.pt ############################################## [root@voms02 voms-admin]# voms-db-util add-admin --vo worsica.vo.incd.pt --dn '/C=PT/O=LIPCA/O=LIP/OU=Lisboa/CN=Joao Antonio Tomasio Pina' --ca '/C=PT/O=LIPCA/CN=LIP Certification Authority' --email 'jpina@lip.pt' Admin '/C=PT/O=LIPCA/O=LIP/OU=Lisboa/CN=Joao Antonio Tomasio Pina,/C=PT/O=LIPCA/CN=LIP Certification Authority' not found. It will be created... Adding ALL permissions on '/worsica.vo.incd.pt' for admin '/C=PT/O=LIPCA/O=LIP/OU=Lisboa/CN=Joao Antonio Tomasio Pina,/C=PT/O=LIPCA/CN=LIP Certification Authority' Adding ALL permissions on role '/worsica.vo.incd.pt/Role=VO-Admin' for admin '/C=PT/O=LIPCA/O=LIP/OU=Lisboa/CN=Joao Antonio Tomasio Pina,/C=PT/O=LIPCA/CN=LIP Certification Authority'