open-hpi / openhpi

Other
7 stars 10 forks source link

the default config path is not /etc/openhpi/openhpi.conf #870

Closed mohandev2 closed 6 years ago

mohandev2 commented 19 years ago

In 2.1.1 release, if I don't set OPENHPI_CONF to /etc/openhpi/openhpi.conf, the config file can't been found.

config.c:575:oh_load_config: Configuration file '${prefix}/etc/openhpi/openhpi.conf' could not be opened init.c:147:oh_initialize: No handlers loaded after initialization. init.c:148:oh_initialize: Check configuration file ${prefix}/etc/openhpi/openhpi.conf

Reported by: wangjing

Original Ticket: "openhpi/bugs/870":https://sourceforge.net/p/openhpi/bugs/870

mohandev2 commented 19 years ago

Original comment by: kouzmich

mohandev2 commented 19 years ago

Logged In: YES user_id=1134234

tar file for 2.1.1 release in sourceforge.net/projects/openhpi contains invalid file: config.h. #define CONFPATH "${prefix}/etc/openhpi"

Original comment by: kouzmich

mohandev2 commented 19 years ago

Logged In: YES user_id=660960

I fixed this after 2.1.1 release in head.

Original comment by: renierm

mohandev2 commented 19 years ago

Original comment by: renierm

mohandev2 commented 19 years ago

Original comment by: renierm