Warning: cannot open /proc/net/dev (Permission denied).

HostMerit

Well-Known Member
Oct 24, 2004
163
0
166
New Jersey, USA
cPanel Access Level
DataCenter Provider
CPanel's ongoing issues with CentOS are getting old...

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.
 

Aric1

Well-Known Member
Oct 15, 2003
324
0
166
cPanel Access Level
DataCenter Provider
You are getting those because the latest edge builds are changing file access permissions among other things. If you look through the edge log, you will find this:

10.3.0 (build 12) - BETA Tree Linux i686 Mon Jun 27 01:26:29 2005

Change default permissions on httpd.conf to 0600
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
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.
 

HostMerit

Well-Known Member
Oct 24, 2004
163
0
166
New Jersey, USA
cPanel Access Level
DataCenter Provider
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
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.