Mysql gives error of access denied for root@localhost?

Solution Make sure root pass is in /root/.my.cnf This is usually the first root pass the box was given once cpanel is installed. If it still does not work, you will need to reset the mysqld root pass. First, stop the mysqld, usually /etc/rc.d/init.d/mysql stop Then stop chkservd to keep

How do I obtain my website statistics?

Solution It can be found by logging into your control panel (www.yourdomain.com/cpanel) . We offer a variety of popular web site statistics programs to give you a comprehensive overview of your web site traffic & visitors. web stats : analog : webalizer : awstats  

How can I install a Perl Module ?

SolutionOn a server with CPanel, you can log into the WHM and install it there. If that for some reason doesn’t work for you, you can log into the shell as root and install it via the command line. Once logged in, from any directory, type: echo “HTML::Template” | /usr/local/cpanel/whostmgr/bin/perlmod

How do I grant an MySQL user permission to a database?

Solution 1. Log into your cPanel ( https://www.yourdomain.com:2082). 2. Click on the “MySQL Databases” link. This will display the “MySQL Account Maintenance” screen. 3. Now locate the two drop-down boxes with a button that says [Add User to Db] 4. In the drop down select box on the left, choose

Rotate Log Files

The default installations of Apache will set this up using the logrotate script. If you don’t have this configured automatically or if you’re using a non-standard installation (cPanel, Plesk, etc.) you can configure this in logrotate. /etc/logrotate.d/httpd: /path/to/httpd/logs/*log { missingok notifempty sharedscripts postrotate /bin/kill -HUP `cat /path/to/httpd.pid 2>/dev/null` 2> /dev/null

What are Preinst, Postinst, Prerm, and Postrm Script?

Collectively, preinst, postinst, prerm, and postrm files are all executable scripts which Debian automatically runs before or after package installation. Along with a file named control, all of these files are part of the “control” section of a Debian archive file. The individual files are: preinst This script executes before

Install Perl Module

On a server with CPanel, you can log into the WHM and install it there. If that for some reason doesn’t work for you, you can log into the shell as root and install it via the command line. Once logged in, from any directory, type: echo “HTML::Template” | /usr/local/cpanel/whostmgr/bin/perlmod

What is Udev?

Udev provides users with a dynamic device directory containing only the files for actually present devices. It creates and removes device node files usually located in the /dev/ directory, and renames network interfaces. As part of the hotplug subsystem, udev is executed if a kernel device is added or removed

Change Access Permissions from the Command Line

Need to change your access permissions using only the command line? Thankfully, a utility called CACLS.EXE comes standard with Windows, and can be used from the command prompt to do just that. For more information check the help documentation included with the CACLS.EXE program (cacls /?).   Using the Command