Poll

How to get roundcube-webmail started

es
0 (0%)
es
0 (0%)

Total Members Voted: 0

Author Topic: Roundcube-webmail installation  (Read 8816 times)

Offline satimis

  • Newbie
  • *
  • Posts: 3
Roundcube-webmail installation
« on: November 30, 2007, 08:34:32 AM »
Hi folk,


Ubuntu 7.04 server amd64
Postfix 2.3.8


Roundcube-webmail is completely new to me. Just have it installed on repo;

$ sudo apt-get install roundcube-webmail
Code: [Select]
Password:
Reading package lists... Done
Building dependency tree    
Reading state information... Done
The following extra packages will be installed:
 libapache2-mod-php5 php5
The following NEW packages will be installed:
 libapache2-mod-php5 php5 roundcube-webmail
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3149kB of archives.
After unpacking 9241kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 [url]http://us.archive.ubuntu.com[/url] feisty-updates/main libapache2-mod-php5 5.2.1
-0ubuntu1.4 [2653kB]
Get:2 [url]http://us.archive.ubuntu.com[/url] feisty-updates/main php5 5.2.1-0ubuntu1.4 [10
78B]
Get:3 [url]http://us.archive.ubuntu.com[/url] feisty/universe roundcube-webmail 0.1-beta2-0
ubuntu1 [494kB]
Fetched 3149kB in 18s (166kB/s)                        
Preconfiguring packages ...
Selecting previously deselected package libapache2-mod-php5.
(Reading database ... 90586 files and directories currently installed.)
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.2.1-0ubuntu1.4_amd
64.deb) ...
Selecting previously deselected package php5.
Unpacking php5 (from .../php5_5.2.1-0ubuntu1.4_all.deb) ...
Selecting previously deselected package roundcube-webmail.
Unpacking roundcube-webmail (from .../roundcube-webmail_0.1-beta2-0ubuntu1_all.d
eb) ...
Setting up libapache2-mod-php5 (5.2.1-0ubuntu1.4) ...

Creating config file /etc/php5/apache2/php.ini with new version
 * Forcing reload of web server (apache2)...               [ OK ]

Setting up php5 (5.2.1-0ubuntu1.4) ...
Setting up roundcube-webmail (0.1-beta2-0ubuntu1) ...
Restarting apache2...
 * Forcing reload of web server (apache2)...               [ OK ]


I have been searching around for relevant doc w/o result. How can I get it started so that users can browse it via Internet on their workstation to read and send emails. TIA


Edit - 1:

I found how to evoke roundcube-webmail both locally and remotely


https:/'/domain.com/roundcube-webmail
Code: [Select]
Warning: include_once(config/main.inc.php) [function.include-once]: failed to open stream: No such file or directory in /usr/share/roundcube-webmail/program/include/main.inc on line 43

Warning: include_once() [function.include]: Failed opening 'config/main.inc.php' for inclusion (include_path='/usr/share/roundcube-webmail/:/usr/share/roundcube-webmail/program:/usr/share/roundcube-webmail/program/lib:.:/usr/share/php:/usr/share/pear') in /usr/share/roundcube-webmail/program/include/main.inc on line 43

Warning: include_once(config/db.inc.php) [function.include-once]: failed to open stream: No such file or directory in /usr/share/roundcube-webmail/program/include/main.inc on line 52

Warning: include_once() [function.include]: Failed opening 'config/db.inc.php' for inclusion (include_path='/usr/share/roundcube-webmail/:/usr/share/roundcube-webmail/program:/usr/share/roundcube-webmail/program/lib:.:/usr/share/php:/usr/share/pear') in /usr/share/roundcube-webmail/program/include/main.inc on line 52

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /usr/share/roundcube-webmail/program/include/main.inc on line 53

Please advise how to fix those problems. Thanks


Edit - 2 :

Problem half solved.

Performed following steps;

$ sudo cp -p /usr/share/roundcube-webmail/config/db.inc.php.dist /usr/share/roundcube-webmail/config/db.inc.php

$ sudo cp -p /usr/share/roundcube-webmail/config/main.inc.php.dist /usr/share/roundcube-webmail/config/main.inc.php


On Firefox ran;
https://localhost/roundcube-webmail

It just hung there for sometimes and final unable to start roundcube-webmail


https://domain.com/roundcube-webmail
started;

Security Error: Domain Name Mismatch
Code: [Select]

You have attempted to establish a connection with "domain.com".
However, the security certificate presented belongs to "localhost".
It is possible, thought unlikely, that someone may be trying to
intercept you communication with this website.

If you suspect the certicate shown does not belong to
"domain.com", please cancel the connection and notify the site
administrator

I just cancelled it.


Any advice ?

Where shall I check and how to fix this problem allowing "https;//localhost/roundcube-webmin" to start roundcube-webmail. TIA ?


B.R.
satimis