linux一键安装包
33587

Ubuntu 18.4安装禅道9.8.3 linux 64位一键版本已解决 悬赏5积分

提问者老段 答案数3 阅读数6167 发表时间2018-06-03 16:11:43

1、tomcat启动成功,MySQL启动不成功。

root@userver02:/opt/zbox# ./zbox start
Start Apache success
Start Mysql fail. You can see the log /opt/zbox/logs/mysql_error.log

启动日志中的错误

2018-04-08 17:31:16 140518391293760 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-04-08 17:31:16 140518391293760 [Note] InnoDB: The InnoDB memory heap is disabled
2018-04-08 17:31:16 140518391293760 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-04-08 17:31:16 140518391293760 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2018-04-08 17:31:16 140518391293760 [Note] InnoDB: Compressed tables use zlib 1.2.3.4
2018-04-08 17:31:16 140518391293760 [Note] InnoDB: Using generic crc32 instructions
2018-04-08 17:31:16 140518391293760 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-04-08 17:31:16 140518391293760 [Note] InnoDB: Completed initialization of buffer pool
2018-04-08 17:31:17 140518391293760 [Note] InnoDB: Highest supported file format is Barracuda.
2018-04-08 17:31:17 140518391293760 [Note] InnoDB: 128 rollback segment(s) are active.
2018-04-08 17:31:17 140518391293760 [Note] InnoDB: Waiting for purge to start
2018-04-08 17:31:17 140518391293760 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.35-80.0 started; log sequence number 1600829
2018-04-08 17:31:17 140517927745280 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-04-08 17:31:17 140518391293760 [Note] Plugin 'FEEDBACK' is disabled.
2018-04-08 17:31:17 140518391293760 [Note] Server socket created on IP: '127.0.0.1'.
2018-04-08 17:31:17 140517992728320 [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.


2018-04-08 17:31:17 140517927745280 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-04-08 17:31:17 140518391293760 [Note] Plugin 'FEEDBACK' is disabled.
2018-04-08 17:31:17 140518391293760 [Note] Server socket created on IP: '127.0.0.1'.
2018-04-08 17:31:17 140517992728320 [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.
2018-04-08 17:31:17 140517992728320 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1932: Table 'mysql.gtid_slave_pos' doesn't exist in engine
2018-04-08 17:31:17 140518391293760 [Note] /opt/zbox/run/mysql/mysqld: ready for connections.
Version: '10.1.22-MariaDB'  socket: '/opt/zbox/tmp/mysql/mysql.sock'  port: 3307  Source distribution
2018-04-08 18:09:05 140517992126208 [Note] /opt/zbox/run/mysql/mysqld: Normal shutdown

2018-04-08 18:09:05 140517992126208 [Note] Event Scheduler: Purging the queue. 0 events
2018-04-08 18:09:06 140517841041152 [Note] InnoDB: FTS optimize thread exiting.
2018-04-08 18:09:06 140517992126208 [Note] InnoDB: Starting shutdown...
2018-04-08 18:09:06 140517992126208 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-04-08 18:09:08 140517992126208 [Note] InnoDB: Shutdown completed; log sequence number 1600839
2018-04-08 18:09:08 140517992126208 [Note] /opt/zbox/run/mysql/mysqld: Shutdown complete

2018-04-13 10:30:55 140504566159168 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: The InnoDB memory heap is disabled
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: Compressed tables use zlib 1.2.3.4
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: Using generic crc32 instructions
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: Completed initialization of buffer pool
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: Highest supported file format is Barracuda.
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: 128 rollback segment(s) are active.
2018-04-13 10:30:55 140504566159168 [Note] InnoDB: Waiting for purge to start
2018-04-13 10:30:55 140504566159168 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.35-80.0 started; log sequence number 1600839
2018-04-13 10:30:55 140504101189376 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-04-13 10:30:55 140504566159168 [Note] Plugin 'FEEDBACK' is disabled.
2018-04-13 10:30:55 140504566159168 [Note] Server socket created on IP: '127.0.0.1'.
2018-04-13 10:30:55 140504566159168 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 98: Address already in use
2018-04-13 10:30:55 140504566159168 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2018-04-13 10:30:55 140504566159168 [ERROR] Aborting



禅道版本:9.8.3

安装包类型:Linux安装包

操作系统:Ubuntu

客户端浏览器:IE11

备注

从服务器上面删除了mysql-server,但是还是不能启动

错误日志:

6.5截屏

设置备注
内容
答案列表
🚢
2018-06-04 09:33:18

可以切换mysql端口号试一下

   /opt/zbox/zbox stop
   /opt/zbox/zbox  -mp 3308
   /opt/zbox/zbox  start
3308换成实际需要修改的端口。

🎱
2018/06/04
您好,使用命令
netstat -anp|grep 3306,
发现3306端口没有被占用
执行
./zbox -mp 3308
修改端口后,启动依旧报错
🚢
2018/06/04
/opt/zbox/zbox stop
ps -ef | grep mysql
执行这个命令截图看下。
🎱
2018/06/04
您好!Ubuntu server18.4 确实默认安装了mysql-server,
使用apt autoremove以后,移除mysql-server,然后看到的安装包中没有mysql-server,进程中也没有mysql。
截屏以及日志的截屏请见备注中的截屏。谢谢
🚢
2018/06/05
你好,看报错内容,是由于端口号占用的原因。
/opt/zbox/zbox stop
/opt/zbox/zbox -mp 3308
/opt/zbox/zbox start
ps -ef | grep mysql
执行这几个命令,截图看下结果。
🎱
2018/06/05
您好,已经执行了相应命令,截屏请见备注。谢谢
🚢
2018/06/07
您好,我们测试了一下,ubuntu18.04运行一键安装包有些问题,这里已经记录bug了http://pms.zentao.net/bug-view-1896.html,谢谢反馈。
可以试下下载官方的lampp包,安装后,使用源码包的方式安装一下禅道。
😀
2018-06-05 17:44:29

我也是刚安装的Ubuntu 18.4系统,在安装禅道9.8.3 linux 64位一键版本的时候,遇到楼主一样的问题.

🚢
2018/06/07
您好,我们测试了一下,ubuntu18.04运行一键安装包有些问题,这里已经记录bug了http://pms.zentao.net/bug-view-1896.html,谢谢反馈。
可以试下下载官方的lampp包,安装后,使用源码包的方式安装一下禅道。
📻
2018-06-09 10:55:01
重启系统试试,
联系我们
联系人
张淑钧/高级客户经理
电话(微信)
13156280939
QQ号码
2082428410
联系邮箱
zhangshujun@chandao.com
返回顶部
张淑钧
高级客户经理
13156280939
2082428410
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。