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: #cd /var/cpanel/userhomes/cpanelhorde/ #chown -R cpanelhorde.cpanelhorde * #tail -f /usr/local/cpanel/logs/error_log Now, you …
Miscellaneous
RHEL 6.5 will be the first release from Red Hat to support the Precision Timing Protocol (PTP)
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 …
Problem: You tried installing Simple Machines Forum software (SMF) either from the source website or using Fantastico, but it shows as a blank page when you try to access it. No issues are seen in the cPanel Error Log and all other configurations appear to be correct. Solution : This issue is caused by suhosin security module which blocks the PHP function shell_exec() from being used. However, SMF appears to call this function in the Sources/Subs.php file, around line 3538: // Try the Linux host command, perhaps? if (!isset($host) && …
The following is the result of a live analysis done when spamming has been found from a Plesk server with the qmail mail server. This will help you to understand how to trace a qmail spamming in the server. [root@server ~]# /var/qmail/bin/qmail-qstat messages in queue: 758 messages in queue but not yet preprocessed: 0 We do have 758 mails in the queue. Let’s examine the queue with qmail-qread. Seeing a bunch of strange email addresses in the recipient list? Usually, it is meaning spam.
The term virtual host refers to running two different sites on the same machine. This allows one server to share the same resources to multiple sites. There are two types of virtual hosting-name based and IP-based. Name-based hosts use multiple hostnames for the same IP address. The main issue with name-based virtual hosting is that it is difficult to host multiple websites running under secure SSL/TLS protocol. Also if DNS is not functioning, there will be some difficulties to access virtually hosted website even if the IP address is known, …
Application removal in plesk which is not automatically removed after uninstall
First log in to Plesk then check which domain the application isinstalled under Go to “Websites & Domains” and hover over the domain. You should see something like https://localhost:8443/smb/web/settings/id/xxx We want the Last number: xxx (555 for example) Now you will need to login to the psa database: cmd cd “path to your admin mysql\bin directory” Provide the following command in windows command prompt: #cd %plesk_dir%\mysql\bin && mysql.exe -u admin -P8306 psa -p mysql –port=8306 -uroot -pThepassword mysql> use psa; mysql> select id from apsresources where pleskID=555; +——+ | id …
Throttling can be used to actively limit a user’s upload and download rates on programs such as video streaming, Website throttling is the intentional slowing of website. It is a reactive measure employed in communication networks in an apparent attempt to regulate network traffic and minimize website congestion. Website throttling can occur at different locations on the network. On a broader level, the internet service provider may use bandwidth throttling to help reduce a user’s usage of bandwidth that is supplied to the local network. Bandwidth throttling is also often …
Clam AntiVirus (ClamAV) is a free, cross-platform antivirus tool-kit able to detect many types of malicious software, including viruses. One of its main uses is on mailservers as a server-side email virus scanner. The application was developed for Unix and has third party versions available for AIX, BSD, HP-UX, LINUX, MAC OS X, openVMS, OSF (Tru64) and Solaris.Here in this section we will try to automate the entire Process of clamAv using cronjob.We are using Red-hat enterprises Linux platform to test this. Step 1: Install ClamAV We can use yum …
How to fix – Error: Account Creation Status: failed,mysql user with the name already exists
While restoring a cPanel account from one server to another server there is a chance for following error: Account Creation Status: failed (Sorry, a mysql user (let’s take ‘dbuser’) with the name already exists To Delete the user : Please login into the mysql and follow the steps mysql mysql > use mysql; mysql > drop user dbuser@localhost; OR mysql> delete from mysql.user where user=dbuser; You can also check this using : select User, Host from user where User like dbuser; Where dbuser is the user mentioned in the error. …
Network Monitoring witn Ntop
There are various types of network problems that occur in an organization,which results in inaccessible devices,performance degradation, etc.These can be classified as: Network Hardware failure : Includes faulty devices like switches,Ethernet cards,improper cabling etc. Network configuration problems : Includes issues related to improper configuration of protocols Malicious code : Includes issues as a result of the presence of worms/viruses on the network In order to troubleshoot network problems from scratch you need to start checking by hardware – ie,physically check network cabling,network cables crossovers over electric cables,quality of switches routers …