Столкнулся с такой проблемой: установил LAMP на rfremix 21 вроде всё прошло нормально при установке, а когда стал запускать почему-то вроде как mariadb запустилась и даже через enable в автозагрузку добавилось и вот сам сервер не запускается хронически, хотя cups запускается нормально, а ведь он через тот же LOCALHOST запускается только с приставкой :631. Стал искать в инете что либо на шёл вот эту страничку http://forum.russianfedora.pro/viewtopi ... 2c5358eac8 там у чела вроде что-то подобное, только вот всё что там описано мне не помогло. Зато команду, которую ему предложили ввести, а именно
Код: Выделить всё
# systemctl -l status httpd.service mariadb.service
Код: Выделить всё
[tigr@localhost ~]$ su
Пароль:
[root@localhost tigr]# systemctl -l status httpd.service mariadb.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
Active: failed (Result: exit-code) since Пн 2015-03-16 23:54:15 MSK; 50min ago
Process: 15479 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 15479 (code=exited, status=1/FAILURE)
мар 16 23:54:15 localhost.localdomain httpd[15479]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/z-gforge.conf: Syntax error on line 2 of /etc/fusionforge/httpd.conf.d/40-vhosts-extra.conf: Could not open configuration file /var/lib/fusionforge/etc/httpd.vhosts: No such file or directory
мар 16 23:54:15 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
мар 16 23:54:15 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
мар 16 23:54:15 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
мар 16 23:54:15 localhost.localdomain systemd[1]: httpd.service failed.
● mariadb.service - MariaDB 10.0 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
Drop-In: /usr/lib/systemd/system/mariadb.service.d
└─mysql-compat.conf
Active: active (running) since Пн 2015-03-16 23:10:37 MSK; 1h 34min ago
Main PID: 13828 (mysqld_safe)
CGroup: /system.slice/mariadb.service
├─13828 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
└─13952 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
мар 16 23:10:36 localhost.localdomain mysql-prepare-db-dir[13705]: See the MariaDB Knowledgebase at http://mariadb.com/kb or the
мар 16 23:10:36 localhost.localdomain mysql-prepare-db-dir[13705]: MySQL manual for more instructions.
мар 16 23:10:36 localhost.localdomain mysql-prepare-db-dir[13705]: Please report any problems at http://mariadb.org/jira
мар 16 23:10:36 localhost.localdomain mysql-prepare-db-dir[13705]: The latest information about MariaDB is available at http://mariadb.org/.
мар 16 23:10:36 localhost.localdomain mysql-prepare-db-dir[13705]: You can find additional information about the MySQL part at:
мар 16 23:10:36 localhost.localdomain mysql-prepare-db-dir[13705]: http://dev.mysql.com
мар 16 23:10:36 localhost.localdomain mysql-prepare-db-dir[13705]: Support MariaDB development by buying support/new features from
мар 16 23:10:36 localhost.localdomain mysql-prepare-db-dir[13705]: SkySQL Ab. You can contact us about this at sales@skysql.com.
мар 16 23:10:36 localhost.localdomain mysqld_safe[13828]: 150316 23:10:36 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
мар 16 23:10:36 localhost.localdomain mysqld_safe[13828]: 150316 23:10:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
[root@localhost tigr]#
Код: Выделить всё
# journalctl --full --no-pager --unit httpd.service --lines 10
Код: Выделить всё
[tigr@localhost ~]$ su
Пароль:
[root@localhost tigr]# journalctl --full --no-pager --unit httpd.service --lines 10
-- Logs begin at Пт 2015-02-20 20:22:11 MSK, end at Вт 2015-03-17 00:50:26 MSK. --
мар 16 23:46:44 localhost.localdomain httpd[15069]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/z-gforge.conf: Syntax error on line 2 of /etc/fusionforge/httpd.conf.d/40-vhosts-extra.conf: Could not open configuration file /var/lib/fusionforge/etc/httpd.vhosts: No such file or directory
мар 16 23:46:44 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
мар 16 23:46:44 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
мар 16 23:46:44 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
мар 16 23:46:44 localhost.localdomain systemd[1]: httpd.service failed.
мар 16 23:54:15 localhost.localdomain httpd[15479]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/z-gforge.conf: Syntax error on line 2 of /etc/fusionforge/httpd.conf.d/40-vhosts-extra.conf: Could not open configuration file /var/lib/fusionforge/etc/httpd.vhosts: No such file or directory
мар 16 23:54:15 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
мар 16 23:54:15 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
мар 16 23:54:15 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
мар 16 23:54:15 localhost.localdomain systemd[1]: httpd.service failed.
[root@localhost tigr]#