Jenkins Plugin Development: Help for a new bee developer.

2020-07-26 Thread Tapas Mishra
All, 

I am a new bee in Plugin development area and started with a simple plugin 
development with an intention to print a message in Console log of jobs. 
The requirement is to configure the plugin in the Global Configuration and 
if the "globalEnabled" is check then it should print the configured message 
in the console log of the all jobs. I have the code in my Github 
repository for your kind 
review. 

Currently I am testing the plugin on FreeStyle jobs and able to print the 
message if the plugin is enabled. But I am not getting how to force it even 
though it's not enabled in the job configuration level. 

Please let me know if anything unclear in my question. 

Sorry I don't l don't know the process/ standards of the group. Please help 
me. 

Regards,
- Tapas

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a4d7565b-bb7a-4a07-ba6c-bbfb9015b5c3o%40googlegroups.com.


Fwd: lists.debian.org has received bounces from you

2020-06-23 Thread Tapas Mishra
-- Forwarded message -
From: Debian Listmaster Team 
Date: Mon, Jun 22, 2020, 2:15 PM
Subject: lists.debian.org has received bounces from you
To: 


Dear subscriber,

We've encountered some problems while sending listmail to your
emailaddress mightydre...@gmail.com.

In the last seven days we've seen bounces for the following list:
* debian-user
1 bounce out of 52 mails in one day (1%, kick-score is 80%)
(https://lists.debian.org/bounces/iRTovy1A1zJQes4Md9QwSQ)

(The link above points to a copy of the latest bounce
and will be valid for seven days.)

If the bounce-rate passes the kick-score, our bounce-detection will forcibly
remove your subscription.

Bounces happen from time to time when spam slips through our filters but are
rejected by your mail provider.  If you are your own mail provider and use
'Before-Queue Content filtering', you should whitelist bendel.debian.org
from
Content filtering.

However: You can safely ignore this message (and you will not be
unsubscribed
:-) ) if your bounce rate remains low.

For more information see https://wiki.debian.org/Teams/ListMaster/FAQ

You are welcome to contact listmas...@lists.debian.org if you think this
message was sent in error.

Sincerely,
The Listmaster Team
-- 
http://lists.debian.org


[users@httpd] Fwd: Warning from users@httpd.apache.org

2019-10-25 Thread Tapas Mishra
Hello,
I am getting bounce message , what should I do?.

Thanks


-- Forwarded message -
From: 
Date: Wed, Sep 25, 2019 at 11:24 AM
Subject: Warning from users@httpd.apache.org
To: 


Hi! This is the ezmlm program. I'm managing the
users@httpd.apache.org mailing list.


Messages to you from the users mailing list seem to
have been bouncing. I've attached a copy of the first bounce
message I received.

If this message bounces too, I will send you a probe. If the probe bounces,
I will remove your address from the users mailing list,
without further notice.


I've kept a list of which messages from the users mailing list have
bounced from your address.

Copies of these messages may be in the archive.
To retrieve a set of messages 123-145 (a maximum of 100 per request),
send a short message to:
   

To receive a subject and author list for the last 100 or so messages,
send a short message to:
   

Here are the message numbers:

   118921

--- Enclosed is a copy of the bounce message I received.

Return-Path: <>
Received: (qmail 369 invoked for bounce); 15 Sep 2019 00:02:49 -
Date: 15 Sep 2019 00:02:49 -
From: mailer-dae...@apache.org
To: users-return-1189...@httpd.apache.org
Subject: failure notice

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: openssl headers missing while installing psiphon on Debian 10

2019-09-08 Thread Tapas Mishra
On Sun, Sep 8, 2019 at 2:56 PM Ulf Volmer  wrote:
>
> On 08.09.19 01:28, Tapas Mishra wrote:
>
> > configure: error: *** OpenSSL headers missing
>
> Install libssl-dev.

Ok thanks I did install libssl-dev
sudo apt-get install libssl-dev
https://pastebin.com/EYpswMRv
I got following
configure: error: Your OpenSSL headers do not match your
library. Check config.log for details.
If you are sure your installation is consistent, you can disable the check
by running "./configure --without-openssl-header-check".
Full message here https://pastebin.com/pyHiyG3j

I  executed ./configure --without-openssl-header-check
full messages https://pastebin.com/UsEZcgKi
now as the instructions here say https://github.com/thispc/psiphon
to do a make after ./configure

I get a following message

authfd.c: In function ‘ssh_encode_identity_ssh2’:
authfd.c:499:33: error: dereferencing pointer to incomplete type ‘DSA’
{aka ‘struct dsa_st’}
   buffer_put_bignum2(b, key->dsa->p);
 ^~
make: *** [Makefile:129: authfd.o] Error 1
full message of make https://pastebin.com/0eSzXLxm
what should I do now how to proceed from here.
I am on Debian 10.Trying to install psiphon.

All steps that I did combined in one paste with all messages
https://pastebin.com/CuMRuExj

How can I proceed from here?
--
Thanks
Tapas



openssl headers missing while installing psiphon on Debian 10

2019-09-07 Thread Tapas Mishra
Hi,
I am trying to install  psiphon   on   Debian 10 based on instructions here
https://askubuntu.com/questions/637568/how-do-i-install-psiphon-on-ubuntu-14-04-lts-step-by-step

I did a $ git clone https://github.com/thispc/psiphon.git
then cd psiphon
Open README.md for instructions
did sudo apt-get install python-pip it went without errors  .
https://pastebin.com/X8HnAZry
this is how files look like did  a simple ls
https://pastebin.com/mFi85PBp

then ./configure came across error
configure: error: *** zlib.h missing - please install first or check
config.log ***
https://pastebin.com/ANGa0c7q
to get rid of above error I did
sudo apt-get install libz-dev
Then I did ./configure and found a new error

configure: error: *** OpenSSL headers missing
full message can be seen here
https://pastebin.com/9XFUYZkk
I then tried doing
debian@debian:~/psiphon/openssh-5.9p1$ sudo apt-get install openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version (1.1.1c-1).
openssl set to manually installed.
The following packages were automatically installed and are no longer required:
  ethtool libdumbnet1 libmspack0 libxmlsec1-openssl zerofree
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.

So I did sudo apt autoremove and then
debian@debian:~/psiphon/openssh-5.9p1$   ./configure

checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
configure: error: *** OpenSSL headers missing - please install first
or check config.log ***

so it appears openssl is installed to latest version. So now what more
should I do so that I
don't get openssl header missing error,
while installing psiphon on Debian 10.
I read this page https://wiki.openssl.org/index.php/Compilation_and_Installation
and this page 
https://stackoverflow.com/questions/29858870/build-openssl-with-rpath
but could not understand what changes should I make on my system for
psiphon (https://github.com/thispc/psiphon.git)
to be installed.

-
Thanks
Tapas



Re: resolving unmet dependencies for mega.nz application

2019-09-07 Thread Tapas Mishra
On Sun, Sep 8, 2019 at 3:39 AM Roberto C. Sánchez  wrote:
>
> On Sun, Sep 08, 2019 at 03:36:10AM +0530, Tapas Mishra wrote:
> > Hi,
> > I downloaded a file megasync-Debian_10.0_amd64.deb from
> > https://mega.nz/sync
> > now when I am trying to install it.
> >
> > ebian@debian:~/Downloads$ sudo dpkg -i  megasync-Debian_10.0_amd64.deb
>
> First, your error messages are already giving you the answer:
> apt --fix-broken install

Ok this has worked.

> However, there is a better way.
>
> Try 'sudo apt install ./megasync-Debian_10.0_amd64.deb' instead.
>
I was not aware of this option. Thanks for letting me know.



resolving unmet dependencies for mega.nz application

2019-09-07 Thread Tapas Mishra
Hi,
I downloaded a file megasync-Debian_10.0_amd64.deb from
https://mega.nz/sync
now when I am trying to install it.

ebian@debian:~/Downloads$ sudo dpkg -i  megasync-Debian_10.0_amd64.deb
[sudo] password for debian:
Selecting previously unselected package megasync.
(Reading database ... 434950 files and directories currently installed.)
Preparing to unpack megasync-Debian_10.0_amd64.deb ...
Unpacking megasync (4.2.4+1.1) ...
dpkg: dependency problems prevent configuration of megasync:
 megasync depends on libc-ares2 (>= 1.7.4); however:
  Package libc-ares2 is not installed.
 megasync depends on libcrypto++6; however:
  Package libcrypto++6 is not installed.
 megasync depends on libmediainfo0v5 (>= 0.7.56); however:
  Package libmediainfo0v5 is not installed.
 megasync depends on libzen0v5 (>= 0.4.31-2~); however:
  Package libzen0v5 is not installed.

dpkg: error processing package megasync (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 megasync


I tried then
debian@debian:~/Downloads$ sudo apt-get install libc-ares2
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 megasync : Depends: libcrypto++6 but it is not going to be installed
Depends: libmediainfo0v5 (>= 0.7.56) but it is not going
to be installed
Depends: libzen0v5 (>= 0.4.31-2~) but it is not going to
be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
(or specify a solution).

debian@debian:~/Downloads$ sudo apt-get install libcrypto++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 megasync : Depends: libc-ares2 (>= 1.7.4) but it is not going to be installed
Depends: libmediainfo0v5 (>= 0.7.56) but it is not going
to be installed
Depends: libzen0v5 (>= 0.4.31-2~) but it is not going to
be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
(or specify a solution).



Is there an easy way of resolving unmet dependencies
rather than installing all dependencies one by one?

How do I resolve these unmet dependencies.

-
Thanks
Tapas



Re: error while doing apt-get update

2019-09-07 Thread Tapas Mishra
On Sat, Sep 7, 2019 at 4:45 PM Sven Joachim  wrote:

> So the file looks like this:
>
> ,
> | Origin: Debian
> | Label: Debian-Security
> | Suite: stable
> | Version: 10
> | Codename: buster
> | Date: Fri, 06 Sep 2019 11:51:20 UTC
> | Valid-Until: Fri, 13 Sep 2019 11:51:20 UTC
> | Acquire-By-Hash: yes
> | Architectures: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el 
> s390x
> | Components: updates/main updates/contrib updates/non-free
> | Description: Debian 10 - Security Updates
> `
>
> Which is definitely wrong for buster-updates, this is how an InRelease
> file from the security repository starts.
>
> It's hard to tell how this happened (file system corruption perhaps),
> but if you proceed with the update it should be corrected.
> Run "apt-get update --allow-releaseinfo-change" to do so.

Ok thanks for pointing that out apt-get update
--allow-releaseinfo-change did the trick.
But I want to understand what was wrong in previous file and what did
you noticed that
should have been there which was not there in my file.
--
Thanks and Regards
Tapas



Re: error while doing apt-get update

2019-09-07 Thread Tapas Mishra
On Sat, Sep 7, 2019 at 12:22 AM Sven Joachim  wrote:
>
>
> This sources.list file looks good to me.
>
> > What should I  check?
>
> There should be a file
> /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_InRelease.
> If it exists, can you please show its first 15 lines?
>
Hi you can see the whole file on this link
https://pastebin.com/116phYnH
---
Thanks & Regards
Tapas



error while doing apt-get update

2019-09-06 Thread Tapas Mishra
Hi,
I am getting some error while doing
debian@debian:~$ sudo apt-get update
[sudo] password for debian:
Get:1 http://security-cdn.debian.org/debian-security buster/updates
InRelease [39.1 kB]
Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [49.3 kB]
Reading package lists... Done
E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Label' value from 'Debian-Security' to
'Debian'
N: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Version' value from '10' to ''
E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Suite' value from 'stable' to 'stable-updates'
E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Codename' value from 'buster' to
'buster-updates'
N: This must be accepted explicitly before updates for this repository
can be applied. See apt-secure(8) manpage for details.

debian@debian:/etc/apt$ cat sources.list
#

# deb cdrom:[Official Debian GNU/Linux Live 10.0.0 gnome
2019-07-06T10:51]/ buster main

#deb cdrom:[Official Debian GNU/Linux Live 10.0.0 gnome
2019-07-06T10:51]/ buster main

deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

What should I  check?
I am using Debian 10 in a virtualized environment (Vmware 15 workstation)
---
Thanks



Re: What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread Tapas Mishra
Dan Ritter 


> What should I do to proceed from here?
>It's in /sbin/depmod, and you will need to be root to do
anything useful with it.
>sudo ./vmware-install.pl
>might work.

Yes that did worked. Thanks for pointing that out.

Erwan David 

>It seems to me that vmware on recent linux prefers the open-vm-tools
>package.

Yes that is correct I had installed open-vm-tools only before trying
the vmware tools.
But I was not able to copy paste a folder from host OS(Windows 10) to
guest OS (Debian).
So I I wanted to try Vmware-tools but this thing (drag and drop or
copy folder from Windows10 to Debian10
has not worked either in open-vm-tools orVmware-tools install package by vendor)
---
Thanks

On Fri, Sep 6, 2019 at 7:51 PM MAS Jean-Louis  wrote:
>
> Le 06/09/2019 à 15:53, Tapas Mishra a écrit :
>
> > I am trying to install Vmware tools in Debian 10 on Vmware workstation.
> > The place where I am stuck is following messages.
>
> Alternative answer
>
> apt install open-vm-tools
>
> Regards
>
> --
> Jean Louis Mas
>
>



What is the location of the "depmod" program on your machine? vmware tools installation error

2019-09-06 Thread Tapas Mishra
Hi,
I am trying to install Vmware tools in Debian 10 on Vmware workstation.
The place where I am stuck is following messages.


debian:~/vmware_tools/vmware-tools-distrib$ ls
bin  caf  doc  etc  FILES  INSTALL  installer  lib  vgauth  vmware-install.pl
debian@debian:~/vmware_tools/vmware-tools-distrib$ ./vmware-install.pl
Setup is unable to find the "depmod" program on your machine. Please make sure
it is installed. Do you want to specify the location of this program by hand?
[yes] Use of uninitialized value $gOption{"default"} in numeric eq
(==) at ./vmware-install.pl line 866.



What is the location of the "depmod" program on your
machine? Use of uninitialized value $gOption{"default"} in numeric eq
(==) at ./vmware-install.pl line 866,  line 1.

I pressed enter here thinking it might take default value but I was wrong here.

The answer "" is invalid. It must be the complete name of a binary file.

Use of uninitialized value $gOption{"default"} in numeric eq (==) at
./vmware-install.pl line 2541,  line 2.
What is the location of the "depmod" program on your
machine? Use of uninitialized value $gOption{"default"} in numeric eq
(==) at ./vmware-install.pl line 866,  line 2.


What should I do to proceed from here?
--
Thanks



Re: [vagrant-up] using project folders in vagrant

2018-10-09 Thread Tapas Mishra
I want to view the files kept on host inside guest.
On Wed, Oct 10, 2018 at 2:06 AM Alvaro Miranda Aguilera
 wrote:
>
> if the guest box have virtualbox additions, then the current folder is 
> mounted as /vagrant inside the guest.
>
> if you copy files from the guest to /vagrant, those will be visible on the 
> host.
>
> Alvaro.
>
> On Thu, Oct 4, 2018 at 2:37 PM kaliyatensionia  
> wrote:
>>
>> I have recently installed vagrant and red hat in windows 8 environment. I 
>> want to use my projects in windows drive in redhat running on vagrant 
>> machines. Is there a mechanism to copy paste or access project folders 
>> already present in windows environment inside vagrant virtual machines.
>> I  am running on Windows 8 with Red Hat 7 as the guest OS for Vagrant.
>>
>> --
>> This mailing list is governed under the HashiCorp Community Guidelines - 
>> https://www.hashicorp.com/community-guidelines.html. Behavior in violation 
>> of those guidelines may result in your removal from this mailing list.
>>
>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>> IRC: #vagrant on Freenode
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "Vagrant" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to vagrant-up+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vagrant-up/cd1dbd7c-8c1b-446a-b657-8098fe5c22bd%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Alvaro
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines - 
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
> those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to a topic in the Google 
> Groups "Vagrant" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/vagrant-up/NTtnHNO-fw4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> vagrant-up+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/vagrant-up/CAHqq0ez1fpSQHQ5offHdA6MSRPw3tH03T%2BKA7mWp%3DS2gNyykCg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAPhqJV2Du%3DMKT4XOHcjbCCs2s1AwaTKznua7E14dik1EZWZDXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


vim yellow lines problem

2018-10-09 Thread Tapas Mishra
I had a C program which I copy pasted and there were line numbers in code.
So I replaced line numbers in vi by following command
:%s/\d*.  (<-- last of * is a dot)

Now I am opening vim in cygwin then all typed lines are coming yellow.
https://i.stack.imgur.com/Dxd8h.jpg

How do I fix this problem,

Thanks

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



make failing in custom code

2018-09-27 Thread Tapas Mishra
Hi,
I am trying to do a project  when I do a make on project code
in cygwin environment I get following error

gcc -Wall -g -c main.c -o main.o
main.c: In function ‘main’:
main.c:50:8: warning: unused variable ‘physmem’ [-Wunused-variable]
  char *physmem = page_table_get_physmem(pt);
^~~
gcc -Wall -g -c page_table.c -o page_table.o
page_table.c: In function ‘page_table_set_entry’:
page_table.c:125:2: warning: implicit declaration of function
‘remap_file_pages’ [-Wimplicit-function-declaration]
  remap_file_pages(pt->virtmem+page*PAGE_SIZE,PAGE_SIZE,0,frame,0);
  ^~~~
gcc -Wall -g -c disk.c -o disk.o
gcc -Wall -g -c program.c -o program.o
gcc main.o page_table.o disk.o program.o -o virtmem
page_table.o: In function `page_table_set_entry':
/home/DEEL/cs602/try1/page_table.c:125: undefined reference to
`remap_file_pages'
/home/DEEL/cs602/try1/page_table.c:125:(.text+0x491): relocation
truncated to fit: R_X86_64_PC32 against undefined symbol
`remap_file_pages'
collect2: error: ld returned 1 exit status
make: *** [makefile:2: virtmem] Error 1

I compiled the same code on a linux instance hosted on amazon cloud
and it compiled successfully. So this brought me to a conclusion some
files are missing in cygwin and hence I reached here.

so let me know what could be missing. If it is possible to know from
above error The code is mostly signal handling virtual memory
implementation in userspace level and handling of block files etc no
where it deals with kernel etc. So I hope it should work in cygwin
environment.

The code on which make is executing can be read/seen here
disk.c https://pastebin.com/uywHhbKZ
disk.h https://pastebin.com/cXKkDifg

main.c https://pastebin.com/z7xakvz5
page_table.c https://pastebin.com/WpVgB9Fh
page_table.h https://pastebin.com/Lur8uJXN
program.c https://pastebin.com/5giXardt

program.h https://pastebin.com/eiyfSNem
makefile https://pastebin.com/Axi9gtFa
---
Thanks

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[users@httpd] Apache 2.4 forward Proxy Configuration Issue

2017-02-15 Thread Tapas Mishra
Hi all,

I am trying to configure a Apache forward proxy with SSL. But I am not able
to connect external host using the proxy. Below is my virtual host
configuration.

Listen 10.157.131.196:12149

  ServerName ech-10-157-131-196.test.com
  SSLEngine On
  SSLCertificateFile /opt/ssl/apache-selfsigned-new.crt
  SSLCertificateKeyFile /opt/ssl/apache-selfsigned-new.key

  ProxyVia On
  ProxyRequests On
  SSLProxyEngine On
  RewriteEngine On

  RewriteCond %{REQUEST_URI} !https://www.google.com/ [NC]
  RewriteRule .* - [F]


*Scenario 1:* Using Curl try to access https://www.goole.com

curl  -v --proxy 10.157.131.196:12149 https://www.google.com
* About to connect() to proxy 10.157.131.196 port 12149 (#0)
*   Trying 10.157.131.196... connected
* Connected to 10.157.131.196 (10.157.131.196) port 12149 (#0)
* Establish HTTP proxy tunnel to www.google.com:443
> CONNECT www.google.com:443 HTTP/1.1
> Host: www.google.com:443
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 
> Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Proxy-Connection: Keep-Alive
>
* Proxy CONNECT aborted
* Closing connection #0
curl: (56) Proxy CONNECT aborted

*Seenario 2:* Using Curl try to access http://www.google.com

curl  -v --proxy 10.157.131.196:12149 http://www.google.com
* About to connect() to proxy 10.157.131.196 port 12149 (#0)
*   Trying 10.157.131.196... connected
* Connected to 10.157.131.196 (10.157.131.196) port 12149 (#0)
> GET http://www.google.com/ HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 
> Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: www.google.com
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 400 Bad Request
< Date: Wed, 15 Feb 2017 10:03:52 GMT
< Server: Apache
< Content-Length: 362
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
<


400 Bad Request

Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
 Instead use the HTTPS scheme to access this URL, please.


* Closing connection #0

But when I am disabling SSL in the virtual host and trying to connect
outbound http it's working.

Virtual host Configuration:

Listen 10.157.131.196:12149

  ServerName ech-10-157-131-196.test.com
  #SSLEngine On
  #SSLCertificateFile /opt/ssl/apache-selfsigned-new.crt
  #SSLCertificateKeyFile /opt/ssl/apache-selfsigned-new.key

  ProxyVia On
  ProxyRequests On
  #SSLProxyEngine On
  RewriteEngine On

  RewriteCond %{REQUEST_URI} !https://www.google.com/ [NC]
  RewriteRule .* - [F]


*Scenario 1:* Using Curl try to access https://www.goole.com

curl  -v --proxy 10.157.131.196:12149 https://www.google.com
* About to connect() to proxy 10.157.131.196 port 12149 (#0)
*   Trying 10.157.131.196... connected
* Connected to 10.157.131.196 (10.157.131.196) port 12149 (#0)
* Establish HTTP proxy tunnel to www.google.com:443
> CONNECT www.google.com:443 HTTP/1.1
> Host: www.google.com:443
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 
> Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 500 Internal Server Error
< Date: Wed, 15 Feb 2017 10:13:15 GMT
< Server: Apache
< Content-Length: 546
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
<
* Received HTTP code 500 from proxy after CONNECT
* Closing connection #0
curl: (56) Received HTTP code 500 from proxy after CONNECT

*Seenario 2:* Using Curl try to access http://www.google.com

curl  -v --proxy 10.157.131.196:12149 http://www.google.com
* About to connect() to proxy 10.157.131.196 port 12149 (#0)
*   Trying 10.157.131.196... connected
* Connected to 10.157.131.196 (10.157.131.196) port 12149 (#0)
> GET http://www.google.com/ HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 
> Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: www.google.com
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 302 Found
< Date: Wed, 15 Feb 2017 10:14:20 GMT
< Server: Apache
< Location: http://www.cfauth.com/?cfru=aHR0cDovL3d3dy5nb29nbGUuY29tLw==
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: text/html; charset=utf-8
< Content-Length: 660
< Via: 1.1 ech-10-157-131-196.test.com
<

Redirect









Redirect (authentication_redirect_to_virtual_host)






Re: What Next After Char, Block, Serial Parallel Drivers

2015-08-12 Thread Tapas Mishra
On Wed, Aug 12, 2015 at 1:12 AM, Sasha Mckinsey iamsash...@yahoo.com wrote:
 Dear Valdis,Kletnieks

 perhaps *YOU* have not read my email *correctly*

 I am interested in Network stack and I had an apprehension regarding it so 
 was trying to clarify it.

You should check following book

Linux Kernel Networking Implementation and Theory
http://www.apress.com/9781430261964
interesting stuff.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


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 we are
physically present on that machine by moving the up down arrow keys.I want
to do some thing similar via ssh or if possible by some other protocol.
Is it possible some how.Is there any package available for the same?

--
-- 
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: 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 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 we are
 physically present on that machine by moving the up down arrow keys.I want
 to do some thing similar via ssh or if possible by some other protocol.
 Is it possible some how.Is there any package available for the same?

 --



-- 
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: choosing desired os to boot over ssh

2012-02-11 Thread Tapas Mishra
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://help.ubuntu.com/community/Grub2

 find grub-set-default and grub-reboot. These commands will be available if
 you set grub.cfg according 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, Tapas Mishra mightydre...@gmail.comwrote:

 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 we are
 physically present on that machine by moving the up down arrow keys.I want
 to do some thing similar via ssh or if possible by some other protocol.
 Is it possible some how.Is there any package available for the same?

 --



-- 
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: choosing desired os to boot over ssh

2012-02-11 Thread Tapas Mishra
What I am looking for is some thing like a service console similar to IDRAC
of Dell Power edge (if available for Ubuntu)
or any software where in Wake On Lan with a special key combination can
boot my desired OS.

On Sat, Feb 11, 2012 at 9:00 PM, Pandu Poluan pa...@poluan.info wrote:

 Similar to Neal, I'm scratching my head as to exactly what @Tapas wanted...

 The only other possibility would be to install a hypervisor (XenServer
 comes to mind) and access the VM's virtual console output using VNC or
 whatever the management app the hypervisor uses (XenCenter in case of
 XenServer). This will enable you to actually choose which OS to boot in the
 grub menu.

 If that still doesn't answer your needs, then I give up :-P

 PS: grub is actually capable of booting non-grub-using OS like Windows;
 you'll have to decipher the proper incantations for chainloading (plus
 all the complexities of juggling partitions - Windows its wickedly invasive
 and greedy in that regard), but it's doable.

 Rgds,
 On Feb 11, 2012 9:21 PM, Neal McBurnett n...@bcn.boulder.co.us wrote:

 It seems to me that grub-reboot does what you asked for.  You do have to
 modify /etc/default/grub *one time* to set the saved option, but after
 that you just quickly run grub-reboot before a reboot and it boots the one
 you picked, on just the next reboot.  If on that boot, you DON'T run
 grub-reboot, it will reboot the time after that with your default, safe
 boot option.  If you're worried about testing odd kernels and panics, you
 can also set a boot option like panic=30 so it reboots into a safe kernel
 after a panic.

 If that isn't what you wanted, can you clarify in more detail what you're
 looking for?

 You could set up a serial console connected to a separate computer let
 you connect to it at boot time, but it is much more complicated and
 expensive.
 I guess if you need to boot into OS's that don't use grub, a serial
 console boot would be more convenient than rebooting to the default one
 that does do grub, and then choosing the one you really want next via
 grub-reboot from there.

 Neal 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://help.ubuntu.com/community/Grub2
 
  find grub-set-default and grub-reboot. These commands will be
 available if
  you set grub.cfg according 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, Tapas Mishra 
 mightydre...@gmail.com
  wrote:
 
  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 we are physically present on that machine by moving
 the up
  down arrow keys.I want to do some thing similar via ssh or
 if
  possible by some other protocol.
  Is it possible some how.Is there any package available for
 the
  same?
 
  --
 
 
 
 

  --
  ubuntu-server mailing list
  ubuntu-server@lists.ubuntu.com
  https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
  More info: https://wiki.ubuntu.com/ServerTeam




-- 
8960770858
-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

[Bug 908323] [NEW] package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

2011-12-23 Thread Tapas Mishra
Public bug reported:

Was upgrading Ubuntu 11.04 to 11.10 on amd64 system when the upgrade
failed.

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-13.52-generic 2.6.38.8
Uname: Linux 2.6.38-13-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Sat Dec 24 08:45:20 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script 
returned error exit status 1
InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release amd64 (20110427.1)
SourcePackage: samba4
Title: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to 
install/upgrade: ErrorMessage: subprocess installed post-installation script 
returned error exit status 1
UpgradeStatus: Upgraded to oneiric on 2011-12-23 (0 days ago)

** Affects: samba4 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908323

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: ErrorMessage: subprocess installed post-installation
  script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/908323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908323] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

2011-12-23 Thread Tapas Mishra
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908323

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: ErrorMessage: subprocess installed post-installation
  script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/908323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908323] Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

2011-12-23 Thread Tapas Mishra
user@home:~$ sudo dpkg --configure -a

[sudo] password for user: 
Setting up samba4 (4.0.0~alpha17~git20110807.dfsg1-1ubuntu1) ...
Unknown parameter encountered: max log size
Ignoring unknown parameter max log size
Unknown parameter encountered: syslog
Ignoring unknown parameter syslog
Unknown parameter encountered: passdb backend
Ignoring unknown parameter passdb backend
Unknown parameter encountered: unix password sync
Ignoring unknown parameter unix password sync
Unknown parameter encountered: passwd program
Ignoring unknown parameter passwd program
Unknown parameter encountered: pam password change
Ignoring unknown parameter pam password change
Unknown parameter encountered: map to guest
Ignoring unknown parameter map to guest
Unknown parameter encountered: usershare allow guests
Ignoring unknown parameter usershare allow guests
Unknown parameter encountered: guest ok
Ignoring unknown parameter guest ok
Unknown parameter encountered: guest ok
Ignoring unknown parameter guest ok
Unknown parameter encountered: max log size
Ignoring unknown parameter max log size
Unknown parameter encountered: syslog
Ignoring unknown parameter syslog
Unknown parameter encountered: passdb backend
Ignoring unknown parameter passdb backend
Unknown parameter encountered: unix password sync
Ignoring unknown parameter unix password sync
Unknown parameter encountered: passwd program
Ignoring unknown parameter passwd program
Unknown parameter encountered: pam password change
Ignoring unknown parameter pam password change
Unknown parameter encountered: map to guest
Ignoring unknown parameter map to guest
Unknown parameter encountered: usershare allow guests
Ignoring unknown parameter usershare allow guests
Unknown parameter encountered: guest ok
Ignoring unknown parameter guest ok
Unknown parameter encountered: guest ok
Ignoring unknown parameter guest ok
module samba_dsdb initialization failed : No such object
Unable to load modules for /var/lib/samba/private/sam.ldb: 
dsdb_module_search_dn: did not find base dn @ROOTDSE (0 results)
Traceback (most recent call last):
  File /usr/share/samba/setup/upgradeprovision, line 1716, in module
ldbs = get_ldbs(paths, creds, session, lp)
  File /usr/lib/pymodules/python2.7/samba/upgradehelpers.py, line 156, in 
get_ldbs
ldbs.sam = SamDB(paths.samdb, session_info=session, credentials=creds, 
lp=lp, options=[modules:samba_dsdb])
  File /usr/lib/pymodules/python2.7/samba/samdb.py, line 55, in __init__
options=options)
  File /usr/lib/pymodules/python2.7/samba/__init__.py, line 114, in __init__
self.connect(url, flags, options)
  File /usr/lib/pymodules/python2.7/samba/samdb.py, line 69, in connect
options=options)
_ldb.LdbError: (80, 'dsdb_module_search_dn: did not find base dn @ROOTDSE (0 
results)')
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 samba4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908323

Title:
  package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to
  install/upgrade: ErrorMessage: subprocess installed post-installation
  script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/908323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 856736] Re: problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

2011-11-30 Thread Tapas Mishra
Have been able to fix this.
Here is a solution to get rid of the above problem of font rendering.

sudo rm -f /usr/share/fonts/truetype/freefont/FreeSerif.ttf 
sudo rm -f /usr/share/fonts/truetype/freefont/FreeSans.ttf 

Then restart your browser.Every page which I reported the problem was
rendered incorrect for Indian language Hindi is now getting rendered
correctly.

Hope some one from development team will be able to help as how this is working.
Right now I have been able to fix it for my machine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/856736

Title:
  problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/856736/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 856736] Re: problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

2011-11-27 Thread Tapas Mishra
8) http://ramayan.wordpress.com/ and
http://ramayan.wordpress.com/goswami the 8th link is in Unicode inspite
of that Chrome does not renders it properly while if you see it in
Firefox you will be able to see it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/856736

Title:
  problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/856736/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 856736] Re: problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

2011-11-26 Thread Tapas Mishra
5)
http://vadicjagat.com/?p=1043utm_source=feedburnerutm_medium=emailutm_campaign=Feed%3A+vadicjagat%2FrUIj+%28Vadicjagat.com%29

6) http://www.jitu.info/merapanna/?p=148

7)
http://vadicjagat.com/?p=1050utm_source=feedburnerutm_medium=emailutm_campaign=Feed%3A+vadicjagat%2FrUIj+%28Vadicjagat.com%29

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/856736

Title:
  problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/856736/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 856736] Re: problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

2011-11-19 Thread Tapas Mishra
The websites which one can see to observe this bug

1) http://in.jagran.yahoo.com/

2) http://aajtak.intoday.in/story.php/content/view/68511/13/0

3) http://aajtak.intoday.in/story.php/content/view/68513/13/0

4)
http://epaper.livehindustan.com/PUBLICATIONS/HT/HT/2010/11/20/index.shtml

 can change date string in 4th link to see more weird appearance of
fonts.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/856736

Title:
  problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/856736/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 865852] Re: ubiquity-dm crashed with ValueError in command(): invalid literal for int() with base 10: ''

2011-10-04 Thread Tapas Mishra
Ok I have been able to resolve this problem by now.
What led to resolution

1) I was trying to install Ubuntu 11.04 64 bit on a laptop using USB as an 
installation media.
   The USB was prepared by Unetbootin.

2) I formatted USB in another Ubuntu 11.04 system with Unetbootin and
created that usb as an installation media for Ubuntu 10.4 64 bit
edition.

3) Went to the laptop whose bugs I reported above and with this new USB
(10.04) prepared by Unetbootin started installation of Ubuntu 10.04 got
some error message on screen which I do not have but it said that last
portion of hard disc seems to be problematic any how the installation
after this was done by manually specifying the partitions and here on
the install on this laptop in question went fine.

4) The same USB stick which I used as 10.04 media I formatted again and this 
time put 11.04 and connected it to laptop in question and this time the 
installation went on perfectly.No problems.
This 11.04 was not alternate it was from live CD turned to USB.
Currently I am able to work on this machine in question.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/865852

Title:
  ubiquity-dm crashed with ValueError in command(): invalid literal for
  int() with base 10: ''

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/865852/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 865852] Re: ubiquity-dm crashed with ValueError in command(): invalid literal for int() with base 10: ''

2011-10-04 Thread Tapas Mishra
I wanted to add that I installed 10.04 on laptop in problem and then on
same 10.04 I installed 11.04 I used whole 320 GB space of my laptop hard
disc for installation in both cases.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/865852

Title:
  ubiquity-dm crashed with ValueError in command(): invalid literal for
  int() with base 10: ''

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/865852/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 856736] [NEW] problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

2011-09-22 Thread Tapas Mishra
Public bug reported:

The problem is with respect to  browser Chrome (I use Ubuntu 11.04 )
and in certain cases such as heading etc the font is not rendered
correctly.

https://picasaweb.google.com/mightydreams/HindiFontsProblem
Here is the page in problem on Chrome
https://picasaweb.google.com/mightydreams/HindiFontsProblem#5655127655183416498

A Correctly rendered page should appear like this

https://picasaweb.google.com/mightydreams/HindiFontsProblem#5655127704627761410

the link which I tried is http://in.jagran.yahoo.com/ but this problem is
there in many other URLs which I open in chrome,
there is no such problem when I am using Firefox on Ubuntu.
Upon discussing on Ubuntu users technical support I came to know it is some 
thing similar to 
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/828840
Some one can watch this thread
https://lists.ubuntu.com/archives/ubuntu-users/2011-September/251264.html
https://lists.ubuntu.com/archives/ubuntu-users/2011-September/251295.html

My OS Ubuntu 11.04 64 bit.
Problem in Chrome version on it 14.0.835.163

** Affects: chromium-browser (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: 11.04 chrome fonts hindi ubuntu

** Tags added: chrome fonts hindi

** Tags added: 11.04 ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/856736

Title:
  problem in rendering of hindi fonts on chrome natty (ubuntu 11.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/856736/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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 not have been sent by: u...@gmail.com  Learn more
 Report phishing 


 Where the address u...@gmail.com is some one who posted question to the list.
 Some one who is moderating this list please have a look.

 --
 --

 On 6 September 2011 17:07,Jared Norris  jrnor...@gmail.com wrote:

 Thanks for bringing this up, it has been reported to the Canonical
 staff running the mailing lists a couple of weeks ago. It is across
 all *@lists.ubuntu.com mailing lists and is being worked on. From what
 I've been told it's not going to be a quick fix either but at least
 they are aware of it and working towards a solution.

 --
 Regards,

 Jared Norris JP(Qual) BBehSc(Psych)
 https://wiki.ubuntu.com/JaredNorris


Some additional help from my side which you can forward to the
concerned staff.(Not sure if this exactly is the case hoping that this
might be the case)

here is the header at my end  http://pastebin.com/Q5Hut1pD
 this is a header which is from mail which came as  response

Gmail signed Jared Norris' mail with DKIM when he sent it; the mailing
list modified the headers (and maybe the body too); gmail got the
message from the mailing list, tried to verify the DKIM signature and
verification failed. Since it's modifying messages, the mailing list
software on ubuntu.com should be configured to strip DKIM signature
headers, and maybe to add their own signature.


--

Tapas

-- 
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: [users@httpd] Proxy´ing a remote site

2011-08-16 Thread Tapas Mishra
On Tue, Aug 16, 2011 at 12:53 PM, Søren Schimkat schim...@schimkat.dk wrote:
 Hi Guys

 I would like to make a remote website appear as existing on a local virtual
 host, but I'm having trouble with understandig how to do it. Virtual hosting
 i working just fine, but getting the remote site into the local space is
 just killing me.

 What I need to do is to have www.remote.com til appear as www.local.com. The
 remote site contains some fully qualified links and references to images
 like this: a href=http://www.remote.com/somestuf/page2.htm; title=Page
 2img src=http://www.remote.com/images/page2.gif;/a ..  that would
 need to be rewritten.

 How can I get this remote site into my local Virtual host, so the remtote
 site appears at running entirely on the local server?

 I've tried messing around with rewrite rules, proxypass directive ... but I
 just can't get i right. Could someone please help me out here?


I have once gone through this painful exercise and I have a very complex setup.
You can read a brief working tutorial which I have written
http://mightydreams.blogspot.com/2011/03/running-multiple-applications-in-lan.html
it might help.

If you can post
1) the vhost configurations,
2)  give link to your site
3) Give request response headers (only the related ones) as what
happens when you request what (with your config)
that may help any one on list to answer the question.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [virt-tools-list] virt-viewer via ssh -X

2011-07-25 Thread Tapas Mishra
On Mon, Jul 25, 2011 at 11:41 PM, Kirkpatrick, Jeffrey W
jeffrey.w.kirkpatr...@bankofamerica.com wrote:
 I am attempting to run virt-viewer via a CYGWIN X session on my Windows
 laptop, but am getting all sorts of errors when I do.



 From a CYGWIN session, I run startx, then ssh –X to the KVM Host server.
 From there I run the following command:



 [root@kvmhost1 ~]# virt-viewer rhel6guest



 And the virt-viewer window does display, however with no readable font on
 the task bar, just a bunch of rectangles. After a few minutes the
 virt-viewer screen dies, too.



 Below are the errors I get when running the virt-viewer command:





 Xlib:  extension RANDR missing on display localhost:10.0.



 (virt-viewer:18802): Gdk-WARNING **: Connection to display localhost:10.0
 appears to be untrusted. Pointer and keyboard grabs and inter-client
 communication may not work as expected.



 (virt-viewer:18802): Pango-WARNING **: failed to choose a font, expect ugly
 output. engine-type='PangoRenderFc', script='latin'



 Gdk-ERROR **: The program 'virt-viewer' received an X Window System error.

 This probably reflects a bug in the program.

 The error was 'BadWindow (invalid Window parameter)'.

   (Details: serial 523 error_code 3 request_code 41 minor_code 0)

   (Note to programmers: normally, X errors are reported asynchronously;

    that is, you will receive the error a while after causing it.

    To debug your program, run it with the --sync command line

    option to change this behavior. You can then get a meaningful

    backtrace from your debugger if you break on the gdk_x_error() function.)

 aborting...

 Aborted



 Anyone have any insights?

Did you set the DISPLAY variable on client machine?

--
http://mightydreams.blogspot.com
Tapas

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


Re: Need basics of booting process

2011-07-13 Thread Tapas Mishra
On Wed, Jul 13, 2011 at 1:11 AM, Pavan Kandepet pava...@gmail.com wrote:

 Check this one out:
 http://milindchoudhary.wordpress.com/2009/03/30/linux-boot-process/

 Another one:

 http://duartes.org/gustavo/blog/post/kernel-boot-process

 Hope this helps,
 Pavan



 On Tue, Jul 12, 2011 at 11:07 AM, Mulyadi Santosa 
 mulyadi.sant...@gmail.com wrote:

 On Tue, Jul 12, 2011 at 21:04, Niamathullah sharief newbie...@gmail.com
 wrote:
  Its getting confusion for me..I am telling what i understood
 
  BIOS---POST-MBR---Bootloader--Kernel.

 Roughly, yeah something like thatmind you, POST is a procedure
 that is part of BIOS initialization

 --
 regards,

 Mulyadi Santosa
 Freelance Linux trainer and consultant

 blog: the-hydra.blogspot.com
 training: mulyaditraining.blogspot.com


Can any one share the process of Xen bootstrapping.It is hypervisor which
starts.Any link etc.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


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 to which rest of the internal sites were not accessible.

Also I noticed that there were other files

/etc/init.d/apache2.1
/etc/init.d/apache2.2
/etc/init.d/apache2.3
/etc/init.d/apache2.4

which were different instances of same file but these files were also blank.
Right now I have fixed it by copying the apache2 init script from one
of the internal machines.
So things started working back on track.

How ever on the machines running on LAN where our apps are there was
no such issue.

Let me know what can be the cause for such a thing  or what do I need
to investigate.
The problem happened recently.Though I have fixed it I want to know
what could have been a
possible reason for such a thing to happen.


--

Tapas
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


/etc/hosts in debian resets itself on reboot

2011-06-16 Thread Tapas Mishra
I've been having a problem where when our vps provider decides to
restart the server (running Debian 5.0.8), the server fails to
remember changes to /etc/hosts. All I need is an database alias that
is used for the webapps on the server which points to 127.0.0.1
localhost.

I want it to look like this:

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


127.0.0.1 localhost.localdomain localhost webservice database
# Auto-generated hostname. Please do not remove this comment.
XXX.XX.XXX.XX xx.net.au  xx www.xxx.net.au xxx

Note the word database at the end of above 127.0.0.1

However whenever there is a reboot it resets itself to:

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


127.0.0.1 localhost.localdomain localhost webservice
# Auto-generated hostname. Please do not remove this comment.
XXX.XX.XXX.XX xx.net.au  xx www.xxx.net.au xxx

Note the word database missing after 127.0.0.1
without the database, and I have to manually change the file to get
things to work. This has been happening for awhile and has become a
nuisance, but I can't seem to find a way to get changes to stick.
Anyone know what to do?

-- 
--
http://mightydreams.blogspot.com
Tapas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTimYn4ZNpMBNCDDR1=vy2r8pyal...@mail.gmail.com



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 are not accessible from internet.
Every thing 2 months back before shutting down was running.This is a
reverse proxy setup and I do not see the requests reaching
the Dom0 itself in Apache log.
What can be primary reason for this and what should I follow to trace it?
--
Tapas
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: 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

 When we powered on the machine the virtual machines on top of it are
 running but they are not accessible from internet.
 Every thing 2 months back before shutting down was running.This is a
 reverse proxy setup and I do not see the requests reaching
 the Dom0 itself in Apache log.
 What can be primary reason for this and what should I follow to trace it?


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 in ps out put so now what can be done for this?
-- 
--
Tapas

-- 
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 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 in ps out put so now what can be done for this?

 As always, look into the log files or start the daemon in stand-alone mode,
 i.e. not forking and with a lot of debugging output.

 Logfiles: /var/log/apache/* /var/log/daemon.log /var/log/syslog ...

daemon.log
http://pastebin.com/w1XMhNHL
syslog
http://pastebin.com/RdN6bjUm
/var/log/apt/term.log.1.gz
http://pastebin.com/cGi1a3BM

/var/log/apt/term.log.2.gz
http://pastebin.com/riYcXDFY

/var/log/apt/term.log
http://pastebin.com/1YicC1Cv

/var/log/apt/history.log.2.gz
http://pastebin.com/hZFib5Xh

/var/log/apt/history.log.1.gz
http://pastebin.com/yE3XK222

/var/log/apt/history.log
http://pastebin.com/XgKekqsg


the entries from 30th march on both the links are the ones which some
one might be willing to look.
My problem is solved as I mentioned in my previous message that there
were 2 extra files with name apache present in
/etc/init.d directory and using one of them was what had worked,but I
want to investigate this issue further as why did I needed to do this
? What was the reason that another file apache2.2. was present in
/etc/init.d and using that had worked and not /etc/init.d/apache2 .
My guess is some update might have over written (but I am not having
any facts to support my argument)
let me know what do I investigate ?Or some one can point to some thing
by looking at any other log even I will post.
Because this over writing or creation of files did not happened in the
virtual machines which were also lucid servers on this machine where I
reported this problem.

--
Tapas

-- 
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 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 did not
saw any request being logged in /var/log/apache2 access.log or
error.log hence I had pasted the /var/log/apt/*

how ever there are 3-4 lines on this server in question which were
repetition of following

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626/pdo_mysql.so' -
/usr/lib/php5/20090626/pdo_mysql.so: cannot open shared object file:
No such file or directory in Unknown on line 0

I am not using any mysql on this machine so this line should not be
present or be a reason for the problem
(correct me if I am wrong)

I also checked the daemon.log
http://pastebin.com/c64Vhk4u
could not find any thing suspicious for creation of a different
version of /etc/init.d/apache to /etc/init.d/apache2.2

So I had pasted the apt logs.
--
Tapas

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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

/var/log/xen/xend-debug.log
http://pastebin.com/634FaJQP

/var/log/xen/xend.log
http://pastebin.com/y7wWs19K

/var/log/xen/qemu-dm-ubuntu.vm.log
 http://pastebin.com/cRNqUGRf

/var/log/xen/xen-hotplug.log is empty

xend.log also seems weird. It should show something like

[2011-03-10 14:58:12 7832] DEBUG (XendDomainInfo:1891)
XendDomainInfo.handleShutdownWatch
[2011-03-10 14:58:12 7832] DEBUG (DevController:139) Waiting for devices vif2.
[2011-03-10 14:58:12 7832] DEBUG (DevController:139) Waiting for devices vif.
[2011-03-10 14:58:12 7832] DEBUG (DevController:144) Waiting for 0.
[2011-03-10 14:58:12 7832] DEBUG (DevController:628)
hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
[2011-03-10 14:58:12 7832] DEBUG (DevController:628)
hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
[2011-03-10 14:58:12 7832] DEBUG (DevController:642) hotplugStatusCallback 1.
[2011-03-10 14:58:12 7832] DEBUG (DevController:139) Waiting for devices vscsi.
[2011-03-10 14:58:12 7832] DEBUG (DevController:139) Waiting for devices vbd.
[2011-03-10 14:58:12 7832] DEBUG (DevController:144) Waiting for 51712.
[2011-03-10 14:58:12 7832] DEBUG (DevController:628)
hotplugStatusCallback
/local/domain/0/backend/vbd/6/51712/hotplug-status.
[2011-03-10 14:58:13 7832] DEBUG (DevController:628)
hotplugStatusCallback
/local/domain/0/backend/vbd/6/51712/hotplug-status.
[2011-03-10 14:58:13 7832] DEBUG (DevController:642) hotplugStatusCallback 1.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for
devices ioports.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for devices irq.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for devices vkbd.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for devices vfb.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for
devices console.
[2011-03-10 14:58:13 7832] DEBUG (DevController:144) Waiting for 0.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for devices pci.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for devices tap2.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for devices tap.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for devices vusb.
[2011-03-10 14:58:13 7832] DEBUG (DevController:139) Waiting for devices vtpm.
[2011-03-10 14:58:13 7832] INFO (XendDomain:1206) Domain ubuntu (6) unpaused.


While  it simply shows

[2011-03-10 13:30:04 1705] DEBUG (DevController:628)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2011-03-10 13:31:44 1705] DEBUG (XendDomainInfo:3053)
XendDomainInfo.destroy: domid=1

Perhaps udevd is dead?


I am not able to understand how do I trouble shoot it.
Can any one help in debugging this part as what more should I look in?

-- 
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: 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 on it.Having digged
 through the logs which can be seen here

 What OS (and Version) do you want to install? I had once problems
 installing an Ubuntu 10.04 VM on a 8.04 Xen server.
I am trying Ubuntu 10.04 32 bit on Ubuntu 10.04 64 Desktop using
Xen-4.0.1 and pv-ops dom0 kernel from Jeremy's Tree the kernel version
2.6.32.27

-- 
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: [virt-tools-list] virt-manager 0.8.2 local ISO and PXE boot install option greyed out on 2.6.32.27 pv-ops Dom0 kernel

2011-03-08 Thread Tapas Mishra
On Tue, Mar 8, 2011 at 1:10 AM, Tapas Mishra mightydre...@gmail.com wrote:



 On Tue, Mar 8, 2011 at 1:03 AM, Cole Robinson crobi...@redhat.com wrote:

 On 03/07/2011 02:24 PM, Tapas Mishra wrote:
 
 
  On Tue, Mar 8, 2011 at 12:45 AM, Cole Robinson crobi...@redhat.com
  mailto:crobi...@redhat.com wrote:
 
  On 03/07/2011 02:06 PM, Tapas Mishra wrote:
  
  
   On Mon, Mar 7, 2011 at 11:07 PM, Cole Robinson 
 crobi...@redhat.com
  mailto:crobi...@redhat.com
   mailto:crobi...@redhat.com mailto:crobi...@redhat.com wrote:
  
   On 03/01/2011 03:54 AM, Tapas Mishra 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 iproute libcurl3
libcurl4-openssl-dev bzip2 module-init-tools transfig tgif
 texinfo
texlive-latex-base texlive-latex-recommended
 texlive-fonts-extra
texlive-fonts-recommended pciutils-dev mercurial
 build-essential make
gcc libc6-dev zlib1g-dev python python-dev python-twisted
libncurses5-dev patch libvncserver-dev libsdl-dev
 libjpeg62-dev iasl
libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev
 bison flex
   
apt-get install gcc-multilib
apt-get install xz-utils
   
make xen
make tools
make install-xen
make install-tools PYTHON_PREFIX_ARG=
   
I did not do make install-stubdom.
   
   
   
It is a Ubuntu Desktop 10.04 amd64 bit version.
Then as  mentioned here on this guide
   
  
 
 http://bderzhavets.wordpress.com/2010/03/26/virst-installvirt-manager-at-xen-4-0-rc8-2-6-32-10-pvops-dom0-on-top-ubuntu-karmic-koala-server/
(I did not follow the above guide strictly)
   
Commented out (xend-unix-server yes) in
 /etc/xen/xend-config.sxp ,
here is my xend-config.sxp
http://pastebin.com/M8CfrqBc
Then  exported variable  VIRSH_DEFAULT_CONNECT_URI=”xen:///”
in root’s .bashrc.
Then :-
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt
   
Now when I open virt-manager the option to install from
 Local ISO or
PXE are greyed out.
virt-manager version is 0.8.2
   
   
Let me know if there is any possibility of improvement so
 that I can
get the option of install from Local ISO here.
   
  
   Can you please provide the output of virsh --connect xen:///
  capabilities
  
  
   Here is the output
  
   virsh --connect xen:/// capabilities
  
   capabilities
  
 host
   cpu
 archx86_64/arch
 features
   pae/
  
 /features
   /cpu
   migration_features
 live/
 uri_transports
   uri_transportxenmigr/uri_transport
 /uri_transports
   /migration_features
 /host
  
 guest
   os_typexen/os_type
   arch name='x86_64'
 wordsize64/wordsize
 emulator/usr/lib64/xen/bin/qemu-dm/emulator
 machinexenpv/machine
 domain type='xen'
 /domain
   /arch
 /guest
  
 guest
   os_typexen/os_type
   arch name='i686'
 wordsize32/wordsize
 emulator/usr/lib64/xen/bin/qemu-dm/emulator
 machinexenpv/machine
 domain type='xen'
 /domain
   /arch
   features
 pae/
   /features
 /guest
  
   /capabilities
  
  
 
  I want to  know what is the meaning of above output and what you wanted
 to see
  in it.
  I want to know it for my own understanding so please give some url where
 you
  debug
  virt-manager or such things because what you asked I did not had a clue
 of it.
 
 
  
   My guess is that libvirt did not detect fullvirt xen
 capability, so
   virt-manager is only providing install options for PV guest
 (which
  is URL only
   on linux).
  
   The machine which  I am having is a non VT 64 bit machine and I am
 trying to
   create 32 bit guest on it
   since hardware is non VT so  I feel it will only have either a 32
 bit HVM
   guest or PV guest.
  
 
  If your machine does not have VT support, you will only be able to
 install a
  PV guest, and the only way to install a PV guest on linux is using a
 direct
  kernel/initrd boot (basically a URL install).
 
  Ohh ok.Thanks for clarifying that out

Re: [virt-tools-list] virt-manager 0.8.2 local ISO and PXE boot install option greyed out on 2.6.32.27 pv-ops Dom0 kernel

2011-03-07 Thread Tapas Mishra
On Tue, Mar 8, 2011 at 1:03 AM, Cole Robinson crobi...@redhat.com wrote:

 On 03/07/2011 02:24 PM, Tapas Mishra wrote:
 
 
  On Tue, Mar 8, 2011 at 12:45 AM, Cole Robinson crobi...@redhat.com
  mailto:crobi...@redhat.com wrote:
 
  On 03/07/2011 02:06 PM, Tapas Mishra wrote:
  
  
   On Mon, Mar 7, 2011 at 11:07 PM, Cole Robinson 
 crobi...@redhat.com
  mailto:crobi...@redhat.com
   mailto:crobi...@redhat.com mailto:crobi...@redhat.com wrote:
  
   On 03/01/2011 03:54 AM, Tapas Mishra 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 iproute libcurl3
libcurl4-openssl-dev bzip2 module-init-tools transfig tgif
 texinfo
texlive-latex-base texlive-latex-recommended
 texlive-fonts-extra
texlive-fonts-recommended pciutils-dev mercurial
 build-essential make
gcc libc6-dev zlib1g-dev python python-dev python-twisted
libncurses5-dev patch libvncserver-dev libsdl-dev
 libjpeg62-dev iasl
libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev
 bison flex
   
apt-get install gcc-multilib
apt-get install xz-utils
   
make xen
make tools
make install-xen
make install-tools PYTHON_PREFIX_ARG=
   
I did not do make install-stubdom.
   
   
   
It is a Ubuntu Desktop 10.04 amd64 bit version.
Then as  mentioned here on this guide
   
  
 
 http://bderzhavets.wordpress.com/2010/03/26/virst-installvirt-manager-at-xen-4-0-rc8-2-6-32-10-pvops-dom0-on-top-ubuntu-karmic-koala-server/
(I did not follow the above guide strictly)
   
Commented out (xend-unix-server yes) in
 /etc/xen/xend-config.sxp ,
here is my xend-config.sxp
http://pastebin.com/M8CfrqBc
Then  exported variable  VIRSH_DEFAULT_CONNECT_URI=”xen:///”
in root’s .bashrc.
Then :-
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt
   
Now when I open virt-manager the option to install from Local
 ISO or
PXE are greyed out.
virt-manager version is 0.8.2
   
   
Let me know if there is any possibility of improvement so
 that I can
get the option of install from Local ISO here.
   
  
   Can you please provide the output of virsh --connect xen:///
  capabilities
  
  
   Here is the output
  
   virsh --connect xen:/// capabilities
  
   capabilities
  
 host
   cpu
 archx86_64/arch
 features
   pae/
  
 /features
   /cpu
   migration_features
 live/
 uri_transports
   uri_transportxenmigr/uri_transport
 /uri_transports
   /migration_features
 /host
  
 guest
   os_typexen/os_type
   arch name='x86_64'
 wordsize64/wordsize
 emulator/usr/lib64/xen/bin/qemu-dm/emulator
 machinexenpv/machine
 domain type='xen'
 /domain
   /arch
 /guest
  
 guest
   os_typexen/os_type
   arch name='i686'
 wordsize32/wordsize
 emulator/usr/lib64/xen/bin/qemu-dm/emulator
 machinexenpv/machine
 domain type='xen'
 /domain
   /arch
   features
 pae/
   /features
 /guest
  
   /capabilities
  
  
 
  I want to  know what is the meaning of above output and what you wanted
 to see
  in it.
  I want to know it for my own understanding so please give some url where
 you
  debug
  virt-manager or such things because what you asked I did not had a clue
 of it.
 
 
  
   My guess is that libvirt did not detect fullvirt xen
 capability, so
   virt-manager is only providing install options for PV guest
 (which
  is URL only
   on linux).
  
   The machine which  I am having is a non VT 64 bit machine and I am
 trying to
   create 32 bit guest on it
   since hardware is non VT so  I feel it will only have either a 32
 bit HVM
   guest or PV guest.
  
 
  If your machine does not have VT support, you will only be able to
 install a
  PV guest, and the only way to install a PV guest on linux is using a
 direct
  kernel/initrd boot (basically a URL install).
 
  Ohh ok.Thanks for clarifying that out.
 
 
  If you have an install DVD, you can mount it and export it over http

[libvirt-users] guest creation problem on pv dom0 kernel

2011-03-06 Thread Tapas Mishra
I am having problem in guest creation for a pv-ops Dom0 kernel
I compiled every thing from scratch.(Xen and 2.6.32.27 pv-ops dom0 kernel)
on a Ubuntu Desktop 10.04 64 bit.
Following is my config file for 2.6.32.27
http://pastebin.com/AvSVgVQE
and the error  I am getting trying to create a guest  with virt-install is


ERRORunable to connect to 'localhost:8000': Connection refused
Traceback (most recent call last):
 File /usr/bin/virt-install, line 943, in module
   main()
 File /usr/bin/virt-install, line 715, in main
   conn = cli.getConnection(options.connect)
 File /usr/lib/pymodules/python2.6/virtinst/cli.py, line 162, in
getConnection
   conn = open_connection(connect)
 File /usr/lib/pymodules/python2.6/virtinst/cli.py, line 177, in
open_connection
   open_flags)
 File /usr/lib/python2.6/dist-packages/libvirt.py, line 111, in openAuth
   if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: unable to connect to 'localhost:8000': Connection refused


I am able to see xm info output but some how the guest creation is failing.

I could be wrong, but this doesn't appear to be a kernel problem. Especially
if xm info is working, so the xen service has started already.
Maybe my libvirt version doesn't know how to use the xen 4.0 utils or the
pvops kernel?


I  tried creating a guest by virt-manager also which when installed via
 apt-get install ubuntu-virt-server ubuntu-virt-mgmt
installs following
http://packages.ubuntu.com/lucid/http://packages.ubuntu.com/lucid/libvirt-bin
ubuntu-virt-server
http://packages.ubuntu.com/lucid/http://packages.ubuntu.com/lucid/libvirt-bin
ubuntu-virt-mgmt

Now when I open virt-manager the option to create guest by installing  from
a   ISO present on hard disk locally or even
PXE are greyed out.virt-manager version is 0.8.2


virsh version
Compiled against library: libvir 0.7.5
Using library: libvir 0.7.5
Using API: QEMU 0.7.5
Running hypervisor: QEMU 0.12.3

This above output is wrong as instead of QEMU it should show Xen.
I installed it via apt-get install libvirt-bin
when you do an apt-get install libvirt-bin python-libvirt then it installs
following
http://packages.ubuntu.com/lucid/libvirt-bin
http://packages.ubuntu.com/lucid/python-libvirt

It appears it is a problem with libvirt-bin and it does not know how to
create a pv-ops Dom0 guest.
The machine where I am trying all this is a non VT 64 bit machine and trying
to create 32 bit guests on it.
Can some one confirm me the same or tell what did I missed in above?
-- 
http://mightydreams.blogspot.com
___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Re: what is the kernel symbol for user space grant access driver

2011-03-04 Thread Tapas Mishra
On Fri, Mar 4, 2011 at 11:19 PM,  tbar...@interia.pl wrote:
 I'm not sure if I got your point, but I guess you want to make sure that code 
 activated by your configuration option is included into the kernel image.
 Let me illustrate that by example: PC parallel port.  (Device Drivers- 
 Parallel Port - PC-style hardware). This option is associated with 
 CONFIG_PARPORT_PC configuration option. This option includes the following 
 source file drivers/parport/parport_pc.c. Looking at this file you will see 
 that it exports parport_pc_probe_port method.
 We can run the following command to see if it was included into the kernel 
 image:
 nm vmlinux | grep  parport_pc_unregister_port
 and you will get:
 8187b5fe r __kstrtab_parport_pc_unregister_port
 81860080 r __ksymtab_parport_pc_unregister_port
 81283b58 T parport_pc_unregister_port

 when we turn off this option for the  command
 nm vmlinux | grep  parport_pc_unregister_port
 is null

See what you mentioned can be done only if one knows the option
parport_pc_unregister_port
or is aware if where it exists.
Just imagine if the person does not knows the file name or variable
name then how will he get it.
That is what I mentioned.I finally think that I got solution for it.
Just go the concerned option and press a question mark over it.
It will show you in background the variable associated with it.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


.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 alwayslastline

In my .screenrc what should I modify?
--
Regards
Tapas

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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

-- 
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: 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

 .bash_history will not  tell you what change was made exactly.
It will tell you which file was opened.But inside that file what was
modified it wont tell you.
I am looking not only to track the exact change which might be in a location
other than
etc also if some kind of script  or .so file or some thing similar was
added.
One way I understand is do an ls on / and store the result in a file and
then after the changes have been done where some files are delete again do
an ls on / (root) and compare the results to what files are added or
deleted.
-- 
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: 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 iproute libcurl3
 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo
 texlive-latex-base texlive-latex-recommended texlive-fonts-extra
 texlive-fonts-recommended pciutils-dev mercurial build-essential
 make gcc libc6-dev zlib1g-dev python python-dev python-twisted
 libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl
 libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev bison flex

 apt-get install gcc-multilib
 apt-get install xz-utils

 make xen
 make tools
 make install-xen
 make install-tools PYTHON_PREFIX_ARG=

 I did not do  make install-stubdom.



 It is a Ubuntu Desktop 10.04 amd64 bit version.
 Then as  mentioned here on this guide
 http://bderzhavets.wordpress.com/2010/03/26/virst-installvirt-manager-at-xen-4-0-rc8-2-6-32-10-pvops-dom0-on-top-ubuntu-karmic-koala-server/
 (I did not follow the above guide strictly)

 Commented out (xend-unix-server yes) in  /etc/xen/xend-config.sxp  ,
 here is my xend-config.sxp
 http://pastebin.com/M8CfrqBc
 Then  exported variable   VIRSH_DEFAULT_CONNECT_URI=”xen:///”
 in root’s .bashrc.
 Then :-
 # apt-get install ubuntu-virt-server ubuntu-virt-mgmt

 Now when I open virt-manager the option to install from Local ISO or
 PXE are greyed out.
 virt-manager version is 0.8.2


 Let me know if there is any possibility of improvement so that I can
 get the option of install from Local ISO here.
 Even in case of http install from local machine things did not worked.
 Let me know what log you people would like to see to understand this
 problem as I right now do not have any clue for this problem for
 virt-manager.


Tried the command line also

virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9 -c
/home/tapas/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --debug

Tue, 01 Mar 2011 23:19:51 DEBUG Launched with command line:
/usr/bin/virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9
-c /home/tapas/Documents/ISO's/ubuntu-10.04.1-desktop-i386.iso --debug
Tue, 01 Mar 2011 23:19:51 DEBUG Requesting libvirt URI default
Tue, 01 Mar 2011 23:19:51 DEBUG Received libvirt URI xen:///
Tue, 01 Mar 2011 23:19:51 DEBUG Requesting virt method 'xen', hv
type 'default'.
Tue, 01 Mar 2011 23:19:51 DEBUG Received virt method 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUG Hypervisor name is 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUG Could not open
/etc/sysconfig/keyboard [Errno 2] No such file or directory:
'/etc/sysconfig/keyboard'
Tue, 01 Mar 2011 23:19:51 DEBUG Could not open
/etc/X11/xorg.conf: [Errno 2] No such file or directory:
'/etc/X11/xorg.conf'
Tue, 01 Mar 2011 23:19:51 ERROR Paravirtualized guests cannot
install off cdrom media.


I am already running a Ubuntu server cloud on a VT machine using KVM.
My purpose of this experiment is to create a cloud  on a non VT
hardware so using Xen.
But the above errors are getting a bit difficult to trace.
Let me know if I any one has some suggestions here.As why can I not
create PV guests
from ISO of 32 bit lucid on a host which is also lucid 64 bit.
To have a 64 bit guest on 64 bit host VT is must but here I am trying
to create 32 bit guest on 64 bit host and that too
a PV guest.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


what is the kernel symbol for user space grant access driver

2011-03-02 Thread Tapas Mishra
Hi,
I want to know with respect to an image here
http://bderzhavets.files.wordpress.com/2010/04/pv-2-6-32-12.png
I have already compiled a kernel
it mentions to enable  user space grant access driver
While compiling I did not notice it how can I now verify post compile
some symbol CONFIG_*
which can tell me if I included it?
How can I find out can such a thing be looked some where in .config file?

--

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: what is the kernel symbol for user space grant access driver

2011-03-02 Thread Tapas Mishra
On Wed, Mar 2, 2011 at 8:35 PM, Daniel Baluta daniel.bal...@gmail.com wrote:
 Hello,

 I want to know with respect to an image here
 http://bderzhavets.files.wordpress.com/2010/04/pv-2-6-32-12.png
 I have already compiled a kernel
 it mentions to enable  user space grant access driver
 While compiling I did not notice it how can I now verify post compile
 some symbol CONFIG_*
 which can tell me if I included it?
 How can I find out can such a thing be looked some where in .config file?

 Compile the kernel with and without that option enabled
 than diff the .configs.

 thanks,
 Daniel.



there is an easy way open make menuconfig go to that  option and press
? it will tell symbol info
-- 
http://mightydreams.blogspot.com

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


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 texinfo
texlive-latex-base texlive-latex-recommended texlive-fonts-extra
texlive-fonts-recommended pciutils-dev mercurial build-essential
make gcc libc6-dev zlib1g-dev python python-dev python-twisted
libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl
libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev bison flex

apt-get install gcc-multilib
apt-get install xz-utils

make xen
make tools
make install-xen
make install-tools PYTHON_PREFIX_ARG=

I did not do  make install-stubdom.



It is a Ubuntu Desktop 10.04 amd64 bit version.
Then as  mentioned here on this guide
http://bderzhavets.wordpress.com/2010/03/26/virst-installvirt-manager-at-xen-4-0-rc8-2-6-32-10-pvops-dom0-on-top-ubuntu-karmic-koala-server/
(I did not follow the above guide strictly)

Commented out (xend-unix-server yes) in  /etc/xen/xend-config.sxp  ,
here is my xend-config.sxp
http://pastebin.com/M8CfrqBc
Then  exported variable   VIRSH_DEFAULT_CONNECT_URI=”xen:///”
in root’s .bashrc.
Then :-
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt

Now when I open virt-manager the option to install from Local ISO or
PXE are greyed out.
virt-manager version is 0.8.2


Let me know if there is any possibility of improvement so that I can
get the option of install from Local ISO here.
Even in case of http install from local machine things did not worked.
Let me know what log you people would like to see to understand this
problem as I right now do not have any clue for this problem for
virt-manager.


-- 
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: Debian 6 uninstallable?

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 texinfo
texlive-latex-base texlive-latex-recommended texlive-fonts-extra
texlive-fonts-recommended pciutils-dev mercurial build-essential make
gcc libc6-dev zlib1g-dev python python-dev python-twisted
libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl
libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev bison flex

apt-get install gcc-multilib
apt-get install xz-utils

make xen
make tools
make install-xen
make install-tools PYTHON_PREFIX_ARG=

I did not do make install-stubdom.




It is a Ubuntu Desktop 10.04 amd64 bit version.
Then as  mentioned here on this guide
http://bderzhavets.wordpress.com/2010/03/26/virst-installvirt-manager-at-xen-4-0-rc8-2-6-32-10-pvops-dom0-on-top-ubuntu-karmic-koala-server/
(I did not follow the above guide strictly)

Commented out (xend-unix-server yes) in /etc/xen/xend-config.sxp ,
here is my xend-config.sxp
http://pastebin.com/M8CfrqBc
Then  exported variable  VIRSH_DEFAULT_CONNECT_URI=”xen:///”
in root’s .bashrc.
Then :-
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt

Now when I open virt-manager the option to install from Local ISO or
PXE are greyed out.
virt-manager version is 0.8.2




virsh version shows following


Compiled against library: libvir 0.7.5
Using library: libvir 0.7.5
Using API: QEMU 0.7.5
Running hypervisor: QEMU 0.12.3

Can above output be some kind of source to several existing problems?

Though I am able to boot to pv-ops Dom0 kernel and xm info output confirms that.
xm info
host   : tapas
release: 2.6.32.27
version: #1 SMP Tue Mar 1 12:52:19 IST 2011
machine: x86_64
nr_cpus: 2
nr_nodes   : 1
cores_per_socket   : 2
threads_per_core   : 1
cpu_mhz: 2100
hw_caps:
bfebfbff:20100800::0940:0408e39d::0001:
virt_caps  :
total_memory   : 3036
free_memory: 128
node_to_cpu: node0:0-1
node_to_memory : node0:128
node_to_dma32_mem  : node0:128
max_node_id: 0
xen_major  : 4
xen_minor  : 0
xen_extra  : .1
xen_caps   : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler  : credit
xen_pagesize   : 4096
platform_params: virt_start=0x8000
xen_changeset  : unavailable
xen_commandline: dummy=dummy
cc_compiler: gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
cc_compile_by  : root
cc_compile_domain  :
cc_compile_date: Tue Mar  1 10:51:33 IST 2011
xend_config_format : 4



 xm list
NameID   Mem VCPUs  State   Time(s)
Domain-0 0  2870 2 r- 36.9




virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9 -c
/home/tapas/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --debug

Tue, 01 Mar 2011 23:19:51 DEBUGLaunched with command line:
/usr/bin/virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9
-c /home/tapas/Documents/ISO's/ubuntu-10.04.1-desktop-i386.iso --debug
Tue, 01 Mar 2011 23:19:51 DEBUGRequesting libvirt URI default
Tue, 01 Mar 2011 23:19:51 DEBUGReceived libvirt URI xen:///
Tue, 01 Mar 2011 23:19:51 DEBUGRequesting virt method 'xen', hv
type 'default'.
Tue, 01 Mar 2011 23:19:51 DEBUGReceived virt method 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUGHypervisor name is 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUGCould not open
/etc/sysconfig/keyboard [Errno 2] No such file or directory:
'/etc/sysconfig/keyboard'
Tue, 01 Mar 2011 23:19:51 DEBUGCould not open
/etc/X11/xorg.conf: [Errno 2] No such file or directory:
'/etc/X11/xorg.conf'
Tue, 01 Mar 2011 23:19:51 ERRORParavirtualized guests cannot
install off cdrom media.

So this is the error this time I got.Since my machine is non VT 64 bit
so I feel I will be able to run only 32 bit hvm or pvm guests.I am
trying 32 bit Ubuntu 10.04 pv guest.
Let me know if you think there any thing is wrong.
I have in roots .bashrc as you said
VIRSH_DEFAULT_CONNECT_URI=”xen:///”
also the line in xend-config.sxp
is uncommented.

but after all this creation of a PV DomU (OS Ubuntu 10.04 32 bit) on a
64 bit Ubuntu 10.04 on a non VT 64 bit machine is failing.
Let me know if some one has any clue about it?
I am trying it on pv-ops Dom0 kernel 2.6.32.27


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTi=QYSo2pV7EiqOHMw2Ab10CHtMH=i8d5crsz...@mail.gmail.com



Re: Debian 6 uninstallable?

2011-03-01 Thread Tapas Mishra
Sorry I mixed the thread.It was a type error.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTimMA2kgnbDT=q03m85dwvbaxf69p8b9m7wyn...@mail.gmail.com



creating a pv guest Ubuntu on a Ubuntu desktop is failing on pv-ops Dom0 kernel

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 texinfo
texlive-latex-base texlive-latex-recommended texlive-fonts-extra
texlive-fonts-recommended pciutils-dev mercurial build-essential make
gcc libc6-dev zlib1g-dev python python-dev python-twisted
libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl
libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev bison flex

apt-get install gcc-multilib
apt-get install xz-utils

make xen
make tools
make install-xen
make install-tools PYTHON_PREFIX_ARG=

I did not do make install-stubdom.




It is a Ubuntu Desktop 10.04 amd64 bit version.
Then as  mentioned here on this guide
http://bderzhavets.wordpress.com/2010/03/26/virst-installvirt-manager-at-xen-4-0-rc8-2-6-32-10-pvops-dom0-on-top-ubuntu-karmic-koala-server/
(I did not follow the above guide strictly)

Commented out (xend-unix-server yes) in /etc/xen/xend-config.sxp ,
here is my xend-config.sxp
http://pastebin.com/M8CfrqBc
Then  exported variable  VIRSH_DEFAULT_CONNECT_URI=”xen:///”
in root’s .bashrc.
Then :-
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt

Now when I open virt-manager the option to install from Local ISO or
PXE are greyed out.
virt-manager version is 0.8.2




virsh version shows following


Compiled against library: libvir 0.7.5
Using library: libvir 0.7.5
Using API: QEMU 0.7.5
Running hypervisor: QEMU 0.12.3

Can above output be some kind of source to several existing problems?

Though I am able to boot to pv-ops Dom0 kernel and xm info output confirms that.
xm info
host                   : tapas
release                : 2.6.32.27
version                : #1 SMP Tue Mar 1 12:52:19 IST 2011
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2100
hw_caps                :
bfebfbff:20100800::0940:0408e39d::0001:
virt_caps              :
total_memory           : 3036
free_memory            : 128
node_to_cpu            : node0:0-1
node_to_memory         : node0:128
node_to_dma32_mem      : node0:128
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0x8000
xen_changeset          : unavailable
xen_commandline        : dummy=dummy
cc_compiler            : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Mar  1 10:51:33 IST 2011
xend_config_format     : 4



 xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2870     2     r-     36.9




virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9 -c
/home/tapas/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --debug

Tue, 01 Mar 2011 23:19:51 DEBUG    Launched with command line:
/usr/bin/virt-install -n LucidPVG -r 512 --paravirt --vnc -f /dev/sda9
-c /home/tapas/Documents/ISO's/ubuntu-10.04.1-desktop-i386.iso --debug
Tue, 01 Mar 2011 23:19:51 DEBUG    Requesting libvirt URI default
Tue, 01 Mar 2011 23:19:51 DEBUG    Received libvirt URI xen:///
Tue, 01 Mar 2011 23:19:51 DEBUG    Requesting virt method 'xen', hv
type 'default'.
Tue, 01 Mar 2011 23:19:51 DEBUG    Received virt method 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUG    Hypervisor name is 'xen'
Tue, 01 Mar 2011 23:19:51 DEBUG    Could not open
/etc/sysconfig/keyboard [Errno 2] No such file or directory:
'/etc/sysconfig/keyboard'
Tue, 01 Mar 2011 23:19:51 DEBUG    Could not open
/etc/X11/xorg.conf: [Errno 2] No such file or directory:
'/etc/X11/xorg.conf'
Tue, 01 Mar 2011 23:19:51 ERROR    Paravirtualized guests cannot
install off cdrom media.

So this is the error this time I got.Since my machine is non VT 64 bit
so I feel I will be able to run only 32 bit hvm or pvm guests.I am
trying 32 bit Ubuntu 10.04 pv guest.
Let me know if you think there any thing is wrong.
I have in roots .bashrc as you said
VIRSH_DEFAULT_CONNECT_URI=”xen:///”
also the line in xend-config.sxp
is uncommented.

but after all this creation of a PV DomU (OS Ubuntu 10.04 32 bit) on a
64 bit Ubuntu 10.04 on a non VT 64 bit machine is failing.
Let me know if some one has any clue about it?
I am trying it on pv-ops Dom0 kernel 2.6.32.27



-- 
http://mightydreams.blogspot.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTi=j=it2s_uzpd+4icf2z4rj8sooii26p-ndw...@mail.gmail.com



Re: make with argument 0 is failing some where

2011-02-28 Thread Tapas Mishra
On Sat, Sep 18, 2010 at 6:06 PM, Tapas Mishra mightydre...@gmail.com wrote:
 On Sun, Sep 12, 2010 at 10:56 AM, Tapas Mishra mightydre...@gmail.com wrote:


 For the sake of simplicity I am rewriting all the steps that I did

 Step 1) copied the config from /boot to $HOME/linux-2.6
 Step 2) yes ' ' | make O=$HOME/btc oldconfig
 Step 3) make O=$HOME/btc
 got errors

 make O=$HOME/btc
 Ok finally I have been able to fix this.
 To do so what I was trying
 I executed make mrproper at two places
 one is $HOME/linux-2.6
 and another was $HOME/btc
 now I was in
 Step 1) cd  $HOME/linux-2.6
 Step 2) make mrproper
 Step 3) cd $HOME/btc
 Step 4) make $O=$HOME/btc mrproper
 Step 5) cd $HOME/linux-2.6
 Step 6) copied the config from /boot to $HOME/linux-2.6
 Step 7) yes ' ' | make O=$HOME/btc oldconfig
 upto here is all Ok.
 Next step is
 Step 8) make mrproper
 Step 9) cd $HOME/btc
 Step 10) make O=$HOME/btc

 and then make with all modules install and rest of the stuff had worked.
 --
Though It is an old thread but I wanted to update today I needed it
because of a similar error.
In above step 8 and step 6 are wrong.When you do a make mrproper to
which ever directory you basically are
deleting the config generated or you saved.
That means if you did following
1) Download the kernel and untar
2) cp /boot/config-whatever /to/directory/which/will/be/argument/of/O
then
3) make O=$HOME/btc mrproper
then you deleted the config in step 2.
Also for  make O=$HOME/btc menuconfig to work
.config should be in $HOME/btc and not in $HOME/linux-2.6
as I mentioned above in step6.That was a mistake.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


interrupting the compile process and restart from where I stopped

2011-02-28 Thread Tapas Mishra
Hi,
is there a way I can interrupt the ongoing kernel compile process and
power off my machine and when I can get back to it
then restart from where I had stopped the kernel compilation which I
had interrupted.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


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, Dan Sheffner dsheff...@gmail.com 
   wrote:
   Like Michael said I would accomplish this with two users. Just off the 
   top
   of my head I would do:
   No not two users it has to be same user who has to be restricted based
   on IP from which he logs in.
 
  Normally I would say it is impossible, but I do not know everything
  about PAM, jails and so on. The file system persmissions are not based
  on the IP a user came from, so you need to tweak a lot! If I really
  had to do such things I would write a shell script that looks up from
  where the user came and setup the enviromnet accordingly and make this
  shell script the login shell. But this is lot of work and someone has
  to be very carefull...

 Right - giving details to match those in the requirements :), two ways
 you could do this include (1) creating a container for the readonly
 user, give it the second IP (or fwd the second IP to it), and make
 /home/$user a recursive readonly bind mount of the real home.  And
 (2) you could presumably use an apparmor rule.  First thought is
 write your own trivial pam module to set the user's apparmor context
 based on login.

 I've done something like this before, jailing into a given root based on a
 login name.  There was really only 1 user, but 2 entries in /etc/passwd, so
 you could get in as 'user-jailed' or 'user'.  or some such.  The key was
 that the user had their shell in /etc/passwd as '/bin/my-jail-user' or
 something like that.  That was a program that decided to jail or not and
 then executed the appropriate real shell.

 I think that you could probably do something like this.  The only thing
 I'm not really sure how to do with more digging is to find the source IP
 address of the ssh connection.  I'm sure it can be done.

Thanks for this information.

-- 
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: 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 reasoning behind using
 the same user account.

It is a requirement of one of my projects.
-- 
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: restricting ssh login based on IP

2011-02-26 Thread Tapas Mishra
On Sat, Feb 26, 2011 at 1:39 PM, Dan Sheffner dsheff...@gmail.com wrote:
 Like Michael said I would accomplish this with two users.  Just off the top
 of my head I would do:
No not two users it has to be same user who has to be restricted based
on IP from which he logs in.
I need some more information on PAM approach if some one can give
about it which direction should I be heading for that approach.
 user 1) has full read/write access to /home/user1
 user 2) has read only access to /home/user2

 schedule cron to rsync from /home/user1 to /home/user2 and make everything
 read only 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 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 to only allow for viewing the content in
  the home directory while giving 192.168.1.1 full access?

 Why do you have to use the same user? Viewing the contents of a
 directory has nothing to do with SSH and you need to use some other
 methods. So using different users to login would be the easiest to
 accomplish this. Then you need only to change the permissions on the
 filesystem. And if you are using POSIX ACLs you have more options than
 you will ever need for this situation. Keep it simple is the best way
 for system administration.


 
 
  I got a suggestion from some one
 
  Approach 1)
  Based on the ip you change the shell. If it's just for read only a
  jail would be fine.
 
  but how do I change shell based on IP?
 
  Approach 2)
 
  to have two ssh instances. Let's say port 22 and port 24. Port 22 is
  for read only, while port 24 is for full access
 
  so how can it be possible to give port 22 only read only access to SSH
 
 

 Maybe you can tweak PAM and do some shell scripting to achieve both
 aproaches. But why? If you do it not right you might break your
 system. I really do not know what this could be good for... Using 2
 users is the easiest way.

 Bye,

 Michael








-- 
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


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 linux-2.6-pvops.git linux-2.6-pvops.git.tmp
+ mkdir linux-2.6-pvops.git.tmp
+ rmdir linux-2.6-pvops.git.tmp
+ git clone -o xen -n
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
linux-2.6-pvops.git.tmp
Initialized empty Git repository in
/usr/src/xen-4.0.1/linux-2.6-pvops.git.tmp/.git/
remote: Counting objects: 1941611, done.
remote: Compressing objects: 100% (319127/319127), done.
remote: Total 1941611 (delta 1614302), reused 1930655 (delta 1604595)
**Receiving objects: 20% (1941611/1941611), 98.17 MiB | 87 KiB/s, done.**


and if you notice the last line it is still consuming my bandwidth
pulling things from internet.How can I stop this step each time and
use existing git repository?

-- 
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: 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 world`

 Xen basically pulls things from git repository

    + rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp
    + mkdir linux-2.6-pvops.git.tmp
    + rmdir linux-2.6-pvops.git.tmp
    + git clone -o xen -n
 git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
 linux-2.6-pvops.git.tmp
    Initialized empty Git repository in
 /usr/src/xen-4.0.1/linux-2.6-pvops.git.tmp/.git/
    remote: Counting objects: 1941611, done.
    remote: Compressing objects: 100% (319127/319127), done.
 remote: Total 1941611 (delta 1614302), reused 1930655 (delta 1604595)
 **Receiving objects: 20% (1941611/1941611), 98.17 MiB | 87 KiB/s, done.**


 and if you notice the last line it is still consuming my bandwidth
 pulling things from internet.How can I stop this step each time and
 use existing git repository?

 --
When I searched an answer to this question I came across a link
http://lists.xensource.com/archives/.../msg00476.html
http://web.archiveorange.com/archive...CfIzdpcmkWRz5w

but I am not able to clearly understand where Boris mentions

Quote:
make xen etc.
Then clone JF's Git Repo, checkout git branch as you want and build
corresponding
kernel.That's all i always do.
Which kernel is he referring to is it Dom0?
--

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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 mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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 to only allow for viewing the content in
the home directory while giving 192.168.1.1 full access?


I got a suggestion from some one

Approach 1)
 Based on the ip you change the shell. If it's just for read only a
jail would be fine.

but how do I change shell based on IP?

Approach 2)

 to have two ssh instances. Let's say port 22 and port 24. Port 22 is
for read only, while port 24 is for full access

so how can it be possible to give port 22 only read only access to SSH


-- 
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: 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 most
 cases we'll have multiple apps for a particular subdomain so they have
 distinctive names.
So in that case those apps must also be generating URL at context root
/app1 and relative to it.
If 2 of your applications start generating URIs which begin with / and
not /app1 or /app2
then I think even you will need a different ServerName or DNS entry so
that send that request which forwards the root of site in ProxyPass to
internal machine.
I am very sure this situation depends upon how the application is
generating URLs.

-- 
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


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
Proxy *
Order deny,allow
Allow from all
/Proxy
ProxyPreserveHost On

ProxyPass / ajp://192.168.1.19:8009/
ProxyPassReverse / ajp://192.168.1.19:8009/


/VirtualHost




How ever I have an application running on it
http://social.openitup.in/olat
what I want to do is when some one opens
http://social.openitup.in
then rather than seeing Tomcat6 home page from
/var/lib/tomcat6/webapps/ROOT/index.html
the person is  redirected to olat application which is in
/var/lib/tomcat6/webapps/olat
how can this be achived?

The machine where OLAT is and where the above Reverse Proxy
configuration is are physically different machines.

-- 
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: 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
 is

 VirtualHost *:80

         ServerName social.openitup.in
         ServerAdmin webmaster@localhost

         ProxyRequests off
         Proxy *
         Order deny,allow
         Allow from all
         /Proxy
         ProxyPreserveHost On

         ProxyPass / ajp://192.168.1.19:8009/
         ProxyPassReverse / ajp://192.168.1.19:8009/


 /VirtualHost




 How ever I have an application running on it
 http://social.openitup.in/olat
 what I want to do is when some one opens
 http://social.openitup.in
 then rather than seeing Tomcat6 home page from
 /var/lib/tomcat6/webapps/ROOT/index.html
 the person is  redirected to olat application which is in
 /var/lib/tomcat6/webapps/olat
 how can this be achived?

 The machine where OLAT is and where the above Reverse Proxy
 configuration is are physically different machines.

 Hi Tapas,

 We're using straight http, rather than ajp for proxying to our tomcat
 servers (though I'm hoping to transition at some stage),
Ok so the rule which you mentioned
   What we tend to do is use a rewrite:

 RewriteEngine On
 RewriteRule ^/$ /olat/ [redirect,last]

 The have our proxypass lines:

 ProxyPass /olat ajp://192.168.1.19:8009/olat
 ProxyPassReverse /olat ajp://192.168.1.19:8009/olat

you use RewriteRule in combination with ProxyPass.
I just want to know this for sake of understanding.
I solved the current problem by renaming the application in webapps
/var/lib/tomcat6/webapp/olat to
/var/lib/tomcat6/webapp/ROOT
and it worked you can check http://olat.openitup.in
let me know if you use ReWriteRule in combination with ProxyPass directive.

-- 
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: 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 in
 tomcat6 I should put it in webapps folder
 I did a find then find / -name 'tomcat*'
 but I do not see any folder webapps here

 ...

 So does apt-get install of tomcat not have webapps directory and here
 the method of deploying applications different?

 No! For my Tomcat6 the webapp dir is in /var/lib/tomcat6/webapps/ If
 someone puts a .war file in it, it gets deployed. If it is not there
 just create it.

 Michael


Thanks Michael for this message.

-- 
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: [virt-tools-list] recovery of virtual machine

2011-02-19 Thread Tapas Mishra
On Sun, Feb 20, 2011 at 11:11 AM, Richard W.M. Jones rjo...@redhat.com wrote:
 On Wed, Feb 09, 2011 at 06:46:05PM +0530, Tapas Mishra wrote:
 I want to know if for some reason the host OS has crashed and I need
 to restore in such a situations how do I recover the Virtual Machines.
 All these VMs are on separate LVM partition on same hard disk.

 Not totally clear if you need to recover the host configuration or the
 VMs themselves.
Just host configuration recovery did the trick.
 Cole answered about the former.  For the latter try
 virt-rescue (http://libguestfs.org/virt-rescue.1.html).

 Rich.

 --
 Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
 virt-df lists disk usage of guests without needing to install any
 software inside the virtual machine.  Supports Linux and Windows.
 http://et.redhat.com/~rjones/virt-df/




-- 
http://mightydreams.blogspot.com

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


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 I see the IP of machine which is working as Reverse
Proxy server for all such requests.
What mistake did I do above.

--

-- 
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: 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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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  |
+--+--+
| sakai| CREATE DATABASE `sakai` /*!40100 DEFAULT CHARACTER SET latin1 */ |
+--+--+
1 row in set (0.00 sec)

Now section 7.0 of following page
https://confluence.sakaiproject.org/display/DOC/Sakai+2.7
says I should be having
CHARACTER SET utf8 */ |

for mysql on sakai to run.
So how to achieve it.
This is mysql 5.1+ on lucid 64 bit.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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 am trying to start each time at boot.
After writing the script I have done update-rc.d defaults
and I checked from command line
/etc/init.d/tomcatstart
/etc/init.d/tomcat stop

does work
where myscript above refers to the script below

but the same does not work when I reboot the system.

#!/bin/bash
#
# tomcat
#
# chkconfig:
# description: Start up the Tomcat servlet engine.

# Source function library.
. /lib/lsb/init-functions

RETVAL=$?
CATALINA_HOME=/opt/apache-tomcat-5.5.31

case $1 in
start)
if [ -f $CATALINA_HOME/bin/startup.sh ];
then
echo $Starting Tomcat
/opt/apache-tomcat-5.5.31/bin/startup.sh

fi
;;
stop)
if [ -f $CATALINA_HOME/bin/shutdown.sh ];
then
echo $Stopping Tomcat
/opt/apache-tomcat-5.5.31/bin/shutdown.sh
fi
;;
*)
echo $Usage: $0 {start|stop}
exit 1
;;
esac
exit $RETVAL


any pointers?


-- 
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


[Bug 583122] Re: firefox occasionally highlights contents of form fields while typing thereby overwriting previously entered keystrokes

2011-02-16 Thread Tapas Mishra
I agree with you Kevin I also observed this happens when you use Tab to
switch fields.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/583122

Title:
  firefox occasionally highlights contents of form fields while typing
  thereby overwriting previously entered keystrokes

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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 ultimately brought everything down.

 Now I have to basically format the host OS.My cause of concern are the
 virtual machines which were running on it when the environment was
 stable.Which were in separate LVM partitions.

 Some thing like

 /dev/virtualization/vm1
 /dev/virtualization/vm2
 /dev/virtualization/vm3
 /dev/virtualization/vm4
 If some one has experienced recovery of this sort in past let me know
 what did they do to get things back. All my Virtual Machines were on
 separate partition and in same VolumeGroup this volume group was on
 Host OS. Will formatting of HOST os clear the Virtual Machines also in
 my situation or just be re installing the host and importing the
 Virtual Machines via a tool such as virt-manager I will be able to get
 them back.

 It depends, if the VG is stored on the same disk and you reinstall you might
 indeed destroy the VMs. Please don't proceed until you're sure of what
 you're doing


Well I can not escape from restoring the production environment Ahmed.

How ever by the time of writing this message I have restored every thing.
I am sharing it here might help some one who are into similar mess.

When you insert the Ubuntu CD it will ask you for partitioning schemes
chose the guided partitioning scheme  what you have to make sure is
not to format the volume group on which all the virtual machines
reside.

While creating these guests their locations were
/etc/libvirt/qemu/*.xml

To restore the Virtual Machine go to the /etc/libvirt/ directory of
USB backup and which ever file  you find missing on the fresh install
copy it after you have copied them

virsh define /path/to/vm.xml to define that VM in new environment (you
will see the VM might run without this but it is
advisable to do above thing)
My problem was a bit more difficult as the back I had was even buggy
so the restoration did not  went very smooth.When  you are restoring
the VMs then I noticed  some how permissions andsoftlinks had
broken.

Once you have finished copying the virtual machines permissions of
xml files in
/etc/libvirt/qemu/
should be changed to 644 any other file if you see has permission 777
needs to be 644 but the
same does not applies to directories.

When this was not there I noticed surprisingly the ssh connections to
the VMs after copying the   respective XML files back were dropping.By
the time I wrote down this it was confirmed the backup I had
permissions problem.

Files  in /etc/libvirt/qemu/*.xml on backup had permissions 777

where in the correct permissions should be 700 for these XMLs.
I want to mention 2 links if some comes across this thread should help them

https://www.redhat.com/archives/virt-tools-list/2011-February/msg00074.html

by changing the above xml files permission I observed our SSH
connection drop problem also got resolved.
How ever due to a DNS resolution failure the DomU social was failing
to restart many teams after each reboot of Dom0.So I had to manually
login and start it.
By  now I have successfully restored all the environment.



https://www.redhat.com/archives/virt-tools-list/2011-February/msg00060.html

-- 
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: 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 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 which were running on it when the environment was
 stable.Which were in separate LVM partitions.

 Some thing like

 /dev/virtualization/vm1
 /dev/virtualization/vm2
 /dev/virtualization/vm3
 /dev/virtualization/vm4
 If some one has experienced recovery of this sort in past let me know
 what did they do to get things back. All my Virtual Machines were on
 separate partition and in same VolumeGroup this volume group was on
 Host OS. Will formatting of HOST os clear the Virtual Machines also in
 my situation or just be re installing the host and importing the
 Virtual Machines via a tool such as virt-manager I will be able to get
 them back.

 It depends, if the VG is stored on the same disk and you reinstall you might
 indeed destroy the VMs. Please don't proceed until you're sure of what
 you're doing


 Well I can not escape from restoring the production environment Ahmed.

 How ever by the time of writing this message I have restored every thing.
 I am sharing it here might help some one who are into similar mess.

 When you insert the Ubuntu CD it will ask you for partitioning schemes
 chose the guided partitioning scheme  what you have to make sure is
 not to format the volume group on which all the virtual machines
 reside.

 While creating these guests their locations were
 /etc/libvirt/qemu/*.xml

 To restore the Virtual Machine go to the /etc/libvirt/ directory of
 USB backup and which ever file  you find missing on the fresh install
 copy it after you have copied them

 virsh define /path/to/vm.xml to define that VM in new environment (you
 will see the VM might run without this but it is
 advisable to do above thing)
 My problem was a bit more difficult as the back I had was even buggy
 so the restoration did not      went very smooth.When  you are restoring
 the VMs then I noticed  some how permissions and        softlinks had
 broken.

        Once you have finished copying the virtual machines permissions of
 xml files in
        /etc/libvirt/qemu/
        should be changed to 644 any other file if you see has permission 777
 needs to be 644 but the
        same does not applies to directories.
Sorry here the permissions need to be 700 and  644 as I previously told.

-- 
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: [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 install
 should work on most common x86 servers, there's a list of certified ones
 at http://www.ubuntu.com/certification/search/?search=server
while accessing above 12 feb 10:22 PM I got
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /certification/search/.

Reason: Error reading from remote server
-- 
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: 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 dns like 8.8.8.8 to
 query other servers from internet.
 In all the other nodes ( the vm's ) - add 192.168.1.2 in the
 /etc/resolv.conf in the first line.
 Im not sure if this solved your problem. If not, please elaborate on what
 you exactly want on this configuration.

Well you are right that line
nameserver 127.0.0.1
 was automatically getting deleted from /etc/resolv.conf
I wanted the localhost to respond to DNS queries which Apache was
sending to port 53.
I was not clear as how it will work
So in previously dnsmasq.conf I had uncommented it
listen-address=127.0.0.1
but now I have commented it.As you mentioned.
The error in my case I was having is due to a wrong mapping in /etc/hosts file.
 I had mapped 2 IPs to same VM which I after analysing with tcpdump
found where the requests were
going.
 I am in a DMZ where the requests do not go out of localhost to get resolved.
Hence I was in trouble as this is a production server.Thanks for your help.

-- 
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: installing dnsproxy on Ubuntu from Debian repository

2011-02-11 Thread Tapas Mishra
On Fri, Feb 11, 2011 at 3:53 AM, Boyd Stephen Smith Jr.
b...@iguanasuicide.net wrote:
 In AANLkTimioYT-1gKQ=dDwb8_7aj7HJXmX=s9wkskqt...@mail.gmail.com, Tapas
 Mishra wrote:
How can I install a debian unstable package on a Ubuntu server.

 Don't.  Mixing the repositories isn't supported by either development team.

 If you must, then you can download a .deb from packages.d.o.  You might
 instead add a Debian line to your sources:
 deb http://cdn.debian.net/debian sid main
 --
Very correct that is what my concern is also.
Then in that situation what do you think is the correct way to go?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTiðrq10g6qmvg9h5crxjxyuqomvp1k4rezs...@mail.gmail.com



[virt-tools-list] what should be correct permissions of xml files

2011-02-10 Thread Tapas Mishra
I restored KVM guest on a Ubuntu server from a backup.
I see some permissions problem.
-rwxr-xr-x 1 root root 1289 2011-02-10 12:51 machine1.xml
is the above permission on a conf file
in /etc/libvirt/qemu/machine1.xml
correct?
If not let me know what are the correct permissions.
--

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


Re: [virt-tools-list] what should be correct permissions of xml files

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 4:22 PM, Daniel P. Berrange berra...@redhat.com wrote:
 On Thu, Feb 10, 2011 at 04:14:04PM +0530, Tapas Mishra wrote:
 I restored KVM guest on a Ubuntu server from a backup.
 I see some permissions problem.
 -rwxr-xr-x 1 root root 1289 2011-02-10 12:51 machine1.xml
 is the above permission on a conf file
 in /etc/libvirt/qemu/machine1.xml
 correct?
 If not let me know what are the correct permissions.

  -rwx--

 You don't want any users to read these files except root, since they can
 contain passwords for VNC/SPICE

 Daniel
 --
Thanks Daniel.

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


Re: [virt-tools-list] recovery of virtual machine

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 12:40 AM, David Cure virt-to...@cure.nom.fr wrote:
 Le Wed, Feb 09, 2011 at 11:34:04PM +0530, Tapas Mishra ecrivait :

 All those are LVM images so in this situation what do I need to do let me 
 know.
 I have the backup of xml files.

        if you have the backup of your vm definition, just restore it
 and run : virsh define /path/to/vm.xml

        David.

I had copied the xml files from a USB where I had taken backup do I
still need to
run : virsh define /path/to/vm.xml
I have already copied the files from my USB to
/etc/libvirt/qemu/*.xml
on the machine where I did a fresh install and using virt-manager I
was able to connect to them.( I had not run virsh define
/path/to/vm.xml)

How ever there is a problem with SSH on those machines.Immediately
after a reboot of host (not guest)
I am able to do an SSH from any machine on my network to the guest
above but after some time if I want to do an ssh again I see a ssh:
connect to host 192.168.1.3 port 22: No route to host error.
Can this any how be related to this  or this ssh problem is a separate
problem all together?

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


Re: [virt-tools-list] recovery of virtual machine

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 12:42 AM, Cole Robinson crobi...@redhat.com wrote:
 On 02/09/2011 01:04 PM, Tapas Mishra wrote:
 On Wed, Feb 9, 2011 at 11:08 PM, Cole Robinson crobi...@redhat.com wrote:
 On 02/09/2011 08:16 AM, Tapas Mishra wrote:
 I want to know if for some reason the host OS has crashed and I need
 to restore in such a situations how do I recover the Virtual Machines.
 All these VMs are on separate LVM partition on same hard disk.

 If you still have the disk image, all you'd really need to do is recreate 
 the
 VM configuration using a tool like virt-install or virt-manager. For example

 virt-install --import --disk /path/to/original/disk/image options

 - Cole
 All those are LVM images so in this situation what do I need to do let me 
 know.
 I have the backup of xml files.

 Hmm, maybe I'm not clear on what you are asking. If you are trying to recreate
 your virtual machines, and you have the LVM volumes in place, just do

 virsh define xmlfile

 If you mean that you're host crashed while your guests were running, there
 isn't much you can do except try to restart your VMs and see what happens.

Yes the host had crashed.When I copied the xml files to /etc/libvirt/qemu
all my VMs are back without any problem other than the SSH problem I
mentioned in a different thread.


-- 
http://mightydreams.blogspot.com

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


Re: [virt-tools-list] recovery of virtual machine

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 12:40 AM, David Cure virt-to...@cure.nom.fr wrote:
 Le Wed, Feb 09, 2011 at 11:34:04PM +0530, Tapas Mishra ecrivait :

 All those are LVM images so in this situation what do I need to do let me 
 know.
 I have the backup of xml files.

        if you have the backup of your vm definition, just restore it
 and run : virsh define /path/to/vm.xml

Hi David,
I did that and it is perfectly running but I did noticed even if I had
not done then simply copying the xml files to respective directories
was also working.
Now since all my VMs are back without any problems do let me know if
this step is necessary if yes then why?

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


[Bug 567008] Re: dnsproxy will not start: symbol lookup error

2011-02-10 Thread Tapas Mishra
I faced the same problem but I am not able to understand how to apply the 
solution.
I manually downloaded from here
wget 
http://debian.nctu.edu.tw/ubuntu//pool/universe/d/dnsproxy/dnsproxy_1.16-0.1_amd64.deb
 
and then tried dpkg -i dnsproxy_1.16-0.1_amd64.deb
as I am having a 64 bit lucid server.
Let me know what needs to be done for the same.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/567008

Title:
  dnsproxy will not start: symbol lookup error

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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 reboot does not help.
I have to shut down the guest and wait for a second or two and the power it on.

The error that I get is

ssh -vvv root@192.168.1.5
OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.5 [192.168.1.5] port 22.
debug1: connect to address 192.168.1.5 port 22: No route to host--



The sshd_config file on guest is here

# Package generated configuration file
# See the sshd_config(5) manpage for details

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes

# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys

# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no

# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no

# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net

# Allow client to pass locale environment variables
AcceptEnv LANG LC_*

Subsystem sftp /usr/lib/openssh/sftp-server

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of PermitRootLogin without-password.
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes



Reboot of the guest OS does not help I have to shutdown
 it and after waiting for some time I start it again.

-- 
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: 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 ultimately brought everything down.

 Now I have to basically format the host OS.My cause of concern are the
 virtual machines which were running on it when the environment was
 stable.Which were in separate LVM partitions.

 Some thing like

 /dev/virtualization/vm1
 /dev/virtualization/vm2
 /dev/virtualization/vm3
 /dev/virtualization/vm4
 If some one has experienced recovery of this sort in past let me know
 what did they do to get things back. All my Virtual Machines were on
 separate partition and in same VolumeGroup this volume group was on
 Host OS. Will formatting of HOST os clear the Virtual Machines also in
 my situation or just be re installing the host and importing the
 Virtual Machines via a tool such as virt-manager I will be able to get
 them back.

 Before your reinstall, dump the configuration of your virtual machines like
 this:
 $ virsh dumpxml vm1  vm1.xml
 After reinstall, redefine the machines
 $ virsh define vm1.xml

 It's that simple, but of course you have to leave your LVM volumes in place
 and make sure your host has the same network interfaces (as defined in the
 xml).

Not possible because the host OS where I was getting this problem I
was not even able to login.
So what I did is a fresh install and copied the xml files from a
backup I had on a USB is that not the correct way to do?
I just noticed I am unable to connect to guest OS after this i.e. when
the host OS reboots and then I immedialtely do an SSH to the guest
from any machine within my network I am able to do so but after 5-10
minutes if I again do an ssh to the same guest then I get host not
found error.

-- 
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: 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.
 But this time I see that SSH connections to the guest drop after some time.
 Even a reboot does not help.
 I have to shut down the guest and wait for a second or two and the power it 
 on.

 The error that I get is

 ssh -vvv root@192.168.1.5
 OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL 0.9.8g 19 Oct 2007
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: Applying options for *
 debug2: ssh_connect: needpriv 0
 debug1: Connecting to 192.168.1.5 [192.168.1.5] port 22.
 debug1: connect to address 192.168.1.5 port 22: No route to host--



 The sshd_config file on guest is here

 # Package generated configuration file
 # See the sshd_config(5) manpage for details

 # What ports, IPs and protocols we listen for
 Port 22
 # Use these options to restrict which interfaces/protocols sshd will bind to
 #ListenAddress ::
 #ListenAddress 0.0.0.0
 Protocol 2
 # HostKeys for protocol version 2
 HostKey /etc/ssh/ssh_host_rsa_key
 HostKey /etc/ssh/ssh_host_dsa_key
 #Privilege Separation is turned on for security
 UsePrivilegeSeparation yes

 # Lifetime and size of ephemeral version 1 server key
 KeyRegenerationInterval 3600
 ServerKeyBits 768

 # Logging
 SyslogFacility AUTH
 LogLevel INFO

 # Authentication:
 LoginGraceTime 120
 PermitRootLogin yes
 StrictModes yes

 RSAAuthentication yes
 PubkeyAuthentication yes
 #AuthorizedKeysFile %h/.ssh/authorized_keys

 # Don't read the user's ~/.rhosts and ~/.shosts files
 IgnoreRhosts yes
 # For this to work you will also need host keys in /etc/ssh_known_hosts
 RhostsRSAAuthentication no
 # similar for protocol version 2
 HostbasedAuthentication no
 # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
 #IgnoreUserKnownHosts yes

 # To enable empty passwords, change to yes (NOT RECOMMENDED)
 PermitEmptyPasswords no

 # Change to yes to enable challenge-response passwords (beware issues with
 # some PAM modules and threads)
 ChallengeResponseAuthentication no

 # Change to no to disable tunnelled clear text passwords
 #PasswordAuthentication yes

 # Kerberos options
 #KerberosAuthentication no
 #KerberosGetAFSToken no
 #KerberosOrLocalPasswd yes
 #KerberosTicketCleanup yes

 # GSSAPI options
 #GSSAPIAuthentication no
 #GSSAPICleanupCredentials yes

 X11Forwarding yes
 X11DisplayOffset 10
 PrintMotd no
 PrintLastLog yes
 TCPKeepAlive yes
 #UseLogin no

 #MaxStartups 10:30:60
 #Banner /etc/issue.net

 # Allow client to pass locale environment variables
 AcceptEnv LANG LC_*

 Subsystem sftp /usr/lib/openssh/sftp-server

 # Set this to 'yes' to enable PAM authentication, account processing,
 # and session processing. If this is enabled, PAM authentication will
 # be allowed through the ChallengeResponseAuthentication and
 # PasswordAuthentication.  Depending on your PAM configuration,
 # PAM authentication via ChallengeResponseAuthentication may bypass
 # the setting of PermitRootLogin without-password.
 # If you just want the PAM account and session checks to run without
 # PAM authentication, then enable this but set PasswordAuthentication
 # and ChallengeResponseAuthentication to 'no'.
 UsePAM yes



 Reboot of the guest OS does not help I have to shutdown
  it and after waiting for some time I start it again.



Carsten Aulbert carsten.aulb...@aei.mpg.de

On Thu, Feb 10, 2011 at 4:51 PM, Carsten Aulbert
carsten.aulb...@aei.mpg.de wrote:
 Hi

 On Thursday 10 February 2011 12:13:16 Tapas Mishra wrote:
 debug1: Connecting to 192.168.1.5 [192.168.1.5] port 22.
 debug1: connect to address 192.168.1.5 port 22: No route to host--

 This indicates your client don't know how to talk to 192.168.1.5 (or the
 network in-between doesn't know).
Yes I understand this part that is why I am concerned.
 Is the machine really fully running? Is the network working?  Is routing
 correct?
This part is correct I can confirm here.






On Thu, Feb 10, 2011 at 5:00 PM, Hugo Serrano hugo.serr...@javali.pt wrote:
 Hi.

 Check the IP address in the guest machine.

 Do you got static IP?
Yes
 Is there any dhclient process running?
No

Any other suggestions here?

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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

Reading package lists... Done

Building dependency tree

Reading state information... Done

Reading extended state information

Initializing package states... Done

The following NEW packages will be installed:

  pdnsd resolvconf{a}

The following partially installed packages will be configured:

  dnsproxy

0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 354kB of archives. After unpacking 1,020kB will be used.

Do you want to continue? [Y/n/?] Y

Writing extended state information... Done

Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/universe pdnsd
1.2.7-par-1.1 [298kB]

Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/universe resolvconf
1.45ubuntu1 [56.4kB]

Fetched 354kB in 1s (254kB/s)

Preconfiguring packages ...

Selecting previously deselected package pdnsd.

(Reading database ... 50988 files and directories currently installed.)

Unpacking pdnsd (from .../pdnsd_1.2.7-par-1.1_amd64.deb) ...

Selecting previously deselected package resolvconf.

Unpacking resolvconf (from .../resolvconf_1.45ubuntu1_all.deb) ...

Processing triggers for man-db ...

Processing triggers for ureadahead ...

Setting up dnsproxy (1.15-6build1) ...

 * Starting dnsproxy dnsproxy

 /usr/sbin/dnsproxy: symbol lookup error:
/usr/sbin/dnsproxy: undefined symbol: event_sigcb



  [fail]

invoke-rc.d: initscript dnsproxy, action start failed.

dpkg: error processing dnsproxy (--configure):

 subprocess installed post-installation script returned error exit status 1

Setting up pdnsd (1.2.7-par-1.1) ...

 * Not starting pdnsd (disabled in /etc/default/pdnsd)



Setting up resolvconf (1.45ubuntu1) ...

mkdir: created directory `/var/run/resolvconf'

mkdir: created directory `/var/run/resolvconf/interface'

update-rc.d: warning: resolvconf stop runlevel arguments (none) do not
match LSB Default-Stop values (0 6)



Errors were encountered while processing:

 dnsproxy

E: Sub-process /usr/bin/dpkg returned an error code (1)

A package failed to install.  Trying to recover:

Setting up dnsproxy (1.15-6build1) ...

 * Starting dnsproxy dnsproxy

 /usr/sbin/dnsproxy: symbol lookup error:
/usr/sbin/dnsproxy: undefined symbol: event_sigcb



  [fail]

invoke-rc.d: initscript dnsproxy, action start failed.

dpkg: error processing dnsproxy (--configure):

 subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:

 dnsproxy

Reading package lists... Done

Building dependency tree

Reading state information... Done

Reading extended state information

Initializing package states... Done

Writing extended state information... Done









Tried to follow
http://ubuntuforums.org/showthread.php?t=82293
got following error

/etc/init.d/pdnsd restart

 * Stopping pdnsd

  [ OK ]

 * Not starting pdnsd (disabled in /etc/default/pdnsd)




 dpkg -s dnsproxy

Package: dnsproxy

Status: install ok half-configured

Priority: optional

Section: net

Installed-Size: 128

Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com

Architecture: amd64

Version: 1.15-6build1

Depends: libc6 (= 2.4), libevent-1.4-2 (= 1.4.11-stable), adduser, lsb-base

Conffiles:

 /etc/dnsproxy.conf bb35257420128d7467aa5c607567fbb4

 /etc/default/dnsproxy 84b67faac53ebe6ce3ce376e2bae94f2

 /etc/init.d/dnsproxy 3f6547b5d88fc6fb2a46afb94ed84f42

Description: proxy for DNS queries

 dnsproxy forwards DNS queries to two previously configured nameservers:

 one for authoritative queries and another for recursive queries.

 The received answers are sent back to the client unchanged.

 No local caching is done.

 .

 Primary motivation for this project was the need to replace Bind servers with

 djbdns in an ISP environment. These servers get recursive queries from

 customers and authoritative queries from outside at the same IP address.

 Now it is possible to run dnscache and tinydns on the same machine with

 queries dispatched by dnsproxy.

 .

 Another possible scenario is a firewall where proxy queries should be

 forwarded to the real server in a DMZ.

Original-Maintainer: Patrick Schoenfeld schoenf...@debian.org

Homepage: http://wolfermann.org/dnsproxy.html






dpkg --configure dnsproxy

Setting up dnsproxy (1.15-6build1) ...

 * Starting dnsproxy dnsproxy

 /usr/sbin/dnsproxy: symbol lookup error:
/usr/sbin/dnsproxy: undefined symbol: event_sigcb



  [fail]

invoke-rc.d: initscript dnsproxy, action start failed.

dpkg: error processing dnsproxy (--configure):

 subprocess installed post-installation script returned error exit status 1


installing dnsproxy on Ubuntu from Debian repository

2011-02-10 Thread Tapas Mishra
How can I install a debian unstable package on a Ubuntu server.
I am facing a bug in the server edition the bug is here
https://bugs.launchpad.net/ubuntu/+source/dnsproxy/+bug/567008?comments=all
they mentioned a fix also but how do I apply that?


[virt-tools-list] recovery of virtual machine

2011-02-09 Thread Tapas Mishra
I want to know if for some reason the host OS has crashed and I need
to restore in such a situations how do I recover the Virtual Machines.
All these VMs are on separate LVM partition on same hard disk.
--

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


Re: [virt-tools-list] recovery of virtual machine

2011-02-09 Thread Tapas Mishra
On Wed, Feb 9, 2011 at 11:08 PM, Cole Robinson crobi...@redhat.com wrote:
 On 02/09/2011 08:16 AM, Tapas Mishra wrote:
 I want to know if for some reason the host OS has crashed and I need
 to restore in such a situations how do I recover the Virtual Machines.
 All these VMs are on separate LVM partition on same hard disk.

 If you still have the disk image, all you'd really need to do is recreate the
 VM configuration using a tool like virt-install or virt-manager. For example

 virt-install --import --disk /path/to/original/disk/image options

 - Cole
All those are LVM images so in this situation what do I need to do let me know.
I have the backup of xml files.

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


[Bug 552404] Re: dbus fails to be configured in chroots

2011-02-09 Thread Tapas Mishra
Please see a discussion here 
https://answers.launchpad.net/ubuntu/+question/144560
it might give you some more information.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/552404

Title:
  dbus fails to be configured in chroots

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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 with an old kernel.
 Right now every thing on my server is working perfectly fine.So I am
 taking a strong backup right now.

 Though right now every thing is working very fine.So I do not have any
 plans of any more upgrades.
  Will restoring the old backup make any sense for my case or should I
 leave it at this stage.


 Really no one can answer you that questions for you! It all depends on how
 you handle things. If you ask for my personal opinion: I would do
 everything to avoid a reinstall of a Unix/Linux server system, that is in
 production use. Even writing back old backups. Your problem with the dbus
 and kernel packages seems solvable for me. If your server works regardless
 of the package problems I would take the time to resolve these problems.

 I know you will try to ask me, what you can do ;-). When I have the time I
 will post you the corresponding dpkg -i --forc-XYZ ... command lines
 that might do the trick. But it might be faster if you read something
 about the package manager tools aptitude, apt-get and dpkg.

 Michael


 --
Ok I have posted this problem here
and followed completely
https://answers.launchpad.net/ubuntu/+question/144560
seems it has worked.
Waiting for the last messages.
This seems to be a bug in in dbus as explained here
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/552404
and a patch here
https://launchpad.net/~ts.sch.gr/+archive/ppa/+sourcepub/1450007/+listing-archive-extra
but in the patch which one should I install I am not clear with that part.

What I did to solve this is

Looking at dbus.postinst, commented

/var/lib/dpkg/info/dbus.postinst
 following 2 lines

 dbus-uuidgen --ensure

  dbus-send --print-reply --system --type=method_call \
--dest=org.freedesktop.DBus \
/ org.freedesktop.DBus.ReloadConfig  /dev/null

and then dpkg-configure -a
and aptitude safe-upgrade has gone without any errors.

It seems a bug in dbus script which is on Lucid 10.04 server editions
luckily has been fixed.
---

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


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 which were running on it when the environment was
stable.Which were in separate LVM partitions.

Some thing like

/dev/virtualization/vm1
/dev/virtualization/vm2
/dev/virtualization/vm3
/dev/virtualization/vm4
If some one has experienced recovery of this sort in past let me know
what did they do to get things back. All my Virtual Machines were on
separate partition and in same VolumeGroup this volume group was on
Host OS. Will formatting of HOST os clear the Virtual Machines also in
my situation or just be re installing the host and importing the
Virtual Machines via a tool such as virt-manager I will be able to get
them back.

-- 
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: [virt-tools-list] connection refused when connecting to a VM

2011-02-08 Thread Tapas Mishra
Hi Bruno,
what worked was
changing the permissions of
/var/run/libvirt/libvirt-sock
When this problem came I saw the permissions as
srwxrwx--- 1 root root   0 2011-02-08 15:54 libvirt-sock

I did  777 to above file and I find the permissions now
srwxrwx--- 1 root libvirtd   0 2011-02-08 15:54 libvirt-sock
and now the virt-manager is working fine.
I really do not have any idea as why this problem came.
Though I was doing an update on my Ubuntu server at that time.
Here is a problem which I just reported to Ubuntu server team
https://answers.launchpad.net/ubuntu/+question/144560
I feel this is related with my problem.

In case you have any idea for this let me know.
But right now this problem is fixed.
On Tue, Feb 8, 2011 at 4:54 PM, Bruno Lamps lam...@gmail.com wrote:
 If you autenticate (need to enter root password root password when
 connecting), see if root password hasn't changed (type 'su -', without the
 quotes, in terminal, enter root password and see if it works).

 Also check if libvirtd is running. Type 'ps aux | grep libtvirt' in
 terminal, see if there is any process with this name.

 On Tue, Feb 8, 2011 at 5:46 AM, Tapas Mishra mightydre...@gmail.com wrote:

 I have been regularly logging in to a virtualization setup of mine and
 have been using it.
 Today after noon I logged in as usual and typed virt-manager
 I got following error

 Unable to open a connection to the libvirt management daemon.
 Libvirt URI is: qemu:///system

 Verify that:
  - The 'libvirt-bin' package is installed
  - The 'libvirtd' daemon has been started
  - That you have access to '/var/run/libvirt/libvirt-sock'



 system':
 unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused
 Traceback (most recent call last):
  File /usr/share/virt-manager/virtManager/connection.py, line 896,
 in _try_open
    None], flags)
  File /usr/lib/python2.6/dist-packages/libvirt.py, line 111, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
 libvirtError: unable to connect to '/var/run/libvirt/libvirt-sock':
 Connection refused

 Any idea as what might be causing this problem and what should I check in
 here?

 --





--

___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list


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 and then again did aptitude safe-upgrade things
finished with some errrors,
my virt-manager stopped working here

 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dbus
 hal
 libvirt-bin
 udisks
 consolekit
 dbus-x11
 grub-pc
 linux-image-2.6.32-28-server
 avahi-daemon
 uec-component-listener
 avahi-utils
 eucalyptus-common
 eucalyptus-java-common
 gnome-keyring
 eucalyptus-walrus
 eucalyptus-nc
 eucalyptus-gl
 eucalyptus-cc
 eucalyptus-cloud
 linux-image-server
 linux-server
 eucalyptus-sc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done


Now after this update when do an SSH to the system and
type virt-manager
I get following error





Unable to open a connection to the libvirt management daemon.

Libvirt URI is: qemu:///system

Verify that:
 - The 'libvirt-bin' package is installed
 - The 'libvirtd' daemon has been started
 - That you have access to '/var/run/libvirt/libvirt-sock'



after this I checked


 dpkg -s libvirt-bin
Package: libvirt-bin
Status: install ok unpacked
Priority: optional
Section: admin
Installed-Size: 2000
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: amd64
Source: libvirt
Version: 0.7.5-5ubuntu27.8
Config-Version: 0.7.5-5ubuntu27
Depends: libapparmor1, libavahi-client3 (= 0.6.16), libavahi-common3
(= 0.6.16), libblkid1 (= 2.15~rc2-1ubuntu1), libc6 (= 2.8),
libcap-ng0, libdevmapper1.02.1 (= 2:1.02.20), libgcrypt11 (= 1.4.2),
libgnutls26 (= 2.7.14-0), libparted0debian1 (= 2.2-1), libpciaccess0
(= 0), libreadline6 (= 6.0), libsasl2-2, libudev0 (= 147), libuuid1
(= 2.16), libvirt0 (= 0.7.5-5ubuntu27.8), libxen3, libxml2 (=
2.7.4), upstart-job, adduser, logrotate, hal, bridge-utils,
netcat-openbsd, dnsmasq-base (= 2.46-1), iptables
Recommends: qemu-kvm (= 0.11.0-0ubuntu6)
Suggests: policykit-1, apparmor (= 2.3+1289-0ubuntu14)
Enhances: kvm, qemu, xen
Conffiles:
 /etc/apparmor.d/abstractions/libvirt-qemu eeda906157a83d5a4ff3f6b4314c4fec
 /etc/apparmor.d/libvirt/TEMPLATE b0dfa704c6297fd9a4e68f0137c6be88
 /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper 3ccee9d22c44130f58f8ceb3518c4135
 /etc/apparmor.d/usr.sbin.libvirtd 183e34e548d52d8fa919768d95703219
 /etc/cron.daily/libvirt-bin 8a6518c8f8082e9b2203f34215f8898e
 /etc/init/libvirt-bin.conf e0b61b177a91d459e7a7cfad8381b640
 /etc/default/libvirt-bin f40696fff3196096b3056c46f7c7ad23
 /etc/logrotate.d/libvirtd dad6136fdb3db0b781839a43f865fed9
 /etc/libvirt/libvirtd.conf aa61a2fe31f47c351927fbc38aefc9f2
 /etc/libvirt/lxc.conf d9ffe9ac12b7fb251fc5a7ab64775397
 /etc/libvirt/qemu/networks/default.xml b104f600c0e029c3d3412f5df6090a31
 /etc/libvirt/qemu.conf e727fc0f281be72a136d713872a96b54
 /etc/sasl2/libvirt.conf ef5f31dd25967d2de2a830bef486f97c
Description: the programs for the libvirt library
 Libvirt is a C toolkit to interact with the virtualization capabilities
 of recent versions of Linux (and other OSes). The library aims at providing
 a long term stable C API for different virtualization mechanisms. It currently
 supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
 .
 This package contains the supporting binaries to use with libvirt
Homepage: http://libvirt.org
Original-Maintainer: Debian Libvirt Maintainers
pkg-libvirt-maintain...@lists.alioth.debian.org

The unfortunate part is all the Virtual Machines running on it are
production machines.
So this really needs to be resolved.

-- 
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: 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 not being of much help anymore as I've never user virt-
 manager in production, only on one machine where it automatically broke the
 networking seriously.

 My guess is that virt-manager is currently not running or need to be
 configured somehow, but more than that, I do not know.

 Sorry

May be some one from Ubuntu server team watching this thread may note this

currently what is happening is when I do aptitude safe-upgrade
then following errors are being encountered

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following partially installed packages will be configured:
  avahi-daemon avahi-utils consolekit dbus dbus-x11 eucalyptus-cc
  eucalyptus-cloud eucalyptus-common eucalyptus-gl eucalyptus-java-common
  eucalyptus-nc eucalyptus-sc eucalyptus-walrus gnome-keyring grub-pc hal
  libvirt-bin linux-image-2.6.32-28-server linux-image-server linux-server
  udisks uec-component-listener
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up linux-image-2.6.32-28-server (2.6.32-28.55) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-28-server
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-28-server
Found initrd image: /boot/initrd.img-2.6.32-28-server
Found linux image: /boot/vmlinuz-2.6.32-21-server
Found initrd image: /boot/initrd.img-2.6.32-21-server
Found memtest86+ image: /boot/memtest86+.bin
/etc/grub.d/README: 2: All: not found
/etc/grub.d/README: 4: 00_*:: not found
/etc/grub.d/README: 5: 10_*:: not found
/etc/grub.d/README: 6: Syntax error: ( unexpected
User postinst hook script [/usr/sbin/update-grub] exited with value 2
dpkg: error processing linux-image-2.6.32-28-server (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up dbus (1.2.16-2ubuntu4.1) ...
The system user `messagebus' already exists. Exiting.
Failed to open connection to system message bus: Did not receive a
reply. Possible causes include: the remote application did not send a
reply, the message bus security policy blocked the reply, the reply
timeout expired, or the network connection was broken.
dpkg: error processing dbus (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of avahi-daemon:
 avahi-daemon depends on dbus (= 1.2.16-0ubuntu3); however:
  Package dbus is not configured yet.
dpkg: error processing avahi-daemon (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avahi-utils:
 avahi-utils depends on avahi-daemon; however:
  Package avahi-daemon is not configured yet.
dpkg: error processing avahi-utils (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of consolekit:
 consolekit depends on dbus (= 1.1.2); however:
  Package dbus is not configured yet.
dpkg: error processing consolekit (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dbus-x11:
 dbus-x11 depends on dbus; however:
  Package dbus is not configured yet.
dpkg: error processing dbus-x11 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-keyring:
 gnome-keyring depends on dbus-x11; however:
  Package dbus-x11 is not configured yet.
dpkg: error processing gnome-keyring (--configure):
 dependency problems - leaving unconfigured
Setting up grub-pc (1.98-1ubuntu10) ...
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-28-server
Found initrd image: /boot/initrd.img-2.6.32-28-server
Found linux image: /boot/vmlinuz-2.6.32-21-server
Found initrd image: /boot/initrd.img-2.6.32-21-server
Found memtest86+ image: /boot/memtest86+.bin
File descriptor 3 (pipe:[15520517]) leaked on lvs invocation. Parent
PID 28870: /bin/sh
/etc/grub.d/README: 2: All: not found
/etc/grub.d/README: 4: 00_*:: not found
/etc/grub.d/README: 5: 10_*:: not found
/etc/grub.d/README: 6: Syntax error: ( unexpected
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of hal:
 hal depends on dbus (= 0.61); however:
  Package dbus is not configured yet.
dpkg: error processing hal (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration

  1   2   3   4   5   >