Why I got message "invalid syntax, continuing..." when I execute "sysctl -p"?

Solution Verified - Updated -

Issue

  • Why I got a message "invalid syntax, continuing..." when I execute "sysctl -p"?

    When I tried to apply new configuration in /etc/sysctl.conf, I got following message.

$ sudo /sbin/sysctl -p
net.ipv4.ip_forward = 0
<..omitted..>
net.ipv4.ip_local_reserved_ports = XXXXX-XXXYY,XYXXX-XYXYY,[..omitted..]
**※warning: /etc/sysctl.conf(49): invalid syntax, continuing...**
net.core.rmem_default = 262144
<..truncated..>
  • What's the cause of this message?
  • Should I do something for this?

Environment

  • Red Hat Enterprise Linux 5.x
  • Red Hat Enterprise Linux 6.x
  • /etc/sysctl.conf
  • sysctl

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.