Warning: cannot open /proc/net/dev (Permission denied).
Discussion in 'General Discussion' started by HostMerit, Jul 5, 2005.
Half the time, 'Cannot read httpd.conf' errors in CPanel, due to httpd.conf chmod setting being changed somehow by Cpanel every day.
Now, These errors are on every skin in Cpanel, only x/x2 seems to hide the errors, 3rd Party skins like TrixPack and CPskins themes are showing them on the page, and we're forced to switch over.
We were told this would be fixed in the next edge, we need a fix NOW!
Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output. Warning: cannot open /proc/net/dev (Permission denied). Limited output.
Running edge on several CentOS servers and never had even one of those issues.
On previous versions of CPANEL, that file is set to 0644 You might try changing it back to 0644 and see if that helps.
If you are going to run edge builds you are going to take risks, especially if you upgrade blindly without knowing exactly what has changed.
Further, if you are running edge builds currently, you will have problems downgrading due to the fact that many of the changes made by recent edge builds are not automatically undone when you downgrade.
Indeed, though as drupal points out, I come into contact with many CentOS servers every day and have had no problems, running EDGE or otherwise. Those /proc/net/dev shouldn't have anything to do cPanel either since they're to do with files that it should not be modifying directly, which might suggest a problem with the OS.
We keep fixing the chmod settings, then daily something with Cpanel or something else changes it, so to make Frontpage, etc work we need to chmod again it.
Every single skin has the errors, except x and x2 can hide the errors, while the others has those errors at the top.
That must be frustrating indeed. I've not come across anything that touches /dev/net before directly. Have you tried asking over on the CentOS forums as to whether anything at the OS level could be doing that? Might be worth a try. Another idea might be to write a script that keeps an eye on the directory permissions and logs the change so you know when it happens which might point to how.