技術(shù)在于分享,今天為大家?guī)Я说氖且黄a(chǎn)環(huán)境中排錯的文章,希望對大家以后在工作中排錯有參考意義。不說了直接上干貨:
問題描述:
客戶設置N條計劃任務每天定期備份對應數(shù)據(jù)庫及相關(guān)日志文件等信息,在域策略到期后更改域賬戶密碼信息后,在各個服務器端更新憑據(jù)驗證后所有服務器計劃任務均正常執(zhí)行,唯獨在2003這臺服務器上的備份計劃一直失敗,客戶相關(guān)服務人研究N久未果并暫時通過手動備份以做好備份工作并交由我方解決事件問題。
相關(guān)報錯信息截圖如下:
\\server\c$ is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
The referenced account is currently locked out and may not be logged on to.
The following error occurred while using the user name and password you enterect: Logon failure: unknown user name or bad password.
\\server\c$ is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
問題分析:
查看URL訪問是否正常(\\10.0.0.1\d$訪問正常,訪問\\10.0.0.1\c$訪問失敗,單獨訪問\\10.0.0.1提示輸入賬號信息,輸入后彈窗報錯)(其他所有服務器及客戶端訪問c$、d$都沒問題):
解決步驟:
1.核對訪問共享所對應的共享權(quán)限、共享策略(其他客戶端或服務端均可以訪問到c$下信息,唯獨2003這臺服務器上訪問c$受限),確認策略上沒有單獨限制;
2.通過net share 查看c$是否共享,執(zhí)行net use * /del刪除網(wǎng)絡映射緩存信息;
3.客戶問題解決。
附net use注解:
net use s: \\IP password /user:administrator 建立對應盤符的網(wǎng)絡映射;
net use 查看網(wǎng)絡映射信息
net use s: /del 刪除s盤對應的網(wǎng)絡映射
net use * /del 刪除所有憑證記錄
使用net use命令創(chuàng)建網(wǎng)絡映像,
例:net use \\10.0.0.101\d$ password /user:administrator
如需創(chuàng)建網(wǎng)絡映像驅(qū)動盤,可以在net use后增加指定盤符
net use z: \\10.0.0.101\d$ password /user:administrator
本人不是科班出生,同時也不是大牛,但是技術(shù)方面稍有見解,另一原因是因為本人記性不是太好,哈哈,做個文檔整理一下供大家參考學習,希望大家少走彎路,共同學習共同進步。
再者,排錯或者博文的意思是帶動大家更好的學習及思考技術(shù)問題,不要對這些內(nèi)容產(chǎn)生依賴心理,生產(chǎn)或?qū)嶋H環(huán)境中建議大家多做總結(jié),善于思考問題所在,同時要有一顆謙卑共享的心理去服務更多的后來者。技術(shù)成就夢想,知識在于分享。