• 31544阅读
  • 25回复

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

上一主题 下一主题
 

只看楼主 倒序阅读 0楼 发表于: 2008-03-30
— 本帖被 检查用户名 执行取消置顶操作(2009-03-30) —
关键词: 安装primavera
SQL ServerExpress (2005) J [1GP_  
*;Vq0a!  
微软在 SQL Server Express 2005 中未提供作业调度程序,因此 Primavera 创建了在 SQL Server Express 2005 上运行 Primavera 6.0 后台作业的代理服务.该 Windows 服务 Primavera Background Agent(服务名称:PrmBackAgent)在 Primavera 6.0 单机版与 SQL Server Express 2005 一同使用时自动安装. ?NL2|8  
sEoS|"  
注:PrmBackAgent 服务在需要时由 Primavera 6.0 安装程序自动安装,通常不需要手动安装或启动,除非是在安装 Primavera 6.0 单机版之后安装 SQL Server Express (2005). 手动安装 PrmBackAgent 虽然该服务是在需要时由 Primavera 安装程序自动安装,但也可手动安装.要手动安装该服务,必须是拥有所涉及数据库管理员权限的Windows 用户.请按以下步骤来手动安 装服务.
zMa`olTZ  
xsfq[}eH<  
1从 CD 1 上的 Data1.cab 文件中提取 prmbackgroundagent.exe 可执 行文件. n}l Z  
KksbhN{AB  
2将 prmbackgroundagent.exe 文件放置在本机的某个文件夹中 (例如,C:\Primavera\PrmBackAgent). B 7#;tCf  
e"v Eh  
3单击"启动"菜单中的"运行". V #=N?p  
F?UL0Q|uv  
4替换步骤 2 中 prmbackgroundagent.exe 文件的相关路径,并执行命令以安装服务: !o`al` q'  
c:\primavera\PrmBackAgent\prmbackgroundagent.exe /install HjK|9  
.8"o&%$`V  
手动注册和启动 PrmBackAgent 服务 在启动服务之前,必须将包含Primavera 6.0 数据库的数据库实例名称添加到注册表中.请按照 以下步骤来将数据库实例名称手动添加到注册表中. XLtuck  
toF@@ %  
1将一个名为"prmbackgroundAgent"的新注册表键添加到 HKEY_LOCAL_MACHINE\SOFTWARE\Primavera  中. _%t w#cM  
C. Sb4i*  
2将新字符串值添加到名为"Server"的新键中,且该值与本地SQL Server Express(如,MyDesktop\sqlexpress)的实例名称 相匹配. zR e0z2  
&P\T{d2"  
3完成以上步骤后,使用服务控制面板来启动代理服务.代理服务 Z I8p(e  
将在各个数据库中检测 Primavera 架构的实例并运行相关作业.
R8ZW1  
C4b3ZcD2  
-------------------------------------------------------------------------------------------------------- Jap v<lV%  
Qc6323/"  
具体可以看11楼12楼 xingkongqy 发的帖子!
[ 此帖被检查用户名在2009-02-05 16:16重新编辑 ]
论坛十六周年庆!

只看该作者 1楼 发表于: 2008-07-30
哈哈,这个不错,刚刚在意到呢 3x eW!~  
谢谢lz

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

只看该作者 3楼 发表于: 2008-07-30
引用第2楼shangrila1于2008-07-30 22:16发表的  : G,%R`Xns  
CD2怎么安装阿
1%t9ic  
Wfz&:J#  
安装P6 web 么?
论坛十六周年庆!
只看该作者 4楼 发表于: 2008-10-12
单机版如何解决此问题呢>
只看该作者 5楼 发表于: 2008-10-16
糊涂啊~~

只看该作者 6楼 发表于: 2008-10-16
引用第2楼shangrila1于2008-07-30 22:16发表的  : _?]bd-E  
CD2怎么安装阿
;*Ldnj;B  
Bq3"l%hI  
T%B&HsH  
按如上方法操作啊!
论坛十六周年庆!

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

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

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

只看该作者 11楼 发表于: 2009-02-05
我搞定了,大家可以上我的BLOG里面去看看 QHxo f 7  
0|<9eD\I=  
http://roger.wei.blog.163.com/blog/static/794363382009151192084/ I7W`\d)  
xI_0`@do  
中英文对照,图文并茂~
[ 此帖被xingkongqy在2009-02-05 16:19重新编辑 ]

只看该作者 12楼 发表于: 2009-02-05
SQL Server Express (2005) SCHEDULER: SQL 2005 Express 调度程序 l-P6B9e|\  
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. NG`Y{QT6N  
微软在 SQL Server Express 2005 中未提供作业调度程序,因此 Primavera 创建了在 SQL Server Express 2005 上运行 Primavera 6.0 后台作业的代理服务。该 Windows 服务 Primavera Background Agent(服务名称:PrmBackAgent)在 Primavera 6.0 单机版与 SQL Server Express 2005 一同使用时自动安装。 p6aR/gFkqv  
KnKf8c  
Note: The Primavera Background Agent service is installed automatically by the P6 standalone installation and generally does not need to be manually installed eY-h<K)y  
You may need to install the service if: vvG"rU  
1. You have installed SQL Server Express (2005) after installing the standalone version of P6.  +h Ks  
2. You have installed SQL Server Express (2005) on a server that doesn't have P6 installed on it. IM ncl=1  
注:PrmBackAgent 服务在需要时由 Primavera 6.0 安装程序自动安装,通常不需要手动安装或启动,除非是在安装 Primavera 6.0 单机版之后安装 SQL Server Express (2005)或者SQL 2005 Express的服务器上没有安装Primavera 6.0。 >28l9U  
6O,: I  
Manually Installing PrmBackAgent under SQL 2005 Express l p(D@FT  
在SQL 2005 Express上手动安装PrmBackAgent服务 ?68~g<d,  
ZyDNtX%  
Note: This is not required for full SQL 2000/2005 only SQL 2005 Express C\joDAD  
注:在SQL 2000/2005上不需要手动安装PrmBackAgent服务 OrYN-A4{  
e&2,cQRFV  
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. )0/*j]Kf  
1  Extract the prmbackgroundagent.exe executable from the Data1.cab file on CD 1. YU"/p|!1  
2  Place the prmbackgroundagent.exe file in a directory on the local machine (for example, C:\Primavera\PrmBackAgent). ; o Y|~  
3  From the Start menu, click Run. x=IZ0@p  
4  Substituting the appropriate path to the prmbackgroundagent.exe file from step 2, execute the following command to install the service: Q"B8l[  
C:\Primavera\PrmBackAgent\prmbackgroundagent.exe /install 2Wu`Dp;&l  
sQj]#/yK:  
虽然该服务是在需要时由 Primavera 安装程序自动安装,但也可手动安装。要手动安装该服务,必须是拥有所涉及数据库管理员权限的 Windows 用户。请按以下步骤来手动安装服务。 h`n '{s  
1 从 CD 1 上的 Data1.cab 文件中提取 prmbackgroundagent.exe 可执行文件。 e[?,'Mp9  
2 将 prmbackgroundagent.exe 文件放置在本机的某个文件夹中(例如,C:\Primavera\PrmBackAgent)。 ;ne`ppz0  
3 单击“启动”菜单中的“运行”。 0O,;[l  
4 替换步骤 2 中 prmbackgroundagent.exe 文件的相关路径,并执行命令以安装服务: |!9xL*A  
c:\primavera\PrmBackAgent\prmbackgroundagent.exe /install ap'La|9t>  
iLIb-d?!a&  
Manually Registering and Starting PrmBackAgent under SQL 2005 Express z@,(^~C_  
手动注册和启动 PrmBackAgent 服务 -3i(N.)<;  
Xz^k.4 Y{4  
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. dqJ 8l U?  
在启动服务之前,必须将包含 Primavera 6.0 数据库的数据库实例名称添加到注册表中。请按照以下步骤来将数据库实例名称手动添加到注册表中。 pi~5}bF!a  
k}F7Jw#.  
'G~i;o  2  
1.  Right-click on HKEY_LOCAL_MACHINE\Software\Primavera and choose "New", "Key". Jz>P[LcB  
在HKEY_LOCAL_MACHINE\Software\Primavera 中添加一个新注册表键 x?V^ l*  
|" WL   
eOiH7{OA,  
Enter the name "BackgroundAgent" $x`HmL3Sb  
输入键值"BackgroundAgent" >;1w-n  
>n3GvZ5%  
2w3LK2`ZL  
2.  Right-click on BackgroundAgent and choose "New", "String Value".  Enter "Server".   2F`#df  
右键点击BackgroundAgent,选择增加新字符串值,输入“Server”。 S+~;PmN9qL  
XJPIAN~l  
$)"T9 $>$  
z^`4n_(Ygu  
H[p~1%Lq  
 ..E_M$}  
3.  Right-click on Server and choose "Modify".  Enter the SQL Server instance name in the "Value Data" field.   ^8~TsK~  
NOTE:  for standalone installations localhost\primavera can be used. o.NU"$\?  
t2{(ETV  
右键点击Server,选择更改,输入SQL Server Express的名称。 MbCz*oW  
注:该值与本地 SQL Server Express(例如,MyDesktop\sqlexpress)的实例名称相匹配。单机版本可以使用localhost\primavera。 SF*mY=1  
d*Su c  
g]HWaFjc5  
NpZ'pBl  
4.  When this is complete, reboot the machine. yW1N&$n  
完成后,重新启动计算机 _ps4-<ugC  
Od;k}u6;<  
Initializing Primavera Background Jobs flqr["czwK  
初始Primavera后台作业 ~s4JGV ~R  
nRqP_*]  
Go to Start->Programs->Microsoft SQL Server 2005->SQL Server Management Studio Express. Q+K]:c  
选择开始->程序->Microsoft SQL Server 2005->SQL Server Management Studio Express. *8a[M{-X  
Click Connect to log in. W`_Wi*z4  
选择链接进行登陆 1_LKqBgo  
"gI-S[  
bt=D<YZk  
Click on "New Query" M^ WoV }'  
点击“新查询” 4%nK0FAj  
hOLlZP+  
L!33`xef'  
Type: "use nameofdatabase  K[noW  
exec initialize_background_procs" j^ 8Hjg  
Where nameofdatabase is your Primavera Database name. The default is pmdb$primavera or PMDB. aRWj+[[7y  
Click the Execute button to run the query. =u9e5n  
输入 "use nameofdatabase r\b$/:y<e  
exec initialize_background_procs" "use nameofdatabase 2i6P<&@  
nameofdatabase为Primavera,默认名字为pmdb$primavera或者PMDB。 <]S M$) =D  
点击运行按钮执行查询。 /8_x]Es/  
Sb?v5  
If it was successful it will show "Command(s) completed successfully". ?j!/ Hc/b4  
Close out of SQL 2005 Express. uh)f/)6  
成功运行后,显示"Command(s) completed successfully"。关闭SQL 2005 Express。 cru&nH*O^  
=}0>S3a.7  
Open up Project Management.  You may still see the error message.  If so,..... bsc b  
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. 9~f RYA*  
打开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
鉴定结果: W2,Uw1\:1  
nfr..4,:  
( v=Z$#l  
按照此法在p6.2上面没有效果。 M059"X="  
"g;}B"rG  
鉴定完毕。

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

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