frank8085
05-12-2015, 17:53
da poco ho seguito questa guida parzialmente per installare owncloud:
http://www.unixmen.com/install-owncloud-7-centos-7/
httpd e mariadb erano già presenti e funzionanti ma a installazione conclusa hanno cessato di funzionare, ecco gli errori:
premetto che le porte sono attive, il file httpd.conf è non ha mai dato problemi e non l'ho toccato
[root@localhost ~]# systemctl status -l httpd
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: active (running) since sab 2015-12-05 18:41:53 CET; 4min 40s ago
Process: 5525 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 5562 (httpd)
Status: "Total requests: 0; Current requests/sec: -nan; Current traffic: - B/sec"
CGroup: /system.slice/httpd.service
├─5562 /usr/sbin/httpd -DFOREGROUND
└─5563 /usr/libexec/nss_pcache 1212422 off /etc/httpd/alias
dic 05 18:41:53 localhost.localdomain httpd[5562]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
dic 05 18:41:53 localhost.localdomain systemd[1]: Started The Apache HTTP Server.
apparentemente non dovrebbero esserci problemi, la porta 80 è accettata dal firewall, però non risponde.
invece mariadb:
[root@localhost ~]# systemctl status -l mariadb
mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
Active: failed (Result: exit-code) since sab 2015-12-05 18:37:58 CET; 11min ago
Process: 31737 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=203/EXEC)
Main PID: 5674 (code=exited, status=1/FAILURE)
CGroup: /system.slice/mariadb.service
dic 05 18:37:58 localhost.localdomain mariadb-prepare-db-dir[31737]: Failed at step EXEC spawning /usr/libexec/mariadb-prepare-db-dir: Permission denied
dic 05 18:37:58 localhost.localdomain systemd[1]: mariadb.service: control process exited, code=exited status=203
dic 05 18:37:58 localhost.localdomain systemd[1]: Failed to start MariaDB database server.
dic 05 18:37:58 localhost.localdomain systemd[1]: Unit mariadb.service entered failed state.
se cerco di fare
mysql_secure_installation;
mi dà:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ho già provato a disinstallare e a reinstallare mariadb ma non cambia nulla
attualmente non so come fare per scavalcare questi problemi e riuscire a far funzionare owncloud
http://www.unixmen.com/install-owncloud-7-centos-7/
httpd e mariadb erano già presenti e funzionanti ma a installazione conclusa hanno cessato di funzionare, ecco gli errori:
premetto che le porte sono attive, il file httpd.conf è non ha mai dato problemi e non l'ho toccato
[root@localhost ~]# systemctl status -l httpd
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: active (running) since sab 2015-12-05 18:41:53 CET; 4min 40s ago
Process: 5525 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 5562 (httpd)
Status: "Total requests: 0; Current requests/sec: -nan; Current traffic: - B/sec"
CGroup: /system.slice/httpd.service
├─5562 /usr/sbin/httpd -DFOREGROUND
└─5563 /usr/libexec/nss_pcache 1212422 off /etc/httpd/alias
dic 05 18:41:53 localhost.localdomain httpd[5562]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
dic 05 18:41:53 localhost.localdomain systemd[1]: Started The Apache HTTP Server.
apparentemente non dovrebbero esserci problemi, la porta 80 è accettata dal firewall, però non risponde.
invece mariadb:
[root@localhost ~]# systemctl status -l mariadb
mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
Active: failed (Result: exit-code) since sab 2015-12-05 18:37:58 CET; 11min ago
Process: 31737 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=203/EXEC)
Main PID: 5674 (code=exited, status=1/FAILURE)
CGroup: /system.slice/mariadb.service
dic 05 18:37:58 localhost.localdomain mariadb-prepare-db-dir[31737]: Failed at step EXEC spawning /usr/libexec/mariadb-prepare-db-dir: Permission denied
dic 05 18:37:58 localhost.localdomain systemd[1]: mariadb.service: control process exited, code=exited status=203
dic 05 18:37:58 localhost.localdomain systemd[1]: Failed to start MariaDB database server.
dic 05 18:37:58 localhost.localdomain systemd[1]: Unit mariadb.service entered failed state.
se cerco di fare
mysql_secure_installation;
mi dà:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ho già provato a disinstallare e a reinstallare mariadb ma non cambia nulla
attualmente non so come fare per scavalcare questi problemi e riuscire a far funzionare owncloud