Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-06-17, 09:12:32

Author Topic: httpd problems  (Read 6374 times)

0 Members and 2 Guests are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd problems
« Reply #15 on: 2015-04-16, 18:52:02 »
What's error if running 'sh /script/restart-web -y' for httpd (httpd alone or nginxproxy/hiawathaproxy)?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: httpd problems
« Reply #16 on: 2015-04-16, 19:19:35 »
sh /script/restart-web -y

Code: [Select]
Starting httpd: Syntax error on line 274 of /opt/configs/apache/conf/domains/xxxxxxxxxx.com.conf:
<VirtualHost> directive missing closing '>'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd problems
« Reply #17 on: 2015-04-16, 19:45:20 »
Inform here what's the content of line 274.

It's weird because I didn't found this issue (testing in Kloxo-MR 7.0).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: httpd problems
« Reply #18 on: 2015-04-16, 20:08:53 »
the error always change the line and config file:

Code: [Select]
Starting httpd: Syntax error on line 439 of /opt/configs/apache/conf/domain/domain1.conf:
<VirtualHost> directive missing closing '>'

Code: [Select]
Starting httpd: Syntax error on line 274 of /opt/configs/apache/conf/domains/domain2.conf:
<VirtualHost> directive missing closing '>'

Code: [Select]
Starting httpd: Syntax error on line 363 of /opt/configs/apache/conf/domains/domain3.conf:
<VirtualHost> directive missing closing '>'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd problems
« Reply #19 on: 2015-04-17, 06:13:32 »
Yes, error possible different line for different domain. Select one domain and inform content of line where error found.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: httpd problems
« Reply #20 on: 2015-04-17, 16:02:36 »
Code: [Select]
<VirtualHost ${ip}:${portssl}>
the line is the same on each domain config error.

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: httpd problems
« Reply #21 on: 2015-04-17, 16:16:47 »
i switch to nginx proxy today and seems to be working.

httpd restart with no errors,

only curious if/how nginx/apache working together?
i see apache serving my custom errors again
i also see PERL files working again

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd problems
« Reply #22 on: 2015-04-17, 16:38:42 »
Give me your ssh and panel access and send to my PM.

I want to know why this issue exists.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: httpd problems
« Reply #23 on: 2015-04-17, 18:00:51 »
idk if you receive.

i send pm 2x

but messages dont appear in "sent" box.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd problems
« Reply #24 on: 2015-04-17, 18:30:54 »
1. Your hostname for server using domain.com instead server.domain.com. It's not match with FQDN for hostname. If hostname is server.domain.com, check with 'hostname' or 'hostname -f' will be appear 'server.domain.com' and check with 'hostname -s' will be appear 'server'. Also make mail server confuse with your hostname

2. Your server behind route/modem or use NAT. IP your server is local IP. Yes, it's not trouble for KLoxo-MR because KLoxo-MR read 'ifconfig' and 'ip addr' instead read ifcfg-eth0 file content to find out IP. Beside, except for IP assign to domain, KLoxo-MR declare IP as '*' in webserver config instead real IP like KLoxo Official do.

3. I didn't found issue when try to restart-web. No error.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: httpd problems
« Reply #25 on: 2015-04-17, 18:46:35 »
the error only occur when "web" set to apache in "switch program.
currently set to "nginxproxy" and no problem occur with that setting.
if you switch back to apache you will see the error.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd problems
« Reply #26 on: 2015-04-17, 19:14:52 »
Yes, because apache listen IP 127.0.0.1 and nginx listen 'real' IP.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.031 seconds with 21 queries.

web stats analysis