Author Topic: Ubuntu 16.04, Apache & roundcube  (Read 2769 times)

Offline Kedryn

  • Newbie
  • *
  • Posts: 1
Ubuntu 16.04, Apache & roundcube
« on: May 23, 2018, 06:45:03 AM »
Hi all,
I've installed all roundcube packages (core, mysql, plugins) in a Ubuntu 16.04 server, and i've got many problems:

1) When installing, at the package configuration step, i've got the error

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Abviously i have created a db user and set it's password, and put the same password in the package configuration, but it says access denied and "using password: NO".

Unable pro proceed furter, i've "ignored" the problem, to fix it later in config files.

But why it gives that error?

2) i accessed the /installer dir via browser, checked first page requirements, then went to second page, filled the fields i was interested to, then saved the file config.inc.php. It has few config entries, far more than i expected (only some related to smtp, product name, des_key, plugins and skin).
I moved that file to /etc/roundcube, where  roundcube config files are stored, and where the symlink from /var/lib/roundcube/config is pointing.

Then i went to 3d page, and got:

--------------------------------
Check config file
defaults.inc.php:  NOT OK(Unable to read default config file?)
config.inc.php:  NOT OK(Unable to read file. Did you create the config file?)
Check if directories are writable
Roundcube may need to write/save files into these directories

temp:  NOT OK(not writeable for the webserver)
logs:  NOT OK(not writeable for the webserver)
Use chmod or chown to grant write privileges to the webserver

Check DB config
DSN (write):  NOT OK(Could not read config file)
-----------------------

Now... where is roundcube looking for those files and permissions? The /etc/roundcube contains both config.inc.php and defaults.inc.php. I tried to 755 config.inc.php but nothing changed.
I did some research but found nothing.


Offline crasheg

  • Jr. Member
  • **
  • Posts: 12
Re: Ubuntu 16.04, Apache & roundcube
« Reply #1 on: May 24, 2018, 08:51:07 PM »
check access rights for reading this files