Hi,
the mktemp documentation says:
"...The template may be any file name with at least 6 of ‘Xs’ appended
to it..."
I believe, on some of the Linux flavours a call of mktemp with less then
6 of 'Xs' could fail.
all the best,
Anar
Debreczeni Gergely wrote:
> Hello !
>
>
>
> You get ambigous redirect when the variable is not defined.
> Check whether the
>
> config_DPM_group:OUTPUT_FILE=`mktemp /tmp/dpm_gid.sql.XXX`
>
> command is working on your machine correctly.
>
> G
>
>
> E.Kovalenko a écrit :
>> Hello,
>>
>>
>>
>> We have a problem on our site RU-Moscow-KIAM-LCG2.
>>
>> During the migration from DPM to SE_classic
>>
>> after installation & configuration
>>
>> we receive an error message:
>>
>>
>>
>> ### ### YAIM v.glite-yaim-core-3.1.1-8 ; glite-yaim-dpm-3.1.1-4 ;
>>
>> ### Site-info file used: Aug 21 18:40
>> /opt/glite/yaim/etc/kiam-site-info.def
>>
>> ### Wed Aug 22 11:30:34 MSD 2007 : /opt/glite/yaim/bin/yaim -c -s
>> /opt/glite/yaim/etc/kiam-site-info.def -n SE_dpm_mysql ###
>>
>> ---------
>>
>> INFO: No GID in the db
>>
>> /opt/glite/yaim/bin/../libexec/configure_node: line 38: $OUTPUT_FILE:
>> ambiguous redirect
>>
>> /opt/glite/yaim/bin/../libexec/configure_node: line 38: $OUTPUT_FILE:
>> ambiguous redirect
>>
>> /opt/glite/yaim/bin/../libexec/configure_node: line 38: $OUTPUT_FILE:
>> ambiguous redirect
>>
>> /opt/glite/yaim/bin/../libexec/configure_node: line 38: $OUTPUT_FILE:
>> ambiguous redirect
>>
>> /opt/glite/yaim/bin/../libexec/configure_node: line 38: $OUTPUT_FILE:
>> ambiguous redirect
>>
>> /opt/glite/yaim/bin/../libexec/configure_node: line 38: $OUTPUT_FILE:
>> ambiguous redirect
>>
>> --------
>>
>> dpm-addpool dpmPool: Pool exists already No such group invalid group:
>> ops No such group invalid group: dteam No such group invalid group:
>> atlas No such group invalid group: alice No such group invalid group:
>> lhcb No such group invalid group: biomed
>>
>> ----------------------
>>
>> INFO: Configuration Complete.
>>
>> ==========================================
>>
>> Cannot create temp file /tmp/yaimtmp.XXXX
>>
>> /opt/glite/yaim/bin/yaim: line 306: ${mytmpfile}: ambiguous redirect
>>
>> ===========================================
>>
>>
>>
>> Virt GUID - root ???????
>>
>>
>>
>> [root@se functions]# dpns-ls -l /dpm/keldysh.ru/home
>>
>> drwxrwxr-x 0 root root 0 Aug 22 10:07 alice
>>
>> drwxrwxr-x 0 root root 0 Aug 22 10:07 atlas
>>
>> drwxrwxr-x 0 root root 0 Aug 22 10:07 biomed
>>
>> drwxrwxr-x 0 root root 0 Aug 22 10:07 dteam
>>
>> drwxrwxr-x 0 root root 0 Aug 22 10:07 lhcb
>>
>> drwxrwxr-x 0 root root 0 Aug 22 10:07 ops
>>
>> =============================================
>>
>> After reinstall -
>>
>>
>>
>> apt-get -D remove glite-SE_dpm_mysql
>>
>> yaim -i
>>
>> yaim -c
>>
>> the errors still remains.
>>
>>
>>
>> Thanks in advance for any suggestions and ideas.
>>
>> Eugenia.
>>
>>
>>
>> / /
>>
>> /-------------------------/
>>
>> /Eugenia Kovalenko /
>>
>> /Keldysh Institute of Applied Mathematics (KIAM RAS)/
>>
>> /Moscow//, Russia///
>>
>> /phone: +7 (495) 250-7982/
>>
>> [log in to unmask] <mailto:[log in to unmask]>/
>>
>> /--------------------------/
>>
>>
>>
|