Il 08/02/2011 16:45, Ernst Pijper ha scritto:
> Hi Alesandro,
>
> Thanks a lot. I guess that must be it. I haven't tried it yet. In the
> manual at
>
> https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#VOMS
>
> it says that VOMS_ADMIN_INSTALL should be yes or no, when in fact it
> should be true or false.
>
> I guess i should to check the other variables as well.
>
> Ernst
please open a GGUS ticket to make update the guide: I don't know when
those values are changed, I just see that with glite-yaim-voms-1.0.3-1,
in /opt/glite/yaim/defaults/glite-voms.pre the values suggested are
true/false instead of yes/no
Cheers,
Alessandro
> Alessandro Paolini wrote:
>> Il 08/02/2011 16:07, Ernst Pijper ha scritto:
>>
>>> It seems that the config_tomcat or config_secure_tomcat function is not
>>> executed. This is where the CATALINA_HOME variable gets set. I am using
>>> the following yaim command (taken from the website):
>>>
>>> /opt/glite/yaim/bin/yaim -c -s /usr/sara/yaim/site-info.def -n VOMS
>>>
>>> Is there something i forgot to configure?
>>>
>> Hi Ernst,
>> the function used by VOMS profile are the ones present in
>> /opt/glite/yaim/node-info.d/glite-voms
>>
>> ==========================================
>> VOMS_FUNCTIONS="
>> config_host_certs
>> config_edgusers
>> config_add_pool_env
>> config_crl
>> config_gip_only
>> config_info_service_voms
>> config_info_service_voms_admin
>> config_voms
>> config_glite_initd
>> config_voms_logrotate
>> config_bdii_only
>> ===========================================
>>
>> in config_voms other function are invoked if a certain condition is
>> verified (if I've well understood):
>>
>> ==============================================
>> if [ "x${VOMS_ADMIN_INSTALL}" == "xtrue" ]; then
>> source ${FUNCTIONS_DIR}/config_secure_tomcat
>> config_secure_tomcat_check
>> config_secure_tomcat_setenv
>> config_secure_tomcat
>> config_tomcat_voms
>> fi
>> ==============================================
>>
>> in /opt/glite/yaim/defaults/glite-voms.pre is there set:
>>
>> =========================================
>> # Set this variable to 'false' if you don't want to configure the
>> voms-admin.
>> VOMS_ADMIN_INSTALL=true
>> ============================================
>> ?
>>
>> what is the yaim vwersion installed?
>>
>> Cheers,
>> Alessandro
>>
>>> Ernst
>>> Ernst Pijper wrote:
>>>
>>>> Hi Alessandro,
>>>>
>>>> Well actually i set to the default value :)
>>>>
>>>> I also treid without setting it: same result. When i try to print the
>>>> value of CATALINA_HOME from within /opt/glite/etc/init.d/voms-admin, it
>>>> just tells me:
>>>>
>>>> keyError: 'CATALINA_HOME
>>>>
>>>> So definitely not set then.
>>>>
>>>> Ernst
>>>>
>>>> Alessandro Paolini wrote:
>>>>
>>>>
>>>>> Il 08/02/2011 13:51, Ernst Pijper ha scritto:
>>>>>
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm installing a glite 3.2 voms server, but encountering the following
>>>>>> error message when running yaim:
>>>>>>
>>>>>> INFO: The default location of the grid-env.(c)sh files will be:
>>>>>> /opt/glite/etc/profile.d
>>>>>> INFO: Sourcing the utilities in /opt/glite/yaim/functions/utils
>>>>>> INFO: Detecting environment
>>>>>> INFO: Executing function: config_host_certs_check
>>>>>> INFO: Executing function: config_edgusers_check
>>>>>> INFO: Executing function: config_add_pool_env_check
>>>>>> INFO: Executing function: config_info_service_voms_check
>>>>>> INFO: Executing function: config_info_service_voms_admin_check
>>>>>> INFO: Executing function: config_voms_check
>>>>>> INFO: Executing function: config_voms_logrotate_check
>>>>>> INFO: Executing function: config_bdii_only_check
>>>>>> INFO: Executing function: config_host_certs
>>>>>> INFO: Executing function: config_edgusers
>>>>>> INFO: Executing function: config_add_pool_env_setenv
>>>>>> INFO: Executing function: config_add_pool_env
>>>>>> INFO: Executing function: config_crl
>>>>>> INFO: Executing function: config_gip_only
>>>>>> INFO: Executing function: config_info_service_voms_setenv
>>>>>> INFO: Executing function: config_info_service_voms
>>>>>> INFO: Executing function: config_info_service_voms_admin_setenv
>>>>>> INFO: Executing function: config_info_service_voms_admin
>>>>>> INFO: Executing function: config_voms_setenv
>>>>>> INFO: Executing function: config_voms
>>>>>> INFO: MySQL configuration
>>>>>> Stopping MySQL: [ OK ]
>>>>>> Traceback (most recent call last):
>>>>>> File "/opt/glite/etc/init.d/voms-admin", line 343, in ?
>>>>>> main()
>>>>>> File "/opt/glite/etc/init.d/voms-admin", line 336, in main
>>>>>> stop_siblings()
>>>>>> File "/opt/glite/etc/init.d/voms-admin", line 199, in stop_siblings
>>>>>> remove_siblings_context_file()
>>>>>> File "/opt/glite/etc/init.d/voms-admin", line 111, in
>>>>>> remove_siblings_context_file
>>>>>> siblings_catalina_ctxt = catalina_siblings_file()
>>>>>> File "/opt/glite/etc/init.d/voms-admin", line 92, in
>>>>>> catalina_siblings_file
>>>>>> return os.path.join(catalina_conf_dir(),"vomses.xml")
>>>>>> File "/opt/glite/etc/init.d/voms-admin", line 99, in catalina_conf_dir
>>>>>> raise ValueError, "CATALINA_HOME is not defined!"
>>>>>> ValueError: CATALINA_HOME is not defined!
>>>>>> Starting MySQL: [ OK ]
>>>>>>
>>>>>> I have definitely defined CATALINA_HOME. And even if i hadn't, it should
>>>>>> get some default value. What could be going o here?
>>>>>>
>>>>>> Thanks,
>>>>>> Ernst
>>>>>>
>>>>>>
>>>>>>
>>>>> Hi Ernst
>>>>> what did you set precisely?
>>>>>
>>>>> by default in /opt/glite/yaim/defaults/glite-voms.pre it is set
>>>>>
>>>>> CATALINA_HOME=/usr/share/tomcat5
>>>>>
>>>>> Cheers,
>>>>> Alessandro
>>>>>
>>>>>
>>>>>
>>>>>> Gonçalo Borges wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On 01/06/2011 01:33 PM, Maarten Litmaath wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hi Gonçalo,
>>>>>>>> a GGUS ticket for VOMS-Admin would be good...
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> https://gus.fzk.de/ws/ticket_info.php?ticket=65887
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>
>>
--
Dr. Alessandro Paolini
INFN - CNAF
Viale Berti Pichat 6/2
40127 Bologna
Italy
tel: +39 051 6092723
fax: +39 051 6092916
ICQ: 192172027
skype: alex.paolini
**********************
"credo nel potere del riso e delle lacrime"
"come antidoto all'odio ed al terrore"
"un giorno senza un sorriso"
"è un giorno perso">>> Charlie Chaplin
|