【环境信息】
openeulerversion=openEuler-23.09
compiletime=2023-08-23-17-31-23
gccversion=12.3.1-7.oe2309
kernelversion=6.4.0-1.0.1.5.oe2309
openjdkversion=1.8.0.382.b05-0.oe2309
软件信息:
obs-server-2.10.15-7.oe2309
问题复现步骤】
具体操作步骤
dnf install -y mariadb-server obs-api obs-server postgresql-libs
mv /etc/my.cnf /etc/my.bak
systemctl start mariadb
echo 'create database api_production;' | mysql
systemctl start obssrcserver
sed -i 's/^OBS_API_AUTOSETUP=.*/OBS_API_AUTOSETUP="yes"/g' /etc/sysconfig/obs-server
systemctl start obsapisetup
systemctl start obs-clockwork.service
systemctl start obs-sphinx.service
出现概率(是否必现,概率性错误)
【预期结果】
服务启动成功,没有报错
【实际结果】
Hi zhangpanting, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Others, and any of the maintainers: @small_leek , @jimmy_hero , @mdche , @王歌
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
失败原因:未适配高版本ruby
适配后可正常启动,截图如下:
正常启动的前提是关闭selinux
关闭selinux的原因,是数据库mariadb创建的socket文件,包selinux-policy中没有对应的策略。并且selinux-policy配置中同样没有对gpg的执行权
同:#I79UAS:【22.03-LTS-SP2 RC2】【arm/x86 】obsapisetup.service 服务启动失败
验收通过
登录 后才可以发表评论