[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 392
  • Last Modified:

Install openwebmail on Red Hat 9

Installation went along well until I execute
/var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

it got error, says

Please change '/var/www/cgi-bin/openwebmail/etc/dbm.conf' from

dbm_ext                 .db
dbmopen_ext             none
dbmopen_haslock         no


dbm_ext                 .db
dbmopen_ext             .db
dbmopen_haslock         no

And execute '/var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init' again!

ps: If you are running openwebmail in persistent mode,
    don't forget to 'touch openwebmail*.pl', so speedycgi
    will reload all scripts, modules and conf files in --init.

the problem is I can't find the file '/var/www/cgi-bin/openwebmail/etc/dbm.conf' anywhere.
Can anyone tell me what did I do wrong or what can I do to make openwebmail work?
Any advice would be very appreciated, thank you very much in advance.

  • 2
2 Solutions
I suspect when you say you "can't find the file anywhere" you didn't actually do a full search for it. It should be in /var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf. Copy it to /var/www/cgi-bin/openwebmail/etc and modify it there.
the fastest way to find this file is:
locate dbm.conf

busakornAuthor Commented:
Thank you TimEliseo.
I didn't really try to locate the file, so silly me :'-(
I edited the file /var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf
and just run the openwebmail-tool.pl without copying dbm.conf and it worked well.

And thank you michael, I've never known there is such way to find to file so quickly.

Thank you both very much again.
The reason for copying the file up a level from the defaults directory (into /var/www/cgi-bin/openwebmail/etc) is so that you won't have to go through this again when you update openwebmail to a later version which will clobber your modified file in the defaults directory. Just good software maintenance practice.

Glad I could help,

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now