[Spacewalk-list] Change Location of rhn-search Indexes?

Milan Zazrivec mzazrivec at redhat.com
Wed Mar 20 07:43:23 UTC 2013


On Tuesday 19 March 2013 21:24:06 Wojtak, Greg wrote:
> Thanks Milan.
> 
> I found a small syntax issue with /etc/init.d/rhn-search when setting
> this.  If you set search.index_work_dir in, you get
> 
> # service rhn-search restart
> Stopping rhn-search...
> Stopped rhn-search.
> /etc/init.d/rhn-search: line 65: [: too many arguments
> /etc/init.d/rhn-search: line 70: [: too many arguments
> Starting rhn-search...
> 
> I fixed it by putting quotes around $IDXDIR on lines 65 and 70 thusly:
> 
> If [ -z "$IDXDIR" ]

Fixed, thank you!

-MZ




More information about the Spacewalk-list mailing list