The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cpsrvd crash when user login in cpanel

Discussion in 'General Discussion' started by migman, Oct 14, 2004.

  1. migman

    migman Member

    Joined:
    Jan 28, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    The proplem is that every time a user login to cpanel the cpsrvd.

    I start the cpsrvd

    # /usr/local/cpanel/cpsrvd
    chattr: Inappropriate ioctl for device while reading flags on /usr/local/cpanel/3rdparty/etc/php.ini
    ==> cpsrvd 9.4.2 started

    And if I loggin again the same proplem ... The whm works fine ...
    Any ideas ?
    Thank you.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Try removing the immutable flag that you must have put on the file:

    chattr -i /usr/local/cpanel/3rdparty/etc/php.ini
    /scripts/phpini
     
  3. migman

    migman Member

    Joined:
    Jan 28, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    thank you for the reply .
    I try it but ioctl proplem comes out.

    # chattr -i /usr/local/cpanel/3rdparty/etc/php.ini
    chattr: Inappropriate ioctl for device while reading flags on /usr/local/cpanel/3rdparty/etc/php.ini


    # /scripts/phpini
    x - creating lock directory
    x - SKIPPING /usr/local/lib/php.ini (file already exists)
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That would suggest that /usr/local/cpanel/3rdparty/etc/php.ini in not on an ext2/ext3 file system. Looks like cPanel is forcing a chattr on the file, which fails because chattr may not work on non-ext2/ext3 file systems.

    I would suggest that you log this as an urgent problem on bugzilla as it looks like a serious bug to me:
    http://bugzilla.cpanel.net
     
  5. migman

    migman Member

    Joined:
    Jan 28, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    thnak you for your help.

    The CPanel is baed on a VPS. All works fine untill some days before ... when an update of the CPanel ... makes this proplem.. and for 5 days all the time the panel crash.
    I will refer the possible bug.
    Thank you .
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That would explain it. Most VPS file systems (including virtuozzo, if that's what you're using) don't support chattr.
     
  7. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    16
    Latest EDGE Now Gives chattr: Errors

    I have just updated to the latest Edge 19 which hung. Then E20 which also hung.

    Then after a 'wait a while' I tried the update again now at E22 in a very short period.

    Now these errors have appeared:

    chattr: Inappropriate ioctl for device while reading flags on _vti_bin/fpexe
    chattr: Inappropriate ioctl for device while reading flags on /usr/local/cpanel/3rdparty/etc/php.ini

    This is on a Virtuozzo VPS.

    What was the eventual out come of this previous problem above?
    Thank you cPanel.
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I imjagine they fixed it before :) If you're still getting chattr errors on the very latest EDGE (23 as I type) then you should log the issue in bugzilla so that cPanel are aware of it.
     
  9. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    16
    Thanks. Will do.

    Just did this:
    /usr/local/cpanel/bin/checkphpini
    got this:
    chattr: Inappropriate ioctl for device while reading flags on /usr/local/cpanel/3rdparty/etc/php.ini

    No Fantastico, its gone and the biggest mess you have ever seen in the emailed nightly cron report.

    Thanks cPanel :)
     
Loading...

Share This Page