New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
kloxo-mr httpd problem
In admin — Servers — localhost — {Services}
I find httpd is red and can't be started, so I log in putty to do it but also failed
# service httpd restart Stopping httpd: [FAILED] Starting httpd: Syntax error on line 7 of /opt/configs/apache/conf/defaults/init.conf: Port must be specified [FAILED]
Please help, thanks.
Comments
"cat /opt/configs/apache/conf/defaults/init.conf" and post to pastebin and link here.
Try changing webserver to lighttpd then back to Apache, that normally fixes most stuff.
`# cat /opt/configs/apache/conf/defaults/init.conf
begin - web of initial - do not remove/modify this line
Define global::port 80
Define global::portssl 443
Define global::ip *
Listen ${global::ip}:${global::port}
Listen ${global::ip}:${global::portssl}
end - web of initial - do not remove/modify this line`
https://paste.ee/p/GESeP
Try this, it should fix the above issue! If not, then @mustafaramadhan should be able to help!
changing webserver to lighttpd then back to Apache?
Oh, how to do it?
If still not work, better submit your issue to forum.mratwork.com.
That it.
It seems that changing port to 22 does the work, now the httpd turns green.
I'm using bandwagonhost which default port is 2XXXX instead of 22
For awhile, better disabke iptables with 'chkconfig iptables off; service iptables stop' until all running well.
I don't know why but I always read that site URL as m rat work instead of mr at work
Sadly, I don't care.
Not picking on you. I just found it amusing that my brain picked it up that way. I only just now noticed the other and much better reading of it.