• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Roundcube does not work

Hi VidjayG,

you can ignore the informations about the "does NOT match server name", because you will always get this issue, if you use initial Plesk certificates. Such issues disappear, when you are going to create and install your own ones.

If you use dig, please use additional strings in order to list the DNS entries saved on your initial nameserver ( in your case the ones from Strato ):

dig @8.8.8.8 +nocmd YOUR_DOMAIN.COM any +multiline +noall +answer
Please see the manual page with "man dig", if you are interested in more strings and how to use it.
As you can see with the command, there is no DNS entry for "webmail.yourdomain.com" at the moment and as well, a trace to your desired webmail - domain has no results.

Please read the Parallels documentation about DNS settings in Plesk:

 
if I do dig @8.8.8.8 +nocmd YOUR_DOMAIN.COM any +multiline +noall +answer:

i get:
webmail.happy-rotterdam.nl. 149 IN MX 5 smtp.rzone.de.

In the documentation from plesk 12 i see plesk does not standard create zones for subdomains, so it says the following to run:

server_pref –u –subdomain-dns-zone own

But the command doesn't do anything..:(

How can I run this? And after this restart all services or/and reconfigure all records in dns settings in plesk?

Do I need to configure a subdomain webmail.domain.nl underneath the main domain by adding a subdomain in plesk?
 
Hi VidjayG,

at the moment, you are going to the wrong direction. It is NOT necessary to create any additional subdomain, in order to get "webmail" to work. As you already saw ( http://talk.plesk.com/threads/roundcube-does-not-work.329879/#post-770395 ) the webserver configuration was built and Plesk has as well a DNS - entry for it ( http://talk.plesk.com/threads/roundcube-does-not-work.329879/#post-770503 ).

There is another issue, which is the cause of the inaccessibility of your subdomain "webmail.example.com".


To get to the base again, you said you have Plesk 11.5 installed. Could you please provide as well the operating system?
Did you do a complete restart of your server once, after your OS and Plesk installation?


Just to get you the right documentation link ( for 11.5 ), I post these links:


ALL Parallels Plesk documentations are available here :

 
I have installed:
"Ubuntu 12.04.4 LTS"

I have restarted the system several times, almost every time after any adjustments and finding out that every modification did not work a restart. In my opinion I hoped that Plesk configured completely every action. Firewall is disabled.

Should I create an SRV-record for webmail.mydomain.nl?
 
Hi VidjayG,

Plesk HELPS to administrate a server, but it does not completely replace a server administrator.

What is the output of "/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --show-components --show-options --check-updates" ?


In most cases, you don't have to restart your server. Restarting the services is "normally" sufficient.
 
root@h----:/var/log# /usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --show-components --show-options --check-updates

ERROR: You specified wrong combination of options.
The options check-updates and show-components cannot be used together.
Refer to installer's help page for details (run Parallels Installer with --help option).

Without --check-updates:
root@h----:/var/log# /usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --show-components --show-options

Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..21%..32%..40%..54%..60%..70%..81%..92%..100% was finished.
File downloading ppsmbe.inf3: 30%..82%..100% was finished.
File downloading sitebuilder.inf3: 12%..38%..100% was finished.
File downloading sso.inf3: 40%..100% was finished.
File downloading setemplates.inf3: 74%..100% was finished.
File downloading pp-sitebuilder.inf3: 13%..37%..58%..69%..78%..89%..98%..100% was finished.
File downloading billing.inf3: 11%..30%..42%..60%..81%..97%..100% was finished.
File downloading mysql.inf3: 100% was finished.
File downloading apache.inf3: 100% was finished.
File downloading nginx.inf3: 21%..58%..82%..100% was finished.
Checking for installed packages...
File downloading PSA_11.5.30/plesk-11.5.30-ubt12.04-i386.inf3: 20%..54%..67%..86%..91%..100% was finished.
File downloading PSA_11.5.30/plesk-patches-11.5.30-ubt12.04-i386.inf3: 17%..28%..31%..47%..56%..66%..75%..85%..94%..100% was finished.
File downloading SITEBUILDER_11.5.10/sitebuilder-11.5.10-deball-all.inf3: 100% was finished.
File downloading BILLING_11.5.30/billing-11.5.30-deball-all.inf3: 100% was finished.
File downloading NGINX_1.5.13/nginx-1.5.13-ubt12.04-i386.inf3: 100% was finished.
File downloading NGINX_1.5.0/nginx-1.5.0-ubt12.04-i386.inf3: 100% was finished.
Synchronizing the Debian APT package index files...
Hit ftp://ftp.stratoserver.net precise Release.gpg
Get:1 ftp://ftp.stratoserver.net precise-updates Release.gpg [198 B]
Get:2 ftp://ftp.stratoserver.net precise-security Release.gpg [198 B]
Get:3 ftp://ftp.stratoserver.net precise Release.gpg

Fetched 2819 kB in 2s (1097 kB/s)
Reading package lists...
Warning: not connected 'multiverse' repository section
Detecting installed product components.
common [up2date] - Base packages of Parallels Plesk Panel
panel [up2date] - Parallels Plesk Panel
bind [up2date] - BIND DNS server support
psa-autoinstaller [up2date] - Plesk Updater
postgresql [install] - PostgreSQL server support
pmm [install] - Plesk migration manager
health-monitor [install] - Health monitor
pba [install] - Payment gateway and registrar modules adapted to Business Manager
sitebuilder [up2date] - Parallels Presence Builder
agent [install] - Service node agent
billing [install] - Customer & Business Manager (recommended for shared hosting)
mysqlgroup [up2date] - MySQL server support
horde [up2date] - Horde webmail support
roundcube [up2date] - Roundcube webmail support
kav [install] - Kaspersky antivirus
drweb [install] - Parallels Premium antivirus
spamassassin [install] - SpamAssassin support
mailman [install] - Mailman mailing list manager support
commtouch [install] - Parallels Premium Outgoing Antispam extension
postfix [up2date] - Postfix mailserver
qmail [install] - Qmail mailserver
msmtp [install] - MSMTP relay only mailserver (SMTP client)
web-hosting [up2date] - Plesk Web hosting
mod_fcgid [up2date] - Apache mod_fcgid module
mod_perl [install] - Apache mod_perl module
proftpd [up2date] - ProFTPD ftpserver
mod-bw [install] - Bandwidth Limiter For Apache support (mod_bw)
asp [install] - Apache ASP support
java [install] - Tomcat Java Servlets support
mod_python [install] - Apache mod_python module
ruby [install] - Ruby on Rails support
cf-support [install] - ColdFusion support for Plesk
miva [install] - MIVA Empresa support
webalizer [up2date] - Webalizer webstat
awstats [up2date] - AWStats webstat
mod-cloudflare [install] - Cloudflare Apache Module
nginx [up2date] - Nginx reverse proxy support
phpfpm [up2date] - php-fpm support for nginx
phpgroup [up2date] - PHP5 support
webservers [up2date] - Apache web server support
psa-firewall [up2date] - Plesk Firewall extension
psa-vpn [up2date] - Plesk VPN extension
psa-fileserver [install] - Plesk Fileserver extension and SMB file server package
sshterm [up2date] - SSHTerm - SSH Terminal java applet
watchdog [install] - Watchdog (System monitoring extension)

I removed some of the hits and gets because it is too many char to post.
 
root@---:/var/log# /usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --check-updates
Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..32%..40%..50%..60%..70%..81%..91%..100% was finished.
File downloading ppsmbe.inf3: 10%..30%..71%..82%..92%..100% was finished.
File downloading sitebuilder.inf3: 12%..38%..63%..76%..100% was finished.
File downloading sso.inf3: 40%..53%..100% was finished.
File downloading setemplates.inf3: 24%..74%..100% was finished.
File downloading pp-sitebuilder.inf3: 12%..23%..37%..41%..53%..60%..72%..80%..94%..100% was finished.
File downloading billing.inf3: 11%..29%..30%..48%..50%..64%..70%..81%..95%..100% was finished.
File downloading mysql.inf3: 57%..100% was finished.
File downloading apache.inf3: 59%..100% was finished.
File downloading nginx.inf3: 14%..21%..43%..58%..73%..82%..100% was finished.
Checking for installed packages...
File downloading PSA_11.5.30/plesk-11.5.30-ubt12.04-i386.inf3: 10%..20%..33%..46%..54%..65%..86%..91%..100% was finished.
File downloading PSA_11.5.30/plesk-patches-11.5.30-ubt12.04-i386.inf3: 17%..28%..30%..42%..56%..66%..75%..85%..94%..100% was finished.
File downloading SITEBUILDER_11.5.10/sitebuilder-11.5.10-deball-all.inf3: 87%..100% was finished.
File downloading BILLING_11.5.30/billing-11.5.30-deball-all.inf3: 100% was finished.
File downloading NGINX_1.5.13/nginx-1.5.13-ubt12.04-i386.inf3: 100% was finished.
File downloading NGINX_1.5.0/nginx-1.5.0-ubt12.04-i386.inf3: 100% was finished.
Synchronizing the Debian APT package index files...
Hit ftp://ftp.stratoserver.net precise Release.gpg
Hit ftp://ftp.stratoserver.net precise-updates Release.gpg
Hit ftp://ftp.stratoserver.net precise-security Release.gpg
Get:1 ftp://ftp.stratoserver.net precise Release.gpg
Ign ftp://ftp.stratoserver.net precise Release.gpg
Get:2 ftp://ftp.stratoserver.net all Release.gpg
Ign ftp://ftp.stratoserver.net all Release.gpg
Get:3 ftp://ftp.stratoserver.net all Release.gpg
Ign ftp://ftp.stratoserver.net all Release.gpg
Hit ftp://ftp.stratoserver.net precise Release
Hit ftp://ftp.stratoserver.net precise-updates Release
Hit ftp://ftp.stratoserver.net precise-security Release
Get:4 ftp://ftp.stratoserver.net precise Release
Ign ftp://ftp.stratoserver.net precise Release
Get:5 ftp://ftp.stratoserver.net all Release
Ign ftp://ftp.stratoserver.net all Release
Get:6 ftp://ftp.stratoserver.net all Release
Ign ftp://ftp.stratoserver.net all Release
Get:7 ftp://ftp.stratoserver.net precise/all i386 Packages/DiffIndex
Ign ftp://ftp.stratoserver.net precise/all i386 Packages/DiffIndex
Get:8 ftp://ftp.stratoserver.net precise/all TranslationIndex
Ign ftp://ftp.stratoserver.net precise/all TranslationIndex
Get:9 ftp://ftp.stratoserver.net all/all i386 Packages/DiffIndex
Ign ftp://ftp.stratoserver.net all/all i386 Packages/DiffIndex
Get:10 ftp://ftp.stratoserver.net all/all TranslationIndex
Ign ftp://ftp.stratoserver.net all/all TranslationIndex
Get:11 ftp://ftp.stratoserver.net all/all i386 Packages/DiffIndex
Ign ftp://ftp.stratoserver.net all/all i386 Packages/DiffIndex
Get:12 ftp://ftp.stratoserver.net all/all TranslationIndex
Ign ftp://ftp.stratoserver.net all/all TranslationIndex
Hit ftp://ftp.stratoserver.net precise/main Sources
Hit ftp://ftp.stratoserver.net precise/restricted Sources
Hit ftp://ftp.stratoserver.net precise/universe Sources
Hit ftp://ftp.stratoserver.net precise/main i386 Packages
Hit ftp://ftp.stratoserver.net precise/restricted i386 Packages
Hit ftp://ftp.stratoserver.net precise/universe i386 Packages
Hit ftp://ftp.stratoserver.net precise/main TranslationIndex
Hit ftp://ftp.stratoserver.net precise/restricted TranslationIndex
Hit ftp://ftp.stratoserver.net precise/universe TranslationIndex
Hit ftp://ftp.stratoserver.net precise/all i386 Packages
Get:13 ftp://ftp.stratoserver.net precise/all Translation-en
Get:14 ftp://ftp.stratoserver.net all/all i386 Packages
Get:15 ftp://ftp.stratoserver.net all/all Translation-en
Hit ftp://ftp.stratoserver.net precise-updates/main Sources
Hit ftp://ftp.stratoserver.net precise-updates/restricted Sources
Hit ftp://ftp.stratoserver.net precise-updates/universe Sources
Hit ftp://ftp.stratoserver.net precise-updates/main i386 Packages
Hit ftp://ftp.stratoserver.net precise-updates/restricted i386 Packages
Hit ftp://ftp.stratoserver.net precise-updates/universe i386 Packages
Hit ftp://ftp.stratoserver.net precise-updates/main TranslationIndex
Hit ftp://ftp.stratoserver.net precise-updates/restricted TranslationIndex
Hit ftp://ftp.stratoserver.net precise-updates/universe TranslationIndex
Get:16 ftp://ftp.stratoserver.net all/all i386 Packages
Get:17 ftp://ftp.stratoserver.net all/all Translation-en
Hit ftp://ftp.stratoserver.net precise-security/main Sources
Hit ftp://ftp.stratoserver.net precise-security/restricted Sources
Hit ftp://ftp.stratoserver.net precise-security/universe Sources
Hit ftp://ftp.stratoserver.net precise-security/main i386 Packages
Hit ftp://ftp.stratoserver.net precise-security/restricted i386 Packages
Hit ftp://ftp.stratoserver.net precise-security/universe i386 Packages
Hit ftp://ftp.stratoserver.net precise-security/main TranslationIndex
Hit ftp://ftp.stratoserver.net precise-security/restricted TranslationIndex
Hit ftp://ftp.stratoserver.net precise-security/universe TranslationIndex
Hit ftp://ftp.stratoserver.net precise/main Translation-en
Hit ftp://ftp.stratoserver.net precise/restricted Translation-en
Hit ftp://ftp.stratoserver.net precise/universe Translation-en
Get:18 ftp://ftp.stratoserver.net precise/all Translation-en
Get:19 ftp://ftp.stratoserver.net all/all i386 Packages
Get:20 ftp://ftp.stratoserver.net all/all Translation-en
Hit ftp://ftp.stratoserver.net precise-updates/main Translation-en
Hit ftp://ftp.stratoserver.net precise-updates/restricted Translation-en
Hit ftp://ftp.stratoserver.net precise-updates/universe Translation-en
Get:21 ftp://ftp.stratoserver.net all/all i386 Packages
Get:22 ftp://ftp.stratoserver.net all/all Translation-en
Hit ftp://ftp.stratoserver.net precise-security/main Translation-en
Hit ftp://ftp.stratoserver.net precise-security/restricted Translation-en
Hit ftp://ftp.stratoserver.net precise-security/universe Translation-en
Get:23 ftp://ftp.stratoserver.net precise/all Translation-en
Get:24 ftp://ftp.stratoserver.net all/all i386 Packages
Get:25 ftp://ftp.stratoserver.net all/all Translation-en
Get:26 ftp://ftp.stratoserver.net all/all i386 Packages
Get:27 ftp://ftp.stratoserver.net all/all Translation-en
Get:28 ftp://ftp.stratoserver.net precise/all Translation-en
Hit ftp://ftp.stratoserver.net all/all i386 Packages
Get:29 ftp://ftp.stratoserver.net all/all Translation-en
Hit ftp://ftp.stratoserver.net all/all i386 Packages
Get:30 ftp://ftp.stratoserver.net all/all Translation-en
Get:31 ftp://ftp.stratoserver.net precise/all Translation-en
Ign ftp://ftp.stratoserver.net precise/all Translation-en
Get:32 ftp://ftp.stratoserver.net all/all Translation-en
Ign ftp://ftp.stratoserver.net all/all Translation-en
Get:33 ftp://ftp.stratoserver.net all/all Translation-en
Ign ftp://ftp.stratoserver.net all/all Translation-en
Reading package lists...
Warning: not connected 'multiverse' repository section
Detecting installed product components.
--- prod_id release_id (description) (branch) ---
plesk PLESK_12_0_18 (Parallels Plesk 12.0.18 (Stable)) (stable)
plesk PLESK_11_5_30 (Parallels Plesk Panel 11.5.30) (currently installed)
 
Hi VidjayG,

we are now going to install some missing components:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base --install-component health-monitor --install-component spamassassin --install-component mod_perl --install-component mod-bw --install-component mod_python --install-component watchdog

Afterwards, nearly like always ^^, please restart apache2, nginx, php5-fpm, postfix and psa:

service apache2 restart && service nginx restart && service php5-fpm restart && service postfix restart && service psa restart

As well, nearly like always, do you get any different errors in the depending error - logs, when you try to open the URL http://webmail.example.com ( /var/log/apache2/ - /var/log/nginx/ - /var/log/plesk-roundcube/ - /var/www/vhosts/example.com/logs/ ) ?
 
Did the installations...restarted the services

Log apache2 errors.log:

[Sun Dec 14 13:25:09 2014] [notice] Apache/2.2.22 (Ubuntu) DAV/2 mod_fcgid/2.3.9 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
[Sun Dec 14 17:25:58 2014] [notice] caught SIGTERM, shutting down
[Sun Dec 14 17:25:59 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sun Dec 14 17:25:59 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sun Dec 14 17:25:59 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sun Dec 14 17:25:59 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sun Dec 14 17:25:59 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun Dec 14 17:25:59 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Dec 14 17:25:59 2014] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 14 17:25:59 2014] [notice] Digest: done
[Sun Dec 14 17:25:59 2014] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 36 bytes)
[Sun Dec 14 17:25:59 2014] [notice] mod_bw : Version 0.92 - Initialized [0 Confs]
[Sun Dec 14 17:25:59 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sun Dec 14 17:25:59 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sun Dec 14 17:25:59 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sun Dec 14 17:25:59 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sun Dec 14 17:25:59 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun Dec 14 17:25:59 2014] [notice] Apache/2.2.22 (Ubuntu) DAV/2 mod_fcgid/2.3.9 mod_ssl/2.2.22 OpenSSL/1.0.1 mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations
[Sun Dec 14 17:27:47 2014] [error] [client 66.196.235.78] File does not exist: /var/www/vhosts/default/htdocs/vtigercrm
~
/var/log/nginx/ :
Nothing in the last minutes

/var/log/plesk-roundcube/ log:
Nothing in the directory

/var/www/vhosts/example.com/logs/ log:
nothing in the log except about the rsa certificates.

Really frustrating:(..:(
 
Hi VidjayG,

could you please post your roundcube config? ( /usr/share/psa-roundcube/config/defaults.inc.php ).


P.S. You could as well post configs and error - logs in a CODE - bracket for a better view. On top of the editor text - box, you have as well the choice to use the button "Insert..." and might choose different BB-Codes for inserts.
 
I have got main.inc.php, buts its too long too post, can I mail it to you or do you need a specific part?
 
renaming it to main.inc.php.txt and posting it as attachment should work ( option: "Upload a file" - right under the editor - box ) ^^
 
Last edited by a moderator:
Hi VidjayG,

hm.... nothing unusual there...

Does your folder "/etc/apache2/conf.d/" contain the standard file "psa_httpd.conf" with the include "Include '/etc/apache2/plesk.conf.d/roundcube.conf'" ?

... and are the files "/etc/apache2/plesk.conf.d/roundcube.conf" and "/etc/apache2/plesk.conf.d/roundcube.htaccess.inc" existent ? Please post both files as a TXT - attachment.
 
In the folder /etc/apache2/conf.d/ there is no psa_httpd.conf, only the following:

-rw-r--r-- 1 root root 269 feb 7 2012 charset
-rw-r--r-- 1 root root 3296 feb 7 2012 localized-error-pages
-rw-r--r-- 1 root root 143 feb 7 2012 other-vhosts-access-log
-rw-r--r-- 1 root root 93 jul 24 2013 php_cgi_wrapper.conf
-rw-r--r-- 1 root root 1424 feb 7 2012 security
-rw-r----- 1 root www-data 453 dec 14 17:34 zz010_psa_httpd.conf

the file zz010_psa_httpd.conf contains:

Include '/etc/apache2/plesk.conf.d/server.conf'
Include '/etc/apache2/plesk.conf.d/roundcube.conf'
Include '/etc/apache2/plesk.conf.d/horde.conf'
Include '/etc/apache2/plesk.conf.d/vhosts/*.conf'
Include '/etc/apache2/plesk.conf.d/forwarding/*.conf'
Include '/etc/apache2/plesk.conf.d/wildcards/*.conf'

Attached both the files.
 

Attachments

  • roundcube.conf.txt
    2.6 KB · Views: 1
  • roundcube.htaccess.inc.txt
    1.3 KB · Views: 1
Hi VidjayG,

please check, if mod_rewrite is enabled:

Create a file with the content ( i.e.: php_check.php ):
PHP:
<?php
phpinfo();
?>

Upload this file to your webspace at: "/var/www/vhosts/example.com/httpdocs/" and open the file with your browser.

... it should contain an "Apache" section, where you will find the loaded modules - please post them here ( you could as well copy the complete output for further investigations and save it on your computer. Afterwards delete the PHP - file from your webspace. )
 
not really an apache section :(...I've uploaded it to a site and downloaded the content...and attached...if you rename back to html it should open with the info.
 
Last edited:
Back
Top