At 02:56 PM 2/26/2005, you wrote:>Hi,
>
>I have set up my own YP directory but there are some files left and I
>don't know their purpose because everything works fine without them.
>Those are: yp_cachegen, yp_clean, yp_random. I didn't find any
>connection with yp_cgi.
yp_cachegen : generates an xml dump of the YP directory
yp_clean : we run this periodically (every 5 minutes) to clean up any
orphaned records in the directory.
yp_random : randomizes rankings within the directory
>In connectToDB() there is also yp.db file opened and an environmental
>variable is read from it. What is it for?
>If someone could explain that, I'd be very grateful.
I believe that isn't used any longer...I think it was originally used to
store the username/password used to connect to the mysql DB...
oddsock