Posted on September 18th, 2006 by Admin.
Categories: Hacking Truths, Cpanel Hosting, Server Security, Linux.
Greetings ,
To disable Tenlet to your BOX …
# vi /etc/xinetd.d/telnet
change disable = no to disable = yes
Save and Exit
# /etc/init.d/xinetd restart
Cheers ,
Kyle
Posted on September 18th, 2006 by Admin.
Categories: Cpanel Hosting, Linux.
Hello ,
To change Cpanel Version/ update series from shell, Edit /etc/cpupdate.conf file to change the update series from shell if WHM is not accessible to change the release, stable, edge version series.
CPANEL=daily
RPMUP=daily
SYSUP=daily
Change first line to
CPANEL=Stable
or
CPANEL=Release
or
CPANEL=Edge
then run /scripts/upcp to update the cpanel
Regards ,
Posted on September 18th, 2006 by Admin.
Categories: Cpanel Hosting, Linux.
Greetings ,
If Pico is not installed on CPanel/WHM server then you can install that using the following easy steps
========================
/scripts/ensurerpm nano
Then:
cd /usr/bin
ln -s nano pico
========================
Cheers ,
Kyle
Posted on September 17th, 2006 by Alex P..
Categories: Linux, web Hosting.
Error: Table ‘tbl_ name’ doesn’t exist databasename_tablesname.frm can’t open
If you get either of the following errors, it usually means that no table exists in the current database with the given name:
Table ‘tbl_name’ doesn’t exist
Can’t find file: ‘tbl_name’ (errno: 2)
A ) In some cases, it may be that the table does exist but that you are referring to it incorrectly:
Because MySQL uses directories and files to store databases and tables, database and table names are case sensitive if they are located on a file system that has case-sensitive filenames.
Even for file systems that are not case sensitive, such as on dedicated.php” target=”_blank” style=”color:#000000″>windows , all references to a given table within a query must use the same letter case.
B ) In some cases, it may be that the table exist but same error occurs then
1 ) Check the permission and ownership of database i.e. it should be same below
drwx—— 2 mysql mysql cpanelusername_dbname.
2) If the permission are corrects but same error occurs then it seems that your database table may be corrupts then there are following way to repair the DB
a) Go to whm >>SQL Services >> Repair a Database >> select database name and click Repair Database.
b) Go to cpanel >> mysql section MySQL
Account Maintenance >> search database then click on Repair.
c) You can repair it though shell
i) login in mysql to that particular user by using following command
> mysql –u databaseusername –p databasename
ii) select particular database
mysql> use databasename;
iii) Check whether database table is corrupted or not if following command output shows null value then it should be corrupts otherwise it is fine
mysql>show table status like ‘table name’\G;
iv)If it is corrupts then use the following command to repair that particular database table.
mysql>repair table tablename;
Regards,
Alex P,
Posted on September 6th, 2006 by Neo.
Categories: Linux, Open Source.
Daemons are processes that live for a long time. They are often started when the system is bootstrapped and terminate only when the system is shut down. Because they don’t have a controlling terminal, we say that they run in the background. UNIX systems have numerous daemons that perform day-to-day activities.
Anything with a parent process ID of 0 is usually a kernel process started as part of the system bootstrap procedure. (An exception to this is init, since it is a user-level command started by the kernel at boot time.) Kernel processes are special and generally exist for the entire lifetime of the system. They run with superuser privileges and have no controlling terminal and no command line.
Process 1 is usually init.. It is a system daemon responsible for, among other things, starting system services specific to various run levels. These services are usually implemented with the help of their own daemons.
Some of the Daemon processes are:
kevenTD: provides process context for running scheduled functions in the kernel.
bdflush and kupdated : The Linux kernel flushes cached data to disk The bdflush daemon flushes dirty buffers from the buffer cache back to disk when available memory reaches a low-water mark. The kupdated daemon flushes dirty pages back to disk at regular intervals to decrease data loss in the event of a system failure.
The cron daemon: (crond) executes commands at specified dates and times.