Cannot log in to the Parallels Plesk Panel CP: "Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied."

var bdv_ref_pid=562243;var bdv_ref_type=’i’;var bdv_ref_option=’a’;var bdv_ref_eb=’1′;var bdv_ref_gif_id=’ref_728x90_green_ebay’;var bdv_ref_width=728;var bdv_ref_height=90;toolbar creator

Solution ::-
This means that the Parallels Plesk Panel (PP) IP access policy was configured in such a way that you cannot log in to PP from your current IP. To enable PP CP access, you have to log in to the server via SSH and change the IP access policy in the “psa”‘ database. To find the current policy and restricted/allowed IPs, use the following commands:
—————————
# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa
mysql> select * from cp_access;
mysql> select * from misc where param=’access_policy’;
—————————

If you wish to clear the access policy settings, remove all records from “cp_access” and set the policy to “allow”:
—————————
# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa
mysql> delete from cp_access;
mysql> update misc set val=”allow” where param=’access_policy’;
—————————
You should now be able to log in to the PP Control Panel.

Thank You.….!!!!!!

toolbar creator ( function() { if (window.CHITIKA === undefined) { window.CHITIKA = { ‘units’ : [] }; }; var unit = { ‘publisher’ : “deepaksonawane”, ‘width’ : 728, ‘height’ : 90, ‘type’ : “mpu”, ‘sid’ : “Chitika Default”, ‘color_site_link’ : “0000CC”, ‘color_title’ : “0000CC”, ‘color_border’ : “FFFFFF”, ‘color_text’ : “000000”, ‘color_bg’ : “FFFFFF” }; var placement_id = window.CHITIKA.units.length; window.CHITIKA.units.push(unit); document.write(‘

‘); var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.src = ‘http://scripts.chitika.net/getads.js’; try { document.getElementsByTagName(‘head’)[0].appendChild(s); } catch(e) { document.write(s.outerHTML); } }());

Template Error: The template file must be given.

var bdv_ref_pid=562243;var bdv_ref_type=’i’;var bdv_ref_option=’a’;var bdv_ref_eb=’1′;var bdv_ref_gif_id=’ref_728x90_green_ebay’;var bdv_ref_width=728;var bdv_ref_height=90;toolbar creator

Error ::-
After update the WHM or on default page, if you get below error like as”Template Error”
—————————
Template Error: The template file must be given”
—————————

Solution ::-
Before running the below commands, you must Make sure to check there is not already a symlink between the two files as you may symlink a symlink.
You can run `ll /usr/bin/perl /usr/local/bin/perl` to check prior to running anything.

Access  your server via ssh and use the below command ::
—————————
# cd /usr/bin
# mv perl perl-backup
# ln -s /usr/local/bin/perl perl 
—————————

Also, you can try with below process to resolve the same issue for your server.
—————————
Access the WHM >> Main >> Account Functions >> Web Template Editor
—————————
You need to click on revert to default template button and then try to access WHM page, I hope it should be working for you.

Thank You..….!!!!!

toolbar creator ( function() { if (window.CHITIKA === undefined) { window.CHITIKA = { ‘units’ : [] }; }; var unit = { ‘publisher’ : “deepaksonawane”, ‘width’ : 728, ‘height’ : 90, ‘type’ : “mpu”, ‘sid’ : “Chitika Default”, ‘color_site_link’ : “0000CC”, ‘color_title’ : “0000CC”, ‘color_border’ : “FFFFFF”, ‘color_text’ : “000000”, ‘color_bg’ : “FFFFFF” }; var placement_id = window.CHITIKA.units.length; window.CHITIKA.units.push(unit); document.write(‘

‘); var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.src = ‘http://scripts.chitika.net/getads.js’; try { document.getElementsByTagName(‘head’)[0].appendChild(s); } catch(e) { document.write(s.outerHTML); } }());

Plesk: Scheduled Task for script not running.

var bdv_ref_pid=562243;var bdv_ref_type=’i’;var bdv_ref_option=’a’;var bdv_ref_eb=’1′;var bdv_ref_gif_id=’ref_728x90_green_ebay’;var bdv_ref_width=728;var bdv_ref_height=90;toolbar creator

Symptoms ::-
A task is scheduled in Plesk under Scheduled Tasks, the task attempts to run a php script but fails.

Solution ::-
By Default Plesk 11 does not allow execution of scripts in a non-chrooted environment,To Allow execution of Scripts, change the server policy from the command prompt:
—————————-
# /usr/local/psa/bin/server_pref -u -crontab-secure-shell “/bin/sh”

To disallow:

# /usr/local/psa/bin/server_pref -u -crontab-secure-shell “” 
—————————-

Thank you.……!!!!

toolbar creator ( function() { if (window.CHITIKA === undefined) { window.CHITIKA = { ‘units’ : [] }; }; var unit = { ‘publisher’ : “deepaksonawane”, ‘width’ : 728, ‘height’ : 90, ‘type’ : “mpu”, ‘sid’ : “Chitika Default”, ‘color_site_link’ : “0000CC”, ‘color_title’ : “0000CC”, ‘color_border’ : “FFFFFF”, ‘color_text’ : “000000”, ‘color_bg’ : “FFFFFF” }; var placement_id = window.CHITIKA.units.length; window.CHITIKA.units.push(unit); document.write(‘

‘); var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.src = ‘http://scripts.chitika.net/getads.js’; try { document.getElementsByTagName(‘head’)[0].appendChild(s); } catch(e) { document.write(s.outerHTML); } }());

Plesk: DNS Server installed but Bind9 won’t load.

var bdv_ref_pid=562243;var bdv_ref_type=’i’;var bdv_ref_option=’a’;var bdv_ref_eb=’1′;var bdv_ref_gif_id=’ref_728x90_green_ebay’;var bdv_ref_width=728;var bdv_ref_height=90;toolbar creator

Symptom ::-
Plesk 11 comes installed with Bind9 but the DNS Server will not start.

Solution ::-
There is a known conflict with apparmor in Ubuntu 10.04 LTS
————————
# sudo /etc/init.d/apparmor stop
————————

Then add the following to the apparmor profile: “/etc/apparmor.d/usr.sbin.named
————————
# plesk runs bind in chroot, need perms
/var/named/run-root/** rw,
————————

After the above changes need to restart all plesk services on server as below::
————————
# sudo /etc/init.d/bind9 start

# sudo /etc/init.d/apparmor start

# sudo /etc/init.d/psa stop

# sudo /etc/init.d/psa start
————————
Bind9 / DNS Service should now be enabled in the control panel.

Thank you…….!!!!

toolbar creator ( function() { if (window.CHITIKA === undefined) { window.CHITIKA = { ‘units’ : [] }; }; var unit = { ‘publisher’ : “deepaksonawane”, ‘width’ : 728, ‘height’ : 90, ‘type’ : “mpu”, ‘sid’ : “Chitika Default”, ‘color_site_link’ : “0000CC”, ‘color_title’ : “0000CC”, ‘color_border’ : “FFFFFF”, ‘color_text’ : “000000”, ‘color_bg’ : “FFFFFF” }; var placement_id = window.CHITIKA.units.length; window.CHITIKA.units.push(unit); document.write(‘

‘); var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.src = ‘http://scripts.chitika.net/getads.js’; try { document.getElementsByTagName(‘head’)[0].appendChild(s); } catch(e) { document.write(s.outerHTML); } }());

proftpd error: no valid servers configured in plesk

var bdv_ref_pid=562243;var bdv_ref_type=’i’;var bdv_ref_option=’a’;var bdv_ref_eb=’1′;var bdv_ref_gif_id=’ref_728x90_green_ebay’;var bdv_ref_width=728;var bdv_ref_height=90;toolbar creator

Solution ::-
Usually this error occurs due to missing entry for server hostname in “/etc/hosts” file.Check that you have this record according to output ‘hostname’ command. For example, you need to check all below entries on your server:
————————–
# hostname
server.example.com

# cat /etc/hosts | grep server.example.com
10.10.10.100 server.example.com
————————–
Note :: Please replace your actual server IP with 10.10.10.100 and try to check.

Thank you…….!!!!

toolbar creator ( function() { if (window.CHITIKA === undefined) { window.CHITIKA = { ‘units’ : [] }; }; var unit = { ‘publisher’ : “deepaksonawane”, ‘width’ : 728, ‘height’ : 90, ‘type’ : “mpu”, ‘sid’ : “Chitika Default”, ‘color_site_link’ : “0000CC”, ‘color_title’ : “0000CC”, ‘color_border’ : “FFFFFF”, ‘color_text’ : “000000”, ‘color_bg’ : “FFFFFF” }; var placement_id = window.CHITIKA.units.length; window.CHITIKA.units.push(unit); document.write(‘

‘); var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.src = ‘http://scripts.chitika.net/getads.js’; try { document.getElementsByTagName(‘head’)[0].appendChild(s); } catch(e) { document.write(s.outerHTML); } }());

Quota Errors in Exim’s Panic Log

var bdv_ref_pid=562243;var bdv_ref_type=’i’;var bdv_ref_option=’a’;var bdv_ref_eb=’1′;var bdv_ref_gif_id=’ref_728x90_green_ebay’;var bdv_ref_width=728;var bdv_ref_height=90;toolbar creator

Error ::-
If you are seeing errors like this in /var/log/exim_paniclog:
————————
failed to expand condition “${if exists {$home/etc/$domain/quota}{${if > {${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{0}{${if eq {${if exists {$home/mail/$domain/$local_part/maildirsize}{1}{0}}}{0}{${if > {${run {/usr/local/cpanel/bin/eximwrap GETDISKUSED $local_part $domain}}}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{true}{false}}}{${perl{checkuserquota}{$domain}{$local_part}{$message_size}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}}}{$home/mail/$domain/$local_part/maildirsize}}}}}{false}}}{false}}” for virtual_user_maildir_overquota router: absolute value of integer “10485760000” is too large (overflow)
————————

Solution ::-
To fix this error to rume the below command on your cpanel server:
————————
#  /scripts/reset_mail_quotas_to_sane_values –force –confirm –verbose
————————

Thank You.….!!!! 

toolbar creator ( function() { if (window.CHITIKA === undefined) { window.CHITIKA = { ‘units’ : [] }; }; var unit = { ‘publisher’ : “deepaksonawane”, ‘width’ : 728, ‘height’ : 90, ‘type’ : “mpu”, ‘sid’ : “Chitika Default”, ‘color_site_link’ : “0000CC”, ‘color_title’ : “0000CC”, ‘color_border’ : “FFFFFF”, ‘color_text’ : “000000”, ‘color_bg’ : “FFFFFF” }; var placement_id = window.CHITIKA.units.length; window.CHITIKA.units.push(unit); document.write(‘

‘); var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.src = ‘http://scripts.chitika.net/getads.js’; try { document.getElementsByTagName(‘head’)[0].appendChild(s); } catch(e) { document.write(s.outerHTML); } }());

Errors on /scripts/upcp: Undefined subroutine…

var bdv_ref_pid=562243;var bdv_ref_type=’i’;var bdv_ref_option=’a’;var bdv_ref_eb=’1′;var bdv_ref_gif_id=’ref_728x90_green_ebay’;var bdv_ref_width=728;var bdv_ref_height=90;toolbar creator

Error ::-
When running a cPanel update, you may get the following error:
—————————-
/scripts/upcp
/scripts/upcp syntax OK
Running Futex Check/Fix……Done
Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273.
—————————-

Solution ::-
To fix this, run the following command:
—————————-
# wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static –manual
—————————-

Then you can proceed running a cPanel update:
—————————-
# /scripts/upcp –force
—————————-

Thank You..…!!!! 

toolbar creator ( function() { if (window.CHITIKA === undefined) { window.CHITIKA = { ‘units’ : [] }; }; var unit = { ‘publisher’ : “deepaksonawane”, ‘width’ : 728, ‘height’ : 90, ‘type’ : “mpu”, ‘sid’ : “Chitika Default”, ‘color_site_link’ : “0000CC”, ‘color_title’ : “0000CC”, ‘color_border’ : “FFFFFF”, ‘color_text’ : “000000”, ‘color_bg’ : “FFFFFF” }; var placement_id = window.CHITIKA.units.length; window.CHITIKA.units.push(unit); document.write(‘

‘); var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.src = ‘http://scripts.chitika.net/getads.js’; try { document.getElementsByTagName(‘head’)[0].appendChild(s); } catch(e) { document.write(s.outerHTML); } }());

SecurityException in Application.cpp:188: Do not have root privileges.Executable not set-uid

var bdv_ref_pid=562243;var bdv_ref_type=’i’;var bdv_ref_option=’a’;var bdv_ref_eb=’1′;var bdv_ref_gif_id=’ref_728x90_green_ebay’;var bdv_ref_width=728;var bdv_ref_height=90;toolbar creator

Error ::-
If you’re getting Internal server error all over the places on your websites on a cPanel server and PHP is configured to run as suphp CGI mode, then you might be observing the following error on error_log due to ModSecurity. It might be searching for the sticky/suid permission on suphp binary:
————————–
SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid
————————–

Solution ::-
To quickly get this fixed on your cPanel server execute the following command:
————————–
# chmod +s /opt/suphp/sbin/suphp
————————–
This should fix the issue instantly.

Thank You…..!!!!     

toolbar creator ( function() { if (window.CHITIKA === undefined) { window.CHITIKA = { ‘units’ : [] }; }; var unit = { ‘publisher’ : “deepaksonawane”, ‘width’ : 728, ‘height’ : 90, ‘type’ : “mpu”, ‘sid’ : “Chitika Default”, ‘color_site_link’ : “0000CC”, ‘color_title’ : “0000CC”, ‘color_border’ : “FFFFFF”, ‘color_text’ : “000000”, ‘color_bg’ : “FFFFFF” }; var placement_id = window.CHITIKA.units.length; window.CHITIKA.units.push(unit); document.write(‘

‘); var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.src = ‘http://scripts.chitika.net/getads.js’; try { document.getElementsByTagName(‘head’)[0].appendChild(s); } catch(e) { document.write(s.outerHTML); } }());