看板 PttCurrent 關於我們 聯絡資訊
嘗試執行./shmctl init 及./shmctl SHMinit 但結果都是 loading uhash... shmget: Cannot allocate memory [shmget error] key = 4cc errno = 2: No such file or directory 有更正過編譯器設定 且以正確依照https://www.ptt.cc/bbs/PttCurrent/M.1640012985.A.9F7.html 編譯過了, 結果正確 ※ 引述《knko ()》之銘言 : 於執行./mbbsd -p 2323 -d時,出現以下錯誤:[shmget error] key = 4cc : errno = 2: No such file or directory。已遵循以往文章嘗試修正,有開啟kernel.shm ma : x=104857600 : kernel.shmall=25600,並重新啟動嘗試過,使用版本為kubuntu x86_64,先前編譯時 : 使用pmake -i all clean install編譯過,並忽略部分變數重複定義,可能與此有關,附 : 有開啟#define SHMALIGNEDSIZE (1048576*4)此定義,此致 ---- Sent from BePTT on my Samsung SM-M127F -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 150.117.157.24 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/PttCurrent/M.1640166351.A.1B7.html
holishing: 第一次安裝有先 ~/bin/initbbs -DoIt 過了嗎? 12/23 23:02
knko: 以按照步驟式過了 12/24 20:47
knko: 按照這個執行到第14部後才出現錯誤 12/24 20:47
IepID: 可用記憶體空間多大?看起來像是可用記憶體空間不足。 12/26 14:58
IepID: fying-kernel-parameters-linux 相關文件,或許可供參考。 12/26 15:22
IepID: #1Au33Cxj (PttCurrent) 12/26 15:34
IepID: 在 x86_64 上,HUGETBL 可為 2MIB 或 1GiB,或許與此相關。 12/26 15:57
IepID: 如果是 1GiB,mmap() 時就會超出 shmmax (400MIB) 而失敗。 12/26 16:06
IepID: 更正,上面的 kernel.shmmax 是 100MiB。不過在現代太小。 12/26 16:14
IepID: PttBBS 是用 shmget() 配 SHM_HUGETBL。但應該不影響結論。 12/26 16:56
IepID: 另一個可能原因,是上面那篇提到的 bbsadm 權限設定問題。 12/26 17:00
knko: 已經可以了,還有請問要如何創板謝謝 12/30 16:36
if4: 創板需要連署 看性質是屬於哪一個群組管轄 有各種群組組務板 12/31 02:04
knko: 如果有站長權限在自己的站創版要如何? 12/31 08:13