军哥,lnmp1.5安装mysql8.0.11失败
groupadd: group 'mysql' already existsuseradd: 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 编辑 ] [ 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: *** Error 4
make: *** Error 2
make: *** Error 2
内存不够用被kill掉了,检查系统上的进程
回复 2# 的帖子
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDroot 10.00.1521483344 ? Ss Jun01 0:10 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
root 20.00.0 0 0 ? S Jun01 0:00
root 30.00.0 0 0 ? S Jun01 0:00
root 50.00.0 0 0 ? S< Jun01 0:00
root 60.00.0 0 0 ? S Jun01 0:00
root 70.00.0 0 0 ? S Jun01 0:00
root 80.00.0 0 0 ? S Jun01 0:00
root 90.00.0 0 0 ? R Jun01 0:04
root 100.00.0 0 0 ? S< Jun01 0:00
root 110.00.0 0 0 ? S Jun01 0:00
root 130.00.0 0 0 ? S Jun01 0:00
root 140.00.0 0 0 ? S< Jun01 0:00
root 150.00.0 0 0 ? S Jun01 0:00
root 160.00.0 0 0 ? S< Jun01 0:00
root 170.00.0 0 0 ? S< Jun01 0:00
root 180.00.0 0 0 ? S< Jun01 0:00
root 190.00.0 0 0 ? S< Jun01 0:00
root 200.00.0 0 0 ? S< Jun01 0:00
root 210.00.0 0 0 ? S< Jun01 0:00
root 270.00.0 0 0 ? S Jun01 0:01
root 280.00.0 0 0 ? SN Jun01 0:00
root 290.00.0 0 0 ? SN Jun01 0:00
root 300.00.0 0 0 ? S< Jun01 0:00
root 380.00.0 0 0 ? S< Jun01 0:00
root 390.00.0 0 0 ? S Jun01 0:01
root 400.00.0 0 0 ? S< Jun01 0:00
root 410.00.0 0 0 ? S< Jun01 0:00
root 420.00.0 0 0 ? S< Jun01 0:00
root 430.00.0 0 0 ? S< Jun01 0:00
root 560.00.0 0 0 ? S< Jun01 0:00
root 870.00.0 0 0 ? S Jun01 0:00
root 2170.00.0 0 0 ? S< Jun01 0:00
root 2270.00.0 0 0 ? S Jun01 0:00
root 2280.00.0 0 0 ? S< Jun01 0:00
root 2290.00.0 0 0 ? S Jun01 0:00
root 2300.00.0 0 0 ? S< Jun01 0:00
root 2350.00.0 0 0 ? S< Jun01 0:00
root 2410.00.0 0 0 ? S< Jun01 0:00
root 2500.00.0 0 0 ? S Jun01 0:00
root 2510.00.0 0 0 ? S< Jun01 0:00
root 3180.00.3550247480 ? Ss Jun01 0:00 /usr/lib/systemd/systemd-journald
root 3400.00.0445601208 ? Ss Jun01 0:00 /usr/lib/systemd/systemd-udevd
root 4240.00.055508 440 ? S<sl Jun01 0:00 /sbin/auditd
dbus 4460.00.0580761164 ? Ss Jun01 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
polkitd 4470.00.4 5385368836 ? SslJun01 0:00 /usr/lib/polkit-1/polkitd --no-debug
root 4540.00.0265081220 ? Ss Jun01 0:00 /usr/lib/systemd/systemd-logind
root 4590.00.025904 204 ? Ss Jun01 0:00 /usr/sbin/atd -f
root 4630.00.0 126280 984 ? Ss Jun01 0:00 /usr/sbin/crond -n
ntp 4680.00.0472401224 ? Ss Jun01 0:00 /usr/sbin/ntpd -u ntp:ntp -g
root 4780.00.0 110088 132 ttyS0 Ss+Jun01 0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220
root 4810.00.0 110088 128 tty1 Ss+Jun01 0:00 /sbin/agetty --noclear tty1 linux
root 6800.00.1 1073961992 ? 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 7460.00.1 2964203556 ? SslJun01 0:03 /usr/sbin/rsyslogd -n
root 7490.00.5 573812 11008 ? SslJun01 0:06 /usr/bin/python -Es /usr/sbin/tuned -l -P
root 7920.00.0314561296 ? SslJun01 0:43 /usr/local/aegis/aegis_update/AliYunDunUpdate
root 9100.20.5 130668 10924 ? SslJun01 2:43 /usr/local/aegis/aegis_client/aegis_10_43/AliYunDun
root 13920.00.023588 936 ? Ss Jun01 0:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
www 13950.01.245268 23308 ? S Jun01 0:00 nginx: worker process
root 14780.00.3 2646927288 ? Ss Jun01 0:01 php-fpm: master process (/usr/local/php/etc/php-fpm.conf)
www 14790.00.4 2648208852 ? S Jun01 0:00 php-fpm: pool www
www 14800.00.4 2648208852 ? S Jun01 0:00 php-fpm: pool www
www 14810.00.4 2648208848 ? S Jun01 0:00 php-fpm: pool www
www 14820.00.5 2648209816 ? S Jun01 0:00 php-fpm: pool www
www 14830.00.4 2648208852 ? S Jun01 0:00 php-fpm: pool www
www 14840.00.4 2648208856 ? S Jun01 0:00 php-fpm: pool www
www 14850.00.4 2648208852 ? S Jun01 0:00 php-fpm: pool www
www 14860.00.4 2648208848 ? S Jun01 0:00 php-fpm: pool www
www 14870.00.4 2648209084 ? S Jun01 0:00 php-fpm: pool www
www 14880.00.4 2648208852 ? S Jun01 0:00 php-fpm: pool www
root 16890.00.0 1128121268 ? Ss Jun01 0:00 /usr/sbin/sshd -D
www 17040.00.4 2648208856 ? S Jun01 0:00 php-fpm: pool www
www 17100.00.4 2648208852 ? S Jun01 0:00 php-fpm: pool www
root 17320.00.070740 892 ? SslJun01 0:04 /usr/sbin/aliyun-service
root 111960.00.3 1613966412 ? Ss 09:37 0:00 sshd: root@pts/0
root 112050.00.1 1155682184 pts/0 Ss 09:38 0:00 -bash
root 124900.00.4 1629047776 ? Ss 10:01 0:00 sshd: root@notty
root 124970.00.1721803016 ? Ss 10:01 0:00 /usr/libexec/openssh/sftp-server
root 134290.00.0 1553241872 pts/0 R+ 10:19 0:00 ps -aux
root 210200.00.0 0 0 ? S 02:30 0:00
root 324790.00.0 0 0 ? R 05:50 0:02
好像没有什么耗内存的程序 服务器是阿里云2g内存 aegis的和aliyun-server的进程都kill掉后, ./install.sh db 再安装试试
页:
[1]