choosing desired os to boot over ssh

2012-02-11 Thread Tapas Mishra
I have a machine which is multiple boot.For sysadmin kind of work I have to boot into different different Operating System's. Main Os is Ubuntu 11.10 with grub2. Each time if I reboot then I want to be able to select desired operating system to boot while remotely logged in via ssh as we do when

Re: choosing desired os to boot over ssh

2012-02-11 Thread Tapas Mishra
I forgot to mention in previous message I do not want to be manually editing the grub.cfg file each time if I have to frequently switch between different OS. On Sat, Feb 11, 2012 at 2:04 PM, Tapas Mishra mightydre...@gmail.comwrote: I have a machine which is multiple boot.For sysadmin kind

Re: choosing desired os to boot over ssh

2012-02-11 Thread Tapas Mishra
to the procedure in the section. Rgds, On Feb 11, 2012 3:39 PM, Tapas Mishra mightydre...@gmail.com wrote: I forgot to mention in previous message I do not want to be manually editing the grub.cfg file each time if I have to frequently switch between different OS. On Sat, Feb 11, 2012 at 2:04 PM

Re: choosing desired os to boot over ssh

2012-02-11 Thread Tapas Mishra
McBurnett http://neal.mcburnett.org/ On Sat, Feb 11, 2012 at 05:54:30PM +0530, Tapas Mishra wrote: No this is not what I want.I am aware of these options. On Sat, Feb 11, 2012 at 3:39 PM, Pandu Poluan pa...@poluan.info wrote: Go here: https

Re: mails from list are coming with warning on gmail

2011-09-16 Thread Tapas Mishra
On Tue, Sep 6, 2011 at 12:47 PM, Jared Norris jrnor...@gmail.com wrote: On 6 September 2011 17:07, Tapas Mishra mightydre...@gmail.com wrote: All the mails coming from Ubuntu users mailing list (this one) are coming to my mail box with a warning from gmail. The warning is This message may

some thing over wrote apache2 init script

2011-07-05 Thread Tapas Mishra
Hi, this is one problem with one of our servers I noticed today morning, we are running a private cloud on Ubuntu server with KVM as hypervisor. The URL is http://openitup.in The Dom0 on KVM instance where all the Apache settings are I noticed the apache2 file /etc/init.d/apache2 was blank due

problem in making applications accessible after a shutdown of server for 2 months

2011-03-30 Thread Tapas Mishra
Hi all, one of my server was shutdown for 2 months and today only it has been switched on. Here are the links http://openitup.in http://software.openitup.in http://social.openitup.in http://research.openitup.in When we powered on the machine the virtual machines on top of it are running but they

Re: problem in making applications accessible after a shutdown of server for 2 months

2011-03-30 Thread Tapas Mishra
On Wed, Mar 30, 2011 at 2:49 PM, Tapas Mishra mightydre...@gmail.com wrote: Hi all, one of my server was shutdown for 2 months and today only it has been switched on. Here are the links http://openitup.in http://software.openitup.in http://social.openitup.in http://research.openitup.in

Re: problem in making applications accessible after a shutdown of server for 2 months

2011-03-30 Thread Tapas Mishra
On Wed, Mar 30, 2011 at 3:49 PM, Carsten Aulbert carsten.aulb...@aei.mpg.de wrote: Hi On Wednesday 30 March 2011 12:16:06 Tapas Mishra wrote: Ok after further digging this problem I see apache is not able to start on the machine in question for some unknown reason I do not see apache pid

Re: problem in making applications accessible after a shutdown of server for 2 months

2011-03-30 Thread Tapas Mishra
On Wed, Mar 30, 2011 at 5:14 PM, Carsten Aulbert carsten.aulb...@aei.mpg.de wrote: Hi not /var/log/apt, but /var/log/apache2 (!) carsten Hmm since apache was not able to start as daemon so the requests never reached my web server. Which I had verified in Apache log as I checked openitup.in I

debugging udev on ubuntu

2011-03-10 Thread Tapas Mishra
Hi, one of my Ubuntu machines where I am trying to create Xen based virtualizaton setup (as the machine is non VT) I am not able to create guest Operating system on it.Having digged through the logs which can be seen here /var/log/xen/domain-builder-ng.log http://pastebin.com/8W45hjCV

Re: debugging udev on ubuntu

2011-03-10 Thread Tapas Mishra
On Thu, Mar 10, 2011 at 5:41 PM, Michael Zoet michael.z...@zoet.de wrote: Am Do, 10.03.2011, 11:00 schrieb Tapas Mishra: Hi, one of my Ubuntu machines  where I am trying to create Xen based virtualizaton setup (as the machine is non VT)  I am not able to create guest Operating system

.screenrc entries to show always the windows in bottom

2011-03-03 Thread Tapas Mishra
I added following to my .screenrc caption always “%H %c | %-w%{=}%n-%t%{-}%+w” but when I execute screen then only for some initial seconds I can see the window name and some other details in bottom. How can I set it to permanently view? There is one more file .screen which has hardstatus

finding changes made to configurations

2011-03-03 Thread Tapas Mishra
Hi, I wanted to know if on a server 2-3 people have SSH access and one of the person does some changes and leaves the job. Is there any tracking tool which can track what things were installed or what changes were made by team individuals at a later date. -- http://mightydreams.blogspot.com --

Re: finding changes made to configurations

2011-03-03 Thread Tapas Mishra
On Thu, Mar 3, 2011 at 8:44 PM, Steven Miano mian...@gmail.com wrote: Did they clear out their history? /home/user/.bash_history would seemingly be a pretty good place to start. Also you could check out their username in /var/log, and see all instances of what they might have done

Re: options to create guest OS in virt-manager are greyed out on Lucid 10.04 64 bit

2011-03-03 Thread Tapas Mishra
On Tue, Mar 1, 2011 at 2:53 PM, Tapas Mishra mightydre...@gmail.com wrote: Hi, I just installed a pv-ops Dom0 2.6.32.27 Kernel on a 64 bit non VT machine. Following instructions here http://wiki.xensource.com/xenwiki/Xen4.0 for 64 bit Ubuntu 10.04 apt-get install bcc bin86 gawk bridge-utils

options to create guest OS in virt-manager are greyed out on Lucid 10.04 64 bit

2011-03-01 Thread Tapas Mishra
Hi, I just installed a pv-ops Dom0 2.6.32.27 Kernel on a 64 bit non VT machine. Following instructions here http://wiki.xensource.com/xenwiki/Xen4.0 for 64 bit Ubuntu 10.04 apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif

Re: restricting ssh login based on IP

2011-02-28 Thread Tapas Mishra
On Mon, Feb 28, 2011 at 7:36 PM, Scott Moser smo...@ubuntu.com wrote: On Mon, 28 Feb 2011, Serge E. Hallyn wrote: Quoting Michael Zoet (michael.z...@zoet.de): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 26.02.2011 10:21, schrieb Tapas Mishra: On Sat, Feb 26, 2011 at 1:39 PM

Re: restricting ssh login based on IP

2011-02-27 Thread Tapas Mishra
On Sun, Feb 27, 2011 at 7:23 AM, Steven Miano mian...@gmail.com wrote: If you can do it with two users, this would be a good time to use the permission system. Owner having 7 (read/write/execute), and Group having 5 (read and execute). I think everyone on the list would like to know the

Re: restricting ssh login based on IP

2011-02-26 Thread Tapas Mishra
for the /home/user2. Dan On Sat, Feb 26, 2011 at 2:04 AM, Michael Zoet michael.z...@zoet.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 26.02.2011 06:32, schrieb Tapas Mishra: Hi, Hi Tapas, I would like to allow a user to login through SSH but with different permission coming

how to reduce time of git pulling each time when you do a make world on Xen source

2011-02-26 Thread Tapas Mishra
I am compiling xen from source and each time I do a `make world` it basically gives some or the other error my problem are not those errors ( I am trying to debug them) but the problem is each time when I do a `make world` Xen basically pulls things from git repository + rm -rf

Re: how to reduce time of git pulling each time when you do a make world on Xen source

2011-02-26 Thread Tapas Mishra
On Sat, Feb 26, 2011 at 4:06 PM, Tapas Mishra mightydre...@gmail.com wrote: I am compiling xen from source and each time I do a `make world` it basically gives some or the other error my problem are not those errors ( I am trying to debug them) but the problem is each time when I do a `make

what is equivalent to syslog.conf for ubuntu

2011-02-26 Thread Tapas Mishra
I am searching for syslog.conf equivalent for Ubuntu what file is that? Basically I am trying to create a gtalk like application which can alert a user as an SSH connection is established to his server with the machine using xmphp library. -- http://mightydreams.blogspot.com -- ubuntu-server

restricting ssh login based on IP

2011-02-25 Thread Tapas Mishra
Hi, I would like to allow a user to login through SSH but with different permission coming from different ipaddress. For example, a user tester login to SSH through 192.168.1.1 and another user login with the same login id tester but from different ip 192.168.1.2. How do I restrict 192.168.1.2

Re: how to do auto redirection of a tomcat application

2011-02-24 Thread Tapas Mishra
On Thu, Feb 24, 2011 at 12:08 PM, Paul Graydon p...@paulgraydon.co.uk wrote: Yes we do, we use both rules in combination on probably most of the subdomains we host (approximately 70-80 applications under 20-30 subdomains) A few of our apps are named ROOT to allow them to work from /, but in

how to do auto redirection of a tomcat application

2011-02-23 Thread Tapas Mishra
I have a site http://social.openitup.in right now what you are seeing is a default Tomcat6 page. I am using mod_ajp as a front end and Apache vhost configuration for same is VirtualHost *:80 ServerName social.openitup.in ServerAdmin webmaster@localhost ProxyRequests off

Re: how to do auto redirection of a tomcat application

2011-02-23 Thread Tapas Mishra
On Thu, Feb 24, 2011 at 3:53 AM, Paul Graydon p...@paulgraydon.co.uk wrote: On 02/23/2011 11:30 AM, Tapas Mishra wrote: I have a site http://social.openitup.in right now what you are seeing is a default Tomcat6 page. I am using mod_ajp as a front end and Apache vhost configuration for same

Re: where to drop war files in tomcat6

2011-02-22 Thread Tapas Mishra
On Tue, Feb 22, 2011 at 12:40 PM, Michael Zoet michael.z...@zoet.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 22.02.2011 03:50, schrieb Tapas Mishra: I installed on a VM tomcat6 (apt-get install tomcat6) as far as I understand if I need to install or deply a .war file

actual IP not logged when requests come forwarded by a reverse proxy

2011-02-18 Thread Tapas Mishra
My apache2.conf http://pastebin.com/uTVKt1wD and apacche vhost file http://pastebin.com/QDd3LDZ4 the apche2.conf and vhost file I gave the link are the machine on LAN where site is actually hosted. When some one from internet access the site then I expect a log of IP in access.log instead of which

Re: actual IP not logged when requests come forwarded by a reverse proxy

2011-02-18 Thread Tapas Mishra
On Fri, Feb 18, 2011 at 9:57 PM, Dan Sheffner dsheff...@gmail.com wrote: Tapas, http://stderr.net/apache/rpaf/ you want to enable this module and configure it correctly. Really awesome information Dan.I did not knew it. -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com

how to change mysql database encoding from latin to utf8

2011-02-17 Thread Tapas Mishra
I checked mysql create database sakai; Query OK, 1 row affected (0.00 sec) mysql show create database sakai; +--+--+ | Database | Create Database |

tomcat startup script not working at boot

2011-02-17 Thread Tapas Mishra
I am having problems in starting tomcat at boot time with an automated script of mine. The Tomcat I am using is 5.5 since Sakai installation of mine depends on 5.5 version on any other version it will break. So /opt/apache-tomcat-5.5.31 is where every thing is and in that bin/startup.sh is what I

Re: recovery of virtual machines on KVM

2011-02-12 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 4:39 AM, Ahmed Kamal ahmed.ka...@canonical.com wrote: On 02/09/2011 08:39 PM, Tapas Mishra wrote: I  am having a virtualization setup via KVM on a Ubuntu 10.04 64 bit server. A recent dbus update cause a crash of my Host OS.It was a post install script of dbus which

Re: recovery of virtual machines on KVM

2011-02-12 Thread Tapas Mishra
On Sat, Feb 12, 2011 at 10:15 PM, Tapas Mishra mightydre...@gmail.com wrote: On Thu, Feb 10, 2011 at 4:39 AM, Ahmed Kamal ahmed.ka...@canonical.com wrote: On 02/09/2011 08:39 PM, Tapas Mishra wrote: I  am having a virtualization setup via KVM on a Ubuntu 10.04 64 bit server. A recent dbus

Re: [ubuntu-cloud] Cloud Setup

2011-02-12 Thread Tapas Mishra
On Fri, Feb 4, 2011 at 3:15 PM, Mark Shuttleworth m...@ubuntu.com wrote: On 04/02/11 04:15, Ashok Kumar wrote: How can we setup a private cloud for my organization.  Please  let me know which OS and Server, we should use for it. Ashok, you're in the right place. The standard Ubuntu server

Re: want to use dnsmasq to resolve on localhost

2011-02-11 Thread Tapas Mishra
On Fri, Feb 11, 2011 at 4:27 PM, C S Shyam Sundar csshyamsun...@gmail.com wrote: Your configuration is correct. However, Im unable to understand what you exactly need. Remove 127.0.0.1 in /etc/resolv.conf from the server which has dnsmasq installed. ( i presume, it is 192.168.1.2 ). Add other

ssh connections dropping

2011-02-10 Thread Tapas Mishra
Here is a situation I have just restored Ubuntu server which had kvm running on it. Every thing went fine and I copied the /etc/libvirt/qemu/vm.xml from backup to new installation where it was previously running. But this time I see that SSH connections to the guest drop after some time. Even a

Re: recovery of virtual machines on KVM

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 1:40 PM, Alvin i...@alvin.be wrote: On Wednesday 09 February 2011 19:39:57 Tapas Mishra wrote: I  am having a virtualization setup via KVM on a Ubuntu 10.04 64 bit server. A recent dbus update cause a crash of my Host OS.It was a post install script of dbus which

Re: ssh connections dropping

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 4:43 PM, Tapas Mishra mightydre...@gmail.com wrote: Here is a situation I have just restored Ubuntu server which had kvm running on it. Every thing went fine and I copied the /etc/libvirt/qemu/vm.xml from backup to new installation where it was previously running

error installing dnsproxy on Lucid

2011-02-10 Thread Tapas Mishra
I have a server in a DMZ where I do not have DNS entries so dnsproxy is what I want to use here is what I did the situation looks similar to this bug https://bugs.launchpad.net/ubuntu/+source/dnsproxy/+bug/567008 but the fix I used did not helped me. tapas@tapas:~# aptitude install pdnsd

Re: server keeps updating openjdk

2011-02-09 Thread Tapas Mishra
On Wed, Feb 9, 2011 at 3:25 PM, Michael Zoet michael.z...@zoet.de wrote: Am Di, 8.02.2011, 19:38 schrieb Tapas Mishra: ... Michael thanks for your message.I do not want to do any more experiment on my system. I do have an old backup with all old copies which is about 15-20 days old

recovery of virtual machines on KVM

2011-02-09 Thread Tapas Mishra
I am having a virtualization setup via KVM on a Ubuntu 10.04 64 bit server. A recent dbus update cause a crash of my Host OS.It was a post install script of dbus which ultimately brought everything down. Now I have to basically format the host OS.My cause of concern are the virtual machines

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 3:21 PM, Carsten Aulbert carsten.aulb...@aei.mpg.de wrote: Hi On Tuesday 08 February 2011 10:46:09 Tapas Mishra wrote: Yes this does work for me and I have the file with me. But where do I put it? /var/cache/apt/archives Cheers Carsten I did as you said here

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 3:31 PM, Carsten Aulbert carsten.aulb...@aei.mpg.de wrote: Hi On Tuesday 08 February 2011 10:56:31 Tapas Mishra wrote: The unfortunate part is all the Virtual Machines running on it are production machines. So this really needs to be resolved. and now I'm probably

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 3:51 PM, Carsten Aulbert carsten.aulb...@aei.mpg.de wrote: Hi On Tuesday 08 February 2011 11:13:50 Michael Zoet wrote: Nothing of that! Tapas needs first to fix his package dependency problems! libvirt does not work because there are some unresolved package

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 3:38 PM, Michael Zoet michael.z...@zoet.de wrote: Am Di, 8.02.2011, 10:56 schrieb Tapas Mishra: ... I did as you said here and then again did aptitude safe-upgrade things finished with some errrors, Why are you doing a safe-upgrade!!! In previous mails you

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 4:04 PM, Carsten Aulbert carsten.aulb...@aei.mpg.de wrote: Hi On Tuesday 08 February 2011 11:29:00 Tapas Mishra wrote: I have searched this problem but I am not able to understand what to do in this situation. I think to find out you need to generate the correct

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 9:14 PM, Michael Zoet michael.z...@zoet.de wrote: Am Di, 8.02.2011, 13:39 schrieb Tapas Mishra: (2) What did you do to get into this situation? I do an aptitude safe-upgrade (which should just install the latest packages of same release I do not want to change

Re: dependency problem while doing safe-upgrade

2011-02-04 Thread Tapas Mishra
On Fri, Feb 4, 2011 at 4:21 PM, Michael Zoet michael.z...@zoet.de wrote: Am Fr, 4.02.2011, 09:11 schrieb Tapas Mishra: I executed aptitude safe-upgrade on 10.04 64 bit server here are the dependency problems I met http://paste.ubuntu.com/562399/ Let me know if some one can point out what

Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_3.6.13+build3+nobinonly-0ubuntu0.10.04.1_amd64.deb

2011-02-01 Thread Tapas Mishra
I got following error when I did apt-get install firefox on a Ubuntu server 10.04 64 bit. Processing triggers for python-support ... Processing triggers for python-central ... E: Failed to fetch

some confusion regarding package updates

2011-01-19 Thread Tapas Mishra
I have some confusion regarding a server of mine. When ever I ssh into it I see following message Graph this data and manage this system at https://landscape.canonical.com/ 125 packages can be updated. 77 updates are security updates. You have new mail. Last login: Tue Jan 11 16:09:06 2011

Re: some confusion regarding package updates

2011-01-19 Thread Tapas Mishra
On Wed, Jan 19, 2011 at 5:55 PM, Carsten Aulbert carsten.aulb...@aei.mpg.de wrote: Hi On Wednesday 19 January 2011 13:21:44 Tapas Mishra wrote: How ever I have installed cron-apt which has scheduled an update for daily morning 4 o clock, So does this message mean that it is not getting

Re: some confusion regarding package updates

2011-01-19 Thread Tapas Mishra
On Wed, Jan 19, 2011 at 7:36 PM, Imre Gergely gi...@narancs.net wrote: On Wed, 19 Jan 2011 17:57:25 +0530, Tapas Mishra wrote: On Wed, Jan 19, 2011 at 5:55 PM, Carsten Aulbert carsten.aulb...@aei.mpg.de wrote: Hi On Wednesday 19 January 2011 13:21:44 Tapas Mishra wrote: How ever I have

invalid response from Proxy dns lookup failure in my domains

2011-01-10 Thread Tapas Mishra
Hi all. The problem I am reporting is not very clearly evident to me. I have a virtualization setup where in I had configured in 4 virtual machines (which serve 4 different websites) available to internet via a Reverse Proxy on the Host OS (bare metal) I use Ubuntu 10.04 64 bit server edition and

Re: invalid response from Proxy dns lookup failure in my domains

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 5:31 PM, Tapas Mishra mightydre...@gmail.com wrote: Hi all. The problem I am reporting is not very clearly evident to me. I have a virtualization setup where in I had configured in 4 virtual machines (which serve 4 different websites)  available to internet via

Re: invalid response from Proxy dns lookup failure in my domains

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 9:00 PM, Dan Sheffner dsheff...@gmail.com wrote: A work around the DNS is editing the /etc/hosts file and hard coding your servers there.  Do you have access to this file? That is the only thing that came to my mind also.(Yes I have access to this file) Believe me there

Re: invalid response from Proxy dns lookup failure in my domains

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 10:50 PM, Michael Zoet michael.z...@zoet.de wrote: Am Mo, 10.01.2011, 17:18 schrieb Tapas Mishra: I feel there should be some thing which tells in resolv.conf not to look to corporate DNS for the entries in /etc/hosts as those entries will not be put by sys admins

Re: Please help me for install xen kernel on ubuntu 10.10

2011-01-06 Thread Tapas Mishra
https://help.ubuntu.com/community/Xen As per above article It's also worth noting that the Xen 3.3 hypervisor is also included in jaunty. However, at the time of this writing, Xen is not officially supported in Lucid; consider using KVM instead. Now coming to your question Glossary section on

Re: problem in mounting an nfs export on a USB disk

2011-01-06 Thread Tapas Mishra
On Thu, Jan 6, 2011 at 10:35 AM, Tapas Mishra mightydre...@gmail.com wrote: On Wed, Jan 5, 2011 at 10:03 PM, Serge Hallyn serge.hal...@canonical.com wrote: Quoting Tapas Mishra (mightydre...@gmail.com): the entries which after your msg I noticed in /var/log/syslog are Jan  5 14:12:14 tapas

virt manager migration option greyed out on Ubuntu 10.04 server edition

2011-01-06 Thread Tapas Mishra
I am testing server migration on a Ubuntu 10.04 LTS server edition.Where I have virt-manager installed. How ever when I choose a VM and try attempt for migration of hot vm I see the option of migration greyed out. Is this feature not supported currently in virt-manager? Do I necessarily need to

Re: problem in mounting an nfs export on a USB disk

2011-01-05 Thread Tapas Mishra
On Wed, Jan 5, 2011 at 12:42 PM, Tapas Mishra mightydre...@gmail.com wrote: I have a USB disk which has 2 partitions.I exported one of them (on NFS) and now I am trying to mount it at client machine. Each time it gets error mount -t nfs 192.168.1.19:/media/vol2 /mnt/nfs/ mount.nfs: access

Re: problem in mounting an nfs export on a USB disk

2011-01-05 Thread Tapas Mishra
On Wed, Jan 5, 2011 at 7:27 PM, Serge Hallyn serge.hal...@canonical.com wrote: Quoting Tapas Mishra (mightydre...@gmail.com): I have a USB disk which has 2 partitions.I exported one of them (on NFS) and now I am trying to mount it at client machine. Each time it gets error mount -t nfs

Re: problem in mounting an nfs export on a USB disk

2011-01-05 Thread Tapas Mishra
On Wed, Jan 5, 2011 at 7:55 PM, Serge Hallyn serge.hal...@canonical.com wrote: Quoting Tapas Mishra (mightydre...@gmail.com): On Wed, Jan 5, 2011 at 7:27 PM, Serge Hallyn serge.hal...@canonical.com wrote: Quoting Tapas Mishra (mightydre...@gmail.com): I have a USB disk which has 2

Re: problem in mounting an nfs export on a USB disk

2011-01-05 Thread Tapas Mishra
On Wed, Jan 5, 2011 at 10:03 PM, Serge Hallyn serge.hal...@canonical.com wrote: Quoting Tapas Mishra (mightydre...@gmail.com): the entries which after your msg I noticed in /var/log/syslog are Jan  5 14:12:14 tapas mountd[1577]: refused mount request from 192.168.1.14 for /media/vol2 (/media

problem in mounting an nfs export on a USB disk

2011-01-04 Thread Tapas Mishra
I have a USB disk which has 2 partitions.I exported one of them (on NFS) and now I am trying to mount it at client machine. Each time it gets error mount -t nfs 192.168.1.19:/media/vol2 /mnt/nfs/ mount.nfs: access denied by server while mounting 192.168.1.19:/media/vol2 Here is the /etc/exports

converting lvm based Virtual Machine to qcow image.

2011-01-03 Thread Tapas Mishra
A long time back I had asked as how to back up OS running on KVM in an LVM setup. Here are the excerpts from the message One way to take a backup is to convert the LVM volumes to compressed qcow2 images, like this: # qemu-img convert -c -f raw -O qcow2 /dev/nintendo/lvm1 /backup/lvm1.img I would

Re: converting lvm based Virtual Machine to qcow image.

2011-01-03 Thread Tapas Mishra
On Mon, Jan 3, 2011 at 3:42 PM, Carsten Aulbert carsten.aulb...@aei.mpg.de wrote: Hi On Monday 03 January 2011 11:03:31 Tapas Mishra wrote: I would like to know do I need to shut down the VM to be able to use the above command. I don't know, but you should do that anyway as you will most

upon installing ia32-libs I get some error

2011-01-03 Thread Tapas Mishra
I used apt-get install ia32-libs on Linux myserver 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux and got following error. http://pastebin.com/HdsZhakA I was testing vmware converter as instructions here mention

Re: port scan detection on server

2010-11-20 Thread Tapas Mishra
On Fri, Nov 19, 2010 at 8:53 PM, Mark Foster m...@foster.cc wrote: http://sourceforge.net/projects/sentrytools/ Ok I was reading some thing more about guides available on internet here I found a useful page http://www.ossramblings.com/using_iptables_rate_limiting_to_prevent_portscans but for

port scan detection on server

2010-11-18 Thread Tapas Mishra
On this page http://packages.ubuntu.com/pl/lucid/psad it mentions psad works on 2.2 kernels and 2.4 does it not work on 2.6 kernels. Is there any other way to block port scan attempts on server. -- http://mightydreams.blogspot.com -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com

how to save bandwidth while package upgrades

2010-11-16 Thread Tapas Mishra
Here is a mail in /var/mail/root which I received in my server logs http://paste.ubuntu.com/532866/ I see same packages downloaded many times again and again. The servers which are upgrading are total 5 (4 virtual machines and one host) so is there a way I can save bandwidth on this sort of setup.

Re: how to save bandwidth while package upgrades

2010-11-16 Thread Tapas Mishra
Many thanks to both of you ya this did help me. --- http://mightydreams.blogspot.com -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam

Re: weekly report for server setup

2010-11-08 Thread Tapas Mishra
On Fri, Nov 5, 2010 at 6:23 PM, Lorenzo Salvadorini lorenzo.salvador...@softecspa.it wrote: Asking the boss might not be possible. If you have a monitoring system, you could send a periodic report of warning and criticals alerts. If you don't have it, you could evaluate Ubuntu Landscape or

Re: weekly report for server setup

2010-11-08 Thread Tapas Mishra
On Mon, Nov 8, 2010 at 3:48 PM, Tapas Mishra mightydre...@gmail.com wrote: If you have a monitoring system, you could send a periodic report of warning and criticals alerts. If you don't have it, you could evaluate Ubuntu Landscape or other monitoring systems as a service. Ok this was a good

weekly report for server setup

2010-11-05 Thread Tapas Mishra
I have setup a cluster for some one.Which is basically a few Virtual Machines running and the applications running in them which are accessible on internet. The host os is Ubuntu and Vms are some ubuntu/debian and some Fedora/Redhat based servers. He has asked me to send him a weekly report of

how do rate limited IPTABLEs treat a screen session on ssh after disconnection

2010-11-03 Thread Tapas Mishra
Take this scenario If I have rate limited the connections to 4.(i.e if you attempt 4th connection you wont be able to login for some time.) If in a minute I get disconnected 3 times while I was already logged in on the server with a screen session, will I be able to login or I need to keep quite

restarting ssh sshd[5678]: error: Bind to port 22 on :: failed: Address already in use.

2010-10-29 Thread Tapas Mishra
I restart ssh on Ubuntu 10.04 64 bit server edition and I see following line in auth.log sshd[5678]: error: Bind to port 22 on :: failed: Address already in use. when ever I restart ssh I see the above line. That is a headless server. -- ubuntu-server mailing list

invalid login attempts not refused using deny hosts and conf of denyhost not working as expected

2010-10-28 Thread Tapas Mishra
I am using denyhosts on a server ( I know IPTABLE rate limiting etc just testing this one) so in a config file /etc/denyhosts.conf the following value is set DENY_THRESHOLD_INVALID = 3 which as per their configuration file says DENY_THRESHOLD_INVALID: block each host after the number of failed

iptables rate limiting for bridged connection (kvm created bridge)

2010-10-27 Thread Tapas Mishra
I have a bridged network setup ifconfig -a gives following output br0 Link encap:Ethernet HWaddr 00:26:b9:82:42:38 inet addr:192.168.1.1 Bcast:172.21.100.255 Mask:255.255.255.0 inet6 addr: fe80::226:b9ff:fe82:4238/64 Scope:Link UP BROADCAST RUNNING MULTICAST

Re: Sharing hosts.deny

2010-10-25 Thread Tapas Mishra
On Mon, Oct 25, 2010 at 4:42 PM, Ahmed Kamal ahmed.ka...@canonical.com wrote: Don't know what the general consensus is, but I've almost never really used hosts.deny in real production. iptables just does everything I need. OP might want to consider this Yes I do want to use IPTABLES but I

Re: Sharing hosts.deny

2010-10-25 Thread Tapas Mishra
On Mon, Oct 25, 2010 at 5:21 PM, James Gray ja...@gray.net.au wrote: OK - so theres a little gem :)  DONT try to filer services on a guest at the hypervisor layer!  The hypervisor (VMware) couldn't care less about the traffic destined for a guest, its firewall is only concerned about traffic

using one authorized_keys file to another account

2010-10-25 Thread Tapas Mishra
I have an access to a machine on lan via ssh and I am using key based authentication on it. I created one more account on the remote machine and copied cp home/oldaccount/.ssh/authorized_keys home/newaccount/.ssh/authorized_keys Now when I tried to login to the other account via ssh from my

Re: using one authorized_keys file to another account

2010-10-25 Thread Tapas Mishra
Yes you were right thanks. 2010/10/25 Serge van Ginderachter se...@vanginderachter.be: Check the permissions and ownership of this file: home/newaccount/.ssh/authorized_keys -- Met vriendelijke groet, Serge van Ginderachter Stuiver 32, B-9950 Waarschoot M +32.473.525.010  T

Re: Sharing hosts.deny

2010-10-24 Thread Tapas Mishra
On Mon, Oct 25, 2010 at 7:11 AM, Michael mmorse...@gmail.com wrote: I have a bunch of entries in my hosts file with the 127.0.0.1 line added.  I have always seen the hosts.deny and hosts.allow files  but never know how to use them.  When I google hosts.deny it says something about blocking a

deny hosts removing an Ip and checking tcpwrappers

2010-10-21 Thread Tapas Mishra
Hi, I could not find any where the documentation the only best which I got was https://help.ubuntu.com/community/InstallingSecurityTools My question is the following blog says to remove an IP from /etc/hosts.deny which denyhost has blocked

Re: deny hosts removing an Ip and checking tcpwrappers

2010-10-21 Thread Tapas Mishra
On Thu, Oct 21, 2010 at 8:52 PM, Ahmed Kamal ahmed.ka...@canonical.com wrote: On 10/21/2010 04:40 PM, Tapas Mishra wrote: Hi, I could not find any where the documentation the only best which I got was https://help.ubuntu.com/community/InstallingSecurityTools My question is the following

Re: deny hosts removing an Ip and checking tcpwrappers

2010-10-21 Thread Tapas Mishra
On Thu, Oct 21, 2010 at 9:05 PM, Ahmed Kamal ahmed.ka...@canonical.com wrote: On 10/21/2010 05:34 PM, Tapas Mishra wrote: On Thu, Oct 21, 2010 at 8:52 PM, Ahmed Kamalahmed.ka...@canonical.com  wrote: On 10/21/2010 04:40 PM, Tapas Mishra wrote: Hi, I could not find any where

Re: looking for upgrade instructions to 10.10 without formatting

2010-10-14 Thread Tapas Mishra
On Thu, Oct 14, 2010 at 11:55 AM, Imre Gergely gi...@narancs.net wrote: On 10/14/2010 09:15 AM, Tapas Mishra wrote: Hi, I am having Ubuntu 10.04 server running. In my previous messages I had mentioned some cron.dead letters in root's home directory. I would like to upgrade my production

Re: looking for upgrade instructions to 10.10 without formatting

2010-10-14 Thread Tapas Mishra
On Thu, Oct 14, 2010 at 12:38 PM, Imre Gergely gi...@narancs.net wrote: On 10/14/2010 09:46 AM, Tapas Mishra wrote: On Thu, Oct 14, 2010 at 11:55 AM, Imre Gergely gi...@narancs.net wrote: On 10/14/2010 09:15 AM, Tapas Mishra wrote: Hi, I am having Ubuntu 10.04 server running. In my

cron failure message

2010-10-11 Thread Tapas Mishra
CRON-APT RUN [/etc/cron-apt/config]: Sun Oct 10 04:00:01 IST 2010 CRON-APT SLEEP: 2472, Sun Oct 10 04:41:13 IST 2010 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 W: Failed to fetch http://debian.adenu.ia.uned.es/apt/dists/lucid/main/binary-amd64/Packages.gz 404 Not

Can I move an LVM as I can move an ISO

2010-10-05 Thread Tapas Mishra
Can an LVM be copied or transferred to some remote server in a similar fashion as I can do with ISO.(Not asking rsync) I copy the ISO one one place to some other location and on the second location I can mount this ISO and do what ever I want. Is similar thing possible with an LVM. --

Re: Can I move an LVM as I can move an ISO

2010-10-05 Thread Tapas Mishra
On Tue, Oct 5, 2010 at 7:31 PM, Serge E. Hallyn serge.hal...@canonical.com wrote: There might be a nifty way of copying it as though it were a file, but I think I would do something like        dd if=/dev/mapper/myvolume of=- | ssh $remotehost dd of=newfile This is a nice trick I had not

Re: Can I move an LVM as I can move an ISO

2010-10-05 Thread Tapas Mishra
On Tue, Oct 5, 2010 at 11:11 PM, Peter Matulis peter.matu...@canonical.com wrote: You can transfer the volume over the network and end up with another volume if you create one on $remotehost beforehand of the same size. Then have netcat listen on some port, say 9000, and pipe it to that new

how to transfer an LVM Guest OS on KVM Lucid to another server

2010-10-04 Thread Tapas Mishra
I am searching for some information. I used virt-manager to create 4 guest OS on KVM. Let us call this server A I am running another server where KVM is running call this server B. Is is some how possible guest running on server A can be transferred to B so that I can run it and do not have to do

modifying a running VM on fly with libguesfs

2010-10-04 Thread Tapas Mishra
Has any one tried this on Ubuntu server http://libguestfs.org/ -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam

Re: problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
,nosuid,mode=0755) none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime) nintendo is a volume group which holds these LVMs On Mon, Oct 4, 2010 at 2:20 PM, Jordon Bedwell jor...@envygeeks.com wrote: On Mon, 2010-10-04 at 14:13 +0530, Tapas Mishra wrote: mount /dev/nintendo/backupos

Re: problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
On Mon, Oct 4, 2010 at 6:36 PM, Serge E. Hallyn serge.hal...@canonical.com wrote: Well, it's possible that you have it mounted in another namespace. Can you provide output of: 1. ls -l /mnt/backup ls -l /mnt/backup/ total 0        (make sure that directory exists :) 2. ls -l /dev/mapper

Re: how to transfer an LVM Guest OS on KVM Lucid to another server

2010-10-04 Thread Tapas Mishra
Ok On Mon, Oct 4, 2010 at 11:32 AM, Dan Sheffner dsheff...@gmail.com wrote: ..snip The other option I have used is shutdown the virtual machine and just manually move over the xml and the file that runs the virtual machine. Which file are you referring to above is that LVM that holds

problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
I am trying to mount an LVM mount /dev/nintendo/backupos /mnt/backup/ mount: /dev/mapper/nintendo-backupos already mounted or /mnt/backup/ busy where as if I do umount /mnt/backup then umount: /mnt/backup/: not mounted So what might be wrong? -- ubuntu-server mailing list

Re: problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
On Mon, Oct 4, 2010 at 7:16 PM, Serge E. Hallyn serge.hal...@canonical.com wrote: Hm, interesting.  How about the contents of outout after doing:        strace -f -ooutout mount /dev/mapper/nintendo-backupos /mnt/backup I got on terminal mount: /dev/mapper/nintendo-backupos already mounted or

  1   2   >