• 31542阅读
  • 25回复

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

上一主题 下一主题
 

只看楼主 正序阅读 0楼 发表于: 2008-03-30
— 本帖被 检查用户名 执行取消置顶操作(2009-03-30) —
关键词: 安装primavera
SQL ServerExpress (2005) PREGQ0  
7aKI= ;60.  
微软在 SQL Server Express 2005 中未提供作业调度程序,因此 Primavera 创建了在 SQL Server Express 2005 上运行 Primavera 6.0 后台作业的代理服务.该 Windows 服务 Primavera Background Agent(服务名称:PrmBackAgent)在 Primavera 6.0 单机版与 SQL Server Express 2005 一同使用时自动安装. vmrs(k "d#  
2[uFAgf@  
注:PrmBackAgent 服务在需要时由 Primavera 6.0 安装程序自动安装,通常不需要手动安装或启动,除非是在安装 Primavera 6.0 单机版之后安装 SQL Server Express (2005). 手动安装 PrmBackAgent 虽然该服务是在需要时由 Primavera 安装程序自动安装,但也可手动安装.要手动安装该服务,必须是拥有所涉及数据库管理员权限的Windows 用户.请按以下步骤来手动安 装服务.
#asi%&3pP  
SZ9DT  
1从 CD 1 上的 Data1.cab 文件中提取 prmbackgroundagent.exe 可执 行文件. -3v\ c~  
.m l\z5  
2将 prmbackgroundagent.exe 文件放置在本机的某个文件夹中 (例如,C:\Primavera\PrmBackAgent). D&2NO/ R  
j~K(xf  
3单击"启动"菜单中的"运行". f$kbb 6juL  
&Tuj`DL  
4替换步骤 2 中 prmbackgroundagent.exe 文件的相关路径,并执行命令以安装服务: _cWuRvY  
c:\primavera\PrmBackAgent\prmbackgroundagent.exe /install o5DT1>h  
5X+ `aB  
手动注册和启动 PrmBackAgent 服务 在启动服务之前,必须将包含Primavera 6.0 数据库的数据库实例名称添加到注册表中.请按照 以下步骤来将数据库实例名称手动添加到注册表中. O65`KOPn  
3en6 7l  
1将一个名为"prmbackgroundAgent"的新注册表键添加到 HKEY_LOCAL_MACHINE\SOFTWARE\Primavera  中. G dNhEv  
$w{d4")  
2将新字符串值添加到名为"Server"的新键中,且该值与本地SQL Server Express(如,MyDesktop\sqlexpress)的实例名称 相匹配. Y z&!0Hfd  
tzGQo5\  
3完成以上步骤后,使用服务控制面板来启动代理服务.代理服务 [r8[lkR  
将在各个数据库中检测 Primavera 架构的实例并运行相关作业.
YW&K,)L@  
e1h7~ j  
-------------------------------------------------------------------------------------------------------- U'(zKqC   
Wq<oP  
具体可以看11楼12楼 xingkongqy 发的帖子!
[ 此帖被检查用户名在2009-02-05 16:16重新编辑 ]
论坛十六周年庆!

只看该作者 25楼 发表于: 2014-01-05
见教了
只看该作者 24楼 发表于: 2013-07-08
回 11楼(xingkongqy) 的帖子
请问oracle出现这样的错误提示怎么办呢?
只看该作者 23楼 发表于: 2010-04-02
谢谢共享  
实实在在作事,老老实实作人
只看该作者 22楼 发表于: 2009-11-23
正在等这个问题的解答
只看该作者 21楼 发表于: 2009-11-15
高手,谢谢分享

只看该作者 20楼 发表于: 2009-04-12
引用第19楼wewe于2009-04-12 11:48发表的  : $Q#n'#c  
请问"没有配置数据库以运行后台任务",解决这个主要的好处在哪里呢? 一直很困惑。 [表情]
jSvq1$U  
8Pd 9&/Y  
{'+{ASpO!  
恩,我想大多数人是看着一开软件就弹这个觉得讨厌吧。
论坛十六周年庆!
只看该作者 19楼 发表于: 2009-04-12
请问"没有配置数据库以运行后台任务",解决这个主要的好处在哪里呢? 一直很困惑。

只看该作者 18楼 发表于: 2009-04-11
重新安装时,不能运行
只看该作者 17楼 发表于: 2009-03-27
楼主和撰稿人太强悍了,谢谢

只看该作者 16楼 发表于: 2009-03-24
问题解决,非常感谢!
只看该作者 15楼 发表于: 2009-03-20
鉴定结果: (  -q0!]E  
%/\sn<6C}  
46 0/eW\  
按照此法在p6.2上面没有效果。 xa_ IdkV  
4@F8-V3q4  
鉴定完毕。

只看该作者 14楼 发表于: 2009-02-05
谢谢共享  
那美丽的天,总是一望无边…

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

只看该作者 12楼 发表于: 2009-02-05
SQL Server Express (2005) SCHEDULER: SQL 2005 Express 调度程序 S:g6z'e1  
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. Um-Xb'R*]V  
微软在 SQL Server Express 2005 中未提供作业调度程序,因此 Primavera 创建了在 SQL Server Express 2005 上运行 Primavera 6.0 后台作业的代理服务。该 Windows 服务 Primavera Background Agent(服务名称:PrmBackAgent)在 Primavera 6.0 单机版与 SQL Server Express 2005 一同使用时自动安装。 qgWsf-di=  
1"<{_&d1  
Note: The Primavera Background Agent service is installed automatically by the P6 standalone installation and generally does not need to be manually installed (yT&&_zY4  
You may need to install the service if: A2PeI"y  
1. You have installed SQL Server Express (2005) after installing the standalone version of P6. ?u{Mz9:?HT  
2. You have installed SQL Server Express (2005) on a server that doesn't have P6 installed on it. HDE5Mg "  
注:PrmBackAgent 服务在需要时由 Primavera 6.0 安装程序自动安装,通常不需要手动安装或启动,除非是在安装 Primavera 6.0 单机版之后安装 SQL Server Express (2005)或者SQL 2005 Express的服务器上没有安装Primavera 6.0。 1!+0]_8K  
.[:WMCc\  
Manually Installing PrmBackAgent under SQL 2005 Express fpzEh}:H\  
在SQL 2005 Express上手动安装PrmBackAgent服务 4w 7vgB  
%vG;'_gM B  
Note: This is not required for full SQL 2000/2005 only SQL 2005 Express V+|$H h8  
注:在SQL 2000/2005上不需要手动安装PrmBackAgent服务 5Tidb$L;Du  
"x:-#2+h  
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. jW| ,5,43  
1  Extract the prmbackgroundagent.exe executable from the Data1.cab file on CD 1. [>Zg6q |  
2  Place the prmbackgroundagent.exe file in a directory on the local machine (for example, C:\Primavera\PrmBackAgent). *`bES V :  
3  From the Start menu, click Run. sG|,#XQ  
4  Substituting the appropriate path to the prmbackgroundagent.exe file from step 2, execute the following command to install the service: G" (ck4  
C:\Primavera\PrmBackAgent\prmbackgroundagent.exe /install 0*uJS`se6Z  
"zIQ(|TL?d  
虽然该服务是在需要时由 Primavera 安装程序自动安装,但也可手动安装。要手动安装该服务,必须是拥有所涉及数据库管理员权限的 Windows 用户。请按以下步骤来手动安装服务。 `RqV\ 6G+  
1 从 CD 1 上的 Data1.cab 文件中提取 prmbackgroundagent.exe 可执行文件。 h9. Yux  
2 将 prmbackgroundagent.exe 文件放置在本机的某个文件夹中(例如,C:\Primavera\PrmBackAgent)。 nu16L$ ]  
3 单击“启动”菜单中的“运行”。 pqb KPpG  
4 替换步骤 2 中 prmbackgroundagent.exe 文件的相关路径,并执行命令以安装服务:  )Z:maz  
c:\primavera\PrmBackAgent\prmbackgroundagent.exe /install J,`I>^G  
PXDJ[Oj7(0  
Manually Registering and Starting PrmBackAgent under SQL 2005 Express bh5C  
手动注册和启动 PrmBackAgent 服务 w-wJhc|  
. Eb=KG  
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. ^g+M=jq _  
在启动服务之前,必须将包含 Primavera 6.0 数据库的数据库实例名称添加到注册表中。请按照以下步骤来将数据库实例名称手动添加到注册表中。 ~~,#<g[  
_[hVGCSB  
+ldgT"  
1.  Right-click on HKEY_LOCAL_MACHINE\Software\Primavera and choose "New", "Key". (rf8"T!"  
在HKEY_LOCAL_MACHINE\Software\Primavera 中添加一个新注册表键 p1\E C#Q  
MWn []'TpH  
niCq`!  
Enter the name "BackgroundAgent" =XUt?5  
输入键值"BackgroundAgent" n{%[G2.A  
!R$t>X  
`]l[p+DO  
2.  Right-click on BackgroundAgent and choose "New", "String Value".  Enter "Server".   g\?7M1~  
右键点击BackgroundAgent,选择增加新字符串值,输入“Server”。 be&,V_F  
\X G\  
Q"`J-#L  
)G$0:-J-  
4--[.j*W  
-;[,`g(f  
3.  Right-click on Server and choose "Modify".  Enter the SQL Server instance name in the "Value Data" field.   '.tg\]|  
NOTE:  for standalone installations localhost\primavera can be used. (wEaw|Zx  
-(![xZ1{K  
右键点击Server,选择更改,输入SQL Server Express的名称。 ;jT@eBJ  
注:该值与本地 SQL Server Express(例如,MyDesktop\sqlexpress)的实例名称相匹配。单机版本可以使用localhost\primavera。 O<qo%fP  
Lc13PTz>>g  
o[K,(  
F%q}N,W  
4.  When this is complete, reboot the machine. Q2!vO4!<N  
完成后,重新启动计算机 Q|:qs\6q5  
THDyb9_g  
Initializing Primavera Background Jobs U>kL|X3 V  
初始Primavera后台作业 =!|= Y@  
YST{ h{  
Go to Start->Programs->Microsoft SQL Server 2005->SQL Server Management Studio Express. <Yy|.=6 D  
选择开始->程序->Microsoft SQL Server 2005->SQL Server Management Studio Express. K)r|oW=6Y  
Click Connect to log in. A"~4|`W  
选择链接进行登陆 $23dcC*hI  
\ POQeZ  
[&a=vE  
Click on "New Query" l^E)XWd  
点击“新查询” )wueR5P  
z;ko )  
`E2HQA@  
Type: "use nameofdatabase HH94?&  
exec initialize_background_procs" _iZ_.3 Ip  
Where nameofdatabase is your Primavera Database name. The default is pmdb$primavera or PMDB. d w]jF=u  
Click the Execute button to run the query. 6E@qZvQ  
输入 "use nameofdatabase Ea\Khf]2  
exec initialize_background_procs" "use nameofdatabase x l4A<  
nameofdatabase为Primavera,默认名字为pmdb$primavera或者PMDB。 #J09Eka;J  
点击运行按钮执行查询。 xb~8uD5  
.-HwT3  
If it was successful it will show "Command(s) completed successfully". 8Xjp5  
Close out of SQL 2005 Express. ErXzKf  
成功运行后,显示"Command(s) completed successfully"。关闭SQL 2005 Express。 $;%k:&\f  
?,0 a#lG  
Open up Project Management.  You may still see the error message.  If so,..... 4RoE>m1[G  
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. YecV+ K'p:  
打开PM,错误信息还是会出现,这时让程序继续运行来触发后台作业执行。Symon进程每一分钟运行一次,Damon进程每五分钟运行一次。当这两个进程完成第一次运行,登陆PM将不再出现错误信息。
[ 此帖被检查用户名在2009-02-05 15:57重新编辑 ]
2条评分
检查用户名 贡献值 +10 优秀文章 2009-02-05
检查用户名 贡献值 +10 优秀文章 2009-02-05

只看该作者 11楼 发表于: 2009-02-05
我搞定了,大家可以上我的BLOG里面去看看 jT=fq'RK  
N.UeuLz  
http://roger.wei.blog.163.com/blog/static/794363382009151192084/ s a{x.2/o}  
IN7Cpg~9%  
中英文对照,图文并茂~
[ 此帖被xingkongqy在2009-02-05 16:19重新编辑 ]

只看该作者 10楼 发表于: 2008-11-07
注册表更改的1..2..两项目还是不明白.楼主能再详细一点给说明一下吗...晕还是做不好啊..
只看该作者 9楼 发表于: 2008-10-28
许可固定用户数比配置的固定用户数少, 点用户设置后退不出来。 用户全部删除了,还是提示。  

只看该作者 8楼 发表于: 2008-10-23
不过好像问题还是没有解决

只看该作者 7楼 发表于: 2008-10-22
HKEY_LOCAL_MACHINE\SOFTWARE\Primavera F]fXS-@ c  
老大,好像reg的地址是这里吧
快速回复
限1000 字节
 
上一个 下一个