Friday, 31 May 2013

make *** no targets specified and no makefile found. stop. in monit


First install pam and openssl

# yum install pam-devel
# yum install openssl-devel

then install monit

#cd monit5.5
#./configure
#make && make install


Wednesday, 29 May 2013

HP ProLiant DL360 G7 , 1 U Rack Mounting Hp server price


HP ProLiant DL360 G7
1 U Rack Mounting HP server price in india

Brand Name HP
Model ProLiant DL360 G7
Processor Intel Xeon E5645(2.4GHz/6 core)
Ram 16 GB -PC3-10600R (DDR3-1333)
LAN Ports Two HP NC382i Dual Port multifunction Gigabit Server Adapter
Raid 1 Controller HP Smart Array P410i/256MB Controller
Hard Disk 2x600GB 6G SAS 10K rpm
Power Supply BaysTwo 460W Common Slot Gold Hot Plug Power
Fan 3 fans redundancy standard
 India Market Price : 2,60000 approx. it's not actual price






 
 
 

 


 

Toshiba Kirabook first windows based , Retina technology with High resolution beautiful ultrabook


Toshiba's Kirabook using Retina technology, with ulta-high resolution, thin, light, and extremely quiet laptop

KIRAbook i5

Windows 8
Intel® Core™ i5-3337U Processor
8GB DDR3 1600MHz
256GB mSATA solid state drive
2560x1440 PixelPure™ Non-Touch Display

India Market Price: Rs. 89791.44

 

KIRAbook i5TOUCHSCREEN

Windows 8
Intel® Core™ i5-3337U Processor
8GB DDR3 1600MHz
256GB mSATA solid state drive
2560x1440 PixelPure™ Touch Display

India Market Price : Rs. 101015.44


KIRAbook i7
TOUCHSCREEN


Windows 8 Pro
Intel® Core™ i7-3537U Processor
8GB DDR3 1600MHz
256GB mSATA solid state drive
2560x1440 PixelPure™ Touch Display

India Market Price : Rs.112239.44




ipod touch a secure connection could not be established date and time settings

Solution :

Please set back date and time, your problem will be resolved.

Sony launches new Xperia Tablet Z price Rs. 46,990



Features:

Display and Viewing : Impressive as HDTV - HD reality screen, most vivid coolers, true screen intelligence, cinema like viewing, great viewing indoors and outdoors,perfect performance.

Connectivity : Easily control your living room and home, enhance TV entertainment, one touch functions from Sony, Single touch mirroring, single touch backup, single touch listening, single touch sharping, content sharing made easy, smart connect,Stay connected with LTE/4G.

Design  :  Omni balance design, quality craftsmanship, designed for entertainment, super slim and light, premium design, outside in- Sony unified UI, dust and water-resistant.

Processor & Battery  : 1.5GB Quad core processor, 2GB RAM, Unparalleled graphics, Ultra-fast LTE/4G technology, Significantly improve battery life with Battery STAMINA mode, Get only the important notices.

Camra : 8 MP camera with Exmor R™ for mobile, HD chat camera, Superior Auto, Never miss a moment — Burst mode, Take pictures wherever you are — Water and dust resistant, Find your memories in no time – Album app.


Specification :


Memory : 2GB , Flash memory up to 16 GB, expansion slot : microSD card up to 64GB

Weight       : 495 grams
Dimensions   : 172x266x6.9 mm ( 6.8x10.47x0.24 inches)
On the Inside: Google Android 4.1 (Jelly Bean)
Camera      : 8.1 megapixels , 16xDigital zoom
Display      : 10.1 inches TFT , 16,777,216 colours, 1920x1200 pixels
Durability   : IPX5/7 (Water-resistant) & IP5X (Dust-proof)
Networks   : GSM GPRS/EDGE 850, 900, 1800, 1900 MHz

Tuesday, 28 May 2013

Compair between Samsung Galaxy Mega 5.8 inch and 6.3 inch phone


Samsung launches latest big screen mega smartphone

Samsung Galaxy Mega 6.3 inch         Samsung Galaxy Mega 5.8 inch


Dual SIM YES Dual SIM YES




Dual Core Processor 1.7 Ghz Dual Core Processor 1.4 Ghz




RAM 1.5 GB RAM 1.5 GB




OS 4.2 Jelly bean OS 4.2 Jelly bean




Screen Size 6.3 inch Screen Size 5.3 inch




Camra 8 MP Camra 8 MP
Front Camra 2 MP Front Camra 2 MP
Wi-Fi YES Wi-Fi YES




Internal Memory 8/16 GB Internal Memory 8 GB




External Memory Slot     64 GB External Memory Slot     64 GB




Battery capacity 3,200 mAh Battery capacity 2,600 mAh




Connectivity 2G, 3G, GPS Connectivity 2G, 3G, GPS




Bluetooth 4 Bluetooth 4




Price Rs. 31,490 Price Rs. 25,100

Install Mysql Plugin in munin


[root@localhost plugins]# ln -s /usr/share/munin/plugins/mysql_slowqueries  /etc/munin/plugins/mysql_slowqueries

[root@localhost plugins]# ln -s /usr/share/munin/plugins/mysql_threads /etc/munin/plugins/mysql_threads

[root@localhost plugins]# ln -s /usr/share/munin/plugins/mysql_queries /etc/munin/plugins/mysql_queries

[root@localhost plugins]# ln -s /usr/share/munin/plugins/mysql_bytes /etc/munin/plugins/mysql_bytes

[root@localhost plugins]# ln -s /usr/share/munin/plugins/mysql_innodb /etc/munin/plugins/mysql_innodb

Edit file and add

[root@localhost plugins]# vi /etc/munin/plugin-conf.d/munin-node

[mysql*]
   env.mysqlopts -u mysqlusername --password=mysqlpassword
 
[root@localhost plugins]# /etc/init.d/munin-node restart
Stopping Munin Node agents: [ OK ]
Starting Munin Node: [ OK ]

[root@localhost plugins]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]


How to install tomcat Plugin in munin

Create softlink with plugin

[root@localhost ~]#ln -s /usr/share/munin/plugins/tomcat_access /etc/munin/plugins/tomcat_access
[root@localhost ~]#ln -s /usr/share/munin/plugins/tomcat_jvm /etc/munin/plugins/tomcat_jvm
[root@localhost ~]#ln -s /usr/share/munin/plugins/tomcat_threads /etc/munin/plugins/tomcat_threads
[root@localhost ~]#ln -s /usr/share/munin/plugins/tomcat_volume /etc/munin/plugins/tomcat_volume

Edit tomcat-users.xml and add user for munin graph

<user username="tomcat" password="tomcat" roles="manager"/>
<role rolename="manager"/>

Config tomcat plugins in munin

edit /etc/munin/plugin-conf.d/munin-node and add

[tomcat_*]
env.ports 8080
env.user tomcat
env.password tomcat

check locally
[root@localhost ~]#/etc/munin/plugins/tomcat_jvm

you need install simple xml support,

[root@localhost]# /etc/munin/plugins/tomcat_jvm
Can't locate object method "new" via package "XML::Simple" at /etc/munin/plugins/tomcat_jvm line 119.
fisrt time get this msg

[root@localhost]# yum install perl-XML-Simple
Restart munin-node

[root@localhost]#/etc/init.d/munin-node restart

then check the graph.


How to install and configure munin monitoring tool on Rhel/Centos/Linux


First check the httpd package install or not
[root@localhost opt]#rpm -qa http*    (If httpd service is not installed first install it)

[root@localhost opt]# yum install http*

[root@localhost opt]# service httpd restart

Stopping httpd: [ OK ]

Starting httpd: [ OK ]

[root@localhost opt]#

Installing munin
[root@localhost ~]# yum install munin*

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

* base: mirror.nbrc.ac.in

* epel: mirror.smartmedia.net.id

* extras: mirror.nbrc.ac.in

* updates: mirror.nbrc.ac.in

Setting up Install Process

Package munin-cgi-2.0.12-2.el6.noarch already installed and latest version

Resolving Dependencies

--> Running transaction check

---> Package munin.noarch 0:2.0.12-2.el6 will be installed

---> Package munin-async.noarch 0:2.0.12-2.el6 will be installed

---> Package munin-common.noarch 0:2.0.12-2.el6 will be installed

---> Package munin-java-plugins.noarch 0:2.0.12-2.el6 will be installed

---> Package munin-node.noarch 0:2.0.12-2.el6 will be installed

---> Package munin-ruby-plugins.noarch 0:2.0.12-2.el6 will be installed

--> Finished Dependency Resolution
Dependencies Resolved
================================================================================

Package Arch Version Repository Size

================================================================================

Installing:

munin noarch 2.0.12-2.el6 epel 193 k

munin-async noarch 2.0.12-2.el6 epel 23 k

munin-common noarch 2.0.12-2.el6 epel 84 k

munin-java-plugins noarch 2.0.12-2.el6 epel 84 k

munin-node noarch 2.0.12-2.el6 epel 399 k

munin-ruby-plugins noarch 2.0.12-2.el6 epel 20 k
Transaction Summary

================================================================================

Install 6 Package(s)
Total download size: 803 k

Installed size: 2.1 M

Is this ok [y/N]: y

Downloading Packages:

(1/6): munin-2.0.12-2.el6.noarch.rpm | 193 kB 00:01

(2/6): munin-async-2.0.12-2.el6.noarch.rpm | 23 kB 00:00

(3/6): munin-common-2.0.12-2.el6.noarch.rpm | 84 kB 00:00

(4/6): munin-java-plugins-2.0.12-2.el6.noarch.rpm | 84 kB 00:00

(5/6): munin-node-2.0.12-2.el6.noarch.rpm | 399 kB 00:01

(6/6): munin-ruby-plugins-2.0.12-2.el6.noarch.rpm | 20 kB 00:00

--------------------------------------------------------------------------------

Total 173 kB/s | 803 kB 00:04

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : munin-common-2.0.12-2.el6.noarch 1/6

Installing : munin-node-2.0.12-2.el6.noarch 2/6

Installing : munin-2.0.12-2.el6.noarch 3/6

Installing : munin-java-plugins-2.0.12-2.el6.noarch 4/6

Installing : munin-async-2.0.12-2.el6.noarch 5/6

Installing : munin-ruby-plugins-2.0.12-2.el6.noarch 6/6

Installed:

munin.noarch 0:2.0.12-2.el6 munin-async.noarch 0:2.0.12-2.el6

munin-common.noarch 0:2.0.12-2.el6 munin-java-plugins.noarch 0:2.0.12-2.el6

munin-node.noarch 0:2.0.12-2.el6 munin-ruby-plugins.noarch 0:2.0.12-2.el6
Complete!

[root@localhost ~]# vi /etc/munin/munin.conf

#dbdir /var/lib/munin

#htmldir /var/www/html/munin

#logdir /var/log/munin

#rundir /var/run/munin

#tmpldir /etc/munin/templates

change to

dbdir /var/lib/munin

htmldir /var/www/html/munin

logdir /var/log/munin

rundir /var/run/munin

tmpldir /etc/munin/templates

save and exit

[root@localhost ~]# /etc/init.d/munin-node restart

Stopping Munin Node agents: cat: /var/run/munin/munin-node.pid: No such file or directory

kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

[FAILED]

Starting Munin Node: [ OK ]

[root@erpserver ~]# chkconfig httpd on

Setup user name and password on munin

[root@localhost ~]# htpasswd -c /etc/munin/munin-htpasswd admin

New password:
Re-type new password:

Adding password for user admin

[root@localhost ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]

[root@localhost ~]# /etc/init.d/munin-node restart
Stopping Munin Node agents: [ OK ]
Starting Munin Node: [ OK ]
[root@localhost ~]#

Browser the url: http://yourip/munin
submit the user id and pass

avahi_entry_group_add_service_strlst("localhost") failed: Invalid host name (Internal Server Error)


When run this url : http://localhost
Error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.15 (CentOS) Server at 127.0.0.1 Port 80

checking log file in /var/log/httpd/error_log
avahi_entry_group_add_service_strlst("localhost") failed: Invalid host name

Solution : Completely remove httpd package then install again httpd package  

[root@localhost opt]# yum remove http*

[root@localhost opt]# find / -name http* (Remove all entry from the linux)
/usr/lib64/httpd
/etc/httpd
/var/log/httpd
usr/share/doc/perl-Net-Server-0.97/examples/httpd

[root@localhost opt]# rm -rvf /etc/httpd

[root@localhost opt]#rm -rvf /var/log/httpd/

[root@localhost opt]# rm -rvf /usr/lib64/httpd/

[root@localhost opt]# rm -rvf /usr/share/doc/perl-Net-Server-0.97/examples/httpd

[root@localhost opt]# find / -name httpd (If you will get blank  then install httpd ) 


[root@localhost opt]# yum install http*

[root@localhost opt]# service httpd restart

Stopping httpd: [ OK ]

Starting httpd: [ OK ]

[root@localhost opt]#

Monday, 27 May 2013

How to remove openJDK and Install sun jre on RHEL/Centos/linux


 
Removing OpenJDK from linux

[root@localhost opt]# yum remove java*

check java version

[root@localhost opt]# java -version

-bash: /usr/bin/java: No such file or directory

Download latest jre from oracle site


[root@localhost opt]# ls

lost+found

jre-6u45-linux-x64-rpm.bin

[root@localhost opt]# chmod +x jre-6u45-linux-x64-rpm.bin

[root@localhost opt]# ./jre-6u45-linux-x64-rpm.bin

Unpacking...

Checksumming...

Extracting...

UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).

inflating: jre-6u45-linux-amd64.rpm

Preparing... ########################################### [100%]

1:jre ########################################### [100%]

Unpacking JAR files...

rt.jar...

jsse.jar...

charsets.jar...

localedata.jar...

plugin.jar...

javaws.jar...

deploy.jar...
Done.

[root@localhost opt]# ls

jre-6u45-linux-amd64.rpm

jre-6u45-linux-x64-rpm.bin

[root@localhost java]# java -version

java version "1.6.0_45"

Java(TM) SE Runtime Environment (build 1.6.0_45-b06)

Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

[root@localhost java]#

Sunday, 26 May 2013

Most Popular Matrimonial and Dating Sites

 

Most Popular Matrimonial Sites in India


 Shaadi.com     
               
 JeevanSathi.com   
    
 bharatMatrimony.com  
                           
 simplyMarry.com         
                
 matrimonialsindia.com                                            


Most Popular Dating Sites


In-match

Pof

Zoosk

eharmony

singlesnet



 

Saturday, 25 May 2013

Compare between Samsung Galaxy star and Nokia asha 501


Nokia asha 501 vs Samsung Galaxy Star

     Samsung Galaxy Star                 Nokia  Asha 501                               


Dual SIM YES Dual SIM No
A5 Processor 1 Ghz





RAM 512 MB RAM 64 MB




OS 4.1 Jelly bean OS Nokia Asha 1.0




Screen Size 3 inch Screen Size 3 inch




Camra 2 MP Camra 3.2 MP




Wi-Fi YES Wi-Fi YES




Internal Memory 4 GB Internal Memory 128 MB




External Memory Slot     32 GB External Memory Slot 32 GB (4 GB Included)




Battery capacity 1200 mAh Battery capacity 1200 mAh




Maximum 2G talk time Up to 14 hours Maximum 2G talk time 17h
Weight 100.5g Weight 98 g
Price : 5,240                                                    Price : 5,400

Samsung Galaxy Star Launches cheapest phone price Rs. 5240



Now Samsung Smartphone range : Rs 5240   to 41500

Dual SIM                          : Yes                                       
A5 Processor                    : 1 Ghz   
RAM                                 : 512 MB
OS                                     : 4.1 Jelly bean
Screen Size                       : 3 inch
Camra                                : 2 MP
Wi-Fi                                  : YES
Internal Memory                : 4 GB
External Memory Slot        : 32 GB
Battery capacity                 : 1,200mAh
Maximum 2G talk time      : Up to 14 hours
Standby Time(GSM)          : Up to 320 hours
Music playback time          : 56h
Weight                                : 100.5g
      


Top 5 Most Popular Desktop/Server Linux Distributions


     Most Popular Desktop Linux Distribution :
  1. Ubuntu - Easliy update securty patched, more reliable , comfort to user friendy, mostly using in office envirnment. 

  2. Fuduntu - It you are using mobile computing netbooks and laptop.this would be better choice, because it will consume less battry. Result is increase your laptop and netbooks battary life.

  3. Linux Mint - It's excellent as a distribution, easy to build upon, and use. 

  4. Mageia -    It's great  as a linux distribution,

  5. Arch Linux - Light weight,simple linux distribution 


    Most Popular Server Linux Distribution : 

    1. Redhat : Enterprise edition
    2. Centos : It's clone of Redhat , it's free distribution
    3. Debian : It's great server distribution.
    4. Ubuntu : Ubuntu exellent server edition.
    5 OpenSuse : Enterprise Edition

Thursday, 23 May 2013

Play with Windows shortcut keys


Windows Shortcut key list

F1 Windows Help
F2 Rename object
F3 Find next files
F5 Refresh the current window
ALT+TAB: Switch between open programs
CTRL+ESC: Open Start menu
ALT+F4: Quit program
SHIFT+DELETE: Delete selection immediately, without moving the item to the Recycle Bin
WindowsLogo+L: Lock the computer


CTRL+C Copy
CTRL+X: Cut
CTRL+V: Paste
CTRL+Z: Undo
CTRL+B: Bold
CTRL+U: Underline
CTRL+I: Italic


WindowsLogo: Start menu
Window Logo+R: Run dialog box
WindowsLogo+M: Minimize all
SHIFT+Windows Logo+M: Undo minimize all
WindowsLogo+F1: Help
WindowsLogo+E: Windows Explorer
WindowsLogo+F: Find files or folders
WindowsLogo+D: Minimizes all open windows and displays the desktop
CTRL+WindowsLogo+F: Find computer
WindowsLogo+Break: System Properties dialog box
WindowsLogo+P: Starts Print Manager
WindowsLogo+C: Opens Control Panel
WindowsLogo+V: Starts Clipboard

Information about Network-attached storage(cheapest price with high capacity)


If you want Network-attached storage(NAS) cheapest price with high capacity.
New product Launches by Netgear ReadyNAS 104 4-Bay,max capacity would be 16TB ,
it's good for Home/small office.

Price of ReadyNAS and Western Digital Red WD30EFRX in India

ReadyNAS 104 4-Bay, Diskless RN10400 Price - Rs, 16000.00 + tax
Western Digital Red WD30EFRX 3TB    Price -  Rs9,800.00+Tax
Western Digital also available in 4TB.

Monday, 20 May 2013

Most popular port Numbers which is using in IT-Industry




Control Panel :
Services                                         Port Number
----------------------------------------------------------------
Webmin                                          10000
----------------------------------------------------------------
 cPanel                                           2082
cPanel-SSL                                     2083
WHM                                             2086
WHM-SSL                                      2087
WebMail                                        2095
Webmail -SSL                                2096
----------------------------------------------------------------
Plesk  Control Panel                               8880
Plesk  Control Panel-SSL                       8443
Plesk  windows webmail                        8425
Plesk  windows SmarterMail                  8429
Plesk windows SmarterMail Insecure     9998
----------------------------------------------------------------
DotNet Panel                                         90001
DotNet Panel Login                                80
----------------------------------------------------------------
Mail Server/Client
----------------------------------------------------------------
POP3                                             110
POP3-SSL                                       995
IMAP                                              143
IMAP-SSL                                       993
SMTP                                             25
SMTP Alternate                              587
SMTP -SSL                                     465
----------------------------------------------------------------
Web Services
----------------------------------------------------------------
HTTP                                             80
SSL                                                443
FTP                                                21
FTPs                                               990
SFTP                                              22
Webdisk                                         2077
Webdisk-SSL                                  2078
MySQL                                           3306
MSSQL                                           1433
SSH                                                 22
Telnet                                              23
----------------------------------------------------------------

Web/Application Server              Default Port No.
Tomcat                                                 8080    
Jboss                                                    8080
IBM Websphere                                     9080
IBM Websphere-SSL                               9443
IBM Websphere Admin Cotrol                 9090
IBM Websphere Admin Cotrol-SSL          9043

 

SSL port list

           
List of commonly used most popular secure ports, SSL (Secure Sockets Layer) is industry standard security Technology, its create encrypted link between server and client end.
All data transection would be in secure format.  


                Service                     Port                         Description
        -------         -------         -----------
        nsiiops         261/tcp         IIOP Name Service over TLS/SSL
        https           443/tcp         http protocol over TLS/SSL
        ddm-ssl         448/tcp         DDM-SSL
        smtps           465/tcp         smtp protocol over TLS/SSL 
        nntps           563/tcp         nntp protocol over TLS/SSL
        sshell          614/tcp         SSLshell
        ldaps           636/tcp         ldap protocol over TLS/SSL 
        ftps-data       989/tcp         ftp protocol, data, over TLS/SSL
        ftps            990/tcp         ftp, control, over TLS/SSL
        telnets         992/tcp         telnet protocol over TLS/SSL
        imaps           993/tcp         imap4 protocol over TLS/SSL
        ircs            994/tcp         irc protocol over TLS/SSL
        pop3s           995/tcp         pop3 protocol over TLS/SSL

Thursday, 2 May 2013

SSH Configure without password on linux



On node01 :
  1. On the node01 server as root owner (do not enter passphrase!):
[root@node01 ~]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
56:37:86:ac:0c:23:04:0a:e8:b9:e6:65:b3:36:09:cd root@node01
  1. This will generate 2 files under your home directory:
[root@node01 .ssh]# ls
id_rsa id_rsa.pub known_hosts
  1. You can see id_rsa.pub file contents
[root@node01 .ssh]# cat id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAv36oBd4kcS/sStXKgxECTzKVgSlqUiHzn78R4vESxscY W0RBUr2q2X49DEhnTRKmg4q94EwUlapL0+7cObX8IEWt9yPcZ0hTRVALrwGeC/D2hHQ2kRwVx5NIq+ey WO/Xp8/i8x1KCWezrGRI/5uaHhVm5u7cw0i4/jQR+0Ek9Ut6wF9hZIlLAJgEJtdpTdhEC3M1T2LHlkXn cmXe8ndFtDoLEoqDjM5+3mQu6cDjIZ/aLT88uejYDEv12x/tyN3ICRkuaYFaV7SDe4V/kpOOa3nEbf2Y e2Rx/B0ZmxZ01lvKn43hOZpK94Cuu6ZcKwRTEajvPIeRiSwChAOTBtvadw== root@node01
  1. Copy id_rsa.pub file to node02 server.
[root@node01 ~]# cd .ssh/
[root@node01 .ssh]# scp id_rsa.pub root@node02:/root
root@node02′s password:
id_rsa.pub 100% 393 0.4KB/s 00:00
  1. Connect to the node02 server
ot@node01 ~]# ssh node02
The authenticity of host ‘node02 (192.168.4.11)’ can’t be established.
RSA key fingerprint is d0:5d:7c:01:b2:a4:ef:41:ed:b9:98:89:60:46:1f:46.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘node02,192.168.4.11′ (RSA) to the list of known hosts.
root@node02′s password:
Last login: Fri Dec 23 19:42:34 2011 from 192.168.4.13
  1. Create empty authorized_keys file with touch command
[root@node02 .ssh]# touch authorized_keys
  1. Then append node01 id_rsa.pub contents to created authorized_keys file in node02.
[root@node02 ~]# cat id_rsa.pub >>~/.ssh/authorized_keys
[root@node02 ~]# cd ~/.ssh/
  1. It’s important to change file permission otherwise it’s not working.
[root@node02.ssh]# chmod 600 authorized_keys
On Node02 : Same thing do on node02
[root@node02 ~]# cd ~/.ssh
[root@node02 .ssh]# ls
known_hosts
[root@node02 .ssh]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
86:a8:d4:98:fa:1a:4f:cf:1d:f0:87:ac:eb:ac:41:a6 root@node02
[root@node02 .ssh]# ls
id_rsa id_rsa.pub known_hosts
[root@node02 .ssh]# scp id_rsa.pub root@node01:/root
root@node01′s password:
id_rsa.pub 100% 393 0.4KB/s 00:00
[root@node02 ~]# cat id_rsa.pub >> ~/.ssh/authorized_keys
[root@node01 ~]# ssh node02
Last login: Fri Dec 23 19:44:07 2011 from node01
[root@node02 ~]#
Congratulation you have done it sucessfully. Enjoy it

Step by step install and configure hyperic-hq-installer-4.6.6 server and agent on linux


SERVER IP : X.X.X.X
First need to create user  then start the process:
#useradd hyperic
# tar xvzf hyperic-hq-installer-4.6.6-x86-64-linux.tar.gz
#chown -R hyperic:hyperic hyperic-hq-installer-4.6.6
# su – hyperic
[hyperic@localhost ~]$ ls
hyperic-hq-installer-4.6.6 hyperic-hq-installer-4.6.6-x86-64-linux.tar.gz
[hyperic@localhost ~]$ cd hyperic-hq-installer-4.6.6
[hyperic@localhost hyperic-hq-installer-4.6.6]$ ls -ltr
total 239792
-rwxrwxr-x. 1 hyperic hyperic 85586155 Jun 10 2012 hyperic-hq-agent-4.6.6-x86-64-linux.tar.gz
-rwxrwxr-x. 1 hyperic hyperic 159117228 Jun 10 2012 server-4.6.6.tar.gz
drwxr-xr-x. 7 hyperic hyperic 4096 Jun 10 2012 installer
-rw-r–r–. 1 hyperic hyperic 803306 Jun 10 2012 open_source_licenses.txt
-rwxr-xr-x. 1 hyperic hyperic 147 Jun 10 2012 setup.sh
-rw-r–r–. 1 hyperic hyperic 108 Jun 10 2012 setup.bat
-rw-r–r–. 1 hyperic hyperic 17987 Jun 10 2012 COPYING
[hyperic@localhost hyperic-hq-installer-4.6.6]$ ./setup.sh -full
Unpacking JRE to temporary directory /tmp/jre
Please ignore references to missing tools.jar
Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar
Loading taskdefs…
Taskdefs loaded
Initializing Hyperic HQ 4.6.6 Installation…
Choose which software to install:
1: Hyperic HQ Server
2: Hyperic HQ Agent
You may enter multiple choices, separated by commas.
1,2
HQ server installation path [default '/home/hyperic']:
What port should the HQ server’s web-based GUI listen on for http communication? [default '7080']:
What port should the HQ server’s web-based GUI listen on for secure https communication? [default '7443']:
Choices:
1: Yes
2: No
Would you like to use your own java keystore? [default '2']:
Enter the base URL for the HQ server’s web-based GUI [default 'http://X.X.X.X:7080/']:
Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default 'X.X.X.X']:
Enter the email address that HQ will use as the sender for email messages [default 'hqadmin@X.X.X.X']:
Choices:
1: HQ Built-in Database
2: Oracle 10g/11g
3: PostgreSQL
4: MySQL Enterprise / Community Server 5.x
The HQ built-in database is provided for EVALUATION PURPOSES ONLY. For production use, MySQL or Oracle is recommended. What backend database should the HQ server use? [default '1']:
What port should HQ’s built-in database use? [default '9432']:
Choices:
1: Yes
2: No
Would you like to use an auto generated encryption key to encrypt the database password? [default '1']:
What should the username be for the initial admin user? [default 'hqadmin']:
What should the password be for the initial admin user?:
(again):
What should the email address be for the initial admin user? [default 'hqadmin@X.X.X.X']:
HQ agent installation path [default '/home/hyperic']:
Loading install configuration…
Install configuration loaded.
Preparing to install…
Validating agent install configuration…
Validating server install configuration…
Checking server webapp port…
Checking server secure webapp port…
Verifying admin user properties
Validating server DB configuration…
Installing the agent…
Looking for previous installation
Unpacking /opt/hyperic/hyperic-hq-installer-4.6.6/hyperic-hq-agent-4.6.6-x86-64-linux.tar.gz to: /home/hyperic/agent-4.6.6…
Setting permissions on /home/hyperic/agent-4.6.6…
Setting permissions on agent binaries…
Fixing line endings on text files…
——————————————————————————–
Installation Complete:
Agent successfully installed to: /home/hyperic
——————————————————————————–
You can now start your HQ agent by running this command:
/home/hyperic/agent-4.6.6/bin/hq-agent.sh start
Installing the server…
Unpacking server to: /home/hyperic…
Creating server configuration files…
Using “small” installing profile…
Copying binaries and libraries to server installation…
Copying server configuration file…
Copying server db-upgrade files…
Copying server libs…
Setting up server database…
Now login to another terminal as root and execute this script:
/opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/hqdb/tune-os.sh
This script sets up the proper shared memory settings to run the
built-in database.
Important:
[root@localhost data]# /opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/hqdb/tune-os.sh
/etc/sysctl.conf defined an adequate kernel.shmmax, not changing anything
Tuning completed successfully!
[root@localhost data]#
then press enter
Press Enter after you run the script to continue this installation.
Setting up JDBC driver…
Copying database files…
Configuring database…
Loading taskdefs…
Taskdefs loaded
Starting repopulation of configuration table…
Waiting for built-in database to start (on port 9432)…
Starting built-in database…
Preparing database…
Loading taskdefs…
Taskdefs loaded
Loading taskdefs…
Taskdefs loaded
Loading taskdefs…
Taskdefs loaded
Waiting for server to stop…
Stopping built-in database…
Built-in database stopped.
Installing the server JRE …
Unpacking JRE amd64-linux-1.6_30.tar.gz to: /home/hyperic/server-4.6.6…
Setting permissions on /home/hyperic/server-4.6.6…
Setting permissions on server binaries…
Fixing line endings on text files…
——————————————————————————–
Installation Complete:
Server successfully installed to: /home/hyperic/server-4.6.6
——————————————————————————–
You can now start your HQ server by running this command:
/home/hyperic/server-4.6.6/bin/hq-server.sh start
Note that the first time the HQ server starts up it may take several minutes
to initialize. Subsequent startups will be much faster.
Once the HQ server reports that it has successfully started, you can log in
to your HQ server at:
http://X.X.X.X:7080/
username: hqadmin
password: asdsdsdff
To change your password, log in to the HQ server, click the “Administration”
link, choose “List Users”, then click on the “hqadmin” user.
Setup completed.
A copy of the output shown above has been saved to:
/opt/hyperic/hyperic-hq-installer-4.6.6/installer/logs/hq-install.log
Deleting temporary JRE
[hyperic@localhost hyperic-hq-installer-4.6.6]$
 How to Install and Configure Hyperic Agent :
Step by step install and configure hyperic agent on linux:
 [hyperic@localhost hyperic]$cd /home/hyperic
[hyperic@localhost hyperic]$tar xvzf hyperic-hq-agent-4.6.6-x86-64-linux.tar
[hyperic@localhost hyperic]$cd hyperic-hq-agent-4.6.6
[hyperic@localhost hyperic]$ hyperic-hq-agent-4.6.6/bin/hq-agent.sh start
Starting HQ Agent…… running (15321).
[ Running agent setup ]
What is the HQ server IP address: X.X.X.X
Should Agent communications to HQ always be secure [default=yes]: no
What is the HQ server port [default=7080]:
- Testing insecure connection … Success
What is your HQ login [default=hqadmin]:
What is your HQ password:
What IP should HQ use to contact the agent [default=X.X.X.X]:
What port should HQ use to contact the agent [default=2144]:
- Received temporary auth token from agent
- Registering agent with HQ
The server to agent communication channel is using a self-signed certificate and could not be verified
Are you sure you want to continue connecting? [default=no]: yes
- HQ gave us the following agent token
1360144691845-4091702170031910652-5637611738788352140
- Informing agent of new HQ server
- Validating
- Successfully setup agent
[hyperic@localhost hyperic]$
if you have facing any problem on installation time, please update us…….

Reduce java heap size in hyperic agent


how to reduce the java heap size which an hyperic agent allow to self on startup.
Agent properties location as per my configuration: /home/hyperic/hyperic-agent/conf/agent.properties

open the agent.properties and add this property
agent.javaOpts=-Xmx128m -Xms128m -Djava.net.preferIPv4Stack=true

Installing s3cmd for S3 backup on Amazon


Find the lalest s3cmd package, i am using s3cmd-1.5.0-alpha1.tar.gz
http://sourceforge.net/projects/s3tools/files/s3cmd/
login as: root
[root@localhost opt]#wget http://sourceforge.net/projects/s3tools/files/s3cmd/s3cmd-1.5.0-alpha1.tar.gz
[root@localhost opt]# tar xvzf s3cmd-1.5.0-alpha1.tar.gz
[root@localhost opt]# ls
s3cmd-1.5.0-alpha1
s3cmd-1.5.0-alpha1.tar.gz
[root@localhost opt]# mv s3cmd-1.5.0-alpha1 s3cmd
[root@localhost opt]# ls
s3cmd
s3cmd-1.5.0-alpha1.tar.gz
[root@localhost opt]# cd s3cmd
[root@localhost s3cmd]# ls
INSTALL  NEWS  PKG-INFO  README  S3  s3cmd  s3cmd.1  setup.cfg  setup.py
[root@localhost s3cmd]# python setup.py install
[root@localhost ~]#s3cmd –help    ( help command)

Configure s3cmd:
[root@localhost ~]# s3cmd –configure
Enter new values or accept defaults in brackets with Enter.
Refer to user manual for detailed description of all options.
Access key and Secret key are your identifiers for Amazon S3
Access Key: ****************  (entry access key generated by Amazon)
Secret Key: ******************  (enter Secret key generated by Amazon)
Encryption password is used to protect your files from reading
by unauthorized persons while in transfer to S3
Encryption password:
Path to GPG program [/usr/bin/gpg]:
When using secure HTTPS protocol all communication with Amazon S3
servers is protected from 3rd party eavesdropping. This method is
slower than plain HTTP and can’t be used if you’re behind a proxy
Use HTTPS protocol [No]:
On some networks all internet access must go through a HTTP proxy.
Try setting it here if you can’t conect to S3 directly
HTTP Proxy server name:
New settings:
Access Key: ****************
Secret Key: ******************
Encryption password:
Path to GPG program: /usr/bin/gpg
Use HTTPS protocol: False
HTTP Proxy server name:
HTTP Proxy server port: 0
Test access with supplied credentials? [Y/n] y
Please wait, attempting to list all buckets…
Success. Your access key and secret key worked fine 
Now verifying that encryption works…
Not configured. Never mind.
Save settings? [y/N] y
Configuration saved to ‘/root/.s3cfg’
[root@localhost ~]#s3cmd ls    (list your Amazon S3 buckets)

User this command for S3 sync :
s3cmd sync --delete-removed /opt/abc/* s3://buketname


Create automating backup on Amazon S3 with Windows
Download tools below link
https://sites.google.com/site/jitbit/files/S3Sync.zip?attredirects=0&d=1

Extract and put folder where you want : In my case

D:\S3Sync

and run this command

S3Sync.exe -AWSAccessKeyId XXXXXXX -AWSSecretAccessKey XXXXXXXXX -SyncDirection upload -LocalFolderPath "D:\abc" -BucketName BUCKETNAME


First XXXXXXXX put here access key , second XXXXXXXX put here Secret Key, third change file location with D:\abc , forth change Bucket name with BUCKETNAME.

and create bat file  like s3rsync.bat make entry below the same
cd \
cd D:\S3Sync
d:
@ECHO OFF
 CLS
S3Sync.exe -AWSAccessKeyId XXXXXXX -AWSSecretAccessKey XXXXXXXXX -SyncDirection upload -LocalFolderPath "D:\abc" -BucketName BUCKETNAME
ENDLOCAL


save and Task Scheduler according to requirement :






 

httpd: Could not reliably determine the server’s fully qualified domain name

Error on apache startup
[root@localhost ~]# service httpd start
Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
[  OK  ]
[root@localhost ~]# Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Solution :   Edit httpd.conf file and add  ServerName 127.0.0.1 and save with :wq!  ,
[root@localhost objects]# vi /etc/httpd/conf/httpd.conf
# as error documents.  e.g. admin@your-domain.com
#
ServerAdmin root@localhost
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work.  See also the UseCanonicalName directive.
#
# If your host doesn’t have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#
#ServerName www.example.com:80
ServerName 127.0.0.1
save with :wq!
[root@localhost objects]#
[root@localhost objects]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
[root@localhost objects]#

Step by step install and configure Apache+Tomcat+mod_jk+load Balancing+Clustering

  • Apache 2.2.x
  • Tomcat 6.0.X OR Above
  • Jdk1.5 or above
  • Mod_jk.1.2.26.so
Installing apache :
# yum install httpd*
Then extract jdk on /usr/local directory
#cd /usr/local
#./jdk-6u23-linux-i586.bin
Than make it three copy of jdk
[root@localhost local]# cp -r jdk1.6.0_23 jdk1.6.0_23-1
[root@localhost local]# cp -r jdk1.6.0_23 jdk1.6.0_23-2
[root@localhost local]# cp -r jdk1.6.0_23 jdk1.6.0_23-3
Also extrat the tomcat file.
[root@localhost local]#tar –xvzf apache-tomcat-6.0.18.tar.gz
[root@localhost local]# mv apache-tomcat-6.0.18 tomcat-1
[root@localhost local]# cp tomcat-1 tomcat-2
cp: omitting directory `tomcat-1′
[root@localhost local]# cp -r tomcat-1 tomcat-2
[root@localhost local]# cp -r tomcat-1 tomcat-3
Map jdk with tomcat
[root@localhost local]#cd tomcat-1/bin
Open catalina.sh file and make it JAVA_HOME
[root@localhost bin]#vi catalina.sh
# OS specific support. $var _must_ be set to either true or false. (below this line )
JAVA_HOME=/usr/local/jdk1.6.0_23-1
export JAVA_HOME
CATALINA_OPTS=”-server -Xms128m -Xmx128m”
cygwin=false
os400=false
darwin=false
case “`uname`” in
[root@localhost bin]# vi ../../tomcat-2/bin/catalina.sh
JAVA_HOME=/usr/local/jdk1.6.0_23-2
export JAVA_HOME
CATALINA_OPTS=”-server -Xms128m -Xmx128m”
[root@localhost bin]# vi ../../tomcat-3/bin/catalina.sh
JAVA_HOME=/usr/local/jdk1.6.0_23-3
export JAVA_HOME
CATALINA_OPTS=”-server -Xms128m -Xmx128m”
We have required to change three port for running multiple tomcat on a single machine.
[root@localhost bin]# vi ../conf/server.xml
<?xml version=’1.0′ encoding=’utf-8′?>
<Server port=”8005” shutdown=”SHUTDOWN”>
<!–APR library loader. Documentation at /docs/apr.html –>
<Listener className=”org.apache.catalina.core.AprLifecycleListener” SSLEngine=”on” />
<!–Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html –>
<Listener className=”org.apache.catalina.core.JasperListener” />
<!– Prevent memory leaks due to use of particular java/javax APIs–>
<Listener className=”org.apache.catalina.core.JreMemoryLeakPreventionListener” />
<!– JMX Support for the Tomcat server. Documentation at /docs/non-existent.html –>
<Listener className=”org.apache.catalina.mbeans.ServerLifecycleListener” />
<Listener className=”org.apache.catalina.mbeans.GlobalResourcesLifecycleListener” />
<GlobalNamingResources>
<Resource name=”UserDatabase” auth=”Container”
type=”org.apache.catalina.UserDatabase”
description=”User database that can be updated and saved”
factory=”org.apache.catalina.users.MemoryUserDatabaseFactory”
pathname=”conf/tomcat-users.xml” />
</GlobalNamingResources>
<Service name=”Catalina”>
<Connector port=”8080” protocol=”HTTP/1.1″
connectionTimeout=”20000″
redirectPort=”8443″ />
<Connector port=”8009” protocol=”AJP/1.3″ redirectPort=”8443″ />
<Engine name=”Catalina” defaultHost=”localhost” jvmRoute=”worker1″>
<!– <Cluster className=”org.apache.catalina.ha.tcp.SimpleTcpCluster”/> –> # (FOR Session managenet)
<Realm className=”org.apache.catalina.realm.UserDatabaseRealm”
resourceName=”UserDatabase”/>
<Host name=”localhost” appBase=”webapps”
unpackWARs=”true” autoDeploy=”true”
xmlValidation=”false” xmlNamespaceAware=”false”>
</Host>
</Engine>
</Service>
</Server>
Do the same on tomcat-2 and tomcat-3
I have given to tomcat-2 : <Server port=”8006” shutdown=”SHUTDOWN”>
<Connector port=”8081” protocol=”HTTP/1.1″
<Connector port=”8010” protocol=”AJP/1.3″ redirectPort=”8443″ />
On tomcat-3 : <Server port=”8007” shutdown=”SHUTDOWN”>
<Connector port=”8082” protocol=”HTTP/1.1″
<Connector port=”8011” protocol=”AJP/1.3″ redirectPort=”8443″ />
Intigrate apache +tomcat with mod_jk+load Balanceing
Download supportable file for apache server (It’s depend on http version).
  • Downlaod and rename this mod_jk.1.2.24.so to mod_jk.so then past in /etc/httpd/modules/
  • Then open httpd.conf file and make this entry: LoadModule jk_module modules/mod_jk.so , be sure mod_jk.so working or not with restart httpd service.
[root@localhost apache_tomcat]# ls
catalina.sh httpd.conf mod_jk.so server.xml web.xml worker.properties
[root@localhost apache_tomcat]# cp mod_jk.so /etc/httpd/modules/
[root@localhost apache_tomcat]# service httpd restart
Stopping httpd: FAILED]
Starting httpd: OK ]
Note: ( if httpd not starting means your mod_jk.so is not correct file , download sutable file then check again.)
  • Create in /ets/httpd/conf/worker.properties file and make this entry
For Single
worker.list = worker1
worker.worker1.type = ajp13
worker.worker1.host =192.168.1.1 or 127.0.0.1 (depend on host ip)
worker.worker1.port = 8009
worker.worker1.connection_pool_size = 5
worker.worker1.connection_pool_timeout = 300
Make entry in httpd.conf for windows:
JkWorkersFile “H:\cluster\Apache2.2\conf\worker.properties”
JkLogFile “H:\cluster\Apache2.2\logs\mod_jk.log”
JkRequestLogFormat “%w %V %T”
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkLogLevel info
JkLogStampFormat “[%a %b %d %H:%M:%S %Y]“
JkMount /examples worker1 (worker.list name of worker.properties file)
JkMount /examples/* worker1
For Linux :
JkWorkersFile “/etc/httpd/conf/worker.properties”
JkLogFile “/etc/httpd/conf/mod_jk.log”
JkRequestLogFormat “%w %V %T”
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkLogLevel info
JkLogStampFormat “[%a %b %d %H:%M:%S %Y]“
JkMount /examples worker1
JkMount /examples/* worker1
Working on Load Balancing:
For Load Balancing
worker.list=worker1,worker2,worker3,balance
# Define Node1
worker.worker1.port=8009
worker.worker1.host=192.168.0.112
worker.worker1.type=ajp13
worker.worker1.lbfactor=1
# Define Node2
worker.worker2.port=8010
worker.worker2.host=192.168.0.112
worker.worker2.type=ajp13
worker.worker2.lbfactor=1
# Define Node3
worker.worker3.port=80011
worker.worker3.host=192.168.0.112
worker.worker3.type=ajp13
worker.worker3.lbfactor=1
worker.balance.type=lb
worker.balance.balance_workers=worker1,worker2,worker3
worker.loadbalancer.sticky_session=1
Worker.properties file
Make a file with name of workers.properties in conf folder. This file tells properties of all tomcat instances. We have to specify all tomcat properties here. Apache will forword request to tomcat through this file
Vertical tomcat clustering this file like
workers.tomcat_home=/tomcatA
workers.java_home=$JAVA_HOME
ps=/
worker.list=tomcatA,tomcatB,tomcatC,loadbalancer

worker.tomcatA.port=8109
worker.tomcatA.host=localhost
worker.tomcatA.type=ajp13
worker.tomcatA.lbfactor=1

worker.tomcatB.port=8209
worker.tomcatB.host=localhost
worker.tomcatB.type=ajp13
worker.tomcatB.lbfactor=1
worker.tomcatC.port=8309
worker.tomcatC.host=localhost
worker.tomcatC.type=ajp13
worker.tomcatC.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tomcatA,tomcatB,tomcatC
worker.loadbalancer.sticky_session=1
for horizontal tomcat clustering
workers.tomcat_home=/tomcatA
workers.java_home=$JAVA_HOME
ps=/
worker.list=tomcatA,tomcatB,tomcatC,loadbalancer

worker.tomcatA.port=8009
worker.tomcatA.host=192.168.1.1
worker.tomcatA.type=ajp13
worker.tomcatA.lbfactor=1

worker.tomcatB.port=8009
worker.tomcatB.host=192.168.1.2
worker.tomcatB.type=ajp13
worker.tomcatB.lbfactor=1
worker.tomcatC.port=8009
worker.tomcatC.host=192.168.1.3
worker.tomcatC.type=ajp13
worker.tomcatC.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tomcatA,tomcatB,tomcatC
worker.loadbalancer.sticky_session=1
then make the entry in httpd.conf file
JkWorkersFile “/etc/httpd/conf/worker.properties”
JkLogFile “/etc/httpd/conf/mod_jk.log”
JkRequestLogFormat “%w %V %T”
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkLogLevel info
JkLogStampFormat “[%a %b %d %H:%M:%S %Y]“
JkMount /examples balance
JkMount /examples/* balance
Open server.xml of tomcat-1 Server :
<Server port=”8005” shutdown=”SHUTDOWN”>
<Connector port=”81″ protocol=”HTTP/1.1″
<Connector port=”8009″ protocol=”AJP/1.3″ redirectPort=”8443″ />
Change <!–<Engine name=”Catalina” defaultHost=”localhost” jvmRoute=”jvm1″> –>
To < Engine name=”Catalina” defaultHost=”localhost” jvmRoute=”tomcat-1″>
Change <Engine name=”Catalina” defaultHost=”localhost”>
To <!–<Engine name=”Catalina” defaultHost=”localhost”> –>
Same on tomcat-2 :
<Server port=”8006” shutdown=”SHUTDOWN”>
<Connector port=”82″ protocol=”HTTP/1.1″
<Connector port=”8010″ protocol=”AJP/1.3″ redirectPort=”8443″ />
Change <!–<Engine name=”Catalina” defaultHost=”localhost” jvmRoute=”jvm1″> –>
To < Engine name=”Catalina” defaultHost=”localhost” jvmRoute=”tomcat-2″>
Change <Engine name=”Catalina” defaultHost=”localhost”>
To <!–<Engine name=”Catalina” defaultHost=”localhost”> –>
Same on tomcat-3 :
<Server port=”8007” shutdown=”SHUTDOWN”>
<Connector port=”83″ protocol=”HTTP/1.1″
<Connector port=”8011″ protocol=”AJP/1.3″ redirectPort=”8443″ />
Change <!–<Engine name=”Catalina” defaultHost=”localhost” jvmRoute=”jvm1″> –>
To < Engine name=”Catalina” defaultHost=”localhost” jvmRoute=”tomcat-3″>
Change <Engine name=”Catalina” defaultHost=”localhost”>
To <!–<Engine name=”Catalina” defaultHost=”localhost”> –>
ERROR LIST :
Catalina.out
java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/SystemLogHandler
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:218)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:390)
java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/SystemLogHandler
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:218)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:390)
java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/SystemLogHandler
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:218)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:390)
/home/rakesh/jdk1.6.0_30-1

Reset Grace Period of Windows Server 2012 RDS

Error: the remote session was disconnected because there are no remote desktop license servers available to provide license in aws Solu...