Astral God

Well-Known Member
Sep 27, 2010
180
0
66
127.0.0.1
cPanel Access Level
Root Administrator
On WHM upgrade, i'm having this message :

20130709.220034] [23284] [Starting phpsanitycheck]
[20130709.220038] [23284] File /usr/local/cpanel/3rdparty/etc/php.ini is being replaced with a symlink to /usr/local/cpanel/3rdparty/php/53/etc/php.ini. at /usr/local/cpanel/install/PHPSanityCheck.pm line 72.
[20130709.220038] [23284] Failed to unlink file: /usr/local/cpanel/3rdparty/etc/php.ini at /usr/local/cpanel/install/PHPSanityCheck.pm line 74.
[20130709.220038] [23284] warn [Cpanel::FileUtils::Link] Unable to unlink /usr/local/cpanel/3rdparty/etc/php.ini: Operation not permitted
[20130709.220038] [23284] [Finished phpsanitycheck (4 seconds)]
Should i ignore this ?
Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Please check the file attributes for "/usr/local/cpanel/3rdparty/etc/php.ini" with commands such as:

Code:
stat /usr/local/cpanel/3rdparty/etc/php.ini
lsattr /usr/local/cpanel/3rdparty/etc/php.ini
Do you see anything that would prevent it from being moved or overwritten?

Thank you.
 

Astral God

Well-Known Member
Sep 27, 2010
180
0
66
127.0.0.1
cPanel Access Level
Root Administrator
Code:
root [~]# stat /usr/local/cpanel/3rdparty/etc/php.ini
  File: `/usr/local/cpanel/3rdparty/etc/php.ini'
  Size: 22920           Blocks: 48         IO Block: 4096   regular file
Device: fd01h/64769d    Inode: 296570      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2013-07-18 03:42:39.944000003 +0200
Modify: 2013-02-28 11:51:01.758114028 +0100
Change: 2013-04-02 00:46:44.179000001 +0200
Code:
root [~]# lsattr /usr/local/cpanel/3rdparty/etc/php.ini
-----a-------e- /usr/local/cpanel/3rdparty/etc/php.ini
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
You can try moving the file out of the way and running another cPanel update. EX:

Code:
mv /usr/local/cpanel/3rdparty/etc/php.ini /usr/local/cpanel/3rdparty/etc/php.ini.backup
/scripts/upcp --force
Thank you.