Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Oct 2004
    Location
    New Jersey, USA
    Posts
    160

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

    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.
    -Kris
    HostMerit
    'Web Hosting on Your Terms'

  2. #2
    Member
    Join Date
    Jun 2005
    Location
    Not here, but there.
    Posts
    29

    Default

    Running edge on several CentOS servers and never had even one of those issues.

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    327

    Default

    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.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Oct 2004
    Location
    New Jersey, USA
    Posts
    160

    Default

    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.
    -Kris
    HostMerit
    'Web Hosting on Your Terms'

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. cpio: open failed - Permission denied
    By sanjuabrahamk in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-26-2009, 10:19 AM
  2. Warning: mkdir(): Permission denied
    By ryan-fah in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-14-2007, 01:11 PM
  3. Permission denied: failed to open tmp/
    By pats in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-04-2006, 04:40 AM
  4. Replies: 1
    Last Post: 01-21-2006, 11:29 AM
  5. Permission denied when trying to open /etc/named.conf via SS
    By ThunderHostingDotCom in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-22-2002, 08:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube