Forum

Can't read file hiawatha.conf.

metanet
28 October 2012, 22:10


Hiawatha version: hiawatha 8.5 self compiled
Operating System: Linux 3.2.0-32-virtual #51-Ubuntu SMP Wed Sep 26 22:16:32 UTC 2012

Hello,

I didnt find a solution for that problem.
When I try to start hiawatha with /etc/init.d/hiawatha start this error message:
Starting webserver: Can't read file hiawatha.conf.
error!

The same error message with service hiawatha start, /usr/sbin/hiawatha and /usr/sbin/hiawatha -c /etc/hiawatha/.

The config has the default name hiawatha.conf and is located at /etc/hiawatha.


Hugo Leisink
29 October 2012, 07:20
Are you trying this as 'root'?
metanet
29 October 2012, 11:28
I've try it as a normal user and as root. Everytime the same error message.
Hugo Leisink
29 October 2012, 21:19
Are you using selinux or apparmor? What do you see when executing the following command?
strings /usr/sbin/hiawatha | grep etc
metanet
29 October 2012, 21:22
I have now made a configuration check.

$ /etc/init.d/hiawatha check

Configuration check via Wigwam...
Using /etc/hiawatha
Reading hiawatha.conf
Reading /etc/hiawatha/enable-sites//***********.com
No non-fatal errors found in the Hiawatha configuration.

Configuration check via Hiawatha...
Using /etc/hiawatha
Can't read file hiawatha.conf.
Hugo Leisink
29 October 2012, 22:02
I don't think this is a Hiawatha issue. You have something on your system that is block access to hiawatha.conf for the Hiawatha binary. I have no idea what that is.
This topic has been closed.