It is currently Sat Dec 21, 2024 6:38 pm

News News of Lik`s forum

Site map of Lik`s forum » Forum : Lik`s forum

cPanel/WHM/OpenVZ/Xen/Linux/IPMI Lik`s forum

Disable SELinux on CentOS 5

Security-Enhanced Linux, also know as SELinux, implements various security policies on Linux and additional levels of access crontrol. It was originally developed by the U.S. National Security Agency to adhere to the "Orange Book" guidelines. On CentOS 5 it is enabled by default, but there may be circumstances where you don't need SELinux's additional security and may want to disable it.

The SELinux configuration file on CentOS is located at /etc/selinux/config and after a default ...
Read more : Disable SELinux on CentOS 5 | Views : 4043 | Replies : 0 | Forum : Linux specific


FluidVM FAQ

VirtualServerNotHalted:Virtual server is not halted
Actions -> Stop Virtualserver
Virtualserver Halt initiated.




FluidVM FAQs
From The FluidVM Wiki
Jump to: navigation, search
Contents


* 1 What services must be run for FluidVM?
* 2 Which ports must be left open for FluidVM to work properly?
* 3 My management server hardware crashed! How can I move FluidVM to another server?
* 4 Can the FluidVM Management server run from a VM?
* 5 Full ...
Read more : FluidVM FAQ | Views : 5094 | Replies : 1 | Forum : FluidVM


Cpanel::TailWatch::Eximstats appears to have unprocessed SQL

ATTENTION ATTENTION ATTENTION ATTENTION

Cpanel::TailWatch::Eximstats appears to have unprocessed SQL in /var/cpanel/sql/eximstats.sql.
When mysql is unable to execute a query they are logged for processing later.
Eventually these SQL files may be handled automatically and this message will not appear.
In the meantime you can execute the queries as root with something like this:

mv /var/cpanel/sql/eximstats.sql /var/cpanel/sql/eximstats.sql.tmp_working_copy
/usr/local/cpanel/bin/tailwatchd --restart
mysql eximstats < /var/cpanel/sql/eximstats.sql.tmp_working_copy

Once you are sure all is well you can remove /var/cpanel/sql/eximstats.sql.tmp_working_copy

ATTENTION ...
Read more : Cpanel::TailWatch::Eximstats appears to have unprocessed SQL | Views : 3555 | Replies : 0 | Forum : Server Side Actions


Clear current session history

To clear current session history run the following command:
Code: Select all
history -r
Read more : Clear current session history | Views : 2905 | Replies : 0 | Forum : Linux specific


Using the Webmin YUM repository

Using the Webmin YUM repository

If you like to install and update Webmin via RPM, create the /etc/yum.repos.d/webmin.repo file containing :
Code: Select all
[Webmin]
name=Webmin Distribution Neutral
baseurl=http://download.webmin.com/download/yum
enabled=1

You should also fetch and install my GPG key with which the packages are signed, with the command :
Code: Select all
rpm --import http://www.webmin.com/jcameron-key.asc

Then we FIRST install SSLeay, or secure connection to webmin server won't be possible
Code: Select all
yum install perl-Net-SSLeay

Finally we install webmin :
Code: Select all
yum install webmin
...
Read more : Using the Webmin YUM repository | Views : 6285 | Replies : 2 | Forum : Linux specific




3ware controller (tw_cli, JBOD,RAID-1)

Here you can find "tw_cli.*.rpm" utility packages for Centos:
http://atrpms.net/dist/common/tw_cli/

After one of the RAID-1 HDDs replacement on the fly (hotplug) we have got the following picture:
Code: Select all
tw_cli info c0

Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-1 DEGRADED - - - 465.761 ON -
u1 JBOD OK - - - 465.762 ON -

Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 465.76 GB 976773168 5Q****Q0
p1 OK u1 ...
Read more : 3ware controller (tw_cli, JBOD,RAID-1) | Views : 9400 | Replies : 2 | Forum : Server Side Actions


vzquota : (warning) Incorrect quota shutdown for id <veid>

Receiving the following error during VM start:

Code: Select all
#vzctl start <veid>

Starting VPS ...
vzquota : (warning) Incorrect quota shutdown for id <veid>, recalculating disk usage
vzquota : (error) quota check : lstat `conf': No such file or directory
vzquota on failed [1]

I fixed it by running the following commands:
Code: Select all
vzquota off <veid>     
vzquota on <veid>

vzctl start <veid>
Read more : vzquota : (warning) Incorrect quota shutdown for id <veid> | Views : 3566 | Replies : 0 | Forum : OpenVZ related


Compile a new kernel - CentOS way (make rpm)

This article is about compiling a kernel on CentOS systems. It describes how to build a custom kernel using the latest unmodified kernel sources from http://www.kernel.org/ (http://en.wikipedia.org/wiki/Vanilla_kernel#Versions) so that you are independent from the kernels supplied by your distribution.

One of the multiple ways of building a kernel for CentOS systems to get you a kernel rpm package that can be installed or shared with others.

Building a Kernel rpm Package

1. Download The Kernel ...
Read more : Compile a new kernel - CentOS way (make rpm) | Views : 8218 | Replies : 0 | Forum : Linux specific


Recover HDD - dd - dd_rescue - dd_rhelp

dd_rescue is a version of dd which will not stop when it encounters errors. This is useful when you have media (hard drive, floppy drive, cdrom) with bad sectors or other errors, and you want to attempt to make an image of the drive, so you can at least recover some (or most) of your data.

Basic Features

While dd is a general purpose data-copying tool, dd_rescue is intended specifically for copying filesystems off of ...
Read more : Recover HDD - dd - dd_rescue - dd_rhelp | Views : 5541 | Replies : 0 | Forum : Server Side Actions


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22

cron