Forum

Hiawatha Error Creating Directory [Wont Start]

James Karenthem
11 January 2012, 21:23

Upon trying to starting I get:

root@myserv:~# /usr/local/sbin/hiawatha
Error creating work directory '/usr/local/var/lib/hiawatha'

- Yes the directory exists:
cd /usr/local/var/lib/hiawatha
root@jayserv:/usr/local/var/lib/hiawatha# ls -ahl
total 8.0K
drwxr-xr-x 2 root root 4.0K 2012-01-09 18:49 .
drwxr-xr-x 3 root root 4.0K 2012-01-09 18:49 ..

- I tried just having /usr/local/var/lib/ and letting it make hiawatha.

My config'd directories:
WebsiteRoot = /var/www/site
AccessLogfile = /site/log/access.log
ErrorLogfile = /site/log/error.log
ServerRoot = /var/www
ExploitLogfile = /var/www/site/log/exploits.log
SystemLogfile = /system.log
GarbageLogfile = /garbage.log

'# hiawatha -k
Using /usr/local/etc/hiawatha
Reading hiawatha.conf
Reading mimetype.conf
Configuration OK.'

Hiawatha version: hiawatha-7.8.2
Operating System:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
James Karenthem
11 January 2012, 21:25
(Hiawatha v7.8.2, cache, chroot, Monitor, SSL, URL toolkit, XSLT)
If that'll help.
James Karenthem
12 January 2012, 22:46
Fixed. This is what I did:
./configure --enable-chroot --disable-ipv6
make -j3 -lgcc_s
make install

Apparently I needed to make/compile with -lgcc_s in order for it to run successfully on my box.
Noticed a grammatical error in the initial post so if everyone would kindly ignore that and if you haven't noticed... don't .
Hugo Leisink
13 January 2012, 00:25
Good to hear it's working.
This topic has been closed.