Ubuntu moves to new server [論壇 - 伺服器架設]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊

(1) 2 »


Ubuntu moves to new server
會員一級
註冊日期:
10/24 15:57:04
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 25
MP : 3 / 7
EXP: 0
離線
請問各位前輩
建置另一台一模一樣的伺服器
轉移遇到奇怪的錯誤
使用以下命令壓縮舊服務器的文件夾(以下部分排除)
tar -cvpzf backup.tgz --exclude=/proc --exclude=/root --exclude=/boot --exclude=/dev/mapper --exclude=/etc/fstab --exclude=/lost+found -- exclude=/home --exclude=/mnt --exclude=/sys/

tar -xzvpf backup.tgz -C /
將檔案還原
啟動時出現以下錯誤
新Server:
(Failed)raise network interfaces
(Failed)Device mapper fails
系統運行正常(測試:新增帳號/網站/DNS/Mysql)
舊Server:
(Failed)raise network interfaces
檢查網路設置,沒有發現錯誤
運作近兩小時後訪問網站無法解析網站(網域名稱)
直接用IP開啟預設網站運作正常

奇怪的是~新舊伺服器~貌似名稱解析出問題
(failed)raise network interfaces
但是
Bind9 restart 問題卻沒改善
apache2 restart卻又好了
目前apache2架設6個網站
不知道有沒有方法可以解決
懇請指教~謝謝
硬體設備:IBM3550M2/IBM3550M4
前置作業在IBM3550M4安裝完成UBUNTU20.04.5

10/24 18:46:50
應用擴展 工具箱
回覆: Ubuntu moves to new server
會員三級
註冊日期:
2012/4/26 9:45
所屬群組:
已註冊使用者
等級: 12
HP : 0 / 285
MP : 59 / 8854
EXP: 43
離線
1.如果2台會一起開的話,確保2台的 pc name 是不一樣的。
2.如果2台會一起開的話,確保2台的 ip 是不一樣的;如果是DHCP的話,確保網卡沒有指定MAC。
3.網路上找到IBM3550M2的網路晶片是Broadcom 5709,而IBM3550M4的網路晶片是Intel I350AM4,請找到各自的驅動重新安裝一次。
4.理論上舊伺服器只負責被壓縮,沒有動到任何地方,不應該會出現 新增(啟用)網卡{(Failed)raise network interfaces}失敗的問題。

10/24 22:14:26
應用擴展 工具箱
回覆: Ubuntu moves to new server
會員一級
註冊日期:
10/24 15:57:04
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 25
MP : 3 / 7
EXP: 0
離線
感謝您提供寶貴意見
IP:192.168.0.4
name:ns4
IP:192.168.0.5
name:ns5
是同時開啟(備援用)
IP&NAME不相同
的確納悶(原始)的IP沒有動,怎麼會發生這樣的問題
對了~找資料時有參考
https://github.com/BluewhaleRobot/systemback

http://community.bwbot.org/topic/2918/%E5%9C%A8ubuntu-20-04%E4%B8%8A%E4%BD%BF%E7%94%A8systemback

輸入了下面兩行指令

sudo sh -c 'echo "deb [arch=amd64] http://mirrors.bwbot.org/ stable main" > /etc/apt/sources.list.d/systemback.list'

sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key 50B2C005A67B264F

但是到了安裝sudo apt-get install systemback 停止(因為不需桌面的套件)沒繼續安裝
會是因為這樣造成?
有解除已經執行指令方法?

10/26 0:25:23
應用擴展 工具箱
回覆: Ubuntu moves to new server
會員三級
註冊日期:
2012/4/26 9:45
所屬群組:
已註冊使用者
等級: 12
HP : 0 / 285
MP : 59 / 8854
EXP: 43
離線
翻一下 /var/log 底下的 dpkg.log 就可以看到安裝了什縻元件,逆著時間往回追,一般來說,在你新增 repository 之後所安裝的元件,大部份都可以看作是這個 repository 所帶來的影響。
既然暫時不敢安裝,那就先把這個repository的元件都先移除,然後再來看看有什縻影響。
我手上只有一台舊機器,沒搞過線上備援,所以也不敢說是否是這個原因。
不過2台都同時新增(啟用)網卡失敗,不能排除是在網路上互相衝到的可能。

10/26 12:05:02
應用擴展 工具箱
回覆: Ubuntu moves to new server
會員三級
註冊日期:
2012/4/26 9:45
所屬群組:
已註冊使用者
等級: 12
HP : 0 / 285
MP : 59 / 8854
EXP: 43
離線
如果你們沒有綁定IP的話,最簡單的辦法是一台一台測。

反正新的那一台暫時不能上線,就先關掉不要開,只開舊的伺服器,看看會不會有問題,如果新的伺服器不開就沒有問題的話,那就是互相衝到了。

10/26 12:12:57
應用擴展 工具箱
回覆: Ubuntu moves to new server
會員一級
註冊日期:
10/24 15:57:04
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 25
MP : 3 / 7
EXP: 0
離線
測試過另一台沒開機~沒有改變(因為新的那台也有同樣現象2小時多會網站名稱無法解析)
資料移過去~是在執行兩個指令之後的事
所以也影響到新的伺服器(只是新的上面還有另外的Device mapper fails)

感謝提供這麼寶貴的知識~我再進一步了解一下~謝謝您的指導

10/26 16:12:48
應用擴展 工具箱
回覆: Ubuntu moves to new server
會員一級
註冊日期:
10/24 15:57:04
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 25
MP : 3 / 7
EXP: 0
離線
我是從核心版本128升級131之後執行那兩行指令
發現有問題時~有試著重新執行apache2 reinstall
並且移除 dovecot-pop3/dovecot-imap
所以指令在介於升級之後跟重新安裝之間(如下)
2022-10-18 09:46:53 startup archives unpack
2022-10-18 09:46:57 upgrade zlib1g-dev:amd64 1:1.2.11.dfsg-2ubuntu1.4 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:57 status half-configured zlib1g-dev:amd64 1:1.2.11.dfsg-2ubuntu1.4
2022-10-18 09:46:57 status unpacked zlib1g-dev:amd64 1:1.2.11.dfsg-2ubuntu1.4
2022-10-18 09:46:57 status half-installed zlib1g-dev:amd64 1:1.2.11.dfsg-2ubuntu1.4
2022-10-18 09:46:57 status triggers-pending man-db:amd64 2.9.1-1
2022-10-18 09:46:57 status unpacked zlib1g-dev:amd64 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:57 upgrade zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.4 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:57 status triggers-pending libc-bin:amd64 2.31-0ubuntu9.9
2022-10-18 09:46:57 status half-configured zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.4
2022-10-18 09:46:57 status unpacked zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.4
2022-10-18 09:46:57 status half-installed zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.4
2022-10-18 09:46:57 status unpacked zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:57 startup packages configure
2022-10-18 09:46:57 configure zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.5 <none>
2022-10-18 09:46:57 status unpacked zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:57 status half-configured zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:58 status installed zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:58 startup packages configure
2022-10-18 09:46:58 configure zlib1g-dev:amd64 1:1.2.11.dfsg-2ubuntu1.5 <none>
2022-10-18 09:46:58 status unpacked zlib1g-dev:amd64 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:58 status half-configured zlib1g-dev:amd64 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:58 status installed zlib1g-dev:amd64 1:1.2.11.dfsg-2ubuntu1.5
2022-10-18 09:46:58 trigproc man-db:amd64 2.9.1-1 <none>
2022-10-18 09:46:58 status half-configured man-db:amd64 2.9.1-1
2022-10-18 09:46:59 status installed man-db:amd64 2.9.1-1
2022-10-18 09:46:59 trigproc libc-bin:amd64 2.31-0ubuntu9.9 <none>
2022-10-18 09:46:59 status half-configured libc-bin:amd64 2.31-0ubuntu9.9
2022-10-18 09:47:00 status installed libc-bin:amd64 2.31-0ubuntu9.9
2022-10-18 10:06:27 startup packages configure
2022-10-18 10:06:28 startup packages purge
2022-10-18 10:06:28 purge sa-compile:all 3.4.4-1ubuntu1.1 <無>
2022-10-18 10:06:28 status config-files sa-compile:all 3.4.4-1ubuntu1.1
2022-10-18 10:06:28 status not-installed sa-compile:all <無>
2022-10-18 10:06:28 purge bsd-mailx:amd64 8.1.2-0.20180807cvs-1 <無>
2022-10-18 10:06:28 status config-files bsd-mailx:amd64 8.1.2-0.20180807cvs-1
2022-10-18 10:06:28 status not-installed bsd-mailx:amd64 <無>
2022-10-18 10:06:28 purge postfix:amd64 3.4.13-0ubuntu1.2 <無>
2022-10-18 10:06:28 status config-files postfix:amd64 3.4.13-0ubuntu1.2
2022-10-18 10:06:28 status triggers-pending systemd:amd64 245.4-4ubuntu3.18
2022-10-18 10:06:28 status triggers-pending ureadahead:amd64 0.100.0-21
2022-10-18 10:06:28 status triggers-pending rsyslog:amd64 8.2001.0-1ubuntu1.3
2022-10-18 10:06:28 status triggers-pending ufw:all 0.36-6ubuntu1
2022-10-18 10:06:33 status not-installed postfix:amd64 <無>
2022-10-18 10:06:33 purge spamassassin:all 3.4.4-1ubuntu1.1 <無>
2022-10-18 10:06:33 status config-files spamassassin:all 3.4.4-1ubuntu1.1
2022-10-18 10:06:35 status not-installed spamassassin:all <無>
2022-10-18 10:06:36 startup packages configure
2022-10-18 10:06:36 trigproc ufw:all 0.36-6ubuntu1 <無>
2022-10-18 10:06:36 status half-configured ufw:all 0.36-6ubuntu1
2022-10-18 10:06:36 status installed ufw:all 0.36-6ubuntu1
2022-10-18 10:06:36 trigproc systemd:amd64 245.4-4ubuntu3.18 <無>
2022-10-18 10:06:36 status half-configured systemd:amd64 245.4-4ubuntu3.18
2022-10-18 10:06:36 status installed systemd:amd64 245.4-4ubuntu3.18
2022-10-18 10:06:36 trigproc ureadahead:amd64 0.100.0-21 <無>
2022-10-18 10:06:36 status half-configured ureadahead:amd64 0.100.0-21
2022-10-18 10:06:36 status installed ureadahead:amd64 0.100.0-21
2022-10-18 10:06:36 trigproc rsyslog:amd64 8.2001.0-1ubuntu1.3 <無>
2022-10-18 10:06:36 status half-configured rsyslog:amd64 8.2001.0-1ubuntu1.3
2022-10-18 10:06:37 status installed rsyslog:amd64 8.2001.0-1ubuntu1.3
2022-10-18 10:09:21 startup archives unpack
2022-10-18 10:09:22 install ncdu:amd64 <無> 1.14.1-1
2022-10-18 10:09:22 status half-installed ncdu:amd64 1.14.1-1
2022-10-18 10:09:22 status triggers-pending man-db:amd64 2.9.1-1
2022-10-18 10:09:22 status unpacked ncdu:amd64 1.14.1-1
2022-10-18 10:09:22 startup packages configure
2022-10-18 10:09:22 configure ncdu:amd64 1.14.1-1 <無>
2022-10-18 10:09:22 status unpacked ncdu:amd64 1.14.1-1
2022-10-18 10:09:22 status half-configured ncdu:amd64 1.14.1-1
2022-10-18 10:09:22 status installed ncdu:amd64 1.14.1-1
2022-10-18 10:09:22 trigproc man-db:amd64 2.9.1-1 <無>
2022-10-18 10:09:22 status half-configured man-db:amd64 2.9.1-1
2022-10-18 10:09:27 status installed man-db:amd64 2.9.1-1
2022-10-21 23:23:35 startup packages configure
2022-10-21 23:24:26 startup archives unpack
2022-10-21 23:24:30 upgrade libperl5.30:amd64 5.30.0-9ubuntu0.2 5.30.0-9ubuntu0.3
2022-10-21 23:24:30 status triggers-pending libc-bin:amd64 2.31-0ubuntu9.9
2022-10-21 23:24:30 status half-configured libperl5.30:amd64 5.30.0-9ubuntu0.2
2022-10-21 23:24:30 status unpacked libperl5.30:amd64 5.30.0-9ubuntu0.2
2022-10-21 23:24:30 status half-installed libperl5.30:amd64 5.30.0-9ubuntu0.2
2022-10-21 23:24:31 status triggers-pending man-db:amd64 2.9.1-1
2022-10-21 23:24:32 status unpacked libperl5.30:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:24:32 upgrade perl:amd64 5.30.0-9ubuntu0.2 5.30.0-9ubuntu0.3
2022-10-21 23:24:32 status half-configured perl:amd64 5.30.0-9ubuntu0.2
2022-10-21 23:24:32 status unpacked perl:amd64 5.30.0-9ubuntu0.2
2022-10-21 23:24:32 status half-installed perl:amd64 5.30.0-9ubuntu0.2
2022-10-21 23:24:32 status unpacked perl:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:24:32 upgrade perl-base:amd64 5.30.0-9ubuntu0.2 5.30.0-9ubuntu0.3
2022-10-21 23:24:32 status half-configured perl-base:amd64 5.30.0-9ubuntu0.2
2022-10-21 23:24:32 status unpacked perl-base:amd64 5.30.0-9ubuntu0.2
2022-10-21 23:24:32 status half-installed perl-base:amd64 5.30.0-9ubuntu0.2
2022-10-21 23:24:33 status unpacked perl-base:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:24:33 startup packages configure
2022-10-21 23:24:33 configure perl-base:amd64 5.30.0-9ubuntu0.3 <none>
2022-10-21 23:24:33 status unpacked perl-base:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:24:33 status half-configured perl-base:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:24:33 status installed perl-base:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:24:34 startup archives unpack
2022-10-21 23:24:34 upgrade perl-modules-5.30:all 5.30.0-9ubuntu0.2 5.30.0-9ubuntu0.3
2022-10-21 23:24:34 status half-configured perl-modules-5.30:all 5.30.0-9ubuntu0.2
2022-10-21 23:24:34 status unpacked perl-modules-5.30:all 5.30.0-9ubuntu0.2
2022-10-21 23:24:34 status half-installed perl-modules-5.30:all 5.30.0-9ubuntu0.2
2022-10-21 23:24:35 status unpacked perl-modules-5.30:all 5.30.0-9ubuntu0.3
2022-10-21 23:24:35 upgrade libksba8:amd64 1.3.5-2 1.3.5-2ubuntu0.20.04.1
2022-10-21 23:24:35 status half-configured libksba8:amd64 1.3.5-2
2022-10-21 23:24:35 status unpacked libksba8:amd64 1.3.5-2
2022-10-21 23:24:35 status half-installed libksba8:amd64 1.3.5-2
2022-10-21 23:24:35 status unpacked libksba8:amd64 1.3.5-2ubuntu0.20.04.1
2022-10-21 23:24:36 install linux-modules-5.4.0-131-generic:amd64 <none> 5.4.0-131.147
2022-10-21 23:24:36 status half-installed linux-modules-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:24:39 status unpacked linux-modules-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:24:40 install linux-image-5.4.0-131-generic:amd64 <none> 5.4.0-131.147
2022-10-21 23:24:40 status half-installed linux-image-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:24:41 status unpacked linux-image-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:24:42 install linux-modules-extra-5.4.0-131-generic:amd64 <none> 5.4.0-131.147
2022-10-21 23:24:42 status half-installed linux-modules-extra-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:24:48 status unpacked linux-modules-extra-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:24:48 upgrade linux-generic:amd64 5.4.0.128.129 5.4.0.131.131
2022-10-21 23:24:48 status half-configured linux-generic:amd64 5.4.0.128.129
2022-10-21 23:24:48 status unpacked linux-generic:amd64 5.4.0.128.129
2022-10-21 23:24:48 status half-installed linux-generic:amd64 5.4.0.128.129
2022-10-21 23:24:48 status unpacked linux-generic:amd64 5.4.0.131.131
2022-10-21 23:24:49 upgrade linux-image-generic:amd64 5.4.0.128.129 5.4.0.131.131
2022-10-21 23:24:49 status half-configured linux-image-generic:amd64 5.4.0.128.129
2022-10-21 23:24:49 status unpacked linux-image-generic:amd64 5.4.0.128.129
2022-10-21 23:24:49 status half-installed linux-image-generic:amd64 5.4.0.128.129
2022-10-21 23:24:49 status unpacked linux-image-generic:amd64 5.4.0.131.131
2022-10-21 23:24:49 install linux-headers-5.4.0-131:all <none> 5.4.0-131.147
2022-10-21 23:24:49 status half-installed linux-headers-5.4.0-131:all 5.4.0-131.147
2022-10-21 23:24:54 status unpacked linux-headers-5.4.0-131:all 5.4.0-131.147
2022-10-21 23:24:54 install linux-headers-5.4.0-131-generic:amd64 <none> 5.4.0-131.147
2022-10-21 23:24:54 status half-installed linux-headers-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:24:57 status unpacked linux-headers-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:24:57 upgrade linux-headers-generic:amd64 5.4.0.128.129 5.4.0.131.131
2022-10-21 23:24:57 status half-configured linux-headers-generic:amd64 5.4.0.128.129
2022-10-21 23:24:57 status unpacked linux-headers-generic:amd64 5.4.0.128.129
2022-10-21 23:24:57 status half-installed linux-headers-generic:amd64 5.4.0.128.129
2022-10-21 23:24:57 status unpacked linux-headers-generic:amd64 5.4.0.131.131
2022-10-21 23:24:57 upgrade linux-libc-dev:amd64 5.4.0-128.144 5.4.0-131.147
2022-10-21 23:24:57 status half-configured linux-libc-dev:amd64 5.4.0-128.144
2022-10-21 23:24:57 status unpacked linux-libc-dev:amd64 5.4.0-128.144
2022-10-21 23:24:57 status half-installed linux-libc-dev:amd64 5.4.0-128.144
2022-10-21 23:24:58 status unpacked linux-libc-dev:amd64 5.4.0-131.147
2022-10-21 23:24:58 startup packages configure
2022-10-21 23:24:58 configure libksba8:amd64 1.3.5-2ubuntu0.20.04.1 <none>
2022-10-21 23:24:58 status unpacked libksba8:amd64 1.3.5-2ubuntu0.20.04.1
2022-10-21 23:24:58 status half-configured libksba8:amd64 1.3.5-2ubuntu0.20.04.1
2022-10-21 23:24:58 status installed libksba8:amd64 1.3.5-2ubuntu0.20.04.1
2022-10-21 23:24:58 configure perl-modules-5.30:all 5.30.0-9ubuntu0.3 <none>
2022-10-21 23:24:58 status unpacked perl-modules-5.30:all 5.30.0-9ubuntu0.3
2022-10-21 23:24:58 status half-configured perl-modules-5.30:all 5.30.0-9ubuntu0.3
2022-10-21 23:24:58 status installed perl-modules-5.30:all 5.30.0-9ubuntu0.3
2022-10-21 23:24:58 configure linux-headers-5.4.0-131:all 5.4.0-131.147 <none>
2022-10-21 23:24:58 status unpacked linux-headers-5.4.0-131:all 5.4.0-131.147
2022-10-21 23:24:58 status half-configured linux-headers-5.4.0-131:all 5.4.0-131.147
2022-10-21 23:24:58 status installed linux-headers-5.4.0-131:all 5.4.0-131.147
2022-10-21 23:24:58 configure linux-libc-dev:amd64 5.4.0-131.147 <none>
2022-10-21 23:24:58 status unpacked linux-libc-dev:amd64 5.4.0-131.147
2022-10-21 23:24:58 status half-configured linux-libc-dev:amd64 5.4.0-131.147
2022-10-21 23:24:58 status installed linux-libc-dev:amd64 5.4.0-131.147
2022-10-21 23:24:58 configure libperl5.30:amd64 5.30.0-9ubuntu0.3 <none>
2022-10-21 23:24:58 status unpacked libperl5.30:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:24:58 status half-configured libperl5.30:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:24:58 status installed libperl5.30:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:24:58 configure linux-modules-5.4.0-131-generic:amd64 5.4.0-131.147 <none>
2022-10-21 23:24:58 status unpacked linux-modules-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:24:58 status half-configured linux-modules-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:01 status installed linux-modules-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:02 configure linux-headers-5.4.0-131-generic:amd64 5.4.0-131.147 <none>
2022-10-21 23:25:02 status unpacked linux-headers-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:02 status half-configured linux-headers-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:02 status installed linux-headers-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:02 configure linux-image-5.4.0-131-generic:amd64 5.4.0-131.147 <none>
2022-10-21 23:25:02 status unpacked linux-image-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:02 status half-configured linux-image-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:05 status installed linux-image-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:05 status triggers-pending linux-image-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:05 configure linux-headers-generic:amd64 5.4.0.131.131 <none>
2022-10-21 23:25:05 status unpacked linux-headers-generic:amd64 5.4.0.131.131
2022-10-21 23:25:05 status half-configured linux-headers-generic:amd64 5.4.0.131.131
2022-10-21 23:25:05 status installed linux-headers-generic:amd64 5.4.0.131.131
2022-10-21 23:25:05 configure perl:amd64 5.30.0-9ubuntu0.3 <none>
2022-10-21 23:25:05 status unpacked perl:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:25:05 status half-configured perl:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:25:05 status installed perl:amd64 5.30.0-9ubuntu0.3
2022-10-21 23:25:05 configure linux-modules-extra-5.4.0-131-generic:amd64 5.4.0-131.147 <none>
2022-10-21 23:25:05 status unpacked linux-modules-extra-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:05 status half-configured linux-modules-extra-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:08 status installed linux-modules-extra-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:08 configure linux-image-generic:amd64 5.4.0.131.131 <none>
2022-10-21 23:25:08 status unpacked linux-image-generic:amd64 5.4.0.131.131
2022-10-21 23:25:08 status half-configured linux-image-generic:amd64 5.4.0.131.131
2022-10-21 23:25:08 status installed linux-image-generic:amd64 5.4.0.131.131
2022-10-21 23:25:08 configure linux-generic:amd64 5.4.0.131.131 <none>
2022-10-21 23:25:08 status unpacked linux-generic:amd64 5.4.0.131.131
2022-10-21 23:25:08 status half-configured linux-generic:amd64 5.4.0.131.131
2022-10-21 23:25:08 status installed linux-generic:amd64 5.4.0.131.131
2022-10-21 23:25:09 trigproc man-db:amd64 2.9.1-1 <none>
2022-10-21 23:25:09 status half-configured man-db:amd64 2.9.1-1
2022-10-21 23:25:15 status installed man-db:amd64 2.9.1-1
2022-10-21 23:25:15 trigproc libc-bin:amd64 2.31-0ubuntu9.9 <none>
2022-10-21 23:25:15 status half-configured libc-bin:amd64 2.31-0ubuntu9.9
2022-10-21 23:25:15 status installed libc-bin:amd64 2.31-0ubuntu9.9
2022-10-21 23:25:15 trigproc linux-image-5.4.0-131-generic:amd64 5.4.0-131.147 <none>
2022-10-21 23:25:15 status half-configured linux-image-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-21 23:25:55 status installed linux-image-5.4.0-131-generic:amd64 5.4.0-131.147
2022-10-22 14:33:59 startup packages remove
2022-10-22 14:33:59 status installed linux-headers-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:34:03 remove linux-headers-5.4.0-128-generic:amd64 5.4.0-128.144 <無>
2022-10-22 14:34:03 status half-configured linux-headers-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:34:03 status half-installed linux-headers-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:34:09 status config-files linux-headers-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:34:10 status not-installed linux-headers-5.4.0-128-generic:amd64 <無>
2022-10-22 14:34:10 status installed linux-headers-5.4.0-128:all 5.4.0-128.144
2022-10-22 14:34:10 remove linux-headers-5.4.0-128:all 5.4.0-128.144 <無>
2022-10-22 14:34:10 status half-configured linux-headers-5.4.0-128:all 5.4.0-128.144
2022-10-22 14:34:10 status half-installed linux-headers-5.4.0-128:all 5.4.0-128.144
2022-10-22 14:34:16 status config-files linux-headers-5.4.0-128:all 5.4.0-128.144
2022-10-22 14:34:16 status not-installed linux-headers-5.4.0-128:all <無>
2022-10-22 14:34:16 startup packages configure
2022-10-22 14:34:17 startup packages configure
2022-10-22 14:35:02 startup packages remove
2022-10-22 14:35:02 status installed linux-modules-extra-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:02 remove linux-modules-extra-5.4.0-128-generic:amd64 5.4.0-128.144 <無>
2022-10-22 14:35:02 status half-configured linux-modules-extra-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:02 status half-installed linux-modules-extra-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:10 status config-files linux-modules-extra-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:10 status installed linux-image-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:10 remove linux-image-5.4.0-128-generic:amd64 5.4.0-128.144 <無>
2022-10-22 14:35:10 status half-configured linux-image-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:10 status half-installed linux-image-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:17 status config-files linux-image-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:17 status installed linux-modules-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:17 remove linux-modules-5.4.0-128-generic:amd64 5.4.0-128.144 <無>
2022-10-22 14:35:17 status half-configured linux-modules-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:17 status half-installed linux-modules-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:17 status config-files linux-modules-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:17 startup packages configure
2022-10-22 14:35:18 startup packages purge
2022-10-22 14:35:18 purge linux-modules-extra-5.4.0-128-generic:amd64 5.4.0-128.144 <無>
2022-10-22 14:35:18 status config-files linux-modules-extra-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:18 status not-installed linux-modules-extra-5.4.0-128-generic:amd64 <無>
2022-10-22 14:35:18 purge linux-modules-5.4.0-128-generic:amd64 5.4.0-128.144 <無>
2022-10-22 14:35:18 status config-files linux-modules-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:18 status not-installed linux-modules-5.4.0-128-generic:amd64 <無>
2022-10-22 14:35:18 purge linux-image-5.4.0-128-generic:amd64 5.4.0-128.144 <無>
2022-10-22 14:35:18 status config-files linux-image-5.4.0-128-generic:amd64 5.4.0-128.144
2022-10-22 14:35:18 status not-installed linux-image-5.4.0-128-generic:amd64 <無>
2022-10-22 14:35:19 startup packages configure
2022-10-22 15:07:47 startup archives unpack
2022-10-22 15:07:48 install libpam-pwdfile:amd64 <無> 1.0-1build1
2022-10-22 15:07:48 status half-installed libpam-pwdfile:amd64 1.0-1build1
2022-10-22 15:07:48 status unpacked libpam-pwdfile:amd64 1.0-1build1
2022-10-22 15:07:48 install vsftpd:amd64 <無> 3.0.3-12
2022-10-22 15:07:48 status half-installed vsftpd:amd64 3.0.3-12
2022-10-22 15:07:48 status triggers-pending systemd:amd64 245.4-4ubuntu3.18
2022-10-22 15:07:48 status triggers-pending ureadahead:amd64 0.100.0-21
2022-10-22 15:07:48 status triggers-pending man-db:amd64 2.9.1-1
2022-10-22 15:07:48 status unpacked vsftpd:amd64 3.0.3-12
2022-10-22 15:07:48 startup packages configure
2022-10-22 15:07:48 configure vsftpd:amd64 3.0.3-12 <無>
2022-10-22 15:07:48 status unpacked vsftpd:amd64 3.0.3-12
2022-10-22 15:07:48 status half-configured vsftpd:amd64 3.0.3-12
2022-10-22 15:07:52 status installed vsftpd:amd64 3.0.3-12
2022-10-22 15:07:52 configure libpam-pwdfile:amd64 1.0-1build1 <無>
2022-10-22 15:07:52 status unpacked libpam-pwdfile:amd64 1.0-1build1
2022-10-22 15:07:52 status half-configured libpam-pwdfile:amd64 1.0-1build1
2022-10-22 15:07:52 status installed libpam-pwdfile:amd64 1.0-1build1
2022-10-22 15:07:52 trigproc man-db:amd64 2.9.1-1 <無>
2022-10-22 15:07:52 status half-configured man-db:amd64 2.9.1-1
2022-10-22 15:07:57 status installed man-db:amd64 2.9.1-1
2022-10-22 15:07:57 trigproc ureadahead:amd64 0.100.0-21 <無>
2022-10-22 15:07:57 status half-configured ureadahead:amd64 0.100.0-21
2022-10-22 15:07:57 status installed ureadahead:amd64 0.100.0-21
2022-10-22 15:07:57 trigproc systemd:amd64 245.4-4ubuntu3.18 <無>
2022-10-22 15:07:57 status half-configured systemd:amd64 245.4-4ubuntu3.18
2022-10-22 15:07:57 status installed systemd:amd64 245.4-4ubuntu3.18
2022-10-23 17:53:59 startup archives unpack
2022-10-23 17:54:03 upgrade apache2:amd64 2.4.41-4ubuntu3.12 2.4.41-4ubuntu3.12
2022-10-23 17:54:03 status half-configured apache2:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:03 status unpacked apache2:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:03 status half-installed apache2:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:03 status triggers-pending systemd:amd64 245.4-4ubuntu3.18
2022-10-23 17:54:03 status triggers-pending ureadahead:amd64 0.100.0-21
2022-10-23 17:54:03 status triggers-pending ufw:all 0.36-6ubuntu1
2022-10-23 17:54:03 status triggers-pending man-db:amd64 2.9.1-1
2022-10-23 17:54:04 status unpacked apache2:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:04 upgrade apache2-bin:amd64 2.4.41-4ubuntu3.12 2.4.41-4ubuntu3.12
2022-10-23 17:54:04 status half-configured apache2-bin:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:04 status unpacked apache2-bin:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:04 status half-installed apache2-bin:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:04 status unpacked apache2-bin:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:06 upgrade apache2-data:all 2.4.41-4ubuntu3.12 2.4.41-4ubuntu3.12
2022-10-23 17:54:06 status half-configured apache2-data:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:06 status unpacked apache2-data:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:06 status half-installed apache2-data:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:06 status unpacked apache2-data:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:06 upgrade apache2-doc:all 2.4.41-4ubuntu3.12 2.4.41-4ubuntu3.12
2022-10-23 17:54:06 status half-configured apache2-doc:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:06 status unpacked apache2-doc:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:06 status half-installed apache2-doc:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:08 status unpacked apache2-doc:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:08 upgrade apache2-suexec-pristine:amd64 2.4.41-4ubuntu3.12 2.4.41-4ubuntu3.12
2022-10-23 17:54:08 status half-configured apache2-suexec-pristine:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:08 status unpacked apache2-suexec-pristine:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:08 status half-installed apache2-suexec-pristine:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:08 status unpacked apache2-suexec-pristine:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 upgrade apache2-utils:amd64 2.4.41-4ubuntu3.12 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status half-configured apache2-utils:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status unpacked apache2-utils:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status half-installed apache2-utils:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status unpacked apache2-utils:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 startup packages configure
2022-10-23 17:54:09 configure apache2-bin:amd64 2.4.41-4ubuntu3.12 <無>
2022-10-23 17:54:09 status unpacked apache2-bin:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status half-configured apache2-bin:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status installed apache2-bin:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 configure apache2-doc:all 2.4.41-4ubuntu3.12 <無>
2022-10-23 17:54:09 status unpacked apache2-doc:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status half-configured apache2-doc:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status installed apache2-doc:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 configure apache2-data:all 2.4.41-4ubuntu3.12 <無>
2022-10-23 17:54:09 status unpacked apache2-data:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status half-configured apache2-data:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status installed apache2-data:all 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 configure apache2-utils:amd64 2.4.41-4ubuntu3.12 <無>
2022-10-23 17:54:09 status unpacked apache2-utils:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status half-configured apache2-utils:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 status installed apache2-utils:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:09 configure apache2:amd64 2.4.41-4ubuntu3.12 <無>
2022-10-23 17:54:09 status unpacked apache2:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:13 status half-configured apache2:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:16 status installed apache2:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:16 configure apache2-suexec-pristine:amd64 2.4.41-4ubuntu3.12 <無>
2022-10-23 17:54:16 status unpacked apache2-suexec-pristine:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:16 status half-configured apache2-suexec-pristine:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:16 status installed apache2-suexec-pristine:amd64 2.4.41-4ubuntu3.12
2022-10-23 17:54:16 trigproc systemd:amd64 245.4-4ubuntu3.18 <無>
2022-10-23 17:54:16 status half-configured systemd:amd64 245.4-4ubuntu3.18
2022-10-23 17:54:17 status installed systemd:amd64 245.4-4ubuntu3.18
2022-10-23 17:54:17 trigproc man-db:amd64 2.9.1-1 <無>
2022-10-23 17:54:17 status half-configured man-db:amd64 2.9.1-1
2022-10-23 17:54:27 status installed man-db:amd64 2.9.1-1
2022-10-23 17:54:27 trigproc ureadahead:amd64 0.100.0-21 <無>
2022-10-23 17:54:27 status half-configured ureadahead:amd64 0.100.0-21
2022-10-23 17:54:27 status installed ureadahead:amd64 0.100.0-21
2022-10-23 17:54:27 trigproc ufw:all 0.36-6ubuntu1 <無>
2022-10-23 17:54:27 status half-configured ufw:all 0.36-6ubuntu1
2022-10-23 17:54:27 status installed ufw:all 0.36-6ubuntu1
2022-10-23 17:59:02 startup archives unpack
2022-10-23 17:59:03 upgrade dovecot-imapd:amd64 1:2.3.7.2-1ubuntu3.6 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:03 status triggers-pending dovecot-core:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:03 status half-configured dovecot-imapd:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:03 status unpacked dovecot-imapd:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:03 status half-installed dovecot-imapd:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:03 status triggers-pending ufw:all 0.36-6ubuntu1
2022-10-23 17:59:04 status unpacked dovecot-imapd:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:04 upgrade dovecot-pop3d:amd64 1:2.3.7.2-1ubuntu3.6 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:04 status half-configured dovecot-pop3d:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:04 status unpacked dovecot-pop3d:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:04 status half-installed dovecot-pop3d:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:04 status unpacked dovecot-pop3d:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:05 startup packages configure
2022-10-23 17:59:05 configure dovecot-pop3d:amd64 1:2.3.7.2-1ubuntu3.6 <無>
2022-10-23 17:59:05 status unpacked dovecot-pop3d:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:05 status half-configured dovecot-pop3d:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:05 status installed dovecot-pop3d:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:05 configure dovecot-imapd:amd64 1:2.3.7.2-1ubuntu3.6 <無>
2022-10-23 17:59:05 status unpacked dovecot-imapd:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:05 status half-configured dovecot-imapd:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:06 status installed dovecot-imapd:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:06 trigproc dovecot-core:amd64 1:2.3.7.2-1ubuntu3.6 <無>
2022-10-23 17:59:06 status half-configured dovecot-core:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:07 status installed dovecot-core:amd64 1:2.3.7.2-1ubuntu3.6
2022-10-23 17:59:07 trigproc ufw:all 0.36-6ubuntu1 <無>
2022-10-23 17:59:07 status half-configured ufw:all 0.36-6ubuntu1
2022-10-23 17:59:07 status installed ufw:all 0.36-6ubuntu1
2022-10-23 18:01:00 startup packages remove

10/26 16:41:24
應用擴展 工具箱
回覆: Ubuntu moves to new server
會員一級
註冊日期:
10/24 15:57:04
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 25
MP : 3 / 7
EXP: 0
離線
這些安裝貌似看不到跟那兩行指令有關的

10/26 16:46:01
應用擴展 工具箱
回覆: Ubuntu moves to new server
會員三級
註冊日期:
2012/4/26 9:45
所屬群組:
已註冊使用者
等級: 12
HP : 0 / 285
MP : 59 / 8854
EXP: 43
離線
apache2 是 網頁服務,跟網站名稱無法解析無關。

apache2 是 等跟網站名稱可以正常解析之後,才能夠執行的後續作業。

你先用ping來ping看看name address,看能不能ping 到IP。
另外,如果你的網站是區網要用的,那縻區網裡面至少要有一台DNS伺服器才可以。

關於 Device mapper fails 的問題,你檢查看看 /etc/fstab 裡面跟 mapper 有關,彧是跟 vg 彧 lv 有關的那幾行路徑,看哪一行的路徑不存在,把它標註掉看看。

10/26 17:20:41
應用擴展 工具箱
回覆: Ubuntu moves to new server
會員一級
註冊日期:
10/24 15:57:04
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 25
MP : 3 / 7
EXP: 0
離線
謝謝您的說明
伺服器在移轉時 /etc/fstab 是被排除的
新伺服器系統的 /etc/fstab 新安裝UBUNTU 20.04.5原本的
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/ubuntu-vg/ubuntu-lv during curtin installation
/dev/disk/by-id/dm-uuid-LVM-h3gJ0iyfA8pa5DB2hCVA9m7AxRRbObFRDTzcWLgR7xJEWhIa2KGW Y9g0DrNhHEpn / ext4 defaults 0 1
# /boot was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/c230913c-d11c-49fc-b411-9e671584447d /boot ext4 defaults 0 1
# /boot/efi was on /dev/sda1 during curtin installation
/dev/disk/by-uuid/89F8-BF8E /boot/efi vfat defaults 0 1
/swap.img none swap sw 0 0

10/26 21:16:54
應用擴展 工具箱

(1) 2 »

 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.