VPS侦探论坛

 找回密码
 注册
查看: 4326|回复: 3

军哥,lnmp1.5安装mysql8.0.11失败

[复制链接]
发表于 2018-6-1 20:16:36 | 显示全部楼层 |阅读模式

groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
include/mysql.sh: line 710: /usr/local/mysql/bin/mysqld: No such file or directory
mysql.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mysql on
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh: line 50: /usr/local/mysql/bin/mysqladmin: No such file or directory
failed, try other way...
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh: line 63: /usr/local/mysql/bin/mysql: No such file or directory
Set password failed!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/main.sh: line 667: /usr/local/mysql/bin/mysql: No such file or directory
Update root password...
include/main.sh: line 667: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove anonymous users...
include/main.sh: line 667: /usr/local/mysql/bin/mysql: No such file or directory
include/main.sh: line 667: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 667: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 667: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 667: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!

[ 本帖最后由 adamin90 于 2018-6-1 20:18 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-6-1 21:06:27 | 显示全部楼层


[ 55%] Building CXX object sql/CMakeFiles/sql_gis.dir/item_geofunc_setops.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [sql/CMakeFiles/sql_gis.dir/item_geofunc_setops.cc.o] Error 4
make[1]: *** [sql/CMakeFiles/sql_gis.dir/all] Error 2
make: *** [all] Error 2

内存不够用被kill掉了,检查系统上的进程
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-6-2 10:20:35 | 显示全部楼层

回复 2# 的帖子


USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  52148  3344 ?        Ss   Jun01   0:10 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
root         2  0.0  0.0      0     0 ?        S    Jun01   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Jun01   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   Jun01   0:00 [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        S    Jun01   0:00 [kworker/u2:0]
root         7  0.0  0.0      0     0 ?        S    Jun01   0:00 [migration/0]
root         8  0.0  0.0      0     0 ?        S    Jun01   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        R    Jun01   0:04 [rcu_sched]
root        10  0.0  0.0      0     0 ?        S<   Jun01   0:00 [lru-add-drain]
root        11  0.0  0.0      0     0 ?        S    Jun01   0:00 [watchdog/0]
root        13  0.0  0.0      0     0 ?        S    Jun01   0:00 [kdevtmpfs]
root        14  0.0  0.0      0     0 ?        S<   Jun01   0:00 [netns]
root        15  0.0  0.0      0     0 ?        S    Jun01   0:00 [khungtaskd]
root        16  0.0  0.0      0     0 ?        S<   Jun01   0:00 [writeback]
root        17  0.0  0.0      0     0 ?        S<   Jun01   0:00 [kintegrityd]
root        18  0.0  0.0      0     0 ?        S<   Jun01   0:00 [bioset]
root        19  0.0  0.0      0     0 ?        S<   Jun01   0:00 [kblockd]
root        20  0.0  0.0      0     0 ?        S<   Jun01   0:00 [md]
root        21  0.0  0.0      0     0 ?        S<   Jun01   0:00 [edac-poller]
root        27  0.0  0.0      0     0 ?        S    Jun01   0:01 [kswapd0]
root        28  0.0  0.0      0     0 ?        SN   Jun01   0:00 [ksmd]
root        29  0.0  0.0      0     0 ?        SN   Jun01   0:00 [khugepaged]
root        30  0.0  0.0      0     0 ?        S<   Jun01   0:00 [crypto]
root        38  0.0  0.0      0     0 ?        S<   Jun01   0:00 [kthrotld]
root        39  0.0  0.0      0     0 ?        S    Jun01   0:01 [kworker/u2:1]
root        40  0.0  0.0      0     0 ?        S<   Jun01   0:00 [kmpath_rdacd]
root        41  0.0  0.0      0     0 ?        S<   Jun01   0:00 [kaluad]
root        42  0.0  0.0      0     0 ?        S<   Jun01   0:00 [kpsmoused]
root        43  0.0  0.0      0     0 ?        S<   Jun01   0:00 [ipv6_addrconf]
root        56  0.0  0.0      0     0 ?        S<   Jun01   0:00 [deferwq]
root        87  0.0  0.0      0     0 ?        S    Jun01   0:00 [kauditd]
root       217  0.0  0.0      0     0 ?        S<   Jun01   0:00 [ata_sff]
root       227  0.0  0.0      0     0 ?        S    Jun01   0:00 [scsi_eh_0]
root       228  0.0  0.0      0     0 ?        S<   Jun01   0:00 [scsi_tmf_0]
root       229  0.0  0.0      0     0 ?        S    Jun01   0:00 [scsi_eh_1]
root       230  0.0  0.0      0     0 ?        S<   Jun01   0:00 [scsi_tmf_1]
root       235  0.0  0.0      0     0 ?        S<   Jun01   0:00 [ttm_swap]
root       241  0.0  0.0      0     0 ?        S<   Jun01   0:00 [kworker/0:1H]
root       250  0.0  0.0      0     0 ?        S    Jun01   0:00 [jbd2/vda1-8]
root       251  0.0  0.0      0     0 ?        S<   Jun01   0:00 [ext4-rsv-conver]
root       318  0.0  0.3  55024  7480 ?        Ss   Jun01   0:00 /usr/lib/systemd/systemd-journald
root       340  0.0  0.0  44560  1208 ?        Ss   Jun01   0:00 /usr/lib/systemd/systemd-udevd
root       424  0.0  0.0  55508   440 ?        S<sl Jun01   0:00 /sbin/auditd
dbus       446  0.0  0.0  58076  1164 ?        Ss   Jun01   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
polkitd    447  0.0  0.4 538536  8836 ?        Ssl  Jun01   0:00 /usr/lib/polkit-1/polkitd --no-debug
root       454  0.0  0.0  26508  1220 ?        Ss   Jun01   0:00 /usr/lib/systemd/systemd-logind
root       459  0.0  0.0  25904   204 ?        Ss   Jun01   0:00 /usr/sbin/atd -f
root       463  0.0  0.0 126280   984 ?        Ss   Jun01   0:00 /usr/sbin/crond -n
ntp        468  0.0  0.0  47240  1224 ?        Ss   Jun01   0:00 /usr/sbin/ntpd -u ntp:ntp -g
root       478  0.0  0.0 110088   132 ttyS0    Ss+  Jun01   0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220
root       481  0.0  0.0 110088   128 tty1     Ss+  Jun01   0:00 /sbin/agetty --noclear tty1 linux
root       680  0.0  0.1 107396  1992 ?        Ss   Jun01   0:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient--eth0.lease -pf /var/run/dhclient-eth0.pid -H izbp1523ghr3ovtkymlii7z et
root       746  0.0  0.1 296420  3556 ?        Ssl  Jun01   0:03 /usr/sbin/rsyslogd -n
root       749  0.0  0.5 573812 11008 ?        Ssl  Jun01   0:06 /usr/bin/python -Es /usr/sbin/tuned -l -P
root       792  0.0  0.0  31456  1296 ?        Ssl  Jun01   0:43 /usr/local/aegis/aegis_update/AliYunDunUpdate
root       910  0.2  0.5 130668 10924 ?        Ssl  Jun01   2:43 /usr/local/aegis/aegis_client/aegis_10_43/AliYunDun
root      1392  0.0  0.0  23588   936 ?        Ss   Jun01   0:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
www       1395  0.0  1.2  45268 23308 ?        S    Jun01   0:00 nginx: worker process
root      1478  0.0  0.3 264692  7288 ?        Ss   Jun01   0:01 php-fpm: master process (/usr/local/php/etc/php-fpm.conf)
www       1479  0.0  0.4 264820  8852 ?        S    Jun01   0:00 php-fpm: pool www
www       1480  0.0  0.4 264820  8852 ?        S    Jun01   0:00 php-fpm: pool www
www       1481  0.0  0.4 264820  8848 ?        S    Jun01   0:00 php-fpm: pool www
www       1482  0.0  0.5 264820  9816 ?        S    Jun01   0:00 php-fpm: pool www
www       1483  0.0  0.4 264820  8852 ?        S    Jun01   0:00 php-fpm: pool www
www       1484  0.0  0.4 264820  8856 ?        S    Jun01   0:00 php-fpm: pool www
www       1485  0.0  0.4 264820  8852 ?        S    Jun01   0:00 php-fpm: pool www
www       1486  0.0  0.4 264820  8848 ?        S    Jun01   0:00 php-fpm: pool www
www       1487  0.0  0.4 264820  9084 ?        S    Jun01   0:00 php-fpm: pool www
www       1488  0.0  0.4 264820  8852 ?        S    Jun01   0:00 php-fpm: pool www
root      1689  0.0  0.0 112812  1268 ?        Ss   Jun01   0:00 /usr/sbin/sshd -D
www       1704  0.0  0.4 264820  8856 ?        S    Jun01   0:00 php-fpm: pool www
www       1710  0.0  0.4 264820  8852 ?        S    Jun01   0:00 php-fpm: pool www
root      1732  0.0  0.0  70740   892 ?        Ssl  Jun01   0:04 /usr/sbin/aliyun-service
root     11196  0.0  0.3 161396  6412 ?        Ss   09:37   0:00 sshd: root@pts/0
root     11205  0.0  0.1 115568  2184 pts/0    Ss   09:38   0:00 -bash
root     12490  0.0  0.4 162904  7776 ?        Ss   10:01   0:00 sshd: root@notty
root     12497  0.0  0.1  72180  3016 ?        Ss   10:01   0:00 /usr/libexec/openssh/sftp-server
root     13429  0.0  0.0 155324  1872 pts/0    R+   10:19   0:00 ps -aux
root     21020  0.0  0.0      0     0 ?        S    02:30   0:00 [kworker/0:1]
root     32479  0.0  0.0      0     0 ?        R    05:50   0:02 [kworker/0:0]

好像没有什么耗内存的程序 服务器是阿里云2g内存
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-6-2 10:39:24 | 显示全部楼层



aegis的和aliyun-server的进程都kill掉后, ./install.sh db 再安装试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-24 03:19 , Processed in 0.027672 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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