• 31536阅读
  • 25回复

[P6 6.0-6.2版本]没有配置数据库以运行后台任务....最终解决办法--详见11、12楼 [复制链接]

上一主题 下一主题
 

只看楼主 倒序阅读 0楼 发表于: 2008-03-30
— 本帖被 检查用户名 执行取消置顶操作(2009-03-30) —
关键词: 安装primavera
SQL ServerExpress (2005) :>Gm&w (n  
By t{3$  
微软在 SQL Server Express 2005 中未提供作业调度程序,因此 Primavera 创建了在 SQL Server Express 2005 上运行 Primavera 6.0 后台作业的代理服务.该 Windows 服务 Primavera Background Agent(服务名称:PrmBackAgent)在 Primavera 6.0 单机版与 SQL Server Express 2005 一同使用时自动安装. 0Wf,SYx`s  
X^PR];V:$  
注:PrmBackAgent 服务在需要时由 Primavera 6.0 安装程序自动安装,通常不需要手动安装或启动,除非是在安装 Primavera 6.0 单机版之后安装 SQL Server Express (2005). 手动安装 PrmBackAgent 虽然该服务是在需要时由 Primavera 安装程序自动安装,但也可手动安装.要手动安装该服务,必须是拥有所涉及数据库管理员权限的Windows 用户.请按以下步骤来手动安 装服务.
~ituPrH%<  
*{]9e\DF  
1从 CD 1 上的 Data1.cab 文件中提取 prmbackgroundagent.exe 可执 行文件. }ST9& w i~  
u3 mTsq!  
2将 prmbackgroundagent.exe 文件放置在本机的某个文件夹中 (例如,C:\Primavera\PrmBackAgent). .TN9N  
GdqT4a\S  
3单击"启动"菜单中的"运行". YQ`G OP#/  
Bf Lh%XC  
4替换步骤 2 中 prmbackgroundagent.exe 文件的相关路径,并执行命令以安装服务: !s;+6Sy  
c:\primavera\PrmBackAgent\prmbackgroundagent.exe /install t@Qs&DZ7k  
1;p'2-x  
手动注册和启动 PrmBackAgent 服务 在启动服务之前,必须将包含Primavera 6.0 数据库的数据库实例名称添加到注册表中.请按照 以下步骤来将数据库实例名称手动添加到注册表中. mAk@Q|u  
llbj-9OZL  
1将一个名为"prmbackgroundAgent"的新注册表键添加到 HKEY_LOCAL_MACHINE\SOFTWARE\Primavera  中. &~+lXNXF  
{89F*  
2将新字符串值添加到名为"Server"的新键中,且该值与本地SQL Server Express(如,MyDesktop\sqlexpress)的实例名称 相匹配. #\G{2\R  
g?ID}E ~<  
3完成以上步骤后,使用服务控制面板来启动代理服务.代理服务 c <[?Z7y  
将在各个数据库中检测 Primavera 架构的实例并运行相关作业.
}LNpr  
goi5I(yn^  
-------------------------------------------------------------------------------------------------------- ,z1X{  
dZ&/Iz  
具体可以看11楼12楼 xingkongqy 发的帖子!
[ 此帖被检查用户名在2009-02-05 16:16重新编辑 ]
论坛十六周年庆!

只看该作者 1楼 发表于: 2008-07-30
哈哈,这个不错,刚刚在意到呢 ]<mXf~zg  
谢谢lz

只看该作者 2楼 发表于: 2008-07-30
用户被禁言,该主题自动屏蔽!

只看该作者 3楼 发表于: 2008-07-30
引用第2楼shangrila1于2008-07-30 22:16发表的  : Pp1HOJYJp0  
CD2怎么安装阿
Esw#D90q  
SLO;c{EFH  
安装P6 web 么?
论坛十六周年庆!
只看该作者 4楼 发表于: 2008-10-12
单机版如何解决此问题呢>
只看该作者 5楼 发表于: 2008-10-16
糊涂啊~~

只看该作者 6楼 发表于: 2008-10-16
引用第2楼shangrila1于2008-07-30 22:16发表的  : >up'`K,  
CD2怎么安装阿
)h&s.k  
$A,fO~  
w35r\x +  
按如上方法操作啊!
论坛十六周年庆!

只看该作者 7楼 发表于: 2008-10-22
HKEY_LOCAL_MACHINE\SOFTWARE\Primavera !xyO  
老大,好像reg的地址是这里吧

只看该作者 8楼 发表于: 2008-10-23
不过好像问题还是没有解决
只看该作者 9楼 发表于: 2008-10-28
许可固定用户数比配置的固定用户数少, 点用户设置后退不出来。 用户全部删除了,还是提示。  

只看该作者 10楼 发表于: 2008-11-07
注册表更改的1..2..两项目还是不明白.楼主能再详细一点给说明一下吗...晕还是做不好啊..

只看该作者 11楼 发表于: 2009-02-05
我搞定了,大家可以上我的BLOG里面去看看  S]ZO*+  
$/,qw   
http://roger.wei.blog.163.com/blog/static/794363382009151192084/ kM]:~b2  
cRz7.9-<  
中英文对照,图文并茂~
[ 此帖被xingkongqy在2009-02-05 16:19重新编辑 ]

只看该作者 12楼 发表于: 2009-02-05
SQL Server Express (2005) SCHEDULER: SQL 2005 Express 调度程序  \A:m<::  
Since Microsoft does not supply a process scheduler with SQL Server Express 2005, Primavera has created an agent that runs P6 background processes on SQLServer Express 2005. This Windows service, Primavera Background Agent(Service Name: Primavera Background Agent), is automatically installed when the standalone installation of P6 is used along with SQL Server Express 2005. t-dN: 1  
微软在 SQL Server Express 2005 中未提供作业调度程序,因此 Primavera 创建了在 SQL Server Express 2005 上运行 Primavera 6.0 后台作业的代理服务。该 Windows 服务 Primavera Background Agent(服务名称:PrmBackAgent)在 Primavera 6.0 单机版与 SQL Server Express 2005 一同使用时自动安装。 /fA:Fnv  
JO5~Vj_"  
Note: The Primavera Background Agent service is installed automatically by the P6 standalone installation and generally does not need to be manually installed @z$V(}(O^  
You may need to install the service if: W f 13Ab  
1. You have installed SQL Server Express (2005) after installing the standalone version of P6. s \#kqw\x  
2. You have installed SQL Server Express (2005) on a server that doesn't have P6 installed on it. (rt DT  
注:PrmBackAgent 服务在需要时由 Primavera 6.0 安装程序自动安装,通常不需要手动安装或启动,除非是在安装 Primavera 6.0 单机版之后安装 SQL Server Express (2005)或者SQL 2005 Express的服务器上没有安装Primavera 6.0。 QV+('  
w|>:mQnU  
Manually Installing PrmBackAgent under SQL 2005 Express ~6!=_"  
在SQL 2005 Express上手动安装PrmBackAgent服务 9NaC7D$,  
_.J{U0N  
Note: This is not required for full SQL 2000/2005 only SQL 2005 Express ")ow,r^"  
注:在SQL 2000/2005上不需要手动安装PrmBackAgent服务 ?ZdHuuDN~  
f|?i6.N> f  
Althoughthe service is installed automatically by the P6 standaloneinstallation, the service can also be installed manually on the machinewhere the database is located. To install the service manually, youmust be a Windows user with admin access to the databases involved.Follow the procedure below to manually install the service. : i3-7k  
1  Extract the prmbackgroundagent.exe executable from the Data1.cab file on CD 1. z i2hi9A  
2  Place the prmbackgroundagent.exe file in a directory on the local machine (for example, C:\Primavera\PrmBackAgent). l+kI4B7--  
3  From the Start menu, click Run. |GL#E"[&'  
4  Substituting the appropriate path to the prmbackgroundagent.exe file from step 2, execute the following command to install the service: 5 LhFD  
C:\Primavera\PrmBackAgent\prmbackgroundagent.exe /install V5K`TC^  
4&K~EX"^T  
虽然该服务是在需要时由 Primavera 安装程序自动安装,但也可手动安装。要手动安装该服务,必须是拥有所涉及数据库管理员权限的 Windows 用户。请按以下步骤来手动安装服务。 y M , hF  
1 从 CD 1 上的 Data1.cab 文件中提取 prmbackgroundagent.exe 可执行文件。 M^mS#< !y  
2 将 prmbackgroundagent.exe 文件放置在本机的某个文件夹中(例如,C:\Primavera\PrmBackAgent)。 vwZ2kk!|i  
3 单击“启动”菜单中的“运行”。 ff-9NvW4v  
4 替换步骤 2 中 prmbackgroundagent.exe 文件的相关路径,并执行命令以安装服务: >8t3a-/  
c:\primavera\PrmBackAgent\prmbackgroundagent.exe /install zjM+F{P8  
ff?:_q+.N  
Manually Registering and Starting PrmBackAgent under SQL 2005 Express VZb0x)w  
手动注册和启动 PrmBackAgent 服务 Th`IpxV  
fseHuL=~  
Before starting the service, the name of theserver instance containing the P6 databases must be added to theregistry. Follow the procedure below to manually add the serverinstance name to the registry. }c| Xr^  
在启动服务之前,必须将包含 Primavera 6.0 数据库的数据库实例名称添加到注册表中。请按照以下步骤来将数据库实例名称手动添加到注册表中。 `WC~cb\  
DWHl,w;[z`  
&0K H00l  
1.  Right-click on HKEY_LOCAL_MACHINE\Software\Primavera and choose "New", "Key". tE9%;8;H  
在HKEY_LOCAL_MACHINE\Software\Primavera 中添加一个新注册表键 H;G*tje/M  
[US.n +G6  
QlSZr[^v  
Enter the name "BackgroundAgent" K S,X$)9  
输入键值"BackgroundAgent" -1:yqF.x  
?#rDoYt/Sx  
oslrv7EK  
2.  Right-click on BackgroundAgent and choose "New", "String Value".  Enter "Server".   ?X]7jH<iw;  
右键点击BackgroundAgent,选择增加新字符串值,输入“Server”。 4rw<C07Z  
Tr(w~et  
X[(u]h`  
Qi w "x,  
SH<Nt[8C  
^$6EO) <  
3.  Right-click on Server and choose "Modify".  Enter the SQL Server instance name in the "Value Data" field.   kZ[E493bV  
NOTE:  for standalone installations localhost\primavera can be used. {&4+W=0 n  
&`Z>zT}  
右键点击Server,选择更改,输入SQL Server Express的名称。 W.HM!HQp  
注:该值与本地 SQL Server Express(例如,MyDesktop\sqlexpress)的实例名称相匹配。单机版本可以使用localhost\primavera。 R8W{[@  
|*fGG?}  
rMH\;\ I|U  
vc^qpOk  
4.  When this is complete, reboot the machine. f}Mc2PQ-  
完成后,重新启动计算机 }<[@)g.h.  
*=$Jv1"Q +  
Initializing Primavera Background Jobs nkG1&wiX  
初始Primavera后台作业 NJI-8qTGI  
GASDkVoij  
Go to Start->Programs->Microsoft SQL Server 2005->SQL Server Management Studio Express. P@`@?kMU  
选择开始->程序->Microsoft SQL Server 2005->SQL Server Management Studio Express. w +fsw@dK&  
Click Connect to log in. &j<B22t!  
选择链接进行登陆 YiTiJ9jf  
U,gg@!1GJo  
QaH32(iH  
Click on "New Query" 0> 6J -   
点击“新查询” wI'T J e,  
\'xF\V  
CCNrjaA  
Type: "use nameofdatabase ]o$aGrZ  
exec initialize_background_procs" j2#RO>`,I  
Where nameofdatabase is your Primavera Database name. The default is pmdb$primavera or PMDB. tda#9i[pkH  
Click the Execute button to run the query. fa//~$#"{L  
输入 "use nameofdatabase 9. 6"C<eYt  
exec initialize_background_procs" "use nameofdatabase x"9`w 42\r  
nameofdatabase为Primavera,默认名字为pmdb$primavera或者PMDB。 <U%4$83$  
点击运行按钮执行查询。 ?1T)cd*  
{ 0RwjPYp  
If it was successful it will show "Command(s) completed successfully". v*iD)k:|t  
Close out of SQL 2005 Express. 3q:U0&F  
成功运行后,显示"Command(s) completed successfully"。关闭SQL 2005 Express。 R.@I}>  
/'' |bIPa  
Open up Project Management.  You may still see the error message.  If so,..... & Xm !i(i  
Let the program open fora couple of minutes to trigger the jobs to run. Symon process should run every 1 minute and Damon process every 5 minutes. Once both these jobs have ran successfully for the first time the users should not receive the error message while logging into Project Management. "m,)3zND3  
打开PM,错误信息还是会出现,这时让程序继续运行来触发后台作业执行。Symon进程每一分钟运行一次,Damon进程每五分钟运行一次。当这两个进程完成第一次运行,登陆PM将不再出现错误信息。
[ 此帖被检查用户名在2009-02-05 15:57重新编辑 ]
2条评分
检查用户名 贡献值 +10 优秀文章 2009-02-05
检查用户名 贡献值 +10 优秀文章 2009-02-05

只看该作者 13楼 发表于: 2009-02-05
谢谢斑竹帮忙编辑~~

只看该作者 14楼 发表于: 2009-02-05
谢谢共享  
那美丽的天,总是一望无边…
只看该作者 15楼 发表于: 2009-03-20
鉴定结果: &~=FX e0S  
.w,$ TezGP  
8=! uQQ  
按照此法在p6.2上面没有效果。 &?g!)O  
hZ_@U?^  
鉴定完毕。

只看该作者 16楼 发表于: 2009-03-24
问题解决,非常感谢!
只看该作者 17楼 发表于: 2009-03-27
楼主和撰稿人太强悍了,谢谢

只看该作者 18楼 发表于: 2009-04-11
重新安装时,不能运行
只看该作者 19楼 发表于: 2009-04-12
请问"没有配置数据库以运行后台任务",解决这个主要的好处在哪里呢? 一直很困惑。
快速回复
限1000 字节
 
上一个 下一个