Posts tagged Show / edit Reserved ips Error

Show / Edit Reserved IPs not showing Reserverd IP’s in WHM

Sometimes, it happens that when you try to reserve  some  IP’s from WHM >>  Main >>  IP  Funtions  >> Show / Edit Reserved ips along with  the reason  for reserving a IP   does not add any IP in  the  Reserve list and also does not hold Reason for Reserving  a IP even when you try to Rebuild the IP Address Pool.

This happens because of the permissions on  these  two files :

1) /etc/reservedips

2) /etc/reservedipreasons


To fix this follow the below steps :

Check the permissions on both the files

root@server[#] lsattr /etc/reservedips

it will show the output as :

-u–ia——- /etc/reservedips

root@server[#] lsattr /etc/reservedipreasons

it will show the output as :

-u–ia——- /etc/reservedipreasons

To remove those permissions

root@server[#]  chattr -aui /etc/reservedips

now check the permissions again for

/etc/reservedips

root@server[#] lsattr /etc/reservedips

now it will  show the output as :

————- /etc/reservedips


same for /etc/reservedipreasons

root@server[#] chattr -aui  /etc/reservedipreasons

now check the permissions again for /etc/reservedipreasons

root@server[#] lsattr /etc/reservedipreasons

now it will show the output as :

————- /etc/reservedipreasons


That’s all you are done.