Install openwebmail on Red Hat 9

Posted on 2005-05-16
Last Modified: 2013-12-06
Installation went along well until I execute
/var/www/cgi-bin/openwebmail/ --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/ --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.

Question by:busakorn
    LVL 3

    Accepted Solution

    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.
    LVL 10

    Assisted Solution

    the fastest way to find this file is:
    locate dbm.conf


    Author Comment

    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 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.
    LVL 3

    Expert Comment

    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

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now