<VirtualHost*:80>
DocumentRoot /usr/share/davical/htdocs
DirectoryIndex index.php index.html
ServerName davical.my-domain.net
ServerAlias calendar.my-domain.net
Alias /images/ /usr/share/davical/htdocs/images/
<Directory/usr/share/davical/htdocs/>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
AcceptPathInfo On
</VirtualHost>
a2ensite net.my-domain.davical
service apache2 restart
Here is my problem
If i run the site davical.my-domain.net/setup.php first i did see all green, then i get redirected to a login page. The first line on that login-page is (with red background): Unable to connect to database.
and I'm not able to login with admin and Password yyy (as set above)
I ask for your help
Thank you.
Last edit: OMG 2015-09-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Most of DAViCal support is on GitLab rather than on SourceForge, so I'm
not sure how many people are on this mailing list. The main support
discussion list (which is still on SourceForge) is
davical-general@lists.sourceforge.net; you might want to subscribe and
re-ask the question there.
I'm not much of a PostgresQL expert, but the first thing I'd try is to
see if I can access the database remotely from the web-server via the
command line. Probably something like:
|<VirtualHost *:80=""> DocumentRoot /usr/share/davical/htdocs
DirectoryIndex index.php index.html ServerName davical.my-domain.net
ServerAlias calendar.my-domain.net Alias /images/
/usr/share/davical/htdocs/images/ <Directory usr="" share="" davical="" htdocs=""/> AllowOverride None Order allow,deny Allow
from all </Directory> AcceptPathInfo On </VirtualHost>|
a2ensite net.my-domain.davical
service apache2 restart
Here is my problem
If i run the site davical.my-domain.net/setup.php first i did see all
green, then i get redirected to a login page. The first line on that
login-page is (with red background): Unable to connect to database.
and I'm not able to login with admin and Password yyy (as set above)
My davical setup runs on 2 servers:
Server 1 Web-Server (IP 192.168.1.2)
/etc/davical/config.php
Server 2 PostgreServer (IP 192.168.1.3)
/var/lib/pgsql/data/pg_hba.conf (first 2 lines)
Installation process:
pg-Server
Restart of PostgreSQL
Web-Server
/etc/apache2/sites-available/net.my-domain.davical
Here is my problem
If i run the site davical.my-domain.net/setup.php first i did see all green, then i get redirected to a login page. The first line on that login-page is (with red background): Unable to connect to database.
and I'm not able to login with admin and Password yyy (as set above)
I ask for your help
Thank you.
Last edit: OMG 2015-09-16
Last edit: OMG 2015-09-16
OMG,
Most of DAViCal support is on GitLab rather than on SourceForge, so I'm
not sure how many people are on this mailing list. The main support
discussion list (which is still on SourceForge) is
davical-general@lists.sourceforge.net; you might want to subscribe and
re-ask the question there.
I'm not much of a PostgresQL expert, but the first thing I'd try is to
see if I can access the database remotely from the web-server via the
command line. Probably something like:
psql --host 192.168.1.3 --port 5432 --password davical
(hoping I have the command right)
If that doesn't work correctly, it's a database permissions problem.
-Jim
On 9/16/15 5:50 AM, OMG wrote: