分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 软件开发

webacula不能访问 报错解决方案

发布时间:2023-09-06 01:19责任编辑:胡小海关键词:暂无标签

查看apache的错误日志

# tail -f /etc/httpd/logs/error_log

错误1:

[error] [client 10.0.0.1] PHP Fatal error: Uncaught exception ‘Zend_Exception‘ with message ‘Bacula version mismatch for the Catalog database. Wanted 14, got 15. ‘ in /var/www/webacula/html/index.php:195\nStack trace:\n#0 {main}\n thrown in /var/www/webacula/html/index.php on line 195

通过修改/var/www/webacula/html/index.php 中的 define(‘BACULA_VERSION‘, 14); 将14改为15,重启就可以进入访问页面了。

错误2:

[error] [client 10.0.0.1] PHP Fatal error: Uncaught exception ‘Zend_Exception‘ with message ‘Directory "/var/www/webacula/data/cache" is not exists or not writable.‘ in /var/www/webacula/html/index.php:203\nStack trace:\n#0 {main}\n thrown in /var/www/webacula/html/index.php on line 203

可更改目录权限解决问题

# chmod 777 /var/www/webacula/data/cache

错误3:

bconsole: ERROR TERMINATION at parse_conf.c:919
Config error: Cannot open config file "/opt/bacula/etc/bconsole.conf": Permission denied

编辑 # vim /var/www/webacula/application/config.ini配置文件
修改为 bacula.sudo = "/usr/bin/sudo"


本文出自 “Ogre之路” 博客,请务必保留此出处http://ogrecn.blog.51cto.com/12502697/1974571

webacula不能访问 报错解决方案

原文地址:http://ogrecn.blog.51cto.com/12502697/1974571

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved