Dear Binh, I found that error because I don't use visudo to edit sudoers file co I can not configure exactly WS Gram. Thank a lot!
________________________________ From: Binh NgT [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 12:21 PM To: Nguyen Minh Luan; Globus user Subject: Re: [gt-user] problem when setting up WS GRAM I think that you must write each command on only one line (or '\' at the end of the line in the case of multi-line ), such as: ... globus ALL=(globustest) NOPASSWD: /usr/local/globus/libexec/globus-gridmap-and-execute -g etc/grid-security/grid-mapfile /usr/local/globus/libexec/globus-job-manager-script.pl * globus ALL=(globustest) NOPASSWD: /usr/local/globus/libexec/globus-gridmap-and-execute \ -g /etc/grid-security/grid-mapfile /usr/local/globus/libexec/globus-gram-local-proxy-tool * You also should use /usr/sbin/viduso for edingting sudoers instead of vim because visudo can check the error when you save and exit. Nguyen Minh Luan wrote: > Dear All, > > I am setting up a new globus system, use globus toolkit 4.0.4, Fedora > Core 3. > I nearly finished setting up, everything is OK. But when I set up WS > GRAM (the last service by Quickstart setup), I have a problem : > > [EMAIL PROTECTED] ~]$ globusrun-ws -submit -c /bin/true > Submitting job...Done. > Job ID: uuid:2d90e4ce-1069-11dc-9833-000fea796313 > Termination time: 06/02/2007 17:54 GMT > Current job state: Unsubmitted > Current job state: Failed > Destroying job...Done. > globusrun-ws: Job failed: Error code: 201 > Script stderr:>>> sudoers file: syntax error, line 28 > <<</usr/bin/sudo: parse error in /etc/sudoers near line 28 > > Every services is OK : GridFTP, RFT. I use user root for system > config; user globus for globus config and user globustest for user > globus testing. I don't know why, I don't use visudo to config sudoers > file, I only use editor in midnight commander to change the content of > sudoers file but I think it's the same as visudo. > > Please kindly to help me! > > Note : please send me the rights sudoers. > > Thank you very much! > > > ------------------------------------------------------------------------ > > # Do not remove the following line, or various programs > # that require network functionality will fail. > 127.0.0.1 localhost.localdomain home1.samsungvina.com localhost > 42.3.110.246 home1.samsungvina.com home1 > > ------------------------------------------------------------------------ > > # sudoers file. > # > # This file MUST be edited with the 'visudo' command as root. > # > # See the sudoers man page for the details on how to write a sudoers file. > # > > # Host alias specification > > # User alias specification > > # Cmnd alias specification > > # Defaults specification > > # User privilege specification > root ALL=(ALL) ALL > > # Uncomment to allow people in group wheel to run all commands > # %wheel ALL=(ALL) ALL > > # Same thing without a password > # %wheel ALL=(ALL) NOPASSWD: ALL > > # Samples > # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom > # %users localhost=/sbin/shutdown -h now > globus ALL=(globustest) NOPASSWD: > /usr/local/globus/libexec/globus-gridmap-and-execute -g > /etc/grid-security/grid-mapfile > /usr/local/globus/libexec/globus-job-manager-script.pl * > globus ALL=(globustest) NOPASSWD: > /usr/local/globus/libexec/globus-gridmap-and-execute -g > /etc/grid-security/grid-mapfile > /usr/local/globus/libexec/globus-gram-local-proxy-tool *
