Ever since after the up gradation of WHM to higher versions, there can be many issues of lost or unlisted addon/parked domains in Cpanel. The domains will be present in /etc/userdomains, but still fails to be seen in the email account creation tab in Cpanel. This is mainly beacuse of the XDNS entries in /var/cpanel/users/<cpanel_username>
If your required domains are marked as XDNS, then rename XDNS to DNS of all the required domain entries. After this you have to run the following script to update the userdomains
After running this script, the domains will be found available for new account creation. Also the previously created accounts will be restored back.
If any situation arises like Horde login is failed with the below error in the Apache log files, check for the ownership of files and directories under /var/cpanel/userhomes/cpanelhorde.
Error log in apache log file:
PHP Warning: Unknown: open(/var/cpanel/userhomes/cpanelhorde/sessions/sess_6f4fe8e66b99d89b239eb0839e3393a7, O_RDWR) failed: Permission denied (13) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/cpanel/userhomes/cpanelhorde/sessions) in Unknown on line 0
Steps used to solve the error:
#chown -R cpanelhorde.cpanelhorde *
#tail -f /usr/local/cpanel/logs/error_log
Now, you will be able to login to the Horde email accounts.
The Precision Time Protocol (PTP) is a protocol used to synchronize clocks throughout a computer network. Here the devices are connected to a dedicated, high-speed Ethernet LAN segments which is interconnected by switches. The switches are used to capture timestamps upon the passage of an Ethernet frame (also termed as message) at the physical layer. On a local area network (LAN), it achieves clock accuracy in the sub-microsecond range. That is the PTP timescale is defined in seconds and nanoseconds.
PTP is the implementation of IEEE 1588. The system is more suitable for measurement and control systems and the work includes engineering collaboration and performance optimization because of high accuracy. That is PTP can be used most often to synchronize device clocks in special-purpose industrial automation and measurement networks.
Google has launched its new free tool called ‘Web Designer’ for building interactive HTML5 web sites and advertisements.This tool can be downloaded for Mac and Windows. It is a great means by which the advertisers can create HTML5 pages and animations very easily for mobile as well as PC.
With the help of Cascading Style Sheets 3, Web Designer is capable of developing three dimensional content. That is not all, but components for galleries, maps and embedded. YouTube videos are also featured.
One of the crucial and distinctive characteristic of Web Developer is that it can be operated in two modes- Quick mode, for building animations and Advanced mode that permits the web designers to have a great deal of authority over each and every elements on the page.
It is very easy to block IP (country wise) with the help of CSF the default firewall from Cpanel.But it is not the case when we try with IPTables.
In this blog I will try to demonstrate how to Block IP from a certain country with the help of IPtables.For example purpose I choose Afghanistan and China.