[CentOS] OFF TOPIC - Android Phones Keyboard

2013-10-20 Thread Earl Ramirez
On Sat, 2013-10-19 at 23:19 -0600, Frank Cox wrote:
> On Sun, 20 Oct 2013 13:15:55 +0800
> Earl A Ramirez wrote:
> 
> > Sorry for top posting, this is the only option that the phone allow.
> 
> Are you using an Android phone?  If so, install the Hackers Keyboard from the
> google play store and get a keyboard with all of the keys on it.
> 

Thanks Frank, it worked like a charm.
-- 


Kind Regards
Earl Ramirez
GPG Key: http://trinipino.com/PublicKey.asc


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VNC

2013-10-20 Thread Scott Robbins
On Sat, Oct 19, 2013 at 09:40:13PM -0600, Larry Martell wrote:
> > > > >
> > > > > > I had posted last week about trying to get VNC working. I was never
> > > > > > successful nor were multiple admins. But we realized that all the
> > > > hosts we
> > > > > > tried on were VMs. We followed the same procedure (
> > > > > > http://wiki.centos.org/HowTos/VNC-Server) on a machine with
> > physical
> > > > HW
> > > > > > and it worked with no problem. But on the VM I can connect, but I
> > > > don't get
> > > > > > any window displayed. Here is what is in the log:
> > > > > >

> > > > > Does anyone out there have VNC working on a VM?


> My only access to the host is via ssh so I don't think I can do that.

I haven't followed this thread that closely, so hopefully, I'm not
suggesting something that has already been discarded.

Say the host is called kvmserver and your guest is called kvmguest.  While on 
there, with ssh session

virsh vncdisplay  kvmguest

It will tell you if its on display 0, 1, 2, or whatever.


Let's say it's on 0.


On your local machine

ssh -L 5900:localhost:5900 kvmhost

Now, if you do vncviewer localhost, it will open up a console on the remote
kvm machine. 

If running virsh vncdisplay kvmguest shows 5901 or 5902, then change the 5900 to
that number, and change vncviewer localhost to vncviewer localhost:1
localhost:2 or whatever.



-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VNC

2013-10-20 Thread Larry Martell
On Sat, Oct 19, 2013 at 9:29 PM, Earl Ramirez wrote:

> On Sat, 2013-10-19 at 21:18 -0600, Larry Martell wrote:
> > On Saturday, October 19, 2013, Earl Ramirez wrote:
> >
> > > On Sat, 2013-10-19 at 17:23 -0600, Larry Martell wrote:
> > > > On Sat, Oct 19, 2013 at 4:56 PM, Larry Martell <
> larry.mart...@gmail.com
> > > >wrote:
> > > >
> > > > > I had posted last week about trying to get VNC working. I was never
> > > > > successful nor were multiple admins. But we realized that all the
> > > hosts we
> > > > > tried on were VMs. We followed the same procedure (
> > > > > http://wiki.centos.org/HowTos/VNC-Server) on a machine with
> physical
> > > HW
> > > > > and it worked with no problem. But on the VM I can connect, but I
> > > don't get
> > > > > any window displayed. Here is what is in the log:
> > > > >
> > > > > Sat Oct 19 18:39:55 2013
> > > > >  vncext:  VNC extension running!
> > > > >  vncext:  Listening for VNC connections on all interface(s),
> port
> > > 5902
> > > > >  vncext:  created VNC server for screen 0
> > > > > GNOME_KEYRING_SOCKET=/tmp/keyring-Y6Tg3c/socket
> > > > > SSH_AUTH_SOCK=/tmp/keyring-Y6Tg3c/socket.ssh
> > > > > GNOME_KEYRING_PID=19728
> > > > > Failed to play sound: File or data not found
> > > > >
> > > > > ** (nm-applet:19775): WARNING **:   request_name(): Could not
> > > > > acquire the NetworkManagerUserSettings service.
> > > > >   Error: (9) Connection ":1.552" is not allowed to own the service
> > > > > "org.freedesktop.NetworkManagerUserSettings" due to security
> policies
> > > in
> > > > > the configuration file
> > > > >
> > > >
> > > > Googling that error I found this:
> > > > https://bbs.archlinux.org/viewtopic.php?id=63576 and I followed the
> > > advice
> > > > there. Now I don't get that error, but I still get no display. Now
> all I
> > > > get in the log is this:
> > > >
> > > >
> > > > 19/10/2013 07:14:27 PM [IPv6] Got connection from client
> > > > :::10.250.151.75
> > > > 19/10/2013 07:14:27 PM   other clients:
> > > > 19/10/2013 07:14:27 PM Client Protocol Version 3.7
> > > > 19/10/2013 07:14:27 PM Advertising security type 2
> > > > 19/10/2013 07:14:28 PM Client returned security type 2
> > > >
> > > > My xstartup file is identical on the VM and the physical host.
> > > >
> > > > Does anyone out there have VNC working on a VM?
> > > >
> > > >
> > > > > 19/10/2013 06:39:59 PM Autoprobing TCP port in (all) network
> interface
> > > > > 19/10/2013 06:39:59 PM Listening IPv{4,6}://*:5900
> > > > > 19/10/2013 06:39:59 PM Autoprobing selected port 5900
> > > > > 19/10/2013 06:39:59 PM Advertising authentication type: 'VNC
> > > > > Authentication' (2)
> > > > > 19/10/2013 06:39:59 PM Advertising security type: 'VNC
> Authentication'
> > > (2)
> > > > >
> > > > > (polkit-gnome-authentication-agent-1:19796): GLib-GObject-WARNING
> **:
> > > > > cannot regster existing type `_PolkitError'
> > > > >
> > > > > (polkit-gnome-authentication-agent-1:19796): GLib-CRITICAL **:
> > > > > g_once_init_leave: assertion `initialization_value != 0' failed
> > > > > Initializing nautilus-gdu extension
> > > > > Initializing nautilus-open-terminal extension
> > > > >
> > > > > ** (gnome-panel:19761): CRITICAL **:
> > > panel_applet_frame_change_background:
> > > > > assertion `PANEL_IS_WIDGET (GTK_WIDGET (frame)->parent)' failed
> > > > >
> > > > > (polkit-gnome-authentication-agent-1:19796): polkit-gnome-1-WARNING
> > > **: No
> > > > > icon for themed icon with name 'preferences-system-network-proxy'
> > > > > Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW
> message
> > > > > with a timestamp of 0 for 0x2c3 (Authentica)
> > > > > Window manager warning: meta_window_activate called by a pager
> with a 0
> > > > > timestamp; the pager needs to be fixed.
> > > > > Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW
> message
> > > > > with a timestamp of 0 for 0x2c3 (Authentica)
> > > > > Window manager warning: meta_window_activate called by a pager
> with a 0
> > > > > timestamp; the pager needs to be fixed.
> > > > > 19/10/2013 06:40:48 PM [IPv6] Got connection from client
> > > > > :::10.250.151.75
> > > > > 19/10/2013 06:40:48 PM   other clients:
> > > > > 19/10/2013 06:40:49 PM Client Protocol Version 3.7
> > > > > 19/10/2013 06:40:49 PM Advertising security type 2
> > > > > 19/10/2013 06:40:49 PM Client returned security type 2
> > > > >
> > > > >
> > > > > Anyone have any clues as to what could be wrong and why it works
> on a
> > > > > physical host and not onI believe that I just find the answer for
> this
> > > question. I have been
> > > beating up myself for the last few hours and I was getting the same
> > > error that you posted.
> > >
> > > Test Environment**
> > > 2 Laptops
> > > 1 of the two laptop has several linux KVMs
> > >
> > > **
> > >
> > > The reason why you are not able to connect with the KVM Guest is
> because
> > > by d

Re: [CentOS] VNC

2013-10-20 Thread Larry Martell
On Sat, Oct 19, 2013 at 11:15 PM, Earl A Ramirez wrote:

> Sorry for top posting, this is the only option that the phone allow.
>
> If the host is running a X server you can use -X option with ssh.
>
> $ ssh -X user@host
> And start virt-manager to manage the VMs.
>


I am running putty from Windows. I do have X11 forwarding enabled. But I
still get  'could not open display' I though perhaps I needed to install
Xming, but I don't have admin rights on the Windows box, so I couldn't do
that.


On Oct 20, 2013 11:40 AM, "Larry Martell"  wrote:
>
> > On Saturday, October 19, 2013, Earl Ramirez wrote:
> >
> > > On Sat, 2013-10-19 at 21:18 -0600, Larry Martell wrote:
> > > > On Saturday, October 19, 2013, Earl Ramirez wrote:
> > > >
> > > > > On Sat, 2013-10-19 at 17:23 -0600, Larry Martell wrote:
> > > > > > On Sat, Oct 19, 2013 at 4:56 PM, Larry Martell <
> > > larry.mart...@gmail.com
> > > > > >wrote:
> > > > > >
> > > > > > > I had posted last week about trying to get VNC working. I was
> > never
> > > > > > > successful nor were multiple admins. But we realized that all
> the
> > > > > hosts we
> > > > > > > tried on were VMs. We followed the same procedure (
> > > > > > > http://wiki.centos.org/HowTos/VNC-Server) on a machine with
> > > physical
> > > > > HW
> > > > > > > and it worked with no problem. But on the VM I can connect,
> but I
> > > > > don't get
> > > > > > > any window displayed. Here is what is in the log:
> > > > > > >
> > > > > > > Sat Oct 19 18:39:55 2013
> > > > > > >  vncext:  VNC extension running!
> > > > > > >  vncext:  Listening for VNC connections on all
> interface(s),
> > > port
> > > > > 5902
> > > > > > >  vncext:  created VNC server for screen 0
> > > > > > > GNOME_KEYRING_SOCKET=/tmp/keyring-Y6Tg3c/socket
> > > > > > > SSH_AUTH_SOCK=/tmp/keyring-Y6Tg3c/socket.ssh
> > > > > > > GNOME_KEYRING_PID=19728
> > > > > > > Failed to play sound: File or data not found
> > > > > > >
> > > > > > > ** (nm-applet:19775): WARNING **:   request_name(): Could
> > not
> > > > > > > acquire the NetworkManagerUserSettings service.
> > > > > > >   Error: (9) Connection ":1.552" is not allowed to own the
> > service
> > > > > > > "org.freedesktop.NetworkManagerUserSettings" due to security
> > > policies
> > > > > in
> > > > > > > the configuration file
> > > > > > >
> > > > > >
> > > > > > Googling that error I found this:
> > > > > > https://bbs.archlinux.org/viewtopic.php?id=63576 and I followed
> > the
> > > > > advice
> > > > > > there. Now I don't get that error, but I still get no display.
> Now
> > > all I
> > > > > > get in the log is this:
> > > > > >
> > > > > >
> > > > > > 19/10/2013 07:14:27 PM [IPv6] Got connection from client
> > > > > > :::10.250.151.75
> > > > > > 19/10/2013 07:14:27 PM   other clients:
> > > > > > 19/10/2013 07:14:27 PM Client Protocol Version 3.7
> > > > > > 19/10/2013 07:14:27 PM Advertising security type 2
> > > > > > 19/10/2013 07:14:28 PM Client returned security type 2
> > > > > >
> > > > > > My xstartup file is identical on the VM and the physical host.
> > > > > >
> > > > > > Does anyone out there have VNC working on a VM?
> > > > > >
> > > > > >
> > > > > > > 19/10/2013 06:39:59 PM Autoprobing TCP port in (all) network
> > > interface
> > > > > > > 19/10/2013 06:39:59 PM Listening IPv{4,6}://*:5900
> > > > > > > 19/10/2013 06:39:59 PM Autoprobing selected port 5900
> > > > > > > 19/10/2013 06:39:59 PM Advertising authentication type: 'VNC
> > > > > > > Authentication' (2)
> > > > > > > 19/10/2013 06:39:59 PM Advertising security type: 'VNC
> > > Authentication'
> > > > > (2)
> > > > > > >
> > > > > > > (polkit-gnome-authentication-agent-1:19796):
> GLib-GObject-WARNING
> > > **:
> > > > > > > cannot regster existing type `_PolkitError'
> > > > > > >
> > > > > > > (polkit-gnome-authentication-agent-1:19796): GLib-CRITICAL **:
> > > > > > > g_once_init_leave: assertion `initialization_value != 0' failed
> > > > > > > Initializing nautilus-gdu extension
> > > > > > > Initializing nautilus-open-terminal extension
> > > > > > >
> > > > > > > ** (gnome-panel:19761): CRITICAL **:
> > > > > panel_applet_frame_change_background:
> > > > > > > assertion `PANEL_IS_WIDGET (GTK_WIDGET (frame)->parent)' failed
> > > > > > >
> > > > > > > (polkit-gnome-authentication-agent-1:19796):
> > polkit-gnome-1-WARNING
> > > > > **: No
> > > > > > > icon for themed icon with name
> 'preferences-system-network-proxy'
> > > > > > > Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW
> > > message
> > > > > > > with a timestamp of 0 for 0x2c3 (Authentica)
> > > > > From the KVM Guest, under "Show Virtual Hardware Detail", I change
> > the
> > > type from VNC to Spice from the Display option, which was "Display VNC"
> > > prior to the change.
> >
> >
> > My only access to the host is via ssh so I don't think I can do that.
> >
> >
> > >
> > > You don't have to make the change if you don't want to as I was able to
> > > connect to the KVM Guest after it

[CentOS] Thinkpad T30

2013-10-20 Thread Beartooth

I have an IBM-refurbished T30, which has handled Fedora well, up 
through F18. But it never took to F19. I'm in process of trying to 
downgrade, but that seems to be a monumental job. 

I have other computers, including a T43 and a System76 tablet; 
the T30's chief virtue is that it has a serial port. My GPSs and 
proprietary software still use the serial port, and none of the various 
USB adapters I've tried have done any good.

But, way back when, I mapped a lot of hunting spots and game 
trails. I want to keep that data.

Has anyone run CentOS 6.4 on a T30? How about Wine a/o 
virtualization? (I'm thinking running a virtual XP, and seldom if ever 
going online, except occasional quick checks for linux updates.)

-- 
Beartooth Staffwright, Neo-Redneck Not Quite Clueless Power User
Remember I have precious (very precious!) little idea where up is.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kvm cluster w/ c6

2013-10-20 Thread Rainer Duffner
Am Sat, 19 Oct 2013 23:22:12 -0700
schrieb John R Pierce :

> In our development lab, I am installing 4 new servers, that I want to 
> use for hosting KVM.   each server will have its own direct attached 
> raid.   I'd love to be able to 'pool' this storage, but over gigE, I 
> probably shouldn't even try.


I'm not sure if somebody has re-built RHEV on CentOS (couldn't find it
with a quick google-search).

RHEV = http://www.redhat.com/products/cloud-computing/virtualization/

Then, on top of that you'd need RedHat Storage Server. It's a
stabilized build of GlusterFS with Enterprise-Support - and
Enterprise-price...


Also, you could try OpenStack - but I'm not sure if it's worth the
hassle and if four noodes is actually enough to have a usable setup.

RedHat Storage Server recommends 10G ethernet, BTW.

For your setup, I'd invest more in the hardware itself (redundant PSU,
more redundancy in the disks, more powerful RAID-controller with
battery-backed cache, the more hardware is hot-pluggable, the better
etc..)

Oh, and I'd love to hear success-stories of people who actually use
RHEV+RHSS.
Any kind of distributed storage, actually.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kvm cluster w/ c6

2013-10-20 Thread Digimer
On 20/10/13 02:22, John R Pierce wrote:
> In our development lab, I am installing 4 new servers, that I want to 
> use for hosting KVM.   each server will have its own direct attached 
> raid.   I'd love to be able to 'pool' this storage, but over gigE, I 
> probably shouldn't even try.

I've build DRBD-backed shared storage using 1 Gbit network for
replication for years and the network has not been an issue. So long as
your apps can work with ~110 MB/sec max throughput, you're fine.

Latency is not effected because the average seek time of a platter, even
15krpm SAS drives, it higher than the network latency (assuming decent
equipment).

> most of the VM's will be running CentOS 5 and 6,  some of the VM's will 
> be postgresql database dev/test servers, others will be running java 
> messaging workloads, and various test jobs.
> 
> to date, my experience with KVM is bringing up one c6 VM on a c6 host, 
> manually w/ virt-install and virsh...
> 
> stupid questions ...
> 
> whats the best storage setup for KVM when using direct attached raid?  
> surely using disk image files on a parent ext4/xfs file system isn't the 
> best performance?Should I use host lvm logical volumes as guest 
> vdisks?   we're going to be running various database servers in dev/test 
> and wanting at least one or another at a time to really be able to get 
> some serious iops.

What makes the most difference is not the RAID configuration but having
batery-backed (or flash-backed) write caching. With multiple VMs having
high disk IO, it will get random in a hurry. The caching allows for
keeping the systems responsive even under these highly random writes.

As for the storage type; I use clustered LVM (with DRBD as the PVs) and
give each VM a dedicated LV, as you mentioned above. This takes the FS
overhead out of the equation.

> its virt-manager worth using, or is it too simplistic/incomplete ?

I use it from my laptop, via an ssh tunnel, to the hosts all the time. I
treat it as a "remote KVM" switch as it gives me access to the VMs
regardless of their network state. I don't use it for anything else.

> will virt-manager or some other tool 'unify' management of these 4 VM 
> hosts, or will it be pretty much, me-the-admin keeps track of what vm is 
> on what host and runs the right virt-manager and manages it all fairly 
> manually?

Depends what you mean by "manage" it. You can use 'virt-manager' on your
main computer to connect to the four hosts (and even set them to
auto-connect on start). From there, it's trivial to boot/connect/shut
down the guests.

If you're looking for high-availability of your VMs (setting up your
servers in pairs), this might be of interest;

https://alteeve.ca/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] - monitoring software

2013-10-20 Thread Paolo De Michele
hi everybody,

many thanks for all your replies
in the end, I chose observium

greetings


On 10/19/2013 11:33 PM, m...@tdiehl.org wrote:
> On Sat, 19 Oct 2013, John Horne wrote:
>
>> On Fri, 2013-10-18 at 14:49 +0200, Paolo De Michele wrote:
>>> hi,
>>>
>>> I have a dedicated server with several services running: ssh, ftp, httpd
>>> (with several sites andactive domains), the mail server (dovecot,
>>> postfix), dns.
>>>
>>> I'd like to monitor all of these services in a graphical, easy, setting
>>> of thresholds and alerts via email.
>>> I would also like that if a customer wanted to see the graphs I could
>>> create codes read-only.
>>>
>> Hello,
>>
>> We use 'Xymon' (http://sourceforge.net/projects/xymon/)
>> http://www.xymon.com/ will show you what it looks like.
>> It will monitor what you want, and produce graphs (see the 'trends'
>> column). I gather it does alerts, but we do not use them ourselves. As
>> you can see it has a graphical frontend.
>> We use it to monitor our Centos and RHEL servers, and some Debian and
>> Fedora devices.
> +1 for xymon. It is easy to setup and maintain and there are Centos rpms
> available at http://terabithia.org/rpms/xymon/.
>
> Regards,
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VNC

2013-10-20 Thread John R Pierce
On 10/20/2013 6:44 AM, Larry Martell wrote:
> I am running putty from Windows. I do have X11 forwarding enabled. But I
> still get  'could not open display' I though perhaps I needed to install
> Xming, but I don't have admin rights on the Windows box, so I couldn't do
> that.

yes, you need an X server, like xming, to use X11.

I believe you can run xming without installing it, get the zip version, 
or the 'portable' version.



-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kvm cluster w/ c6

2013-10-20 Thread John R Pierce
On 10/20/2013 8:55 AM, Rainer Duffner wrote:
> For your setup, I'd invest more in the hardware itself (redundant PSU,
> more redundancy in the disks, more powerful RAID-controller with
> battery-backed cache, the more hardware is hot-pluggable, the better
> etc..)

got all that.  dual PSUs which will be plugged into two seperate UPS"s, 
and the direct attached storage is on a SAS2 raid card with 2GB 
flash-backed writeback cache.

-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] - multiple virtual host on httpd

2013-10-20 Thread Paolo De Michele
hi everybody,

how I do to set a mutiple virtual host on httpd configuration?
I need to host multiple sites with the same IP address

what must be the httpd.conf configuration file and into /etc/httpd/conf.d/?

thanks in advance
kind regards,

./p
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] - multiple virtual host on httpd

2013-10-20 Thread John R Pierce
On 10/20/2013 3:42 PM, Paolo De Michele wrote:
> how I do to set a mutiple virtual host on httpd configuration?
> I need to host multiple sites with the same IP address
>
> what must be the httpd.conf configuration file and into/etc/httpd/conf.d/?

all changes should be put in a file, sitename.conf in the conf.d 
directory, no changs to httpd.conf are needed at all.   you can use one 
.conf file for all your virtual hosts, or one per host, its strictly 
your preference.

the specific settings for virtualhosts are detailed in most any 
documentation on the apache httpd web server.

for instance,
http://httpd.apache.org/docs/2.4/vhosts/

-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] - multiple virtual host on httpd

2013-10-20 Thread Paolo De Michele

On 10/21/2013 12:46 AM, Reindl Harald wrote:
>
> Am 21.10.2013 00:42, schrieb Paolo De Michele:
>> how I do to set a mutiple virtual host on httpd configuration?
>> I need to host multiple sites with the same IP address
>>
>> what must be the httpd.conf configuration file and into /etc/httpd/conf.d/?
> RTFM
> http://httpd.apache.org/docs/2.2/vhosts/name-based.html
>
>
I ask for help if it's because I need it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] - multiple virtual host on httpd

2013-10-20 Thread Frank Cox
On Mon, 21 Oct 2013 01:44:06 +0200
Paolo De Michele wrote:

> I ask for help if it's because I need it.

Just follow the example on that webpage (highlighted section in light
blue-gray background). Substitute the actual name that you want to use for where
it says "domain.tld", and that's all there is to it.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Could not find kernel-debuginfo-2.6.32-71.el6.x86_64.rpm in debuginfo repo

2013-10-20 Thread An Yang
Hi all,

My CentOS 6.0 system kernel crashed, the original 2.6.32-71 x86_64
kernel was used, but I could not find the debuginfo package in
debuginfo.centos.org repo.
How can I got it?


Regards,
An Yang


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos