对于想了解c#–SPWeb.GroupsvsSPWeb.AssociatedGroups的读者,本文将是一篇不可错过的文章,并且为您提供关于-Attempttoheartbeatfailedsince
对于想了解c# – SPWeb.Groups vs SPWeb.AssociatedGroups的读者,本文将是一篇不可错过的文章,并且为您提供关于- Attempt to heart beat failed since the group is rebalancing, try to re-join group.、ASM problem : ORA-15001: diskgroup "DGROUP1" does not exist or is not mounted ORA-15040: diskgroup is incomplete、asp.net – 为什么设置AssociatedUpdatePanelId时不会触发Update Progress?、asp.net-web-api – System.Web.Routing.RouteCollection不包含“MapHttpRoute”的定义 – VS 2012,Web API的有价值信息。
本文目录一览:- c# – SPWeb.Groups vs SPWeb.AssociatedGroups
- - Attempt to heart beat failed since the group is rebalancing, try to re-join group.
- ASM problem : ORA-15001: diskgroup "DGROUP1" does not exist or is not mounted ORA-15040: diskgroup is incomplete
- asp.net – 为什么设置AssociatedUpdatePanelId时不会触发Update Progress?
- asp.net-web-api – System.Web.Routing.RouteCollection不包含“MapHttpRoute”的定义 – VS 2012,Web API
c# – SPWeb.Groups vs SPWeb.AssociatedGroups
据了解,SiteGroups将获取当前网站集中的所有组.但是Groups和AssociatedGroups之间有什么区别? MSDN定义说,Groups将获得该网站的所有“跨站点”(!)组. AssociatedGroups从这个名字很容易理解.
那么群组返回什么?有人可以用一个例子来解释我吗?
解决方法
AssociatedGroups返回“人员和组”页面左侧菜单中可见的所有组.这些组可能无法访问当前站点(如果安全设置不会从父站点继承).在这种情况下,其中一些将不会列在“组”属性中.
要查看差异,请在子网站中创建新组,而不给出任何权限.该组将在“关联组”和“左”菜单中可见,但不会列在“组”或“站点权限”页面中.
- Attempt to heart beat failed since the group is rebalancing, try to re-join group.
@Neon_Wang 你好,想跟你请教个问题: [SinkRunner-PollingRunner-DefaultSinkProcessor] (org.apache.kafka.clients.consumer.internals.AbstractCoordinator$Hea
rtbeatCompletionHandler.handle:623) - Attempt to heart beat failed since the group is rebalancing, try to re-join group. 我们在用 flume 的 kafkasource 从 kafka 读取数据然后写入到 hdfs 也出现了这个报错 请问一下你们当初是怎么解决的啊?
ASM problem : ORA-15001: diskgroup "DGROUP1" does not exist or is not mounted ORA-15040: diskgroup is incomplete
=============================================================
mos中的详细解释:
ODA: After Apply ODA 12.2.1.2.0 Patch,Unable to Create TableSpace Due to [ORA-15001: diskgroup "DATA" does not exist or is not mounted | ORA-15040: diskgroup is incomplete] (Doc ID 2375553.1)
|
|
In this Document
APPLIES TO:Oracle Database Appliance Software - Version 12.1.2.10 to 12.1.2.12 [Release 12.1]Oracle Database - Enterprise Edition - Version 12.2.0.1 to 12.2.0.1 [Release 12.2] information in this document applies to any platform. SYMPTOMSAfter ODA upgrade to 12.2.1.2.0 release,tableSpaces cannot be created from 12.1 database in the ASM diskgroups due to the next errors: ***************** sql*Plus: Release 12.1.0.2.0 Production on Mon Mar 12 17:33:23 2018 copyright (c) 1982,2014,Oracle. All rights reserved. Connected to: sql> create tablespace testrecodg datafile ‘+RECO‘ size 1000M; sql> create tablespace testredodg datafile ‘+REDO‘ size 1000M; sql> create tablespace testredodg datafile ‘+DATA‘ size 1000M; sql> create tablespace testredodg datafile ‘+FLASH‘ size 1000M; sql> exit
CAUSEThe OS group in the oracle RDBMS Oracle Home binary is not correct,it should be asmadmin instead of oinstall:
[
[email protected] ~]# ls -l /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
-rwsr-s--x 1 oracle oinstall 328120913 Feb 24 02:47 /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
SOLUTIONa) Please execute the next steps as grid OS user: $> setasmgidwrap o=/u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle $> chgrp asmadmin /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle $> ls -l /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
注释 :正确的权限如下: 6751 [[email protected] bin]$ ls -rlt oracle
b) Then confirm the TableSpaces can be created: sql*Plus: Release 12.1.0.2.0 Production on Fri Mar 16 10:04:45 2018 copyright (c) 1982,Advanced Analytics sql> create tablespace test1 datafile ‘+RECO‘ size 1000M; Tablespace created. sql> create tablespace test2 datafile ‘+DATA‘ size 100M; Tablespace created. sql> create tablespace test3 datafile ‘+REDO‘ size 100M; Tablespace created. sql> create tablespace test4 datafile ‘+FLASH‘ size 100M; Tablespace created. |
=========================================================================================================================
问题举例 1:原地址 https://community.oracle.com/thread/3993000
ASM problem : ORA-15001: diskgroup "DGROUP1" does not exist or is not mounted
问题:
I am new to ASM and I am trying to move my non-ASM database to an ASM database.
Here is the situation :
- 1 ASM database version 12.1.0.2.0
- 1 non-ASM database version 11.2.0.1.0
- ASM database is up and running and the diskgroup is mounted
- non-ASM database is also up and running
- Cluster Synchronization Services seems ok,I issued the following command :
$ crsctl check css
$ CRS-4529: Cluster Synchronization Services is online
So far,to move my database to an ASM-database I performed the following steps :
1. Changed the location of my non-ASM control_file parameter to my created ASM disks
sql> alter system set control_files=‘+DGROUP1‘ scope=spfile;
2. Set the parameter DB_CREATE_FILE_DEST to my ASM disk
sql> alter system set db_create_file_dest=‘+DGROUP1‘ scope=spfile;
3. Shutdown and startup nomount my non-ASM database
sql> shutdown immediate
sql> startup nomount
4. Restored control file from the existing one
rman target /
restore controlfile from ‘/oracle/dbfile/ORCL/ORCL/control01.ctl‘;
This is where I am stuck as I have the following error :
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/21/2016 16:02:52
ORA-19504: Failed to create file "+DGROUP1"
ORA-17502: ksfdcre:4 Failed to create file +DGROUP1
ORA-15001: diskgroup "DGROUP1" does not exist or is not mounted
ORA-15055: unable to connect to ASM instance
ORA-12547: TNS:lost contact
ORA-19600: input file is control file (/oracle/dbfile/ORCL/ORCL/control01.ctl)
ORA-19601: output file is control file (+DGROUP1)
Does anyone as an idea on how to fix this issue ?
Thanks very much,
=========================================================================================================
答案:
:
Yep,where is the error:
TNS-00517: Lost contact
nt secondary err code: 32
nt OS err code: 0
ERROR: Failed to connect with connect string: (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/grid/app/oracle/product/11.2.0/grid2/bin/oracle)(ARGV0=oracle+ASM_asmb_orcl)(ENVS=‘ORACLE_HOME=/grid/app/oracle/product/11.2.0/grid2,ORACLE_SID=+ASM‘)(ARGS=‘(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))‘))(enable=setuser))
The error has to do with permissions in your directory. Follow the steps in this article to fix the issue.
You have to change the permission on
$GRID_HOME/bin/
chmod 6751 oracle
And $ORACLE_HOME/bin/
chmod 6751 oracle
Then try again.
======================================================================================================
问题举例二(转载飞总)参考:
rac和dg的目录不一样,都采用asm管理磁盘
控制文件备份/home/oracle/rman/control2ipl7sft_82_1 文件存在
[[email protected] ~]# su - oracle
[[email protected] ~]$ rman target sys/[email protected] auxiliary /
Recovery Manager: Release 11.2.0.4.0 - Production on Thu Oct 16 21:44:14 2014
copyright (c) 1982,2011,Oracle and/or its affiliates. All rights reserved.
connected to target database: GNNT (DBID=1162592830)
connected to auxiliary database: GNNT (not mounted)
RMAN> duplicate target database for standby;
Starting Duplicate Db at 16-OCT-14
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_disK_1
channel ORA_AUX_disK_1: SID=760 device type=disK
contents of Memory Script:
{
restore clone standby controlfile;
}
executing Memory Script
Starting restore at 16-OCT-14
using channel ORA_AUX_disK_1
channel ORA_AUX_disK_1: starting datafile backup set restore
channel ORA_AUX_disK_1: restoring control file
channel ORA_AUX_disK_1: reading from backup piece /home/oracle/rman/control2ipl7sft_82_1
channel ORA_AUX_disK_1: ORA-19870: error while restoring backup piece /home/oracle/rman/control2ipl7sft_82_1
ORA-19504: Failed to create file "+DATADG01/dg01/controlfile/control01.ctl"
ORA-17502: ksfdcre:3 Failed to create file +DATADG01/dg01/controlfile/control01.ctl
ORA-15001: diskgroup "DATADG01" does not exist or is not mounted
ORA-15040: diskgroup is incomplete
ORA-15040: diskgroup is incomplete
[[email protected] ~]$ asmcmd ls -l
State Type Rebal Name
MOUNTED norMAL N DATADG01/
MOUNTED norMAL N FRADG01/
[[email protected] ~]$ id
uid=1100(grid) gid=1000(oinstall) 组=1000(oinstall),1020(asmadmin),1021(asmdba),1022(asmoper),1300(dba)
[[email protected] ~]# su - oracle
[[email protected] ~]$ sqlplus / as sysdba
sql*Plus: Release 11.2.0.4.0 Production on Thu Oct 16 22:37:04 2014
copyright (c) 1982,2013,Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning,Automatic Storage Management,Data Mining
and Real Application Testing options
sql> select name,type,state,total_mb,free_mb from v$asm_diskgroup;
NAME TYPE STATE TOTAL_MB FREE_MB
------------------------------ ------ ----------- ---------- ----------
DATADG01 norMAL MOUNTED 40960 40840
FRADG01 norMAL MOUNTED 40960 40854
[[email protected] ~]$ id
uid=1101(oracle) gid=1000(oinstall) 组=1000(oinstall),1300(dba),1301(oper)
[[email protected] rman]$ rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Thu Oct 16 23:26:13 2014
copyright (c) 1982,Oracle and/or its affiliates. All rights reserved.
connected to target database: GNNT (not mounted)
RMAN> restore controlfile from ‘/home/oracle/rman/control2ipl7sft_82_1‘;
Starting restore at 16-OCT-14
using target database control file instead of recovery catalog
allocated channel: ORA_disK_1
channel ORA_disK_1: SID=1893 device type=disK
channel ORA_disK_1: restoring control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 10/16/2014 23:26:35
ORA-19870: error while restoring backup piece /home/oracle/rman/control2ipl7sft_82_1
ORA-19504: Failed to create file "+DATADG01/dg01/controlfile/control01.ctl"
ORA-17502: ksfdcre:3 Failed to create file +DATADG01/dg01/controlfile/control01.ctl
ORA-15001: diskgroup "DATADG01" does not exist or is not mounted
ORA-15040: diskgroup is incomplete
ORA-15040: diskgroup is incomplet
ASMCMD> ls
ONLINELOG/
controlfile/
datafile/
tempfile/
ASMCMD> pwd
+DATADG01/dg01
ASMCMD> exit
[[email protected] ~]$ ls -l /dev/asm*
brw-rw---- 1 grid asmadmin 8,16 10月 16 23:30 /dev/asmdata01
brw-rw---- 1 grid asmadmin 8,32 10月 16 23:30 /dev/asmdata02
brw-rw---- 1 grid asmadmin 8,48 10月 16 23:30 /dev/asmfra01
brw-rw---- 1 grid asmadmin 8,64 10月 16 23:30 /dev/asmfra02
[[email protected] ~]$
通过udev 设置:
KERNEL=="sd*",BUS=="scsi",PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent",RESULT=="36000c29196640f0bb64cbb6a20333009",NAME="asmdata01",OWNER="grid",GROUP="asmadmin",MODE="0660" KERNEL=="sd*",RESULT=="36000c29912bdf56b54e0da578f17b8ff",NAME="asmdata02",RESULT=="36000c29603fa50e5f0a5a0537fac7962",NAME="asmfra01",RESULT=="36000c2939990b39898c449f35ac1ef9c",NAME="asmfra02", GROUP="asmadmin",MODE="0660"故障原因:由于oracle用户无法访问asm disk 权限,导致restore失败,遇到类似情况,可以尝试dbca创建数据库测试,应该不会发现asm磁盘组解决方法:二选一1. 磁盘组所组修改为asmdba2. oracle用户加上所属组asmadmin
asp.net – 为什么设置AssociatedUpdatePanelId时不会触发Update Progress?
这是aspx标记:
<div> <asp:ListBox ID="lstStates" runat="server" AutopostBack="True" OnSelectedindexChanged="lstStates_SelectedindexChanged" SelectionMode="Multiple"> </asp:ListBox> </div> <div> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Panel ID="pnlCounty" runat="server"> <asp:ListBox ID="lstCounties" runat="server" SelectionMode="Multiple"> </asp:ListBox> </asp:Panel> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="lstStates" EventName="SelectedindexChanged" /> </Triggers> </asp:UpdatePanel> <asp:UpdateProgress ID="UpdateProgress2" runat="server" displayAfter="1" AssociatedUpdatePanelID="UpdatePanel1"> <Progresstemplate> <img src="../images/loader2.gif" /> Loading Counties... </Progresstemplate> </asp:UpdateProgress> </div>
解决方法
但是,文章建议注入一些JavaScript来弥补这个错误;我已将其修改为(希望)符合您的需求:
<script type="text/JavaScript" language="JavaScript"> function pageLoad() { var manager = Sys.WebForms.PageRequestManager.getInstance(); manager.add_endRequest(endRequest); manager.add_beginRequest(OnBeginRequest); } function OnBeginRequest(sender,args) { var postBackElement = args.get_postBackElement(); if (postBackElement.id == 'lstStates') { $get('UpdateProgress2').style.display = "block"; } } </script>
asp.net-web-api – System.Web.Routing.RouteCollection不包含“MapHttpRoute”的定义 – VS 2012,Web API
我已经用Web API创建了一个新的MVC 4应用程序。基于一些示例和教程,我开始配置我的路由:
routes.MapHttpRoute( name: "Controller only",routeTemplate: "api/{controller}" );
但是,这会导致RouteCollection不包含MapHttpRoute的定义的错误。我是否安装了一些DLL?
据我看到,我已经安装了所有正确的DLL和版本。
解决方法
今天关于c# – SPWeb.Groups vs SPWeb.AssociatedGroups的介绍到此结束,谢谢您的阅读,有关- Attempt to heart beat failed since the group is rebalancing, try to re-join group.、ASM problem : ORA-15001: diskgroup "DGROUP1" does not exist or is not mounted ORA-15040: diskgroup is incomplete、asp.net – 为什么设置AssociatedUpdatePanelId时不会触发Update Progress?、asp.net-web-api – System.Web.Routing.RouteCollection不包含“MapHttpRoute”的定义 – VS 2012,Web API等更多相关知识的信息可以在本站进行查询。
本文标签: