Author Topic: Roundcube installer process at STEP3  (Read 6603 times)

Offline Franck

  • Jr. Member
  • **
  • Posts: 26
Roundcube installer process at STEP3
« on: March 24, 2014, 05:48:38 AM »
Gm,
Roundcube 0.9.5 - remote mysql server - remote imap / smtp server

Step 1: all is OK
Checking PHP version
Version:  OK(PHP 5.3.3 detected)
Checking PHP extensions

The following modules/extensions are required to run Roundcube:
PCRE:  OK
DOM:  OK
Session:  OK
XML:  OK
JSON:  OK
PDO:  OK

The next couple of extensions are optional and recommended to get the best performance:
FileInfo:  OK
Libiconv:  OK
Multibyte:  OK
OpenSSL:  OK
Mcrypt:  OK
Intl:  OK
Exif:  OK
Checking available databases

Check which of the supported extensions are installed. At least one of them is required.
MySQL:  OK
PostgreSQL:  NOT AVAILABLE(See http://www.php.net/manual/en/ref.pdo-pgsql.php)
SQLite:  OK
SQLite (v2):  NOT AVAILABLE(See http://www.php.net/manual/en/ref.pdo-sqlite.php)
SQL Server (SQLSRV):  NOT AVAILABLE(See http://www.php.net/manual/en/ref.pdo-sqlsrv.php)
SQL Server (DBLIB):  NOT AVAILABLE(See http://www.php.net/manual/en/ref.pdo-dblib.php)
Check for required 3rd party libs

This also checks if the include path is set correctly.
PEAR:  OK
Net_SMTP:  OK
Net_IDNA2:  OK
Mail_mime:  OK
Checking php.ini/.htaccess settings

The following settings are required to run Roundcube:
file_uploads:  OK
session.auto_start:  OK
zend.ze1_compatibility_mode:  OK
mbstring.func_overload:  OK
suhosin.session.encrypt:  OK
magic_quotes_runtime:  OK
magic_quotes_sybase:  OK

The following settings are optional and recommended:
allow_url_fopen:  OK
date.timezone:  OK
register_globals:  OK


Step 3: I have a pb during the installer process at the step3. (I replaced the name of my servers by a generic value for this topic)

Check config files
main.inc.php:  OK
db.inc.php:  OK
Check if directories are writable

Roundcube may need to write/save files into these directories
temp/:  OK
logs/:  OK

NOT OK - Can't connect mysql database
Quote
DSN (write):  NOT OK(SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'mysqlserver.domain.tld' (13))
DSN: mysql://roundcube:password@mysqlserver.domain.tld/roundcube

NOT OK - Test SMTP config
Quote
SMTP send:  NOT OK(Connection failed: Failed to connect socket: Permission denied)

NOT OK - Test IMAP config
Quote
IMAP connect:  NOT OK(Login failed for myserver.mydomain.tld from 172.XX.YY.ZZ. Could not connect to ssl://imapserver.domain.tld:993: Permission denied)

NEVERTHELESS !!!
From my roundcube server by ssh , i can connect to my remote mysql server with the roundcube account and the grants are OK.
+----------------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'roundcube'@'172.XX.YY.ZZ' IDENTIFIED BY PASSWORD '*59LHGLLFURJKHFUDYSILTOITGLGOITFLJC9' |
| GRANT ALL PRIVILEGES ON `roundcube`.* TO 'roundcube'@'172.XX.YY.ZZ'                                                 |
+----------------------------------------------------------------------------------------------------------------------+

From my roundcube server by ssh, i can connect to my smtp server via telnet on port 25 or 587 and send an email
From my roundcube server by ssh, i can connect to my imap server via telnet on port 143 or 993

There are not any firewall between servers and iptables is desabled on each server.
The pb seems only exist from the web page of the installer, i maybe missing something in the apache conf ?

<VirtualHost *:80>
    ServerAdmin admin@mydomain.tld
    DocumentRoot /var/www/html/roundcube
    ServerName roundcube.mydomain.tld
    ErrorLog /var/log/httpd/webmail.error-log
    CustomLog /var/log/httpd/webmail.access-log combined

    <Directory /var/www/html/roundcube/>
            Options Indexes FollowSymLinks
            DirectoryIndex index.php
            AllowOverride All
            Order deny,allow
            Allow from all
   </Directory>
</VirtualHost>

Please, need help
Best regards

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,888
    • SKaero - Custom Roundcube development
Re: Roundcube installer process at STEP3
« Reply #1 on: March 24, 2014, 08:47:47 AM »
You need to look at your PHP configuration.

Offline Franck

  • Jr. Member
  • **
  • Posts: 26
Re: Roundcube installer process at STEP3
« Reply #2 on: March 24, 2014, 10:19:51 AM »
Tnx for your response,
Maybe an idea about directive ? or php.in configuration missing ?

Tnx and best regards
Franck

Offline Franck

  • Jr. Member
  • **
  • Posts: 26
Re: Roundcube installer process at STEP3
« Reply #3 on: March 25, 2014, 07:04:05 AM »
Hi,
Found... SElinux