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

Wojtak, Greg (Superfly) GregWojtak at quickenloans.com
Tue Mar 19 21:24:06 UTC 2013


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" ]

-- 
Greg Wojtak
Senior Unix Systems Engineer
Office: (313) 373-4603
Mobile: (734) 718-8472






On 3/18/13 4:45 AM, "Milan Zazrivec" <mzazrivec at redhat.com> wrote:

>> Is there a way to change where rhn-search places it's indexes (ie, from
>> /usr/share/rhn/indexes)?
>
>/etc/rhn/rhn.conf:
>
>search.index_work_dir=...
>
>-MZ
>
>_______________________________________________
>Spacewalk-list mailing list
>Spacewalk-list at redhat.com
>https://www.redhat.com/mailman/listinfo/spacewalk-list





More information about the Spacewalk-list mailing list