- 积分
- 67
- 威望
-
- 金钱
-
- 注册时间
- 2019-6-1
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
本帖最后由 Jeremy 于 2020-6-5 15:29 编辑
操作系统:CentOS 8.1.1911 x86_64
LNMP: lnmp1.7-full.tar.gz md5正常
附件只能上传89KB的文件压缩日志还有202kB
上传最后一部分Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Failed to set locale, defaulting to C.UTF-8
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
CentOS-8 - Base - mirrors.aliyun.com 15 kB/s | 3.9 kB 00:00
CentOS-8 - Extras - mirrors.aliyun.com 22 kB/s | 1.5 kB 00:00
CentOS-8 - AppStream - mirrors.aliyun.com 2.8 MB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 1.9 MB/s | 4.7 kB 00:00
Package iptables-services-1.8.2-16.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
iptables: Saving firewall rules to /etc/sysconfig/iptables: [60G[[1;32m OK [0;39m]
Redirecting to /bin/systemctl reload iptables.service
iptables.service is not active, cannot reload.
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Synchronizing state of nginx.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable nginx
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /etc/systemd/system/nginx.service.
Starting nginx... done
Add mariadb service at system startup...
Synchronizing state of mariadb.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable mariadb
Starting mariadb (via systemctl): Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
[60G[[1;31mFAILED[0;39m]
Add php-fpm service at system startup...
Synchronizing state of php-fpm.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable php-fpm
Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /etc/systemd/system/php-fpm.service.
Starting php-fpm done
============================== Check install ==============================
Checking ...
[0;32mNginx: OK[0m
[0;32mMariaDB: OK[0m
[0;32mPHP: OK[0m
[0;32mPHP-FPM: OK[0m
Clean Web Server src directory...
+------------------------------------------------------------------------+
| LNMP V1.7 for CentOS Linux Server, Written by Licess |
+------------------------------------------------------------------------+
| For more information please visit https://lnmp.org |
+------------------------------------------------------------------------+
| lnmp status manage: lnmp {start|stop|reload|restart|kill|status} |
+------------------------------------------------------------------------+
| phpMyAdmin: http://IP/phpmyadmin/ |
| phpinfo: http://IP/phpinfo.php |
| Prober: http://IP/p.php |
+------------------------------------------------------------------------+
| Add VirtualHost: lnmp vhost add |
+------------------------------------------------------------------------+
| Default directory: /home/wwwroot/default |
+------------------------------------------------------------------------+
| MySQL/MariaDB root password: Yaoling |
+------------------------------------------------------------------------+
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
nginx (pid 4435) is running...
php-fpm is runing!
ERROR! MariaDB is not running, but lock file (/var/lock/subsys/mysql) exists
State Recv-Q Send-Q Local Addressort Peer Addressort
LISTEN 0 128 0.0.0.0:80 0.0.0.0:*
LISTEN 0 128 0.0.0.0:80 0.0.0.0:*
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 128 [::]:22 [::]:*
Install lnmp takes 57 minutes.
[0;32mInstall lnmp V1.7 completed! enjoy it.[0m
在日志最后看到是 /var/lock/subsys/mysql,删除此文件无用
查看 journalctl -xe 如下
-- mariadb.service 单元已开始启动。
6月 05 15:24:44 nextcloud mariadb[1705]: Starting MariaDB.200605 15:24:44 mysqld_safe Adding '/usr/lib/li>
6月 05 15:24:44 nextcloud mariadb[1705]: 200605 15:24:44 mysqld_safe Logging to '/usr/local/mariadb/var/m>
6月 05 15:24:44 nextcloud mariadb[1705]: 200605 15:24:44 mysqld_safe Starting mysqld daemon with database>
6月 05 15:24:45 nextcloud mariadb[1705]: /etc/init.d/mariadb: 第 265 行:kill: (1824) - 没有那个进程
6月 05 15:24:45 nextcloud mariadb[1705]: ERROR!
6月 05 15:24:45 nextcloud systemd[1]: mariadb.service: Control process exited, code=exited status=1
6月 05 15:24:45 nextcloud systemd[1]: mariadb.service: Failed with result 'exit-code'.
6月 05 15:24:45 nextcloud systemd[1]: Failed to start MariaDB Server.
-- Subject: mariadb.service 单元已失败
再查看 /etc/init.d/mariadb 中256行
if $bindir/mysqladmin ping >/dev/null 2>&1; then
log_success_msg
return 0
elif kill -0 $! ; then
: # mysqld_safe is still running
else
感觉好像是这个启动文件有问题
|
|