lemoba 发表于 2020-7-28 10:35:03

LNMP安装失败

Installed:
iptables-services.aarch64 0:1.4.21-34.el7                                    

Dependency Updated:
iptables.aarch64 0:1.4.21-34.el7                                             

Complete!
iptables: Saving firewall rules to /etc/sysconfig/iptables:
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Add iptables service at system startup...
Created symlink from /etc/systemd/system/basic.target.wants/iptables.service to /usr/lib/systemd/system/iptables.service.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/nginx.service to /etc/systemd/system/nginx.service.
Starting nginx...done
Add mysql service at system startup...
/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)
Add php-fpm service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/php-fpm.service to /etc/systemd/system/php-fpm.service.
Starting php-fpmdone
============================== Check install ==============================
Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
PHP-FPM: OK
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
#

服务器:鲲鹏通用计算增强型 | kc1.large.2 | 2vCPUs | 4GB64bit ARM架构


lemoba 发表于 2020-7-28 10:54:28

单独安装成功了

licess 发表于 2020-7-28 13:02:43

[ 19%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/handler/handler0alter.cc.o
/root/lnmp1.7/src/mysql-5.7.30/storage/innobase/handler/handler0alter.cc: In member function ‘virtual bool ha_innobase::commit_inplace_alter_table(TABLE*, Alter_inplace_info*, bool)’:
/root/lnmp1.7/src/mysql-5.7.30/storage/innobase/handler/handler0alter.cc:9015:1: error: could not split insn
}
^
(insn 7305 19482 19484 (parallel [
            (set (reg:DI 0 x0 )
                (plus:DI (mem/v:DI (reg/f:DI 28 x28 ) [-1S8 A64])
                  (const_int 536870912 )))
            (set (mem/v:DI (reg/f:DI 28 x28 ) [-1S8 A64])
                (unspec_volatile:DI [
                        (mem/v:DI (reg/f:DI 28 x28 ) [-1S8 A64])
                        (const_int 536870912 )
                        (const_int 5 )
                  ] UNSPECV_ATOMIC_OP))
            (clobber (reg:CC 66 cc))
            (clobber (reg:SI 6 x6))
      ]) /root/lnmp1.7/src/mysql-5.7.30/storage/innobase/include/sync0rw.ic:317 1856 {atomic_add_fetchdi}
   (expr_list:REG_UNUSED (reg:CC 66 cc)
      (expr_list:REG_UNUSED (reg:SI 6 x6)
            (nil))))
/root/lnmp1.7/src/mysql-5.7.30/storage/innobase/handler/handler0alter.cc:9015:1: internal compiler error: in final_scan_insn, at final.c:2897
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccJvRZDe.out file, please attach this to your bugreport.
make: *** Error 1
make: *** Error 2
按日志这个貌似是mysql在aarch64架构下的bug,https://bugs.mysql.com/bug.php?id=97547
mariadb在aarch64好像也是有bug的,可以按上面bug里的提示按 https://www.vpser.net/manage/centos-6-upgrade-gcc.html 升级gcc 8后再试试看
页: [1]
查看完整版本: LNMP安装失败