Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


kloxo-mr httpd problem
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.

kloxo-mr httpd problem

saintsaint Member
edited March 2015 in General

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.

  • saintsaint Member

    `# 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`

  • linuxthefish said: Try changing webserver to lighttpd then back to Apache, that normally fixes most stuff.

    Try this, it should fix the above issue! If not, then @mustafaramadhan should be able to help!

  • saintsaint Member

    changing webserver to lighttpd then back to Apache?
    Oh, how to do it?

    1. Go to 'admin > switch programs' and then change all to 'none' (only exist in Kloxo-MR 7.0) or change to lighttpd and djbdns. After that, change to nginx-proxy/hiawatha-proxy, nsd/djbdns and bogofilter
    2. Go to 'admin > webserver config' and then change php-type to 'suphp_event' and then change to 'php-fpm_event'
    3. If using Kloxo-MR 7, go to 'admin > servers > localhost > php configure > update'
    4. Create domain (doesn't matter just create 'dummy' domain).
    5. Test from ssh with 'sh /script/restart-all -y'

    If still not work, better submit your issue to forum.mratwork.com.

    That it.

    Thanked by 1linuxthefish
  • saintsaint Member
    edited March 2015

    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.

  • lazytlazyt Member

    I don't know why but I always read that site URL as m rat work instead of mr at work

  • @lazyt said:
    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.

  • lazytlazyt Member

    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.

Sign In or Register to comment.