SCDPM2010のSharePoint2010バックアップジョブにてカタログ収集の警告発生

状況

SRVHOGE1.XXX.com 上の SharePoint ファーム Sharepoint Farm\SRVHOGE\SharePoint_Config の 1 個のデータベースに関する項目レベルのカタログを収集できませんでした。ファーム内のこれらのデータベースの回復ポイントの一部は、以前に成功したカタログに関連付けられます。 (ID 3133)
ファームに対してカタログ ジョブを手動で再実行するには、PowerShell で Start-CreateCatalog コマンドを実行します。

対応

DPM管理シェルで以下の対応をおこなった。

保護グループの確認
$pg = get-protectingroup
Name                                    ProtectionMethod
----                                    ----------------
DEMO                                      短期的 (ディスクを使用)
データソースの確認
$ds = get-datasource $pg[0]
$ds
Computer                   Name                       ObjectType
--------                   ----                       ----------
SRVHOGE                   NintexForms                SQL Server 2008 データ...
SRVHOGE                   DocAve6_AuditorDB          SQL Server 2008 データ...
SRVHOGE                   master                     SQL Server 2008 データ...
SRVHOGE                   model                      SQL Server 2008 データ...
SRVHOGE                   msdb                       SQL Server 2008 データ...
SRVHOGE                   DocAve6_ControlDB          SQL Server 2008 データ...
SRVHOGE                   DocAve6_ReportDB           SQL Server 2008 データ...
SRVHOGE1                  SRVHOGE\SharePoint_Config SharePoint ファーム
SRVHOGE                   NW2010DB_DEMOSite_chncs_00   SQL Server 2008 データ...
SRVHOGE                   NW2010DB                   SQL Server 2008 データ...
SharePointファームが何番目か確認
$ds[7]
Computer                   Name                       ObjectType
--------                   ----                       ----------
SRVHOGE1                   SRVHOGE\SharePoint_Config SharePoint ファーム
実行!!
start-createcatalog $ds[7]
JobCategory         Status              ProtectionGroupName DataSources
-----------         ------              ------------------- -----------
SharePointCatalog   InProgress          DEMO

なおるかな。。。

Backup Exec for Windows Servers Remote Agent への接続中にエラーが発生したためリソースをバックアップできませんでした。

環境

Backup Exec 2012 R2

症状

Backup Execによるバックアップが失敗する
Linuxでもエラーメッセージに"for Windows..."が含まれる
詳細なエラーは以下のような感じ

ジョブの終了日時: 2013年10月24日、16:45:21
完了状態: 失敗
最終エラー: 0xe000846b - Backup Exec for Windows Servers Remote Agent への接続中にエラーが発生したためリソースをバックアップできませんでした。
正しいバージョンの Remote Agent がインストールされ、ターゲットコンピュータで実行されていることを確認してください。サーバーまたはリソースが存在しない場合は選択リストから削除してください。選択リストのプロパティを編集し、[選択の詳細の表示]タブをクリックしてからリソースを削除してください。
最終エラーカテゴリ: リソースエラー

このエラーについて詳しくはリンクを参照してください。 V-79-57344-33899

原因

Remote Agentが正常でないので、正しく起動してあげる

方法

Linux

プロセスと10000ポート確認

[root@SRVHOGE ~]# lsof -i:10000
COMMAND    PID USER   FD   TYPE   DEVICE SIZE NODE NAME
beremote 30069 root    3u  IPv4 21811636       TCP *:ndmp (LISTEN)
beremote 30069 root    4u  IPv4 21812281       TCP 192.168.1.211:ndmp->192.168.1.252:63674 (ESTABLISHED)
[root@SRVHOGE ~]# ps aux | grep beremote
root      3275  0.0  0.0  65392   820 pts/2    S+   09:30   0:00 grep beremote
root     30069 12.3  0.0 353912 36124 pts/2    Sl   09:15   1:50 /opt/VRTSralus/bin/beremote
[root@SRVHOGE ~]#

プロセスがなかったら、起動してみる

[root@SRVHOGE ~]# /etc/init.d/VRTSralus.init start
Starting Symantec Backup Exec Remote Agent ......
Starting Symantec Backup Exec Remote Agent:                              [  OK                       ]

プロセスが起動中なのに、ジョブが失敗する場合、正しくRemote Agentが起動できていない可能性あり
Remote Agentを停止した状態で、10000ポートが利用中でないか確認します。

[root@SRVHOGE ~]# /etc/init.d/VRTSralus.init stop
Stopping Symantec Backup Exec Remote Agent ....
Stopping Symantec Backup Exec Remote Agent:                              [  OK                       ]
[root@SRVHOGE ~]# lsof -i:10000
COMMAND    PID USER   FD   TYPE   DEVICE SIZE NODE NAME
beremote 28698 root    3u  IPv4 21808547       TCP *:ndmp (LISTEN)

強制的にプロセスを停止し、再度Remote Agentを起動します。

kill -9 28698

サービスを起動します。

[root@SRVHOGE ~]# /etc/init.d/VRTSralus.init start
Starting Symantec Backup Exec Remote Agent ......
Starting Symantec Backup Exec Remote Agent:                              [  OK                       ]

これで大体なおります。

Windows

Windows サービスから「Backup Exec Remote Agent for Windows Systems」の状態を確認し、
停止していたら、開始する

Linux(CentOS 5.8 x86_64)でコンソールからログインできなくなった

症状

sshでは、どのユーザーでもログインできる
コンソールからは何のユーザーでもログインできない

状況

#/var/log/secure
Oct 24 09:39:01 SRVHOGE login: PAM unable to dlopen(/lib/security/pam_limits.so)
Oct 24 09:39:01 SRVHOGE login: PAM [error: /lib/security/pam_limits.so: wrong ELF class: ELFCLASS32]
Oct 24 09:39:01 SRVHOGE login: PAM adding faulty module: /lib/security/pam_limits.so
Oct 24 09:39:03 SRVHOGE login: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Oct 24 09:39:03 SRVHOGE login: Module is unknown
#/etc/pam.d/login
#%PAM-1.0
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth       include      system-auth
account    required     pam_nologin.so
account    include      system-auth
password   include      system-auth
# pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    optional     pam_keyinit.so force revoke
session    required     pam_loginuid.so
session    include      system-auth
session    optional     pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open
session required /lib/security/pam_limits.so
session required pam_limits.so

対応

/etc/pam.d/loginの

session required /lib/security/pam_limits.so

session required /lib64/security/pam_limits.so

に変更することで復旧しました。

原因

不明

ユーザーが属しているグループの一覧をCSV出力

ユーザーが属しているグループの一覧をCSV出力します。
$nameには、ユーザー名を指定してください。

$name="<ユーザーID>"
$title = "User Name,User DisplayName,User Company,User Title,User physicalDeliveryOfficeName,User Department,Group DisplayName,Group Description,Group Mail,Group Info,Group DistinguishedName"
  $user = Get-ADUser -Filter {name -eq $name} -Properties MemberOf,Company,description,Title,Name,Department,Division,DisplayName,physicalDeliveryOfficeName
  foreach ($member in $user.MemberOf) {
    $group = Get-ADGroup -Identity $member -Properties Description,DisplayName,Mail,Info
    $buff = [String]::Format('"{0}","{1}","{2}","{3}","{4}","{5}","{6}","{7}","{8}","{9}","{10}"',$user.Name,$user.DisplayName,$user.Company,$user.Title,$user.physicalDeliveryOfficeName,$user.Department,$group.DisplayName,$group.Description,$group.Mail,$group.Info,$group.DistinguishedName)
    $buff | Out-File list.txt -Encoding UTF8 -Append
  }

SharePoint 2010 SP1 構成ウィザード失敗

2012年のCUを適用し、構成ウィザードが失敗するようになった。
原因は、C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\config\web.configに0x0Bのコードが入っていたからでした。

PSCDiagnostics_xxx.log

04/18/2013 10:01:13  13  ERR            The exclusive inplace upgrader timer job failed.

Upgrade_xxx.log

[OWSTIMER] [SPUpgradeSession] [DEBUG] [2013/04/18 10:01:05]: UPGRADE PERCENTAGE: 23.27756953% done, Total Elapsed Time 00:02:29.7289507.
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: Begin Initialize()
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: End Initialize()
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [INFO] [2013/04/18 10:01:05]: In the authorized types section of web.config, ban System.Workflow.ComponentModel.Compiler.WorkflowCompiler from use in workflow code
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: Begin Upgrade()
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: Config Web Config is found at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\config\web.config
[OWSTIMER] [SPWebServerSequence] [ERROR] [2013/04/18 10:01:05]: Action 4.0.10.0 of Microsoft.SharePoint.Upgrade.SPWebServerSequence failed.
[OWSTIMER] [SPWebServerSequence] [ERROR] [2013/04/18 10:01:05]: Exception: 名前の先頭に '' (16 進数値 0x0B) を使用することはできません。 行 90、位置 73 です。
[OWSTIMER] [SPWebServerSequence] [ERROR] [2013/04/18 10:01:05]:    場所 System.Xml.XmlTextReaderImpl.Throw(Exception e)
   場所 System.Xml.XmlTextReaderImpl.ParseAttributes()
   場所 System.Xml.XmlTextReaderImpl.ParseElement()
   場所 System.Xml.XmlTextReaderImpl.ParseElementContent()
   場所 System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   場所 System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   場所 System.Xml.XmlDocument.Load(XmlReader reader)
   場所 System.Xml.XmlDocument.Load(String filename)
   場所 Microsoft.SharePoint.Upgrade.SPWebConfigWebServerAction.get_ConfigWebConfig()
   場所 Microsoft.SharePoint.Upgrade.UpdateWorkflowAuthorizedTypes.Upgrade()
   場所 Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: Begin Rollback()
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: End Rollback()
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: Begin Dispose()
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: End Dispose()
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: SQL クエリの数=7
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: SPRequest オブジェクト=1
[OWSTIMER] [UpdateWorkflowAuthorizedTypes (4.0.10.0)] [DEBUG] [2013/04/18 10:01:05]: 実行時間=90.3454
[OWSTIMER] [SPUpgradeSession] [ERROR] [2013/04/18 10:01:05]: Upgrade [SPWebServiceInstance] failed.
[OWSTIMER] [SPUpgradeSession] [ERROR] [2013/04/18 10:01:05]: Inner Exception: 名前の先頭に '' (16 進数値 0x0B) を使用することはできません。 行 90、位置 73 です。
[OWSTIMER] [SPUpgradeSession] [ERROR] [2013/04/18 10:01:05]:    場所 System.Xml.XmlTextReaderImpl.Throw(Exception e)
   場所 System.Xml.XmlTextReaderImpl.ParseAttributes()
   場所 System.Xml.XmlTextReaderImpl.ParseElement()
   場所 System.Xml.XmlTextReaderImpl.ParseElementContent()
   場所 System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   場所 System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   場所 System.Xml.XmlDocument.Load(XmlReader reader)
   場所 System.Xml.XmlDocument.Load(String filename)
   場所 Microsoft.SharePoint.Upgrade.SPWebConfigWebServerAction.get_ConfigWebConfig()
   場所 Microsoft.SharePoint.Upgrade.UpdateWorkflowAuthorizedTypes.Upgrade()
   場所 Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
[OWSTIMER] [SPUpgradeSession] [ERROR] [2013/04/18 10:01:05]: Exception: Action 4.0.10.0 of Microsoft.SharePoint.Upgrade.SPWebServerSequence failed.
[OWSTIMER] [SPUpgradeSession] [ERROR] [2013/04/18 10:01:05]:    場所 Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
   場所 Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
[OWSTIMER] [SPUpgradeSession] [DEBUG] [2013/04/18 10:01:05]: Elapsed time upgrading [SPWebServiceInstance]: 00:00:00.
[OWSTIMER] [SPManager] [INFO] [2013/04/18 10:01:05]: Resetting the status of PersistedUpgradableObject: SPWebServiceInstance to Online.
[OWSTIMER] [SPManager] [INFO] [2013/04/18 10:01:05]: Resetting the status of PersistedUpgradableObject: SPServer Name=HOGE to Online.
[OWSTIMER] [SPUpgradeSession] [ERROR] [2013/04/18 10:01:05]: Upgrade Timer job is exiting due to exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: Action 4.0.10.0 of Microsoft.SharePoint.Upgrade.SPWebServerSequence failed. ---> System.Xml.XmlException: 名前の先頭に '' (16 進数値 0x0B) を使用することはできません。 行 90、位置 73 です。
   場所 System.Xml.XmlTextReaderImpl.Throw(Exception e)
   場所 System.Xml.XmlTextReaderImpl.ParseAttributes()
   場所 System.Xml.XmlTextReaderImpl.ParseElement()
   場所 System.Xml.XmlTextReaderImpl.ParseElementContent()
   場所 System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   場所 System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   場所 System.Xml.XmlDocument.Load(XmlReader reader)
   場所 System.Xml.XmlDocument.Load(String filename)
   場所 Microsoft.SharePoint.Upgrade.SPWebConfigWebServerAction.get_ConfigWebConfig()
   場所 Microsoft.SharePoint.Upgrade.UpdateWorkflowAuthorizedTypes.Upgrade()
   場所 Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
   --- 内部例外スタック トレースの終わり ---
   場所 Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
   場所 Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   場所 Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.Upgrade(Boolean recursively)
   場所 Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse)
   場所 Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   場所 Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.Upgrade(Boolean recursively)
   場所 Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse)
   場所 Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   場所 Microsoft.SharePoint.Administration.SPUpgradeJobDefinition.Execute(Guid targetInstanceId)
[OWSTIMER] [SPManager] [DEBUG] [2013/04/18 10:01:05]: Removing exclusive upgrade regkey by setting the mode to none
[OWSTIMER] [SPUpgradeSession] [INFO] [2013/04/18 10:01:05]: ======================================================================================
[OWSTIMER] [SPUpgradeSession] [INFO] [2013/04/18 10:01:05]: Upgrade session failed. 3 errors and 0 warnings encountered.
[OWSTIMER] [SPUpgradeSession] [INFO] [2013/04/18 10:01:05]: アップグレード ログ ファイルで文字列 [ERROR] と [WARNING] を検索して、アップグレードの問題の原因を確認してください。アップグレード エラーの解決方法の詳細については、"http://go.microsoft.com/fwlink/?LinkId=157732" を参照してください。
[OWSTIMER] [SPUpgradeSession] [INFO] [2013/04/18 10:01:05]: ======================================================================================
[OWSTIMER] [SPUpgradeSession] [DEBUG] [2013/04/18 10:01:05]: Stop the session maintenance thread.
[OWSTIMER] [SPUpgradeSession] [DEBUG] [2013/04/18 10:01:11]: Setting upgrade session object to offline in configuration database
[OWSTIMER] [SPUpgradeSession] [DEBUG] [2013/04/18 10:01:11]: UPGRADE PERCENTAGE: 100.00000000% done, Total Elapsed Time 00:02:35.3667238.
[OWSTIMER] [SPUpgradeSession] [DEBUG] [2013/04/18 10:01:11]: Releasing upgrade lock from configuration database

参考
http://sp-vinod.blogspot.jp/2013/03/sharepoint-2010-october-2012-cumulative.html