Okay if that line is being printed, then this statement:

open( "/empeg/var/config.ini", O_RDONLY );

is returning -1 status. I can't think of any reason why that would happen if your config.ini is readable.
_________________________
- Tony C
my empeg stuff