Kmaiti

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 30 September 2010

How to integrate tomcat with apache on cpanel linux server?

Posted on 00:59 by Unknown
Guys,I didn't configure it but I am making it more available in the internet so that you can easily get the link and steps. Hope it'll help you to do the same. Here are the steps :=======1- Configure PATH- vi or pico -w /etc/profile- Add those lines after the first comments# /etc/profile# System wide environment and startup programs, for login setup# Functions and aliases go in /etc/bashrcJAVA_HOME=/usr/local/java/javaCATALINA_HOME=/usr/local/tomcatPATH=$JAVA_HOME/bin:$PATH:$HOME/bin:/sbin:/usr/sbinCLASSPATH=$CATALINA_HOME/bin/bootstrap.jar:$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet.jar:/usr/local/pgsql/share/java/postgresql.jar:../lib/struts.jar:.-...
Read More
Posted in | No comments

Wednesday, 29 September 2010

How install MRTG on linux?

Posted on 23:01 by Unknown
Guys,The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic load on network links. MRTG generates HTML pages containing PNG images which provide a LIVE visual representation of this traffic. Here are the steps those I followed :====Installing Library zlib :................wget http://www.gzip.org/zlib/zlib-1.1.4.tar.gztar -xvzf zlib-1.1.4.tar.gzmv zlib-1.1.4 zlibcd zlib./configuremakecd ..................Installing Library libpng :................wget http://public.planetmirror.com/pub/sourceforge/l/li/libpng/libpng-1.0.15.tar.gztar...
Read More
Posted in | No comments

Monday, 27 September 2010

make: *** [install-webconf] Error 1

Posted on 22:09 by Unknown
Guys,I got this error message during configuring the nagios : Here is the exact error message.=======root@server [/usr/local/src/nagios-3.2.1]# make install-webconf/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf/usr/bin/install: cannot create regular file `/etc/httpd/conf.d/nagios.conf': No such file or directorymake: *** [install-webconf] Error 1=======Sol: As per the error message it's clear that nagios is trying to create the nagios.conf file inside the /etc/httpd.conf file. So, to resolve this problem, please...
Read More
Posted in | No comments

How to install nagios on cpanel or linux server?

Posted on 19:15 by Unknown
Guys,Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes. Nagios is an open source application that monitors for computer network problems so that they can be fixed more quickly. Nagios was designed for use with the Linux operating system, but it will also work under Unix and most Unix-based systems.Nagios runs periodic checks on user-specified resources and services. Resources that can be monitored include memory usage, disk usage, microprocessor...
Read More
Posted in | No comments

Thursday, 16 September 2010

How to + extract + untar + unzip .tar.gz file on linux ?

Posted on 05:46 by Unknown
Guys,I refer following commands :Examples : =========gzip -d guiderj_content.sql.gztar -xvzf guiderj_content.sql.gztar -jxvf eaccelerator-0.9.5.3.tar.bz2=========try...
Read More
Posted in | No comments

How to repair mysql database or tables of the database?

Posted on 05:03 by Unknown
Guys,I usually use following command to repair all the tables of the databases of a user.=========[root@server /var/lib/mysql]#for i in `ll |grep bigchakr|awk '{print $9}' |cut -d/ -f1`; do for j in `mysql -e "use $i; show tables;"|grep -v -`; do mysql -e "use $i; repair table $j;"; done done;=========User : bigchakr, please replace this user. It'll repair all the tables of all the DB of that user.You can use myisamchk command to repair the DB. Here is the comamnd :========[root@server /var/lib/mysql]# myisamchk -r /var/lib/mysql/bigchakr_content/*.MYI========Note...
Read More
Posted in | No comments

Saturday, 11 September 2010

FileList::init() failed: ls_dir_wrapper() failed: Unable to logon user + Logon failure: unknown user name or bad password

Posted on 16:58 by Unknown
Guys,I have referred the following steps to sort out the error :steps to recreate the error : Login into plesk cp >> domain's cp >> browse file manager. Here is the error :---------------------------- Debug Info -------------------------------0: FileManagerUIPointer.php:709 FileManagerUIPointer->accessItem(string 'GET', NULL null)1: client.domain.hosting.file-manager.php:86 plesk__client__domain__hosting__file_manager->accessItem(string 'GET', NULL null)2: UIPointer.php:601 UIPointer->access(string 'GET')3: plesk.php:43------Solutions...
Read More
Posted in | No comments

Thursday, 9 September 2010

How to install htop on linux machine?

Posted on 13:43 by Unknown
Guys,I used one bash script to automatically install the htop binary. The binary will show details of the running processes when you execute it on the konsole. Here is the script.======#!/bin/bashcd /usr/local/src/wget http://citylan.dl.sourceforge.net/project/htop/htop/0.8.3/htop-0.8.3.tar.gztar xzvf htop-0.8.3.tar.gzcd htop-0.8.3./configuremakemake install======That's it. Try...
Read More
Posted in | No comments

Sunday, 5 September 2010

Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\HTMLPDF.mdf" failed with the operating system error 3

Posted on 13:14 by Unknown
Guys,I got this error when I was restoring one database on mssql 2005(win 2003). I have tried to override the DB but still got the error message. I have changed the path and then successfully restored it since error is giving the clue :)Error : ======System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\HTMLPDF.mdf" failed with the operating system error 3(The system cannot find the path specified.). (Microsoft.SqlServer.Express.Smo)======Exact path for my system(Try to find out...
Read More
Posted in | No comments

Saturday, 4 September 2010

How to build kernel module + How to develop kernel module + How to create kernel module?

Posted on 19:13 by Unknown
Guys,I developed a small program called hello.c and called some kernel functions in it. Here are the steps those I followed :========1. yum install kernel-headers-$(uname -r)2. vi hello.c and add the following codes :-----#include "linux/module.h"#include "linux/kernel.h"int init_module(void){printk(KERN_INFO "init_module() called\n");return 0;}void cleanup_module(void){printk(KERN_INFO "cleanup_module() called\n");}-----3. vi Makefile and add the following lines :-----obj-m += hello.oall:make -C /lib/modules/2.6.18-194.8.1.el5/build/ M=$(PWD)...
Read More
Posted in | No comments

Friday, 3 September 2010

How to upgrade kernel on linux?

Posted on 18:53 by Unknown
Guys,I referred the following steps :============================1. cd /usr/local/src2. wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x.y.z.tar.bz2 //replace the version that you want to install or check it at http://www.kernel.org/3. tar -xjvf linux-2.6.35.4.tar.bz2 -C /usr/src4. cd /usr/src/linux-2.6.35.45. make menuconfig //if gcc is not there just install it like : yum install gccNote : You can enable various option here. But make it sure that you have enabled kernel config option. Go to General option >>...
Read More
Posted in | No comments

Thursday, 2 September 2010

How to manually recompile php on cpanel server?

Posted on 06:42 by Unknown
Guys,I referred following steps :========1. cd /home/cpeasyapache/src/php-5.2.9/2. ./configure --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-magic-quotes --enable-mbstring --enable-pdo=shared --enable-sockets --enable-zip --with-kerberos --prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs --with-curl=/opt/curlssl/ --with-curlwrappers --with-freetype-dir=/usr --with-gd --with-gettext --with-imap=/opt/php_with_imap_client/ --with-imap-ssl=/usr --with-jpeg-dir=/usr --with-libdir=lib64 --with-libexpat-dir=/usr...
Read More
Posted in | No comments

configure: error: This c-client library is built with Kerberos support

Posted on 06:37 by Unknown
Guys,I got the error message during executing easyapache. I have manually recompiled the php on cpanel server. Here is the script that I have used to do the same :Note : I enabled kerberos and added the line like : --with-kerberos to fix the issue.=======-bash-3.2# cat /root/manual_php_recompile.sh#!/bin/bash#By Kamal Maiticd /home/cpeasyapache/src/php-5.2.9/./configure --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-magic-quotes --enable-mbstring --enable-pdo=shared --enable-sockets --enable-zip --with-kerberos...
Read More
Posted in | No comments

Wednesday, 1 September 2010

How to install suhosin on linux ?

Posted on 04:48 by Unknown
Guys,Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in combination. The first part is a small patch against the PHP core, that implements a few low-level protections against bufferoverflows or format string vulnerabilities and the second part is a powerful PHP extension that implements all the other protections. I have referred following steps to install...
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • NDMP communication failure error
    Guys, Issue : Netbackup server sends alert NDMP communication failure once everyday. But there is no issue to run scheduled backup jobs. Env...
  • unable connect to socket: No route to host (113)
    Guys, This error message usually comes when you try to access remote linux desktop using vncviewer. Please check the firewall in the linux s...
  • How to store sftp log messages in custom file on RHEL 6?
    How to setup chrooted sftp account on RHEL 6? $groupadd sftponly $$useradd user123 $usermod -d /myhome -g sftponly -s /bin/false user123 $mk...
  • How to make bridge over VLAN?
    How to make bridge over VLAN? Bridging over VLAN's : By constructing a bridge between a "normal" and a "VLAN" ethern...
  • How to verify UDP packet communication between two linux system?
    Guys, Today, I had to check UDP packet communication between linux and a windows system. Main purpose of the windows system was to capturing...
  • what does it mean by "cman expected_votes="1" two_node="1" in cluster.conf ?
    For two node clusters ordinarily, the loss of quorum after one out of two nodes fails will prevent the remaining node from continuing (if bo...
  • How to install pdo_mysql module with php on 64 bit linux machine?
    Guys, The PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. Each database driver ...
  • configure: error: could not find library containing RSA_new
    Guys, It seems you have enabled the SSL option during configuring the package. Please either resolve that dependency or disable the SSL opti...
  • Cannot find config.m4 + phpize +Resolved
    Guys, I got the same error messages and sorted out it. Here is the error that I got. ===== root@server [/home/cpeasyapache/src/php-5.2.9/ext...
  • How to migrate VPS container to another virtuozoo node?
    Guys, I referred the following steps : I executed following command from the old node : ==== [root@old_node ~]# vzmigrate IP_of_new_node 213...

Categories

  • ACL
  • ESX
  • Linux
  • Storage
  • UCS

Blog Archive

  • ►  2013 (5)
    • ►  May (1)
    • ►  April (3)
    • ►  February (1)
  • ►  2012 (10)
    • ►  July (1)
    • ►  June (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (3)
    • ►  January (1)
  • ►  2011 (86)
    • ►  December (3)
    • ►  November (2)
    • ►  September (19)
    • ►  August (9)
    • ►  July (5)
    • ►  June (9)
    • ►  May (12)
    • ►  April (3)
    • ►  March (4)
    • ►  February (5)
    • ►  January (15)
  • ▼  2010 (152)
    • ►  December (9)
    • ►  November (34)
    • ►  October (20)
    • ▼  September (14)
      • How to integrate tomcat with apache on cpanel linu...
      • How install MRTG on linux?
      • make: *** [install-webconf] Error 1
      • How to install nagios on cpanel or linux server?
      • How to + extract + untar + unzip .tar.gz file on l...
      • How to repair mysql database or tables of the data...
      • FileList::init() failed: ls_dir_wrapper() failed: ...
      • How to install htop on linux machine?
      • Directory lookup for the file "C:\Program Files\Mi...
      • How to build kernel module + How to develop kernel...
      • How to upgrade kernel on linux?
      • How to manually recompile php on cpanel server?
      • configure: error: This c-client library is built w...
      • How to install suhosin on linux ?
    • ►  August (24)
    • ►  July (19)
    • ►  June (3)
    • ►  May (25)
    • ►  April (3)
    • ►  January (1)
Powered by Blogger.