VPS侦探论坛

 找回密码
 注册
查看: 6698|回复: 6

MySQL server PID file could not be found! [FAILED]

[复制链接]
发表于 2016-4-29 18:47:09 | 显示全部楼层 |阅读模式

Stoping LNMP...
Stoping nginx...  done
MySQL server PID file could not be found!                  [FAILED]
Gracefully shutting down php-fpm . done
[root@localhost ~]# lnmp start
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
Starting LNMP...
Starting nginx...  done
Starting MySQL...                                          [FAILED]
Starting php-fpm  done


-------------------------------------------------------------------------------------------------------------------------------------

如题,数据库连接不上,无法启动

数据库我用的是mariadb

求大神帮忙。。。急!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-4-29 19:28:26 | 显示全部楼层


160429 15:48:04 [Note] InnoDB: FTS optimize thread exiting.
160429 15:48:04 [Note] InnoDB: Starting shutdown...
160429 15:48:06 [Note] InnoDB: Shutdown completed; log sequence number 1600614
160429 15:48:06 [Note] /usr/local/mariadb/bin/mysqld: Shutdown complete

160429 15:48:06 mysqld_safe mysqld from pid file /usr/local/mariadb/var/mariadb.pid ended
160429 16:44:04 mysqld_safe Starting mysqld daemon with databases from /usr/local/mariadb/var
2016-04-29 16:44:05 7fee8c5d0780 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
160429 16:44:05 [Note] InnoDB: Using mutexes to ref count buffer pool pages
160429 16:44:05 [Note] InnoDB: The InnoDB memory heap is disabled
160429 16:44:05 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
160429 16:44:05 [Note] InnoDB: Memory barrier is not used
160429 16:44:05 [Note] InnoDB: Compressed tables use zlib 1.2.7
160429 16:44:05 [Note] InnoDB: Using CPU crc32 instructions
160429 16:44:05 [Note] InnoDB: Initializing buffer pool, size = 16.0M
160429 16:44:05 [Note] InnoDB: Completed initialization of buffer pool
160429 16:44:05 [Note] InnoDB: Highest supported file format is Barracuda.
160429 16:44:05 [Note] InnoDB: 128 rollback segment(s) are active.
160429 16:44:05 [Note] InnoDB: Waiting for purge to start
160429 16:44:05 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1600614
160429 16:44:05 [Warning] InnoDB: Cannot open table mysql/gtid_slave_pos from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
160429 16:44:05 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1932: Table 'mysql.gtid_slave_pos' doesn't exist in engine
160429 16:44:05 [Note] Server socket created on IP: '::'.
160429 16:44:05 [ERROR] Can't start server : Bind on unix socket: Address already in use
160429 16:44:05 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
160429 16:44:05 [ERROR] Aborting

160429 16:44:05 [Note] InnoDB: FTS optimize thread exiting.
160429 16:44:05 [Note] InnoDB: Starting shutdown...
160429 16:44:07 [Note] InnoDB: Shutdown completed; log sequence number 1600624
160429 16:44:07 [Note] /usr/local/mariadb/bin/mysqld: Shutdown complete

160429 16:44:07 mysqld_safe mysqld from pid file /usr/local/mariadb/var/mariadb.pid ended
160429 18:16:51 mysqld_safe Starting mysqld daemon with databases from /usr/local/mariadb/var
2016-04-29 18:16:51 7f869cc92780 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
160429 18:16:51 [Note] InnoDB: Using mutexes to ref count buffer pool pages
160429 18:16:51 [Note] InnoDB: The InnoDB memory heap is disabled
160429 18:16:51 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
160429 18:16:51 [Note] InnoDB: Memory barrier is not used
160429 18:16:51 [Note] InnoDB: Compressed tables use zlib 1.2.7
160429 18:16:51 [Note] InnoDB: Using CPU crc32 instructions
160429 18:16:51 [Note] InnoDB: Initializing buffer pool, size = 16.0M
160429 18:16:52 [Note] InnoDB: Completed initialization of buffer pool
160429 18:16:52 [Note] InnoDB: Highest supported file format is Barracuda.
160429 18:16:52 [Note] InnoDB: 128 rollback segment(s) are active.
160429 18:16:52 [Note] InnoDB: Waiting for purge to start
160429 18:16:52 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1600624
160429 18:16:52 [Warning] InnoDB: Cannot open table mysql/gtid_slave_pos from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
160429 18:16:52 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1932: Table 'mysql.gtid_slave_pos' doesn't exist in engine
160429 18:16:52 [Note] Server socket created on IP: '::'.
160429 18:16:52 [ERROR] Can't start server : Bind on unix socket: Address already in use
160429 18:16:52 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
160429 18:16:52 [ERROR] Aborting

160429 18:16:52 [Note] InnoDB: FTS optimize thread exiting.
160429 18:16:52 [Note] InnoDB: Starting shutdown...
160429 18:16:54 [Note] InnoDB: Shutdown completed; log sequence number 1600634
160429 18:16:54 [Note] /usr/local/mariadb/bin/mysqld: Shutdown complete

160429 18:16:54 mysqld_safe mysqld from pid file /usr/local/mariadb/var/mariadb.pid ended
160429 18:16:58 mysqld_safe Starting mysqld daemon with databases from /usr/local/mariadb/var
2016-04-29 18:16:58 7f83ef193780 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
160429 18:16:58 [Note] InnoDB: Using mutexes to ref count buffer pool pages
160429 18:16:58 [Note] InnoDB: The InnoDB memory heap is disabled
160429 18:16:58 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
160429 18:16:58 [Note] InnoDB: Memory barrier is not used
160429 18:16:58 [Note] InnoDB: Compressed tables use zlib 1.2.7
160429 18:16:58 [Note] InnoDB: Using CPU crc32 instructions
160429 18:16:58 [Note] InnoDB: Initializing buffer pool, size = 16.0M
160429 18:16:58 [Note] InnoDB: Completed initialization of buffer pool
160429 18:16:58 [Note] InnoDB: Highest supported file format is Barracuda.
160429 18:16:58 [Note] InnoDB: 128 rollback segment(s) are active.
160429 18:16:58 [Note] InnoDB: Waiting for purge to start
160429 18:16:58 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1600634
160429 18:16:58 [Warning] InnoDB: Cannot open table mysql/gtid_slave_pos from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
160429 18:16:58 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1932: Table 'mysql.gtid_slave_pos' doesn't exist in engine
160429 18:16:58 [Note] Server socket created on IP: '::'.
160429 18:16:58 [ERROR] Can't start server : Bind on unix socket: Address already in use
160429 18:16:58 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
160429 18:16:58 [ERROR] Aborting

160429 18:16:58 [Note] InnoDB: FTS optimize thread exiting.
160429 18:16:58 [Note] InnoDB: Starting shutdown...
160429 18:17:00 [Note] InnoDB: Shutdown completed; log sequence number 1600644
160429 18:17:00 [Note] /usr/local/mariadb/bin/mysqld: Shutdown complete

160429 18:17:00 mysqld_safe mysqld from pid file /usr/local/mariadb/var/mariadb.pid ended
160429 18:18:21 mysqld_safe Starting mysqld daemon with databases from /usr/local/mariadb/var
2016-04-29 18:18:21 7fa98f1de780 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
160429 18:18:21 [Note] InnoDB: Using mutexes to ref count buffer pool pages
160429 18:18:21 [Note] InnoDB: The InnoDB memory heap is disabled
160429 18:18:21 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
160429 18:18:21 [Note] InnoDB: Memory barrier is not used
160429 18:18:21 [Note] InnoDB: Compressed tables use zlib 1.2.7
160429 18:18:21 [Note] InnoDB: Using CPU crc32 instructions
160429 18:18:21 [Note] InnoDB: Initializing buffer pool, size = 16.0M
160429 18:18:21 [Note] InnoDB: Completed initialization of buffer pool
160429 18:18:21 [Note] InnoDB: Highest supported file format is Barracuda.
160429 18:18:21 [Note] InnoDB: 128 rollback segment(s) are active.
160429 18:18:21 [Note] InnoDB: Waiting for purge to start
160429 18:18:21 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1600644
160429 18:18:21 [Warning] InnoDB: Cannot open table mysql/gtid_slave_pos from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
160429 18:18:21 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1932: Table 'mysql.gtid_slave_pos' doesn't exist in engine
160429 18:18:21 [Note] Server socket created on IP: '::'.
160429 18:18:21 [ERROR] Can't start server : Bind on unix socket: Address already in use
160429 18:18:21 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
160429 18:18:21 [ERROR] Aborting

160429 18:18:21 [Note] InnoDB: FTS optimize thread exiting.
160429 18:18:21 [Note] InnoDB: Starting shutdown...
160429 18:18:24 [Note] InnoDB: Shutdown completed; log sequence number 1600654
160429 18:18:24 [Note] /usr/local/mariadb/bin/mysqld: Shutdown complete

160429 18:18:24 mysqld_safe mysqld from pid file /usr/local/mariadb/var/mariadb.pid ended


这个是mariadb.err文件日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-4-29 20:48:57 | 显示全部楼层

看日志里160429 18:18:21 [ERROR] Can't start server : Bind on unix socket: Address already in use
160429 18:18:21 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
160429 18:18:21 [ERROR] Aborting
已经有数据库在运行,ps aux 看一下,kill掉再启动试试
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-4-29 21:46:58 | 显示全部楼层

回复 3# 的帖子




[root@localhost ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.3  49184  6176 ?        Ss   14:29   0:02 /sbin/init nose
root         2  0.0  0.0      0     0 ?        S    14:29   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    14:29   0:06 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   14:29   0:00 [kworker/0:0H]
root         7  0.1  0.0      0     0 ?        S    14:29   0:42 [rcu_sched]
root         8  0.0  0.0      0     0 ?        S    14:29   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    14:29   0:00 [migration/0]
root        10  0.0  0.0      0     0 ?        S    14:29   0:00 [migration/1]
root        11  0.0  0.0      0     0 ?        S    14:29   0:00 [ksoftirqd/1]
root        13  0.0  0.0      0     0 ?        S<   14:29   0:00 [kworker/1:0H]
root        14  0.0  0.0      0     0 ?        S    14:29   0:00 [kdevtmpfs]
root        15  0.0  0.0      0     0 ?        S<   14:29   0:00 [netns]
root        22  0.0  0.0      0     0 ?        S    14:29   0:00 [xenwatch]
root        23  0.0  0.0      0     0 ?        S    14:29   0:00 [xenbus]
root       282  0.0  0.0      0     0 ?        S<   14:29   0:00 [writeback]
root       284  0.0  0.0      0     0 ?        S<   14:29   0:00 [crypto]
root       285  0.0  0.0      0     0 ?        S<   14:29   0:00 [kintegrityd]
root       286  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root       288  0.0  0.0      0     0 ?        S<   14:29   0:00 [kblockd]
root       302  0.0  0.0      0     0 ?        S<   14:29   0:00 [ata_sff]
root       317  0.0  0.0      0     0 ?        S<   14:29   0:00 [md]
root       407  0.0  0.0      0     0 ?        S<   14:29   0:00 [rpciod]
root       526  0.0  0.0      0     0 ?        S    14:29   0:00 [kswapd0]
root       527  0.0  0.0      0     0 ?        S<   14:29   0:00 [vmstat]
root       633  0.0  0.0      0     0 ?        S    14:29   0:00 [ecryptfs-kthre
root       635  0.0  0.0      0     0 ?        S<   14:29   0:00 [nfsiod]
root       644  0.0  0.0      0     0 ?        S<   14:29   0:00 [cifsiod]
root       656  0.0  0.0      0     0 ?        S    14:29   0:00 [jfsIO]
root       657  0.0  0.0      0     0 ?        S    14:29   0:00 [jfsCommit]
root       658  0.0  0.0      0     0 ?        S    14:29   0:00 [jfsCommit]
root       659  0.0  0.0      0     0 ?        S    14:29   0:00 [jfsSync]
root       665  0.0  0.0      0     0 ?        S<   14:29   0:00 [xfsalloc]
root       666  0.0  0.0      0     0 ?        S<   14:29   0:00 [xfs_mru_cache]
root       669  0.0  0.0      0     0 ?        S<   14:29   0:00 [glock_workqueu
root       670  0.0  0.0      0     0 ?        S<   14:29   0:00 [delete_workque
root       676  0.0  0.0      0     0 ?        S<   14:29   0:00 [gfs_recovery]
root      1283  0.0  0.0      0     0 ?        S    14:29   0:00 [khvcd]
root      1303  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1304  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1305  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1306  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1307  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1308  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1309  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1310  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1311  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1312  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1313  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1314  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1315  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1316  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1317  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1318  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1352  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1355  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1358  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1361  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1364  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1367  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1370  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1373  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1376  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1377  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1378  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1379  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1380  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1381  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1382  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1383  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1384  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1385  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1386  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1387  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1388  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1389  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1390  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1391  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1427  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1428  0.0  0.0      0     0 ?        S<   14:29   0:00 [drbd-reissue]
root      1429  0.0  0.0      0     0 ?        S<   14:29   0:00 [rbd]
root      1454  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1457  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1461  0.0  0.0      0     0 ?        S<   14:29   0:00 [kpsmoused]
root      1463  0.0  0.0      0     0 ?        S<   14:29   0:00 [raid5wq]
root      1467  0.0  0.0      0     0 ?        S<   14:29   0:00 [dm_bufio_cache
root      1491  0.0  0.0      0     0 ?        S<   14:29   0:00 [ipv6_addrconf]
root      1507  0.0  0.0      0     0 ?        S<   14:29   0:00 [ceph-msgr]
root      1533  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1547  0.0  0.0      0     0 ?        S<   14:29   0:00 [deferwq]
root      1548  0.0  0.0      0     0 ?        S<   14:29   0:00 [bioset]
root      1552  0.0  0.0      0     0 ?        S    14:29   0:00 [jbd2/xvda-8]
root      1553  0.0  0.0      0     0 ?        S<   14:29   0:00 [ext4-rsv-conve
root      1714  0.0  0.7  51196 14296 ?        Ss   14:29   0:07 /usr/lib/system
root      1717  0.0  0.0      0     0 ?        S    14:29   0:00 [kauditd]
root      1732  0.0  0.1  40764  3048 ?        Ss   14:29   0:00 /usr/lib/system
www       2246  0.7  2.5 453004 52988 ?        S    20:39   0:26 php-fpm: pool w
root      2518  0.0  0.1 116732  3060 ?        S<sl 14:29   0:01 /sbin/auditd -n
www       2538  0.5  2.2 447148 46860 ?        S    20:41   0:19 php-fpm: pool w
avahi     2560  0.0  0.1  28116  2684 ?        Ss   14:29   0:00 avahi-daemon: r
root      2568  0.0  0.6 452040 13696 ?        Ssl  14:29   0:01 /usr/sbin/Netwo
root      2570  0.0  0.5 216192 10700 ?        Ssl  14:29   0:02 /usr/sbin/rsysl
root      2572  0.0  0.9 550220 19984 ?        Ssl  14:29   0:03 /usr/bin/python
chrony    2574  0.0  0.1  24764  2580 ?        S    14:29   0:00 /usr/sbin/chron
avahi     2576  0.0  0.0  27984   232 ?        S    14:29   0:00 avahi-daemon: c
dbus      2578  0.0  0.1  26744  2996 ?        Ss   14:29   0:00 /bin/dbus-daemo
root      2580  0.0  0.0      0     0 ?        S<   14:29   0:00 [kworker/0:1H]
root      2581  0.0  0.1  34724  2800 ?        Ss   14:29   0:00 /usr/lib/system
root      2591  0.0  0.1  25968  2176 ?        Ss   14:29   0:00 /usr/sbin/atd -
root      2592  0.0  0.1 126336  3116 ?        Ss   14:29   0:00 /usr/sbin/crond
root      2616  0.0  0.0      0     0 ?        S<   14:29   0:00 [kworker/1:1H]
root      2618  0.0  0.1 110044  2216 hvc0     Ss+  14:29   0:00 /sbin/agetty --
root      2620  0.0  0.0 110044  1720 tty1     Ss+  14:29   0:00 /sbin/agetty --
polkitd   2623  0.0  0.5 514056 11636 ?        Ssl  14:29   0:00 /usr/lib/polkit
root      2628  0.0  0.0   6592  1400 ?        Ss   14:29   0:00 /sbin/iprupdate
root      2635  0.0  0.0   6592  1288 ?        Ss   14:29   0:00 /sbin/iprinit -
root      2648  0.0  0.0  39136    84 ?        Ss   14:29   0:00 /sbin/iprdump -
root      2670  0.0  0.9 104280 19136 ?        S    14:29   0:00 /sbin/dhclient
root      2879  0.0  0.2  82860  5916 ?        Ss   14:29   0:00 /usr/sbin/sshd
www       2979  0.5  2.2 447104 46892 ?        S    20:45   0:17 php-fpm: pool w
www       2981  0.7  2.8 456976 57132 ?        S    20:45   0:25 php-fpm: pool w
root      4502  0.0  0.0      0     0 ?        S    21:00   0:00 [kworker/0:0]
www       5639  0.9  2.6 453300 53988 ?        S    21:14   0:14 php-fpm: pool w
www       5650  0.6  2.0 442492 42408 ?        S    21:14   0:09 php-fpm: pool w
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-4-29 21:47:23 | 显示全部楼层

原帖由 我要奔潰了 于 2016-4-29 21:46 发表
[root@localhost ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.3  49184  6176 ?        Ss   14:29   0:02 /sbin/init nose
root         2  0.0 ...

接上面的

root      6595  0.0  0.0      0     0 ?        S    21:20   0:00 [kworker/1:0]
root      6710  0.0  0.0      0     0 ?        S    14:45   0:00 [kworker/u4:2]
root      7167  0.0  0.0      0     0 ?        S    14:53   0:00 [kworker/u4:0]
root      8406  0.0  0.0      0     0 ?        S    21:30   0:00 [kworker/0:3]
www       9352  0.7  2.2 447104 46752 ?        S    21:35   0:01 php-fpm: pool w
root     10074  0.6  0.3 134500  7636 ?        Ss   21:39   0:00 sshd: root [pri
sshd     10075  0.0  0.2  84280  4604 ?        S    21:39   0:00 sshd: root [net
root     10080  0.2  0.4 135568  8612 ?        Rs   21:39   0:00 sshd: root@pts/
root     10099  0.1  0.1 115392  3432 pts/0    Ss   21:39   0:00 -bash
root     10147  0.0  0.1 123396  2544 pts/0    R+   21:39   0:00 ps aux
root     10671  0.0  0.4 135568  8688 ?        Ss   15:45   0:00 sshd: root@pts/
root     10673  0.0  0.1 115516  3676 pts/4    Ss+  15:45   0:00 -bash
root     25012  0.0  0.0  60564  1100 ?        Ss   18:36   0:00 nginx: master p
www      25013  0.3  1.5  89488 32156 ?        S    18:36   0:35 nginx: worker p
www      25015  0.2  1.4  86196 29104 ?        S    18:36   0:31 nginx: worker p
root     25236  0.0  0.5 362076 10452 ?        Ss   18:36   0:00 php-fpm: master
www      25237  0.6  2.7 462928 56132 ?        S    18:36   1:14 php-fpm: pool w
www      25238  0.5  2.6 461232 54084 ?        S    18:36   1:03 php-fpm: pool w
www      25239  0.6  2.7 463116 55684 ?        S    18:36   1:08 php-fpm: pool w
www      25240  0.5  2.6 462804 54476 ?        S    18:36   1:01 php-fpm: pool w
www      25241  0.6  2.8 464772 57168 ?        S    18:36   1:08 php-fpm: pool w
www      25242  0.6  2.8 466404 58700 ?        S    18:36   1:08 php-fpm: pool w
www      25243  0.6  2.8 464748 58560 ?        S    18:36   1:08 php-fpm: pool w
www      25244  0.5  2.7 464836 56120 ?        S    18:36   1:03 php-fpm: pool w
www      25245  0.6  2.7 462840 55172 ?        S    18:36   1:12 php-fpm: pool w
www      25246  0.5  2.6 462776 54352 ?        S    18:36   0:58 php-fpm: pool w
www      25247  0.5  2.8 466644 57612 ?        S    18:36   1:05 php-fpm: pool w
www      25248  0.5  2.8 464588 58220 ?        S    18:36   1:03 php-fpm: pool w
www      25249  0.5  2.9 466640 59368 ?        S    18:36   1:01 php-fpm: pool w
www      25250  0.5  2.8 464504 57500 ?        S    18:36   1:04 php-fpm: pool w
www      25251  0.5  2.7 462540 56196 ?        S    18:36   0:58 php-fpm: pool w
www      25252  0.6  2.8 464488 57216 ?        S    18:36   1:06 php-fpm: pool w
www      25253  0.6  2.9 466740 59784 ?        S    18:36   1:07 php-fpm: pool w
www      25254  0.6  2.6 462596 54512 ?        S    18:36   1:11 php-fpm: pool w
www      25255  0.5  2.6 462544 54460 ?        S    18:36   1:02 php-fpm: pool w
www      25256  0.5  2.7 462896 55688 ?        S    18:36   1:05 php-fpm: pool w
www      25257  0.6  3.0 470816 62892 ?        S    18:36   1:08 php-fpm: pool w
www      25258  0.5  2.7 462796 55696 ?        S    18:36   1:01 php-fpm: pool w
www      25259  0.5  2.6 462472 54064 ?        S    18:36   0:57 php-fpm: pool w
www      25260  0.6  3.0 470552 61180 ?        S    18:36   1:06 php-fpm: pool w
www      25261  0.5  2.7 467464 56864 ?        S    18:36   1:05 php-fpm: pool w
www      25262  0.5  2.8 466636 58252 ?        S    18:36   1:04 php-fpm: pool w
www      25263  0.5  2.8 465640 58448 ?        S    18:36   1:04 php-fpm: pool w
www      25264  0.5  2.7 462552 55756 ?        S    18:36   1:01 php-fpm: pool w
www      25265  0.5  2.6 461388 54060 ?        S    18:36   0:58 php-fpm: pool w
www      25266  0.5  2.9 466636 60420 ?        S    18:36   1:03 php-fpm: pool w
www      25267  0.5  2.6 462968 54988 ?        S    18:36   1:03 php-fpm: pool w
www      25268  0.5  2.9 466960 59240 ?        S    18:36   1:02 php-fpm: pool w
www      25269  0.6  3.1 473812 64648 ?        S    18:36   1:08 php-fpm: pool w
www      25270  0.5  2.7 463012 55440 ?        S    18:36   1:02 php-fpm: pool w
www      25271  0.5  2.6 463588 53644 ?        S    18:36   1:02 php-fpm: pool w
www      25272  0.5  2.7 462768 55428 ?        S    18:36   0:59 php-fpm: pool w
www      25273  0.6  2.8 466660 58416 ?        S    18:36   1:09 php-fpm: pool w
www      25274  0.6  3.1 470444 63664 ?        S    18:36   1:06 php-fpm: pool w
www      25279  0.6  3.0 468580 61420 ?        S    18:36   1:07 php-fpm: pool w
www      25280  0.7  3.1 473152 64708 ?        S    18:36   1:17 php-fpm: pool w
www      25281  0.6  2.9 467248 59464 ?        S    18:36   1:07 php-fpm: pool w
www      25284  0.5  2.6 462636 54864 ?        S    18:36   1:03 php-fpm: pool w
www      25288  0.5  2.7 465116 55356 ?        S    18:36   1:04 php-fpm: pool w
www      25291  0.5  2.6 461400 54564 ?        S    18:36   1:01 php-fpm: pool w
www      25292  0.5  2.7 463400 56192 ?        S    18:36   1:05 php-fpm: pool w
www      25296  0.5  2.7 465644 56096 ?        S    18:36   1:05 php-fpm: pool w
www      25300  0.5  2.6 462692 54776 ?        S    18:36   1:01 php-fpm: pool w
www      25302  0.5  2.7 464584 55796 ?        S    18:36   1:00 php-fpm: pool w
www      25314  0.5  2.8 465592 57968 ?        S    18:36   1:03 php-fpm: pool w
www      25350  0.6  2.6 463060 54844 ?        S    18:37   1:08 php-fpm: pool w
www      25412  0.5  2.6 461192 53660 ?        S    18:38   1:01 php-fpm: pool w
www      25522  0.5  2.7 462908 55748 ?        S    18:39   0:58 php-fpm: pool w
www      25528  0.6  2.8 465372 57232 ?        S    18:39   1:08 php-fpm: pool w
www      25541  0.5  2.7 463336 55284 ?        S    18:39   0:57 php-fpm: pool w
www      25750  0.6  2.9 465956 59544 ?        S    18:42   1:04 php-fpm: pool w
www      26690  0.5  2.7 463252 56212 ?        S    18:52   0:54 php-fpm: pool w
www      26734  0.6  2.7 464356 56912 ?        S    18:53   1:02 php-fpm: pool w
www      26875  0.5  2.6 462528 54352 ?        S    18:54   0:54 php-fpm: pool w
www      26878  0.6  2.9 468440 59960 ?        S    18:54   0:59 php-fpm: pool w
www      26885  0.5  2.9 466796 59160 ?        S    18:54   0:56 php-fpm: pool w
www      28397  0.5  2.6 461352 53616 ?        S    19:19   0:45 php-fpm: pool w
www      28406  0.6  2.8 465352 57568 ?        S    19:19   0:52 php-fpm: pool w
www      28409  0.7  3.0 470684 62920 ?        S    19:19   0:59 php-fpm: pool w
www      28479  0.5  2.6 462820 54936 ?        S    19:20   0:45 php-fpm: pool w
www      28598  0.5  2.6 461884 53128 ?        S    19:23   0:45 php-fpm: pool w
www      28601  0.6  2.8 465368 57636 ?        S    19:23   0:49 php-fpm: pool w
www      28605  0.6  2.9 468512 60564 ?        S    19:23   0:50 php-fpm: pool w
www      28607  0.7  2.9 468840 60352 ?        S    19:23   1:01 php-fpm: pool w
root     30814  0.0  0.0      0     0 ?        S    20:01   0:00 [kworker/1:3]

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2016-4-29 22:00:22 | 显示全部楼层

回复 3# 的帖子


nginx (pid 11522 11521 11520) is running...
php-fpm is runing!
MySQL is not running, but lock file (/var/lock/subsys/mysql[FAILED]
发表于 2016-4-30 09:21:18 | 显示全部楼层

回复 6# 的帖子


rpm -qa|grep mysql 或 dpkg -l|grep mysql 看一下
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-4-19 07:37 , Processed in 0.028787 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表