UnixServerAdmin

Server Administration & Management

How to Show/Edit Reserved IPs not showing Reserverd IP’s in cPanel

Sometimes, it happens that when we try to reserve  some  IP’s from WHM-cPanel –> 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

# lsattr /etc/reservedips

It will show the output as :

-u–ia——- /etc/reservedips

# lsattr /etc/reservedipreasons

It will show the output as :

-u–ia——- /etc/reservedipreasons

To remove those permissions

# chattr -aui /etc/reservedips

Now check the permissions again for /etc/reservedips

# lsattr /etc/reservedips

now it will  show the output as :

————- /etc/reservedips

Same for /etc/reservedipreasons

# chattr -aui  /etc/reservedipreasons

Now check the permissions again for /etc/reservedipreasons

# lsattr /etc/reservedipreasons

Now it will show the output as :

————- /etc/reservedipreasons

Advertisements

May 19, 2011 - Posted by | cPanel | ,

1 Comment »

  1. Hello, nice site. Posted by myself in bookmarks

    Comment by vicodin | October 16, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: