<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Setup - keine Verbindung zu MariaDB]]></title><description><![CDATA[<p dir="auto">Hallo Leute,</p>
<p dir="auto">zur Info: das Web-Setup geht bei mir nicht.<br />
Macht aber nichts, siehe letzte Zeile.</p>
<hr />
<p dir="auto">Ich möchte I-do it (open) 1.4 auf CentOS 7 installieren…</p>
<blockquote>
<p dir="auto">Step 1: System check<br />
Operating System<br />
  Type: Linux OK<br />
  Version: 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 OK<br />
Webserver<br />
  Version: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 mod_perl/2.0.9-dev Perl/v5.16.3 OK<br />
  PHP Version: 5.4.16 OK<br />
  PHP Session Extension: Active OK<br />
  PHP MySQL Extension: Active OK<br />
  PHP XML Extension: Active OK<br />
  PHP ZLIB Extension: Active OK<br />
  PHP GD Extension: Active OK<br />
  PHP SimpleXML Extension: Active OK<br />
  PHP Setting "magic_quotes_gpc": Off OK<br />
  PHP cURL Extension: Active - Needed for external web-services OK<br />
  PHP PDO_MySQL Extension: Active OK<br />
  PHP Mcrypt Extension: Active - Needed for encrypting/decrypting OK<br />
Database Access Interface (PHP MySQL Extension)<br />
  Version: 5.5.37-MariaDB OK</p>
</blockquote>
<p dir="auto">… und bekomme aber keine Verbindung zur Datenbank über das Web-Frontend: Database port: 3306  ERROR (111)</p>
<blockquote>
<p dir="auto">Step 5: Configuration check<br />
Testing configuration …<br />
i-doit Directory: /var/www/html/i-doit/ OK<br />
Username: admin<br />
Password: *****<br />
Save path for file manager: /var/www/html/i-doit/upload/files/ FOUND<br />
Image path: /var/www/html/i-doit/upload/images/ FOUND<br />
Database host: localhost HOST FOUND<br />
Database port: 3306 ERROR (111)<br />
Database username: idoit OK<br />
Database password: ***** OK<br />
Database root username: root OK<br />
Database root password: ***** FAILED<br />
System Database Name: idoit NO LINK<br />
Database Config: n/a NO LINK<br />
Database mode: n/a NO LINK<br />
Mandator database name: idoit_data NO LINK<br />
Mandator Title: Firma OK<br />
Auto-Increment start value: 1 OK<br />
Configuration path: /var/www/html/i-doit/src WRITEABLE<br />
6 errors occured. Please fix the configuration in order to continue!</p>
<p dir="auto">Note: If some directories are not writeable, chown them to your Apache user or use the script "/var/www/html/i-doit/idoit-rights.sh" on unix systems!</p>
</blockquote>
<p dir="auto">Auf dem MySQL-Server hatte sich nichts geändert:</p>
<blockquote>
<p dir="auto">/var/www/html/i-doit]# mysql -h localhost -u root -p<br />
Enter password:<br />
Welcome to the MariaDB monitor.  Commands end with ; or \g.<br />
Your MariaDB connection id is 1015<br />
Server version: 5.5.37-MariaDB MariaDB Server</p>
<p dir="auto">Copyright <img src="https://community.i-doit.com/assets/plugins/nodebb-plugin-emoji/emoji/android/00a9.png?v=dfef998b5b8" class="not-responsive emoji emoji-android emoji--copyright" style="height:23px;width:auto;vertical-align:middle" title="©" alt="©" /> 2000, 2014, Oracle, Monty Program Ab and others.</p>
<p dir="auto">Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.</p>
<p dir="auto">MariaDB [(none)]&gt; select user from mysql.user;<br />
+–----+<br />
| user |<br />
+------+<br />
| root |<br />
| root |<br />
| root |<br />
+------+<br />
3 rows in set (0.00 sec)</p>
<p dir="auto">MariaDB [(none)]&gt; show databases;<br />
+–------------------+<br />
| Database          |<br />
+--------------------+<br />
| information_schema |<br />
| mysql              |<br />
| performance_schema |<br />
+--------------------+<br />
3 rows in set (0.01 sec)</p>
</blockquote>
<p dir="auto">Die /var/log/httpd/error.log schweigt dazu. php-safe_mode = Off</p>
<p dir="auto">Über folgende Module kann der Apachen verfügen:</p>
<blockquote>
<p dir="auto">]# apachectl -t -D DUMP_MODULES<br />
Passing arguments to httpd using apachectl is no longer supported.<br />
You can only start/stop/restart httpd using this script.<br />
If you want to pass extra arguments to httpd, edit the<br />
/etc/sysconfig/httpd config file.<br />
Loaded Modules:<br />
core_module (static)<br />
so_module (static)<br />
http_module (static)<br />
access_compat_module (shared)<br />
actions_module (shared)<br />
alias_module (shared)<br />
allowmethods_module (shared)<br />
auth_basic_module (shared)<br />
auth_digest_module (shared)<br />
authn_anon_module (shared)<br />
authn_core_module (shared)<br />
authn_dbd_module (shared)<br />
authn_dbm_module (shared)<br />
authn_file_module (shared)<br />
authn_socache_module (shared)<br />
authz_core_module (shared)<br />
authz_dbd_module (shared)<br />
authz_dbm_module (shared)<br />
authz_groupfile_module (shared)<br />
authz_host_module (shared)<br />
authz_owner_module (shared)<br />
authz_user_module (shared)<br />
autoindex_module (shared)<br />
cache_module (shared)<br />
cache_disk_module (shared)<br />
data_module (shared)<br />
dbd_module (shared)<br />
deflate_module (shared)<br />
dir_module (shared)<br />
dumpio_module (shared)<br />
echo_module (shared)<br />
env_module (shared)<br />
expires_module (shared)<br />
ext_filter_module (shared)<br />
filter_module (shared)<br />
headers_module (shared)<br />
include_module (shared)<br />
info_module (shared)<br />
log_config_module (shared)<br />
logio_module (shared)<br />
mime_magic_module (shared)<br />
mime_module (shared)<br />
perl_module (shared)<br />
negotiation_module (shared)<br />
remoteip_module (shared)<br />
reqtimeout_module (shared)<br />
rewrite_module (shared)<br />
setenvif_module (shared)<br />
slotmem_plain_module (shared)<br />
slotmem_shm_module (shared)<br />
socache_dbm_module (shared)<br />
socache_memcache_module (shared)<br />
socache_shmcb_module (shared)<br />
status_module (shared)<br />
substitute_module (shared)<br />
suexec_module (shared)<br />
unique_id_module (shared)<br />
unixd_module (shared)<br />
userdir_module (shared)<br />
version_module (shared)<br />
vhost_alias_module (shared)<br />
dav_module (shared)<br />
dav_fs_module (shared)<br />
dav_lock_module (shared)<br />
lua_module (shared)<br />
mpm_prefork_module (shared)<br />
proxy_module (shared)<br />
lbmethod_bybusyness_module (shared)<br />
lbmethod_byrequests_module (shared)<br />
lbmethod_bytraffic_module (shared)<br />
lbmethod_heartbeat_module (shared)<br />
proxy_ajp_module (shared)<br />
proxy_balancer_module (shared)<br />
proxy_connect_module (shared)<br />
proxy_express_module (shared)<br />
proxy_fcgi_module (shared)<br />
proxy_fdpass_module (shared)<br />
proxy_ftp_module (shared)<br />
proxy_http_module (shared)<br />
proxy_scgi_module (shared)<br />
ssl_module (shared)<br />
systemd_module (shared)<br />
cgi_module (shared)<br />
php5_module (shared)</p>
</blockquote>
<p dir="auto">Auf dem Rechner läuft ocsinventory und phpMyAdmin, auch per Konsole komme ich mit MySQL (MariaDB) zurecht.<br />
Das <a href="http://i-doit-right.sh">i-doit-right.sh</a> set-Skript wurde ausgeführt</p>
<p dir="auto"><strong>OK, warum nicht gleich so?:</strong><br />
Unter dem  Verzeichnis /var/www/html/i-doit/setup liegt ein <a href="http://install.sh">install.sh</a>, damit hat es funktionert.</p>
<p dir="auto">VG Jörn</p>
<p dir="auto">PS Der Bild-Code Zumutung</p>
]]></description><link>https://community.i-doit.com/topic/2515/setup-keine-verbindung-zu-mariadb</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 22:03:12 GMT</lastBuildDate><atom:link href="https://community.i-doit.com/topic/2515.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Aug 2014 12:47:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Setup - keine Verbindung zu MariaDB on Thu, 14 Aug 2014 08:49:29 GMT]]></title><description><![CDATA[<p dir="auto">Ich habe nun das System "aufgefrischt", andere PHP- und MySQL-Programme,<br />
incl. deren Konfigurationsdateien unter httpd und mysql, entfernt und MariaDB neu installiert.</p>
<p dir="auto">Mit der Installtion von i-doit habe ich nun eine Datei i-doit.conf in die /etc/httpd/conf.d/ mit dem Inhalt</p>
<pre><code>
 &lt;directory var="" www="" html="" i-doit=""&gt;AddHandler php-script .php
  Action php-script /cgi-bin/php5
  Options ExecCGI Indexes FollowSymLinks MultiViews
  AllowOverride AuthConfig
  Order allow,deny
  allow from all&lt;/directory&gt; 

</code></pre>
<p dir="auto">angelegt.</p>
<p dir="auto">Anschliessend ist das Web-Frondend-Setup erfolgreich durchgelaufen.</p>
<p dir="auto">VG Jörn</p>
]]></description><link>https://community.i-doit.com/post/10895</link><guid isPermaLink="true">https://community.i-doit.com/post/10895</guid><dc:creator><![CDATA[joe-eis]]></dc:creator><pubDate>Thu, 14 Aug 2014 08:49:29 GMT</pubDate></item></channel></rss>