随笔-25  评论-113  文章-16  trackbacks-46

Wildfire数据库安装/连接时出现的错误

安装完Wildfire服务器后,要对服务器进行配置及安装管理员控制台。

Admin Console

After completing the above steps, Wildfire will be configured and you can use the web-based admin console to administer the server. The URL should be the same as you used to setup the server unless you changed the port during the setup.

由于使用的是SQL Server,所以在安装进行到第三步时,根据文档说明我的连接字符串应该是:

Connectionjdbc:jtds:sqlserver://127.0.0.1/wildfire;appName=jive

虽然在SQL Server2005已经将wildfire数据库建好了,也通过提供的.sql文件建立了需要的表,同时1433端口也是开通的。但是出现了下面的错误:

ErrorA connection to the database could not be made. View the error message by opening the "\logs\error.log" log file, then go back to fix the problem.

因为SQL Server默认下将 服务器属性/安全性 中的服务器身份验证方式设置为Windows身份验证模式,所以我在用户名/密码处都设空,结果便出现了这个错误。今天我将服务器身份验证模式改为了“SQL Server 和 Windows身份验证模式”,然为wildfire数据库设置了一个登录名(用户)test,然后把Wildfire数据库连接设置中的用户名/密码设置为了对应的值。于是错误消失了。

不过问题还是有的。在点设置的下一步时出现了另一个错误:

ErrorWildfire database schema does not appear to be installed. Follow the installation guide to fix this error.

错误提示Wildfire数据库(语句集schema)没有显示出安装过的迹象。这里很关键的是does not appear to,可能只是表面上没有安装。所以查看了下登录名test的登录属性,发现将此用于映射到Wildfire数据库时,未在数据库角色成员身份中为其分配角色。默认是public,于是添加了一个选择——db_owner。然后回到Wildfire web控制面板,点下一步。成功!

 

posted on 2006-12-26 13:10 Hunts.C 阅读(843) 评论(2) 编辑 收藏