Login to the server and get into the “public_html” folder of the server.Then execute the following commands : > vi wp-config.php See what is the database used by the wordpress and quit that “:q!”. > mysql> use “database”; ( database = name of the database )> show tables;> desc wp_users;>… Continue Reading Steps to reset the wordpress admin login in database

We can send mail via telnet using the following steps. 1. Telnet to hostname on port 25.   220 (then identifies itself – possibly with several lines of 220 + text) 2. HELO your_domain_name or whatever    250 (followed by human readable message) 3. MAIL FROM:you@hostname.com (ie, your email address)   … Continue Reading Sending mail via telnet

How to open a port in Windows Firewall? 1. Click start button2. Click control panel3. Type ‘Firewall’ in the search tab4. Click “windows firewall”5. In left Panel click “Advance Settings” (If you’re prompted for an administrator password or confirmation, type the password or provide confirmation.)6. “Windows Firewall with Advanced Security”… Continue Reading Opening a port in Windows Firewall

Problem: Got the following error while sending mail using php scripts. ——————————————————————————–T=remote_smtp defer (-1): smtp transport process returned non-zero status 0x000b:terminated by signal 11——————————————————————————– Then you can fix the issue by editing your /etc/exim.conf, and changing the following code: ———————-remote_smtp:  driver = smtp———————- To be, ———————-remote_smtp:  driver = smtp  hosts_avoid_tls=*———————-… Continue Reading Error while sending mail using PHP scripts

We may get the following error when we install/upgrade any packages through “apt-get” in Debian 5. ======Error:======…dpkg: error processing linux-image-2.6.26-2-amd64 (–configure): subprocess post-installation script returned error exit status 1dpkg: dependency problems prevent configuration of linux-image-2.6-amd64: linux-image-2.6-amd64 depends on linux-image-2.6.26-2-amd64; however:  Package linux-image-2.6.26-2-amd64 is not configured yet.dpkg: error processing linux-image-2.6-amd64 (–configure): dependency problems –… Continue Reading Debian 5 apt-get issue

Hello friends, I had an issue in restoring a database from backup in MSSQL. Finally after a long struggle i fixed the issue by executing the following query. ———- Use Master Alter Database databasenameSET SINGLE_USER With ROLLBACK IMMEDIATE RESTORE DATABASE databasename FROM DISK = ‘backup location’WITH REPLACE; Alter database databasenameSET… Continue Reading Query to Restore a database from backup in MSSQL

You can know the current version of the ionCube PHP loader by executing the following command. =========   php-v ========= You can get the latest version of ionCube PHP loader in the following url: =========  http://www.ioncube.com/loaders.php========= You can know your OS platform version by executing the following command. =========  uname -i… Continue Reading Updating ionCube PHP loader to the latest version on cPanel

When you receive the error  “Error from park wrapper: Sorry, you do not control the domain” while removing the add-on domain, follow the steps below. 1. Remove the entries for the domain from the following files.==================== /var/cpanel/users/username Run Script — /scripts/updateuserdomains /var/named/domain.db /etc/named.conf /usr/local/apache/conf/httpd.conf /etc/localdomains /etc/userdomains /etc/trueuserdomains /etc/trueuserowners /etc/valiases/domain.com /etc/vdomainaliases/domain.com… Continue Reading Unable to remove add-on domain from cPanel – Error from Park wrapper: Sorry, you do not control the domain

* Nagios gives the detailed information about the services running in the server. For example, Number of processes, Number of Users, Disk capacity, etc. These Services are configured by us. * We have setup Nagios to show the Unknown, Critical and warning errors of various services. * The Errors are… Continue Reading Working of Nagios – Basic

To view the ports that are already opened in the server, execute the following command. netstat -plan |grep LISTEN Steps to open a new port in IP tables Before opening a port, you should be aware of why are you opening the port and what is the port being used… Continue Reading Steps to check the opened ports in IP tables