Re: [greenstone-users] command line collection building

From Arthur R. Belanger
DateThu, 08 Feb 2007 08:22:15 -0500
Subject Re: [greenstone-users] command line collection building
In-Reply-To (45CB0DDE-5030600-ulib-sk)
Tomas,

I think what you need is +w (write) permission, not execute (+x).

Tom=E1=9A Fiala wrote:
> Dear Arthur and Quan,
>=20
> thank you for your help, i run gsdl under Solaris. The command "sou=
rce=20
> setup.bash" works fine.
>=20
> Now I coping with another error:
>=20
> "sigma:/data/http/gsdl/collect/tomas-pdf$ buildcol.pl tomas-pdf
> ERROR: Can't open fail log /data/http/gsdl/collect/tomas-pdf/etc/fa=
il.log
> Died at /data/http/gsdl/bin/script/buildcol.pl line 331."
>=20
> I think chmod +x to fail.log could solve it, what a shame that it d=
on't=20
> have permission to change it. The owner it is "webservd" - i have t=
o=20
> talk with our system manager.
>=20
> Big thanks to all of you !
>=20
> Sincerely,
>=20
> Tom=E1=9A Fiala
>=20
>=20
>=20
>=20
>=20
> But ive got a error
> which says :
>=20
>=20
> Arthur R. Belanger wrote / nap=EDsal(a):
>> The GSDLHOME for command line commands is not the same as the one =
in=20
>> gsdlsite.cfg; gsdlsite.cfg is for web use. The GSDLHOME environme=
nt=20
>> variable for command line usage is set from the command line. In=
=20
>> Linux, it is set bu running (under the BASH shell) source setup.ba=
sh=20
>> in the Greenstone root directory (/usr/local/gsdl) I don't use=
=20
>> greenstone in windows but I think you need to run setup.bat. Thes=
e=20
>> scripts set the necessary environment variables for use in a comma=
nd=20
>> line environment.
>>
>> Hope this helps.
>>
>> Tom=E1=9A Fiala wrote:
>>> Hi all,
>>>
>>> i have a problem with setting GSDLHOME when running import.pl. It=
says :
>>>
>>> sigma:/data/http/gsdl/bin/script$ perl import.pl -language[en]
>>> -collect_dir [tomas-test2] [judaica]
>>> GSDLHOME not set
>>> BEGIN failed--compilation aborted at import.pl line 41.
>>>
>>>
>>> The path to gsdl is correctly set in gsdlsite.cfg and is
>>> /data/http/gsdl
>>>
>>> Please could anyone help me ?
>>>
>>> Sincerely,
>>>
>>> Tom=E1=9A Fiala
>>>
>>>
>>> -----------------------------------------------------------------=
-------
>>>
>>> _______________________________________________
>>> greenstone-users mailing list
>>> greenstone-users@list.scms.waikato.ac.nz
>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>=20

--=20
Arthur Belanger
Medical Library System Manager
Academic Media & Technology
ITS
Yale University
100 Church Street South, Suite 107
Mailcode 138
New Haven, CT 06519

(203) 785-6928
(203) 737-2859, fax

mailto:Arthur.Belanger@Yale.Edu
http://www.yale.edu/acs
http://info.med.yale.edu/library