vagon
November 16, 2009, 10:37pm
1
เว็บเข้าไม่ได้ ใน CP มันขึ้นว่า stop อยู่
httpd Process is stopped
กด restart ใน CP ไม่ได้
An error has occurred
Details
/sbin/service httpd restart 2>&1
ใน shh ก็ไม่ได้
service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 748 of /etc/httpd/conf/httpd.conf:
Invalid command ‘</Location>Include’, perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
ไม่ได้ลงหรือ update อะไร
มันเกิดจากอะไรและต้องแก้ยังไงครับ รบกวนด้วยครับ
vagon
November 16, 2009, 10:46pm
3
stop exim แล้วแต่ก็ยัง restart httpd ไม่ได้อ่ะครับ ทำไงดี
mean
November 16, 2009, 10:47pm
4
ssh เข้าไป kill process ก่อนครับ จะเห็นว่ามันค้างอยู่
ลองดูตามเรปบนครับ ถ้าไม่ได้จริงๆ ก็ต้อง reboot อ่ะ
vagon
November 16, 2009, 10:50pm
6
kill process ไม่เป็นอ่ะครับ ต้องใช้คำสั่งอะไรเหรอ
ใน top เป็นแบบนี้
top - 22:50:03 up 18 days, 21:47,
killall -9 httpd
service httpd start
ลองดู
iCafe
November 16, 2009, 11:07pm
8
service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 748 of /etc/httpd/conf/httpd.conf:
Invalid command ‘</Location>Include’, perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
ไปดูที่
คำนี้คุ้นๆ นะ เราก็เคยเจอแนะนำแบบนี้ จากใครบางคน หุหุ
ดูเหมือน error ที่ config นะครับ Reboot ก็ไม่หายหรอกครับ
error ตรงนี้
‘</Location>Include’
ลองเคาะ enter
‘</Location>
Include’
ไม่แน่ใจนะว่าจะได้หรือเปล่านะ ลองดู
[quote author=iCafe™ link=topic=24261.msg231790#msg231790 date=1258387640]
ไปดูที่
vagon
November 16, 2009, 11:19pm
11
เย้ๆๆๆ แก้ได้แล้วครับทุกท่าน ขอบคุณมากเลยครับ
เข้าไปแแก้ที่ไฟล์ httpd.conf ครับ
ขอบคุณมากๆครับ
bbTh
November 17, 2009, 12:09am
13
แล้ว line 748 มันเป็นอย่างไรครับ ได้ดูหรือยัง แล้วแก้อย่างไรหรือแค่ พิมพ์ผิด
vagon
November 17, 2009, 12:41am
15
มาแจ้งเพิ่มเติม เผื่อมีคนเป็นเหมือนกัน
คืองี้ เมื่อนานมาแล้ว ผมต้องการจะดู server status เลยไปเพิ่มคำสั่งนี้
[quote]ExtendedStatus on
<Location /xStatus>
iCafe
November 17, 2009, 7:17am
16
ใน da หากต้องการเปิดใช้ ExtendedStatus ไม่ต้องเพิ่มใน httpd.conf
ให้ไปแก้ใน /etc/httpd/conf/extra/httpd-info.conf
จะดีกว่านะครับพยายามอย่าไปยุ่งกับ httpd.conf เลย da เค้าแยกไว้ละ