Posts tagged Show / Edit Reserved ips not showing reserverd IP’s in WHM

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

[email protected][#] lsattr /etc/reservedips

it will show the output as :

-u–ia——- /etc/reservedips

[email protected][#] lsattr /etc/reservedipreasons

it will show the output as :

-u–ia——- /etc/reservedipreasons

To remove those permissions

[email protected][#]  chattr -aui /etc/reservedips

now check the permissions again for

/etc/reservedips

[email protected][#] lsattr /etc/reservedips

now it will  show the output as :

————- /etc/reservedips


same for /etc/reservedipreasons

[email protected][#] chattr -aui  /etc/reservedipreasons

now check the permissions again for /etc/reservedipreasons

[email protected][#] lsattr /etc/reservedipreasons

now it will show the output as :

————- /etc/reservedipreasons


That’s all you are done.