TEXT   98
Open WebMail ERROR Messages and Solutions
Guest on 21st April 2022 02:01:59 PM


  1. Open WebMail ERROR Messages and Solutions
  2. =========================================
  3. By Thomas Chung
  4.  
  5. Error Message #1)
  6.  
  7. SYMPTOM:
  8. After upgrading perl packages, you're seeing index db error and can't login
  9.  
  10. ERROR:
  11. Couldn't update index db
  12.  
  13. SOLUTION:
  14. You may need to re-initialize openwebmail with openwebmail-tool.pl
  15. # /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init
  16.  
  17. It may also ask you to update dbm.conf and re-run the openwebmail-tool.
  18. # vi /var/www/cgi-bin/openwebmail/etc/dbm.conf
  19. dbm_ext                 .pag
  20. dbmopen_ext             none
  21. dbmopen_haslock         yes
  22. # /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init
  23.  
  24.  
  25. Error Message #2)
  26.  
  27. SYMPTOM:
  28. You deleted openwebmail RPM package by issuing 'rpm -e openwebmail'
  29. and you removed the entire openwebmail directory from /var/www/cgi-bin directory.
  30.  
  31. Then, installed a fresh new openwebmail RPM package and tried to login to your
  32. existing openwebmail account but your're getting following error.
  33.  
  34. ERROR:
  35. Mail Filter Error (/home/tchung/.openwebmail/webmail/filter.book dbm open error)
  36.  
  37. SOLUTION:
  38. # cd /var/www/cgi-bin/openwebmail
  39. # ./openwebmail-tool.pl --init
  40.  
  41. Please change './etc/dbm.conf' from
  42.  
  43. dbm_ext                 .db
  44. dbmopen_ext             none
  45. dbmopen_haslock         no
  46.  
  47. to
  48.  
  49. dbm_ext                 .db
  50. dbmopen_ext             .db
  51. dbmopen_haslock         yes
  52.  
  53.  
  54. And execute './openwebmail-tool.pl --init' again!
  55.  
  56. ps: If you are running openwebmail in persistent mode,
  57.     don't forget to 'touch openwebmail*.pl', so speedycgi
  58.     will reload all scripts, modules and conf files in --init.
  59.  
  60. # vi etc/dbm.conf
  61.  
  62. dbm_ext                 .db
  63. dbmopen_ext             .db
  64. dbmopen_haslock         yes
  65.  
  66. :wq (save and quit)
  67.  
  68. # ./openwebmail-tool.pl --init

Raw Paste

Login or Register to edit or fork this paste. It's free.