fsutil を使用して 8.3 ショートネーム パスを手動で設定する方法
技術的な記事 ID:
KB82122
最終更新: 2023-07-26 12:29:04 Etc/GMT
環境
ePolicy Orchestrator (ePO) 5.x
概要
ePO は、独自のフォルダーの場所を参照するときに 8.3 ショートネームを使用します。場合によっては、特に ePO インストールを移行する場合に、ショートネームを手動で設定する必要がある場合があります。
問題
ePO が機能せず、サービスの開始失敗などの一般的な症状が表示されることがあります。
- orion.log (ePO_installation_folder\server\logs) 部分的にインストールされた拡張機能をレポートします。
2014-06-06 11:17:21,548 ERROR [main] plugin.PluginManager - Initialization of plugin core failed. org.springframework.beans.factoryeanCreationException: Error creating bean with name 'core.ext.taskGlobals' defined in resource loaded from byte array: Invocation of init method failed; nested exception is java.lang.IllegalStateException: The following extensions are in a partially installed state: [DataChannel:5.1.0.509, AvertAlerts:5.1.0.509, HOSTIPS_8000:8.0.4.838, GuidedConfig:5.1.0.509, rsd:4.7.1.120, Notifications:5.1.0.509, LYNXSHLD1700:1.9.0.1621, hip_800_help:800.975, epolicensing:5.1.0.509, help:5.1, Issue:5.1, MOVEOSS_2600:2.6.2.129, report:5.1, InstallHelper:5.1.0.509, HostIPSLicense:8.0.4.838, MRTBase:1.0.2.103, SIARevocation:1.0, epo_help:5.1.0.032, scheduler:5.1, msa_help:480.023, TELEMTRY1000:1.2.0.323, PolicyMgmt:5.1.0.509, console:5.1, EPOAMTReports:2.0.0.437, MOVEVOFF2600:2.6.2.129, ldap:5.1, Solidcore:6.1.3.131, DeepDefenderMETA:1.6.0.513, VSPHEREDCEXTN:3.0.1.122, rs:5.1, EPOAMT:2.0.0.437, userdirectory:1.0.0.136, CommonEvents:5.1.0.509, LYNXSHLDPARSER:1.9.0.1621, MDCC:3.0.1.106, EEADMIN:7.1.0.389, VIRUSCANREPORTS:1.2.0.236, SITEADVLICMETA:1.0.0.135, epoMigration:5.1.0.509, Countermeasures:5.1.0.509, EPOCore:5.1.0.509, VIRUSCAN8800:8.8.0.368, SITEADVMETA:3.5.0.306, EEPC:7.1.0.389, response:5.1, AgentMgmt:5.1.0.509, EEDEEP:7.1.0.389, vsel_help:190.1, SIEMCollector:10.02.58241.886, ldapsync:5.1, de_help:710.100, dr:5.1, ui:5.1, EEGO:7.1.0.389, EPOAGENTMETA:4.8.0.348, SoftwareMgmt:5.1.0.509, ComputerMgmt:5.1.0.509, mva_260_help:2.6.0.272, ProductDeployment:5.1.0.509, HostIpsAdv:8.0.4.838, deep_command_help:200.008, hotfix510LL:5.1.0.522, RepositoryMgmt:5.1.0.509, epoLicEnt:5.1.0.509, EPOAMTRCS:2.0.0.437]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1486)
原因
ePO 構成ファイルは、システム上に存在しない 8.3 ショートネーム パスを参照しています。たとえば、 orion.properties (epoinstalldir\server\conf\orion) ファイル いくつかの 8.3 ショートネームを参照しています:
#Mon Jan 20 08:57:27 PST 2014
orion.upload.size.threshold=9000000
orion.ldap.cache.internal.periodic.task.initial.delay=7200000
orion.upload.max.size=268435456
orion.ldap.max.query.size=2000
extension.install.dir=C\:/PROGRA~2/McAfee/EPOLIC~1/server/extensions/installed
orion.exception.show.detail=false
orion.email.mime.encodefilename=true
core.cluster.group=
extension.tmp.dir=C\:/PROGRA~2/McAfee/EPOLIC~1/server/extensions/tmp
解決策
これを使用します: fsutil コマンドを使用して、 8.3 ショートネームを ePO 構成ファイルで予期されるものに設定します。
- ePO が検索する 8.3 表記形式を決定します。8.3 ショートネーム
を参照するファイルの 1 つを確認してください。
- C:\Program Files (x86)\McAfee\ePolicy Orchestrator\APACHE2\conf\httpd.conf
- C:\Program Files (x86)\McAfee\ePolicy Orchestrator\APACHE2\conf\ssl.conf
- C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Server\bin\setenv.bat
- C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Server\bin\setenv.sh
- C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Server\conf\epo\epo.properties
- C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Server\conf\orion\log-config.xml
- C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Server\conf\orion\orion.properties
- 設定が disable8dot3 0 に設定されていることを確認してください:
fsutil behavior set disable8dot3 0
fsutil 8dot3name query C:
注: 変更を行った場合は、変更を有効にするためにコンピュータを再起動する必要があります。
- 上記の例と一致するように 8.3 ショートネームを手動で設定します。管理者のコマンド プロンプトを開き、次のコマンドを実行します。
環境内の構成ファイルと一致するようにコマンドを変更します。
fsutil file setshortname <path_name> <shortname>
例:
fsutil file setshortname "C:\Program Files (x86)\McAfee\ePolicy Orchestrator" EPOLIC~1
fsutil file setshortname "C:\Program Files (x86)" PROGRA~2
免責事項
この記事の内容のオリジナルは英語です。英語の内容と翻訳に相違がある場合、常に英語の内容が正確です。一部の内容は Microsoft の機械翻訳による訳文となっています。
|