# 四、啟動ODF文件Web應用元件主程式並確認狀態

```
# systemctl enable modaodfweb
# systemctl restart modaodfweb
```

使用以下指令就可以確認初始化服務是否已正常啟動，指令如下：

`# netstat -tlnp`

> Active Internet connections (only servers)<br />
> Proto	Recv-Q	Send-Q Local Address	Foreign Address	State		PID/Program name<br />
> tcp	0	0 0.0.0.0:22		0.0.0.0:*		LISTEN		748/sshd<br />
> tcp	0	0 127.0.0.1:25		0.0.0.0:*		LISTEN		902/master<br />
> tcp6	0	0 :::80 			:::*			LISTEN		744/httpd<br />
> tcp6	0	0 :::22			:::*			LISTEN		748/sshd<br />
> tcp6	0	0 ::1:25			:::*			LISTEN		902/master<br />
> <span style="color:orange;">tcp6	0	0 :::9980		:::*			LISTEN		26766/modaodfweb</span>

如果出現9980那行，代表「ODF文件Web應用元件」服務已啟動，您可以重新啟動系統，再測試服務是否可正常啟動。