-
問題
解決報錯ftp_rawlist: Unable to create temporary file. Check permissions in temporary files directory問題 -
場景:
在winserver 2012伺服器下,早上運維人員開啟搜尋,發現搜尋出來的圖片都是裂開的(載入不出來),然後我拿到圖片地址,直接訪問,就出現瞭如題的錯誤,然後上FTP檢視圖片是真實存在的,這可把我整蒙了,laravel框架原始碼vendor/league/flysystem/src/Adapter/Ftp.php 565行報如題錯誤。 -
查詢原因:
當時在想windows下應該不存在資料夾許可權的問題,只有資料夾被刪除了,但是又沒許可權建立的問題,當時瞬間想起問題出現的原因,清晨的時候有人發圖給我說redis中有病毒是否要清理,然後就清理了,估計是這個臨時資料夾被刪除了 -
解決:
- 上網搜到瞭如果php.ini中的sys_temp_dir中如果沒有設定
,就會用系統分配的臨時檔案目錄 - 然後利用
echo sys_get_temp_dir();
然後輸出了C:\Users\ADMINI~1\AppData\Local\Temp\2
- 然後去尋找這個資料夾發現2這個資料夾不見了,然後手動建立好2這個資料夾,重新搜尋一下圖片就刷出來了
- 另一種更好的解決方案我覺得應該是配置php.ini中的sys_temp_dir的值
- 發現ftp拿圖片是先要放在快取裡的,而且快取資料夾被刪除後,不能自動建立
- 上網搜到瞭如果php.ini中的sys_temp_dir中如果沒有設定
ftp_rawlist: Unable to create temporary file.
相關文章
- Unable to create git index lockGitIndex
- Unable to generate a temporary class (result=1)解決方法
- Fatal error in launcher: Unable to create process using '"'Error
- Unable to create index.lock File exists錯誤Index
- Unable To Create Database Using ASM ORA-15055DatabaseASM
- ORA-09925: Unable to create audit trail file彙總AI
- create table進階學習(二)_全域性臨時表_global temporary table
- Oracle案例01——ORA-09925: Unable to create audit trail fileOracleAI
- 解決ORA-27125: unable to create shared memory segment
- 救命啊java.lang.OutOfMemoryError: unable to create new native threadJavaErrorthread
- git拉取程式碼報錯filename too long unable to create fileGit
- java.lang.OutOfMemoryError- unable to create new native thread 問題排查JavaErrorthread
- java.lang.OutOfMemoryError: unable to create new native thread如何解決JavaErrorthread
- ORA-27125:unable to create shared memory segment 解決方法
- ORA-27125:unable to create shared memory segment 解決方法?
- ORA-15183 Unable to Create Database on Server using 11.2 ASMDatabaseServerASM
- Allocation of Temporary Segments for Temporary Tables and Indexes (28)Index
- mac 下vscode 更新時提示:Could not create temporary directory: 許可權被拒絕MacVSCode
- ORA-31633: unable to create master table "SYSTEM.SYS_EXPORT_FULL_XX"ASTExport
- Linux 無許可權建立資料夾( 報錯:Unable to create ... directory.)Linux
- Linux 10g --ORA-27125: unable to create shared memory segmentLinux
- DBCA建立ASM報錯ORA-27125: unable to create shared memory segmentASM
- OPatch not load inventory for given Oracle Ho-Unable create patchobj_1119465.1OracleOBJ
- ORACLE 19C RAC FOR RHEL7 打補丁報錯OPatchException: Unable to create patchObjectOracleExceptionObject
- oracle temporary tableOracle
- VMware vmdk錯誤: Failed to lock the file.AI
- [FATAL] [INS-32012] Unable to create directory: /u01/app/19.3.0/grid,APP
- 安裝11.2.0.1資料庫軟體報[FATAL] [INS-32035] Unable to create資料庫
- Database Clone by rebuilding control file.DatabaseRebuild
- ORA-15183 Unable to Create DB on Server using 11.2 ASM and GI_1054033.1ServerASM
- 【ERROR】win2003安裝oracle10g報錯 unable to create an item...ErrorOracle
- 靜默安裝11.2.0.1資料庫軟體報[FATAL] [INS-32035] Unable to create資料庫
- 使用sqlplus連線資料庫報ORA-09925: Unable to create audit trail fileSQL資料庫AI
- Linux 6.2 安裝Oracle 10g ORA-27125:unable to create shared memory segmentLinuxOracle 10g
- [Oracle Script] Temporary Sort UsageOracle
- Restrictions on Altering Temporary TablesREST
- Operations that Require Temporary Segments (26)UI
- spark大批量讀取Hbase時出現java.lang.OutOfMemoryError: unable to create new native threadSparkJavaErrorthread