從11.2開始錯誤的修改IP導致crs啟動不了的解決方法
使用RAC的時候,經常有朋友問如何修改IP,10.2的我就不說了,修改方法成熟的很,出了問題也很好解決。
從11.2開始,修改IP方法和以前差不多,但是出了問題,有些人不知道如何處理,這裡介紹一個使用gpnp修復的方法(還可以用重建crs的方法),該方法已經在11.2和12c上都實施成功了。
模擬錯誤:
使用oifcfg故意設定錯誤的內部網際網路段(其他使用oficfg錯誤的修改了IP,後果類似)
[[email protected] ~]# oifcfg -helpName:
oifcfg - Oracle Interface Configuration Tool.
Usage: oifcfg iflist [-p [-n]]
Shows the available interfaces that you can configure with 'setif' by querying the operating system to find which network interfaces are present on this node.
where -p displays a heuristic assumption of the interface type (PRIVATE, PUBLIC, or UNKNOWN).
-n displays the netmask.
oifcfg setif {-node <nodename> | -global} {<if_name>/<subnet>
oifcfg getif [-node <nodename> | -global] [ -if <if_name>[/<subnet>] [-type <if_type>] ]
oifcfg delif {{-node <nodename> | -global} [<if_name>[/<subnet>]] [-force] | -force}
oifcfg [-help]
<nodename> - name of the host, as known to a communications network
<if_name> - name by which the interface is configured in the system
<subnet> - subnet address of the interface
<if_type> - one or more comma-separated interface types { cluster_interconnect | public | asm}
[[email protected] ~]#
這裡面尤其要注意,setif中寫入的是subnet,我見過不只一次有人這個寫錯了導致crs不能啟動……
[[email protected] ~]# oifcfg getif
eth1 10.10.10.0 global cluster_interconnect
eth0 192.168.30.0 global public
[
[[email protected] ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0C:29:CE:AC:D2
inet addr:10.10.10.66 Bcast:10.10.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:333 errors:0 dropped:0 overruns:0 frame:0
TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:67992 (66.3 KiB) TX bytes:18015 (17.5 KiB)
[[email protected] ~]#
計算ip地址(這是當前的正確的網路配置):
[[email protected] ~]# ipcalc -bnm 10.10.10.66 255.255.255.0
NETMASK=255.255.255.0
BROADCAST=10.10.10.255
NETWORK=10.10.10.0
[[email protected] ~]#
這是按照子網掩碼252計算的網路配置,一會打算使用這個值模擬錯誤:
[[email protected] ~]# ipcalc -bnm 10.10.10.100 255.255.252.0
NETMASK=255.255.252.0
BROADCAST=10.10.11.255
NETWORK=10.10.8.0
[[email protected] ~]#
[[email protected] ~]# oifcfg getif
eth1 10.10.10.0 global cluster_interconnect
eth0 192.168.30.0 global public
[[email protected] ~]#
[[email protected] ~]# oifcfg delif -global eth1
PRIF-31: Failed to delete the specified network interface because it is the last private interface
[[email protected] ~]#
[[email protected] ~]# oifcfg setif -global eth1/10.10.8.0:cluster_interconnect
/proc/net/ipv6_route: No such file or directory
[[email protected] ~]#
[[email protected] network-scripts]# oifcfg getif
eth1 10.10.10.0 global cluster_interconnect
eth0 192.168.30.0 global public
eth1 10.10.8.0 global cluster_interconnect
[[email protected] network-scripts]#
[[email protected] network-scripts]# oifcfg delif -global eth1
PRIF-31: Failed to delete the specified network interface because it is the last private interface
[[email protected] network-scripts]#
[[email protected] ~]# oifcfg delif -global eth1/10.10.10.0
[[email protected] ~]#
[[email protected] ~]# oifcfg getif
eth0 192.168.30.0 global public
eth1 10.10.8.0 global cluster_interconnect
[[email protected] ~]#
[[email protected] ~]# crsctl stop crs -f
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'lunar'
CRS-2673: Attempting to stop 'ora.evmd' on 'lunar'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'lunar'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'lunar'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'lunar'
CRS-2677: Stop of 'ora.drivers.acfs' on 'lunar' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'lunar' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'lunar' succeeded
CRS-2677: Stop of 'ora.evmd' on 'lunar' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'lunar'
CRS-2677: Stop of 'ora.ctssd' on 'lunar' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'lunar'
CRS-2677: Stop of 'ora.cssd' on 'lunar' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'lunar'
CRS-2677: Stop of 'ora.gipcd' on 'lunar' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'lunar' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[[email protected] ~]#
重啟crs報錯,以下是12c的報錯:
2012-12-18 00:33:53.484 GMT +08:00[/u01/app/12.1.0/product/grid/bin/orarootagent.bin(18146)]CRS-5818:Aborted command 'start' for resource 'ora.cluster_interconnect.haip'. Details at (:CRSAGF00113:) {0:5:4} in /u01/app/12.1.0/product/grid/log/lunar/agent/ohasd/orarootagent_root/orarootagent_root.log.
2012-12-18 00:33:53.802 GMT +08:00
[/u01/app/12.1.0/product/grid/bin/orarootagent.bin(18146)]CRS-5017:The resource action "ora.cluster_interconnect.haip start" encountered the following error:
Start action for HAIP aborted. For details refer to "(:CLSN00107:)" in "/u01/app/12.1.0/product/grid/log/lunar/agent/ohasd/orarootagent_root/orarootagent_root.log".
2012-12-18 00:33:57.490 GMT +08:00
[ohasd(18102)]CRS-2757:Command 'Start' timed out waiting for response from the resource 'ora.cluster_interconnect.haip'. Details at (:CRSPE00163:) {0:5:4} in /u01/app/12.1.0/product/grid/log/lunar/ohasd/ohasd.log.
重啟crs報錯,以下是11.2.0.3的報錯:
2012-12-17 20:05:47.494: [ CRSMAIN][1184784976] Initializing OCR
[ CLWAL][1184784976]clsw_Initialize: OLR initlevel [70000]
2012-12-17 20:05:47.519: [ OCRAPI][1184784976]clsu_get_private_ip_addresses: no ip addresses found.
[ OCRAPI][1184784976]a_init_clsss: failed to call clsu_get_private_ip_addr (7)
2012-12-17 20:05:47.725: [ OCRAPI][1184784976]a_init:13!: Clusterware init unsuccessful : [44]
2012-12-17 20:05:47.725: [ CRSOCR][1184784976] OCR context init failure. Error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2012-12-17 20:05:47.726: [ CRSMAIN][1184784976] Created alert : (:CRSD00111:) : Could not init OCR, error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2012-12-17 20:05:47.726: [ CRSD][1184784976][PANIC] CRSD exiting: Could not init OCR, code: 44
2012-12-17 20:05:47.726: [ CRSD][1184784976] Done.
修復:
以排他模式和不啟動crsd程序的方式啟動crs:
crsctl start crs -excl -nocrs
備份和使用gpnptoll工具進行修復
[[email protected] bin]# mkdir /home/oracle/gpnp
[[email protected] bin]# export GPNPDIR=/home/oracle/gpnp
[[email protected] bin]#
[[email protected] bin]# ./gpnptool get -o=$GPNPDIR/profile.original
Resulting profile written to "/home/oracle/gpnp/profile.original".
Success.
[[email protected] bin]#
備份原始的本次crs配置資訊:
[[email protected] bin]# cat /home/oracle/gpnp/profile.original
<?xml version="1.0" encoding="UTF-8"?><gpnp:GPnP-Profile Version="1.0" xmlns="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:gpnp="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:orcl="http://www.oracle.com/gpnp/2005/11/gpnp-profile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.grid-pnp.org/2005/11/gpnp-profile gpnp-profile.xsd" ProfileSequence="7" ClusterUId="7c1731905569ff95ff3697c92d73f4a6" ClusterName="lunar-crs" PALocation=""><gpnp:Network-Profile><gpnp:HostNetwork id="gen" HostName="*"><gpnp:Network
id="net2" IP="192.168.30.0" Adapter="eth0" Use="public"/><gpnp:Network id="net3" Adapter="eth1" Use="cluster_interconnect" IP="10.10.8.0"/></gpnp:HostNetwork></gpnp:Network-Profile><orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/><orcl:ASM-Profile
id="asm" DiscoveryString="/dev/raw/raw*" SPFile="+DATA_DG/lunar-crs/asmparameterfile/registry.253.801577129"/><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> <InclusiveNamespaces
xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="gpnp orcl xsi"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>KzkZ1hBXoFG6FWEcaRIHRKwQtkI=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>QkVh3por5mKc4c9Cx/Yrd9n+HXM01Cmsg5RiSQKOnHLhxxOTvn8YB1kKuHDLvm4k8qfhI/Rg0kcrudHoGmZ2wyIMPmkOH44+KyMC/s2FqbvHqceatqfEZXUrvC58LjJHx/wbMawQW4S73G0voDvf2+o6JicrPH0DJvb0/+6hG+0=</ds:SignatureValue></ds:Signature></gpnp:GPnP-Profile>[[email protected]
bin]#
[[email protected] bin]#
[[email protected] bin]# gpnptool get
Warning: some command line parameters were defaulted. Resulting command line:
/u01/app/12.1.0/product/grid/bin/gpnptool.bin get -o-
<?xml version="1.0" encoding="UTF-8"?><gpnp:GPnP-Profile Version="1.0" xmlns="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:gpnp="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:orcl="http://www.oracle.com/gpnp/2005/11/gpnp-profile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.grid-pnp.org/2005/11/gpnp-profile gpnp-profile.xsd" ProfileSequence="7" ClusterUId="7c1731905569ff95ff3697c92d73f4a6" ClusterName="lunar-crs" PALocation=""><gpnp:Network-Profile><gpnp:HostNetwork id="gen" HostName="*"><gpnp:Network
id="net2" IP="192.168.30.0" Adapter="eth0" Use="public"/><gpnp:Network id="net3" Adapter="eth1" Use="cluster_interconnect" IP="10.10.8.0"/></gpnp:HostNetwork></gpnp:Network-Profile><orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/><orcl:ASM-Profile
id="asm" DiscoveryString="/dev/raw/raw*" SPFile="+DATA_DG/lunar-crs/asmparameterfile/registry.253.801577129"/><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> <InclusiveNamespaces
xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="gpnp orcl xsi"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>KzkZ1hBXoFG6FWEcaRIHRKwQtkI=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>QkVh3por5mKc4c9Cx/Yrd9n+HXM01Cmsg5RiSQKOnHLhxxOTvn8YB1kKuHDLvm4k8qfhI/Rg0kcrudHoGmZ2wyIMPmkOH44+KyMC/s2FqbvHqceatqfEZXUrvC58LjJHx/wbMawQW4S73G0voDvf2+o6JicrPH0DJvb0/+6hG+0=</ds:SignatureValue></ds:Signature></gpnp:GPnP-Profile>
Success.
[[email protected] bin]#
[[email protected] bin]# cp $GPNPDIR/profile.original $GPNPDIR/p.xml
[[email protected] bin]#
獲取當前的序列號(每次修改並寫回crs中會有一個序列號作為標識):
[[email protected] bin]# ./gpnptool getpval -p=$GPNPDIR/p.xml -prf_sq -o-
7
[[email protected] bin]# ./gpnptool getpval -p=$GPNPDIR/p.xml -net -o- 共有網路和私有網路
net2 net3
[[email protected] bin]#
[[email protected] bin]# gpnptool edit -p=$GPNPDIR/p.xml -o=$GPNPDIR/p.xml -ovr -prf_sq=8 -net3:net_ip=10.10.10.0
Resulting profile written to "/home/oracle/gpnp/p.xml".
Success.
[[email protected] bin]#
[[email protected] bin]# gpnptool getpval -p=$GPNPDIR/p.xml -prf_sq -o-
8
[[email protected] bin]#
[[email protected] bin]# gpnptool sign -p=$GPNPDIR/p.xml -o=$GPNPDIR/p.xml -ovr -w=cw-fs:peer
Resulting profile written to "/home/oracle/gpnp/p.xml".
Success.
[[email protected] bin]#
[[email protected] bin]#
[[email protected] bin]# gpnptool put -p=$GPNPDIR/p.xml
Success.
[[email protected] bin]#
[[email protected] bin]# gpnptool find -c=lunar-crs
Found 1 instances of service 'gpnp'.
mdns:service:gpnp._tcp.local.://lunar:16372/agent=gpnpd,cname=lunar-crs,guid=7c1731905569ff95ff3697c92d73f4a6,host=lunar,pid=20922/gpnpd h:lunar c:lunar-crs u:7c1731905569ff95ff3697c92d73f4a6
[[email protected] bin]#
[[email protected] bin]#
[[email protected] bin]# gpnptool rget -h=lunar
Warning: some command line parameters were defaulted. Resulting command line:
/u01/app/12.1.0/product/grid/bin/gpnptool.bin rget -h=lunar -o-
Found 1 gpnp service instance(s) to rget profile from.
get-profile request to tcp://lunar:16372 (mdns:service:gpnp._tcp.local.://lunar:16372/agent=gpnpd,cname=lunar-crs,guid=7c1731905569ff95ff3697c92d73f4a6,host=lunar,pid=20922/gpnpd h:lunar c:lunar-crs u:7c1731905569ff95ff3697c92d73f4a6):
<?xml version="1.0" encoding="UTF-8"?><gpnp:GPnP-Profile Version="1.0" xmlns="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:gpnp="http://www.grid-pnp.org/2005/11/gpnp-profile" xmlns:orcl="http://www.oracle.com/gpnp/2005/11/gpnp-profile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.grid-pnp.org/2005/11/gpnp-profile gpnp-profile.xsd" ProfileSequence="8" ClusterUId="7c1731905569ff95ff3697c92d73f4a6" ClusterName="lunar-crs" PALocation=""><gpnp:Network-Profile><gpnp:HostNetwork id="gen" HostName="*"><gpnp:Network
id="net2" IP="192.168.30.0" Adapter="eth0" Use="public"/><gpnp:Network id="net3" Adapter="eth1" Use="cluster_interconnect" IP="10.10.10.0"/></gpnp:HostNetwork></gpnp:Network-Profile><orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/><orcl:ASM-Profile
id="asm" DiscoveryString="/dev/raw/raw*" SPFile="+DATA_DG/lunar-crs/asmparameterfile/registry.253.801577129"/><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> <InclusiveNamespaces
xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="gpnp orcl xsi"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>98ivzWc+OvF7BKAkfGUr3w3WdXU=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>BlbFC9gxed2y5YdVOtw2OkE5y9VHKW0ocvugN9n5FLtHEUyYwMFeBQe3ezEmegBooTB2hs7F0gh9WknPoLG9vy3Lphr+7Y3nPqi01Auilx8s06vx7+RRCMWN8mnNqMWTrwiV0Y2/tCJP8ZKbt70JzGVb+W9Ojm5MCmINgRCLAM4=</ds:SignatureValue></ds:Signature></gpnp:GPnP-Profile>
Success.
[[email protected] bin]#
[[email protected] bin]#
啟動crsd程序:
[[email protected] bin]# crsctl start res ora.crsd -init
CRS-2672: Attempting to start 'ora.crf' on 'lunar'
CRS-2672: Attempting to start 'ora.ctssd' on 'lunar'
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'lunar'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'lunar'
CRS-2676: Start of 'ora.drivers.acfs' on 'lunar' succeeded
CRS-2676: Start of 'ora.crf' on 'lunar' succeeded
CRS-2676: Start of 'ora.ctssd' on 'lunar' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'lunar' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'lunar'
CRS-2676: Start of 'ora.asm' on 'lunar' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'lunar'
CRS-2676: Start of 'ora.storage' on 'lunar' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'lunar'
CRS-2676: Start of 'ora.crsd' on 'lunar' succeeded
[[email protected] bin]#
[[email protected] bin]#
修改crs裡面的配置資訊:
[[email protected] bin]# oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
[[email protected] bin]# oifcfg getif
eth0 192.168.30.0 global public
eth1 10.10.10.0 global cluster_interconnect
[[email protected] bin]#
重啟crs,問題修復:
[[email protected] bin]# crsctl status res -t
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA_DG.dg
ONLINE ONLINE lunar STABLE
ora.LISTENER.lsnr
ONLINE ONLINE lunar STABLE
ora.RECO_DG.dg
ONLINE ONLINE lunar STABLE
ora.asm
ONLINE ONLINE lunar Started,STABLE
ora.gsd
OFFLINE OFFLINE lunar STABLE
ora.net1.network
ONLINE ONLINE lunar STABLE
ora.ons
ONLINE ONLINE lunar STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE lunar STABLE
ora.MGMTLSNR
1 ONLINE ONLINE lunar 10.10.10.66,STABLE
ora.cvu
1 ONLINE ONLINE lunar STABLE
ora.lunar.db
1 ONLINE ONLINE lunar Open,STABLE
ora.lunar.vip
1 ONLINE ONLINE lunar STABLE
ora.mgmtdb
1 ONLINE ONLINE lunar Open,STABLE
ora.oc4j
1 ONLINE ONLINE lunar STABLE
ora.scan1.vip
1 ONLINE ONLINE lunar STABLE
--------------------------------------------------------------------------------
[[email protected] bin]#
[[email protected] bin]#
相關推薦
從11.2開始錯誤的修改IP導致crs啟動不了的解決方法
使用RAC的時候,經常有朋友問如何修改IP,10.2的我就不說了,修改方法成熟的很,出了問題也很好解決。 從11.2開始,修改IP方法和以前差不多,但是出了問題,有些人不知道如何處理,這裡介紹一個使用gpnp修復的方法(還可以用重建crs的方法),該方法已經在11.2和1
linux新增環境變數對/etc/profile檔案進行修改過後導致命令用不了
在使用java的時候,要新增環境變數。一般我們是export一些變數,比如: export JAVA_HOME=.... export PATH=$PATH:$JAVA_HOME/bin 但是,當我們在export PATH的時候忘記在等號右邊加紅色的$PATH:
Rac 安裝後修改使用者名稱導致CRS啟動失敗
問題:RAC安裝成功後,是否可以更改RAC 安裝使用者 1. 執行環境使用administrator安裝RAC,修改administrator為dbuser 2. 重啟動節點1,2,,登陸dbuser 3. 檢查CRS狀態 檢視C
eclipse開始載入啟動,啟動不了解決
另一個辦法我個人認為比較完美(這個方法是從網路上發現,當我發現這個解決方法並驗證成功後我激動了好一陣子),這個方法解決的問題有個前提,那就是在workspace的.metadata資料夾,裡面有個.log檔案,如果裡面看到!MESSAGE A workspace crash
oracle連線數設定過大,導致oracle啟動不了
做專案的時候一直報ORA-12520的錯誤,故更改oracle的連線數: sqlplus sys/manager as sysdba select COUNT(*) from v$process select value from v$parameter where nam
breakpad在C++ 11下編譯錯誤修改
我只用到了exception_handler模組,暫時還未用到Server模組,因為用到了C++ 11的一些特性,而google-breadpad還沒有C++11版本,所以做了一些修改,集中在型別定義處1.typedef typeof(((struct user*) 0)->u_debugreg[0])
AndroidStudio升級2.3.1gradle無法升級導致build卡主問題解決
那首先要明白一個問題,就是牆和VPN,這個不懂得,自己找度娘問去。 最悲傷的時候就是配置都對了沒掛VPN下不動。 無論你是2.2還是升級2.3如果失敗了,最好自己去配置下。下面給出分析對比圖 這是Windows使用者目錄下的.gradle的庫,明顯可以看到3.3沒有下載
解決錯誤指定RequestHeader導致後臺接受不到FormData資料的問題
問題的起因是現在做的一個WEB API專案中需要以formdata的方式向後臺提交資料(包括一個JSON和一張圖片)。 之前一直是用以下程式碼傳送資料,沒出過問題。 if (window.XMLHttpRequest) { //
ubuntu修改IP地址和閘道器的方法
一、使用命令設定Ubuntu IP地址 1.修改配置檔案blacklist.conf禁用IPV6 sudo vi /etc/modprobe.d/blacklist.conf 表示用vi編輯器(也可以用其他編輯器,如gedit)編輯etc資料夾下modprobe.
sql server啟動不了, MSSQL 18052錯誤: 9003,嚴重度: 20,狀態: 1 . 。sql server 2000 附加資料庫沒日誌,及安裝異常問題。無法通過IP來聯結
sql server啟動不了, MSSQL 18052錯誤: 9003,嚴重度: 20,狀態: 1 . 問題現象: 系統日誌檔案(控制面板–管理工具–系統日誌) 能找到以下兩條錯誤: 17052: 無法恢復 master 資料庫。正在退出。 18052: 錯誤: 9003
OracleDBConsoleorcl 啟動不了 服務特定錯誤2【解決辦法】
問題描述: 我的oracle不知道為什麼OracleDBConsoleorcl 啟動不了 出現“服務特定錯誤2”現在我也不知道原因 我的oracle版本:oracle10g 問題解決: 上網搜尋,發現很多人遇到過這問題,不過導致這問題的原因也很多,我是試了幾個方法都不行,後
Android Studio 從2.3遷移到3.0遇到的問題及解決方法
1. 之前的gradle版本:3.3-all 現在的gradle版本:4.1-all 原因是我用了 butterknife 配置問題: 解決辦法: (1).刪除: apply plugin: 'com.jakewharton.butterknife'
修改RAC中的私網地址導致CRS啟動失敗
在自己的虛擬機器中試驗,由於疏忽,將私網的地址和公網的地址配在了一個網段,導致將私網斷掉後,RAC也不會腦裂, 打算將私網ip 換成另外一個網段: 步驟如下: 1)關閉叢集 [[email protected] ~]$ crsctl stop cluster -a
【mysql】service mysql start出錯,mysql啟動不了,解決mysql: unrecognized service錯誤
開機 init.d starting 設置 tin 執行 rest root lan service MySQL start出錯,mysql啟動不了,解決mysql: unrecognized service錯誤的方法如下: [[email protected]/
Unity5 Shader Stripping 導致 LightMap 全部丟失的解決方法
nbsp 打包 com 功能 -1 class il2cpp cnblogs offset 當使用 SceneManager.LoadScene 的時候,會自動載入LightMap 和 NavMesh的數據。然後再對MeshRender 進行指定 LightMapIndex
我的Android進階之旅------>Android編譯錯誤java.util.zip.ZipException: duplicate entry的解決方法
image bsp failed 進階 技術分享 san col get cep 今天在Android Studio中把另外一個項目引入當前項目,編譯的時候出現了java.util.zip.ZipException: duplicate entry錯誤。 錯誤例如以下
Hadoop問題:啟動hadoop 2.6遇到的datanode啟動不了
left hand list common status ctc 解決辦法 總結 aac 問題描述:第一次啟動輸入jps都有,第二次沒有datanode 日誌如下: 查看日誌如下: 2014-12-22 12:08:27,264 INFO org.mortbay.l
Win10下 Redis啟動不了 錯誤1067:進程意外終止
進程 redis ogl ces img 解決 class verbose all 一、系統環境 操作系統:Windows10專業版 64位Redis版本:redis-64.3.0.503 二、問題描述 1.命令行啟動: redis-server redis.wind
weblogic修改jdk版本遇到的問題與解決方法
set res 聯網 內存 war pro dom href div 1.修改setDomainEnv ,路徑.../domains/xx_domain\bin\ 1.1修改JAVA_HOME為需要修改的路徑 註意:BEA_JAVA_HOME路徑不需修改 2.
JQuery判斷radio屬性為空的時候錯誤提示信息顯示位置不正確解決辦法
JQuery from表單驗證 radio input submit 只需要定義一個以下標簽即可以想讓錯誤信息顯示到哪裏就顯示到哪裏<label for="name" class="error"></label>說明: