Showing posts with label Troubleshooting. Show all posts
Showing posts with label Troubleshooting. Show all posts

Troubleshooting Steps Of Tomcat Server

0 comments 12/10/2010 09:25:00 PM Posted by Meghana M Bhombhore
Labels: ,

Troubleshooting Steps to check whether the Tomcat server is runing or not?

Step1 : Check ps command output

#ps -ef | grep tomcat

Step2 : Check with nmap whether port 8080 is opened or not?

#nmap localhost

Step3 : Check with telnet command as shown in below by executing GET / HTTP/1.0 Host: localhost command once logged in to server at 8080 port.

#telnet localhost 8080 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. GET / HTTP/1.0 Host: localhost

This command should output hte test tomcat page.

Enjoy the troubleshooting:)

  • Like the post? Please Subscribe to free RSS feed to get updates
  • How To Enable Verbose Mode For SSH Logins?

    0 comments 12/09/2010 06:43:00 AM Posted by Surendra Kumar Anne
    Labels: , ,

    How we can login to remote server through ssh?

    #ssh user@servername

    or

    #ssh -l user servername

    or

    #ssh ip-add

    So when you will execute the above command you will get the password prompt. But if you want to see what will happen when you execute ssh command you have to enable verbose or debugging mode. To do this we have to apply -v option at the time of login as shown in below example.

    #ssh -v surendra@ftp2.linuxnix.com


    root@krishna:/home/surendra# ssh -v surendra_a@ftp2.linuxnix.com
    OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Applying options for *
    debug1: Connecting to ftp2.linuxnix.com [92.32.56.78] port 22.
    debug1: Connection established.
    debug1: permanently_set_uid: 0/0
    debug1: identity file /root/.ssh/id_rsa type -1
    debug1: identity file /root/.ssh/id_rsa-cert type -1
    debug1: identity file /root/.ssh/id_dsa type -1
    debug1: identity file /root/.ssh/id_dsa-cert type -1
    debug1: Remote protocol version 1.99, remote software version OpenSSH_4.0
    debug1: match: OpenSSH_4.0 pat OpenSSH_4*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-4ubuntu4
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-ctr hmac-md5 none
    debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Host 'ftp2.linuxnix.com' is known and matches the RSA host key.
    debug1: Found key in /root/.ssh/known_hosts:1
    debug1: ssh_rsa_verify: signature correct
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: Roaming not allowed by server
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: publickey,password,keyboard-interactive
    debug1: Next authentication method: publickey
    debug1: Trying private key: /root/.ssh/id_rsa
    debug1: Trying private key: /root/.ssh/id_dsa
    debug1: Next authentication method: keyboard-interactive
    debug1: Authentications that can continue: publickey,password,keyboard-interactive
    debug1: Next authentication method: password
    surendra_a@ftp2.linuxnix.com's password:
    debug1: Authentication succeeded (password).
    debug1: channel 0: new [client-session]
    debug1: Entering interactive session.
    debug1: Sending environment.
    debug1: Sending env LANG = en_IN
    Last login: Thu Dec 9 20:02:47 2010 from 1.23.6.79


    After logout


    debug1: client_input_channel_req: channel 0 rtype exit-status reply 0


    debug1: channel 0: free: client-session, nchannels 1
    Connection to ftp2.linuxnix.com closed.
    Transferred: sent 2072, received 2072 bytes, in 27.7 seconds
    Bytes per second: sent 74.8, received 74.8
    debug1: Exit status 0


    So if you want more verboseness you can use up to 3rd level(-vvv) as shown below

    #ssh -vvv surendra_a@ftp2.linuxnix.com


  • Like the post? Please Subscribe to free RSS feed to get updates
  • How To Play .ram(Real Audio Metadata) In Redhat/Ubunto

    0 comments 2/02/2010 08:31:00 AM Posted by Meghana M Bhombhore
    Labels: ,

    The .ram (Real Audio Metadata) is an properitery audo formate from Real media network's which is having its player called Real player.
    This format is a stream media format, ie media is stramed from other source.

    So how to play this file in Linux?
    Ans :
    To play this we have to install mplayer. you may get doubt that why I am saying mplayer, i dont suggest to you a properitery real plyaer which will be annoying you all sorts of ads etc. mplayer is a good open source software with which you can play almost every formate. This is my favorite player after VLC player, which is once again a open source.

    These are the file formates supported by mplayer
    1. Physical media : CDs, DVDs, Video CDs

    2. Container formats : 3GP, AVI, ASF, FLV, Matroska, MOV (QuickTime), MP4,
    NUT, Ogg, OGM, RealMedia

    3. Video formats : Cinepak, DV, H.263, H.264/MPEG-4 AVC, HuffYUV, Indeo, MJPEG, MPEG-1, MPEG-2, MPEG-4 Part 2, RealVideo, Sorenson, Theora, WMV

    4. Audio formats : AAC, AC3, ALAC, AMR, DTS, FLAC, Intel Music Coder, Monkey's Audio, MP3, Musepack, RealAudio, Shorten, Speex, Vorbis, WMA

    5. Subtitle formats : AQTitle, ASS/SSA, CC, JACOsub, MicroDVD, MPsub, OGM, PJS, RT, Sami, SRT, SubViewer, VOBsub, VPlayer

    6. Image formats: BMP, JPEG, MNG, PCX, PTX, TGA, TIFF, SGI, Sun Raster

    7. Protocols : RTP, RTSP, HTTP, FTP, MMS, Netstream (mpst://), SMB –wikipedia.org

    How to install mplayer in linux?
    In Ubuntu Linux:
    sudo apt-get install mplayer

    In Redhat Linux:
    yum install mplayer

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Subscribe to: Comments (Atom)

    Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here

    AltStyle によって変換されたページ (->オリジナル) /