Why I got message "invalid syntax, continuing..." when I execute "sysctl -p"?
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.confsysctl
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.