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-04-27, 14:15:50

Author Topic: Help. Not started iptables  (Read 4569 times)

0 Members and 1 Guest are viewing this topic.

Offline lutuy

  • Junior Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Help. Not started iptables
« on: 2013-03-02, 16:24:36 »
I have Centos 6.3
I installed Kloxo-MR
Displayed instead of the site php code of the page
And not started service php-fpm and iptables
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Help. Not started iptables
« Reply #1 on: 2013-03-02, 16:39:41 »
Try 'sh /script/fixweb; sh /script/restart-services'.

For Iptables, you need '/etc/sysconfig/iptables.conf'. Iptables not running because you don't have this file. Remember, bad iptables.conf content make your server not able to accessed. Careful for iptables.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lutuy

  • Junior Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Help. Not started iptables
« Reply #2 on: 2013-03-02, 16:51:52 »
does not help. Displayed instead of the site php code  :(
My file /etc/sysconfig/iptables.conf
Code: [Select]
# Load additional iptables modules (nat helpers)
#   Default: -none-
# Space separated list of nat helpers (e.g. 'ip_nat_ftp ip_nat_irc'), which
# are loaded after the firewall rules are applied. Options for the helpers are
# stored in /etc/modprobe.conf.
IPTABLES_MODULES=""

# Unload modules on restart and stop
#   Value: yes|no,  default: yes
# This option has to be 'yes' to get to a sane state for a firewall
# restart or stop. Only set to 'no' if there are problems unloading netfilter
# modules.
IPTABLES_MODULES_UNLOAD="yes"

# Save current firewall rules on stop.
#   Value: yes|no,  default: no
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets stopped
# (e.g. on system shutdown).
IPTABLES_SAVE_ON_STOP="no"

# Save current firewall rules on restart.
#   Value: yes|no,  default: no
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets
# restarted.
IPTABLES_SAVE_ON_RESTART="no"

# Save (and restore) rule and chain counter.
#   Value: yes|no,  default: no
# Save counters for rules and chains to /etc/sysconfig/iptables if
# 'service iptables save' is called or on stop or restart if SAVE_ON_STOP or
# SAVE_ON_RESTART is enabled.
IPTABLES_SAVE_COUNTER="no"

# Numeric status output
#   Value: yes|no,  default: yes
# Print IP addresses and port numbers in numeric format in the status output.
IPTABLES_STATUS_NUMERIC="yes"

# Verbose status output
#   Value: yes|no,  default: yes
# Print info about the number of packets and bytes plus the "input-" and
# "outputdevice" in the status output.
IPTABLES_STATUS_VERBOSE="no"

# Status output with numbered lines
#   Value: yes|no,  default: yes
# Print a counter/number for every rule in the status output.
IPTABLES_STATUS_LINENUMBERS="yes"
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Help. Not started iptables
« Reply #3 on: 2013-03-02, 17:28:34 »
Sorry, I mean 'iptables' file instead 'iptables-config'.

I don't care about iptables. In my servers always off.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lutuy

  • Junior Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Help. Not started iptables
« Reply #4 on: 2013-03-02, 17:37:04 »
Quote from: "MRatWork"
Sorry, I mean 'iptables' file instead 'iptables-config'.

I don't care about iptables. In my servers always off.


Why instead of the site text?
On the home page opens PHP code
How can I fix it?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Help. Not started iptables
« Reply #5 on: 2013-03-02, 18:30:49 »
Have you add domain?. Then change web server, php-branch and php-type?. Then run 'sh /script/fixweb; sh /script/restart-services'?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.046 seconds with 18 queries.

web stats analysis