It is currently Sun Apr 28, 2024 1:22 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

World Time Zones

The current time all around the world for every country, state and major city with additional information on each time zone
World Time Zones
Read more : World Time Zones | Views : 1839 | Replies : 0 | Forum : Server Side Actions




Basic Unix Commands

Basic Unix Commands

A
alias Create an alias
apropos Search Help manual pages (man -k)
apt-get Search for and install software packages (Debian)
aspell Spell Checker
awk Find and Replace text, database sort/validate/index

B
bash GNU Bourne-Again SHell
bc Arbitrary precision calculator language
bg Send to background
break Exit from a loop
builtin Run a shell builtin
bzip2 Compress or decompress named file(s)

C
cal Display a calendar
case Conditionally ...
Read more : Basic Unix Commands | Views : 2592 | Replies : 0 | Forum : Server Side Actions






Pure-FTPd error - Unable to switch capabilities

Code: Select all
pure-ftpd: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted


1. Solution

Recompile Pure-FTPd with "--without-capabilities" option.

2. Solution
Find what's wrong with capabilities and add missing capability to your VE with vzctl command:
Code: Select all
#vzctl set <VEID> --capability capname:on|off


For Pure-FTPd:
Code: Select all
for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE; do vzctl set <VEID> --capability ${CAP}:on --save;done
Read more : Pure-FTPd error - Unable to switch capabilities | Views : 3353 | Replies : 0 | Forum : OpenVZ related


Stracing a program

Suppose some program on your system refuses to work or it works, but much slower then you've expected. How can you investigate the reason of such undesirable behaviour? First of all, you can read and analyze logs that this program does (if it does). It's very useful to run unkindly program with --verbose argument or somehow else increase the log level, if the program allows that. But what can you do, if logs are poor ...
Read more : Stracing a program | Views : 2086 | Replies : 0 | Forum : Linux specific


FluidVM update (Management node)

Instructions for update:
1. Login to management server
2. As "root" run
Code: Select all
update_fluidvm.py

(installed already as part of FluidVM)
3. Clear your browser caches and re-access the management server UI.
Read more : FluidVM update (Management node) | Views : 1980 | Replies : 0 | Forum : FluidVM


Print UBC values for a specific container

If you want to print UBC(/proc/user_beancounters) values for a specific container, the following construct can be helpful:
Code: Select all
egrep -A23 '^[[:space:]]+${CTID}:'

Here ${CTID} is the ID of the container you are interested in.

In case you want to print UBC values for a few containers at once, set CTID to something like (101|102|103).
Read more : Print UBC values for a specific container | Views : 2344 | Replies : 0 | Forum : OpenVZ related


Installing SVN in cPanel

Installing SVN in cPanel

SVN is a version management tool "much like CVS". It is used to develop many large sites online, amongst them LastFM (http://www.last.fm), Zarpie (http://www.zarpie.com) and Flickr (http://www.flickr.com/). It has been in development for many years and there are a wide range of OS compatible versions available.

In this example, we will show you ...
Read more : Installing SVN in cPanel | Views : 2291 | Replies : 0 | Forum : Server Side Actions


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22