Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3

2013-06-03 Thread Rock
On Mon, 03 Jun 2013 16:55:47 -0400, Scott Robbins wrote:

> I don't see anything to add--you linked to the forum thread, which covers
> most of the information we have had here.

Thanks. Now I'll go back to my file recovery problems!
:)


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


Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3

2013-06-03 Thread Scott Robbins
On Mon, Jun 03, 2013 at 07:20:08PM +, Rock wrote:
> On Mon, 03 Jun 2013 07:02:33 -0400, Scott Robbins wrote:
> 
> > perhaps a feature request 
> 
> OK. Please take a look at the bug and feel free to correct
> anywhere that I err or misrepresent the problem. 
> 
I don't see anything to add--you linked to the forum thread, which covers
most of the information we have had here.

-- 
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] Need a Centos 6 USB hard drive recovery procedure

2013-06-03 Thread Rock
On Mon, 03 Jun 2013 16:41:29 +0200, Louis Lagendijk wrote:

> testdik can work on a disk image, so I recommend using that. Don't risk
> chaging the original disk (although testdisk is not supposed to touch it
> IIRC)
> /Louis

Thanks Louis for sticking with me. I do greatly appreciate your help!

I'm so out of my league; but I'll try to faithfully report the comings
and goings - so that others - who follow in our footsteps - may benefit.

At the moment, I have the dd image that I'll use testdisk on; and I have
the original disk that I'm using Recuva on (in Windows XP Home, so it's 
really OT for this forum).

Unfortunately, Recuva is giving an error, that one (or more) of the 
400K files has too long of a file spec (sheesh. They could at least 
tell me *which* filespec it is); so I have to back up the files by
keyword searches (without the help of regular expressions); so, overall, 
I'd say Recuva is a bad way to do things:
 
Details here if you're interested:
 http://forum.piriform.com/index.php?showtopic=38776
 Need to know how to recover table of contents for an external NTFS 150GB disk


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


Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3

2013-06-03 Thread Rock
On Mon, 03 Jun 2013 07:02:33 -0400, Scott Robbins wrote:

> perhaps a feature request 

OK. Please take a look at the bug and feel free to correct
anywhere that I err or misrepresent the problem. 

If nobody corrects anything, I'll know you didn't look :)
(because I really can't have accurately portrayed the problem!).

I invite corrections, so that we all benefit:
 https://bugzilla.redhat.com/show_bug.cgi?id=970242


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


Re: [CentOS] Where has system-config-sound gone? {Solved}

2013-06-03 Thread Ken Smith

Ljubomir Ljubojevic wrote:
> On 06/01/2013 06:18 PM, Ken Smith wrote:
>
>> Hi All,
>>
>> Just installed 6.4 on a system that might become a Myth Backend. Where's
>> the normal sound icon gone that usually appears in Gnome? I can see the
>> intel sound card driver is loaded. Which bits of alsa should be there?
>> This is what I've got:-
>>
>> rpm -qa | grep alsa
>>
>> alsamixergui-0.9.0-0.9.rc2.el6.x86_64
>> alsa-utils-1.0.22-5.el6.x86_64
>> alsa-lib-1.0.22-3.el6.x86_64
>>
>> Under System | Preferences  Selecting the "Sound" icon gives a dialog
>> box that says "Waiting for Sound System to respond" and the sound system
>> never does respond.
>>
>> I bet I've got a zoo of stuff missing
>>
>> Any pointers most welcome
>>
>> Thanks
>>
>> Ken
>>
>>
>>  
> Do you have pulseaudio installed?
>
> Also you can install padevchooser, Pulse Audio Device Chooser.
>
>
You were on the right track after all. I have a VM of 6.0 where the 
sound icon appears in the notification area. Installing the missing bits 
of pulseaudio compared with the VM, made the applet appear. As follows:-

Jun 03 18:03:46 Installed: alsa-plugins-pulseaudio-1.0.21-3.el6.x86_64
Jun 03 18:15:02 Installed: gnome-keyring-pam-2.28.2-8.el6_3.x86_64
Jun 03 18:15:02 Installed: 1:gdm-libs-2.30.4-39.el6.x86_64
Jun 03 18:15:03 Installed: pulseaudio-utils-0.9.21-14.el6_3.x86_64
Jun 03 18:15:04 Installed: lm_sensors-libs-3.1.1-17.el6.x86_64
Jun 03 18:15:05 Installed: plymouth-utils-0.8.3-27.el6.centos.x86_64
Jun 03 18:15:06 Installed: plymouth-gdm-hooks-0.8.3-27.el6.centos.x86_64
Jun 03 18:15:12 Installed: 1:gdm-2.30.4-39.el6.x86_64
Jun 03 18:15:12 Installed: pulseaudio-gdm-hooks-0.9.21-14.el6_3.x86_64
Jun 03 18:15:16 Installed: pulseaudio-module-x11-0.9.21-14.el6_3.x86_64
Jun 03 18:15:16 Installed: pulseaudio-module-gconf-0.9.21-14.el6_3.x86_64

Thank you

Ken


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] OT: Script Help

2013-06-03 Thread SilverTip257
On Thu, May 30, 2013 at 1:01 PM, Les Mikesell  wrote:

> On Thu, May 30, 2013 at 11:43 AM, Larry Martell 
> wrote:
>
> >>> Because a cat is a terrible thing to waste.
> >>>
> >>
> >> It goes back to the days of expensive computing resources when every
> >> process mattered (the days of wooden computers and iron
> >> programmers...).
> >
> > Exactly - it mattered once, but doesn't today.
>
> No, efficiency always matters - it is just that people who can afford
> to waste resources don't care and people who make commissions on
> selling the supplies actively discourage it.   You probably wouldn't
> make a pipeline of cat|cat|cat|cat to get input somewhere so why use
> even one?
>

+1

One can also make a tangent to someone piping to grep and then piping to
awk ...
Just use awk to match your regexp!


>
> --
>Les Mikesell
>  lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Size limitations in .htaccess

2013-06-03 Thread Michael Krug
You could try ipset (yum install ipset) and create live lists of ips/blocks
and create a single lined rule in iptables to handle the lists. The only
downside is the lists are lost on a reboot, which can be overcome with a
little scripting. 

> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Max Pyziur
> Sent: Wednesday, May 29, 2013 10:08 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Size limitations in .htaccess
> 
> On Wed, 29 May 2013, m.r...@5-cent.us wrote:
> 
> > Max Pyziur wrote:
> >>
> >> Greetings,
> >>
> >> It seems that I've hit a size limitation when adding unwanted IPs to
> >> a "Deny From" line.
> >>
> >> Is there any place where this is specified?
> >>
> >> Also, if I hit the max length on a "Deny From" line, can I add
> >> another "Deny From" line?
> >>
> >> (Running CentOS 6, and the following version of Apache:
> >> httpd-2.2.15-28.el6.centos.x86_64)
> >
> > Have you considered running fail2ban, and banning them using iptables?
> 
> I've considered that.
> 
> But I'm tied to my (little?/not-so-little?) home-grown system of mining
> threatening IPs from BL sites (spam, sshd, forumspam), running them
> through an sql database, and outputing /etc/hosts.deny files to block via
tcp
> wrappers, and now starting to output "Deny from" lines to place in
.htaccess
> files. "Deny From" lines longer than somewhere around 8000 characters
> seem to be the limit; I was curious if there was a specified limit
somewhere,
> and whether or not I could put multiple Deny From lines?
> 
> WHile fail2ban looks good, the little that I've tried it, I like keeping
the firewall
> iptables neat, and doing the blocking as I have described above (maybe
it's
> familiarity trumping fail2ban; maybe it's that fail2ban has a bit of a
learning
> curve ...)
> 
> > mark
> >
> 
> Much thanks for the advice.
> 
> Max Pyziur
> p...@brama.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure

2013-06-03 Thread Louis Lagendijk
On Sat, 2013-06-01 at 19:52 +, Rock wrote:
> On Sat, 01 Jun 2013 16:40:46 +, Rock wrote:
> 
> > Now comes the biggie, backing up the entire 150MB disk:
> > Q: Maybe I should have used the "conv=noerror" option
> > as suggested in the dd wikipedia entry?
> > $ sudo dd if=/dev/sdc1 of=/mnt/image.dd bs=1M
> 
> The dd finished backing up after about 3 hours.
> 
> $ sudo dd if=/dev/sdc1 of=/mnt/image.dd bs=1M
> ==> 152625+1 records in
> ==> 152625+1 records out
> ==> 160039240704 bytes (160 GB) copied, 9750.86 s, 16.4 MB/s
> 
> Although I can't see to change the permissions of the result:
> $ ls -l
> ==> -rwxrwxrwx. 1 root root 160039240704 Jun  1 12:13 image.dd
> $ sudo chmod uog=r /mnt/image.dd
> $ ls -l
> ==> -rwxrwxrwx. 1 root root 160039240704 Jun  1 12:13 image.dd
> $ sudo chmod 555 ./image.dd
> $ ls -l
> ==> -rwxrwxrwx. 1 root root 160039240704 Jun  1 12:13 image.dd
> 
> At this point, some people said to try to recover using 
> the backup; while others said I should work off the original disk.
> 
> I think I'll try the testdisk recover procedure first.
> 
testdik can work on a disk image, so I recommend using that. Don't risk
chaging the original disk (although testdisk is not supposed to touch it
IIRC)
/Louis

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


[CentOS] PXE Boot Live CD

2013-06-03 Thread N Tunix
Hello Guys
We are starting a project's desktop virtualization, I'm trying to create an
image centos to install Citrix Receiver for q clients the machines do not
need HD.
Among all tests q I bumped into two "errors":
1. Install Centos
2. Foreign q there is no bootable image
I studied various contents on the internet a list of them below:
https://projects.centos.org/trac/livecd/wiki/PxeBoot
https://projects.centos.org/trac/livecd/wiki/GetToolset
http://www.bestlinux.com.br/index.php/dicas/126-distribuicoes/2609
http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD
http://pkgs.org/centos-6-rhel-6/epel-i386/livecd-tools-13.4-2.el6.i686.rpm.html
https://projects.centos.org/trac/livecd/wiki/CreateImage
https://projects.centos.org/trac/livecd/browser/trunk/CentOS6/rhel6beta-livecd-minimal.ks?rev=88

https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive
http://unixrevolution.blogspot.com.br/2011/12/pxe-boot-livecd-image.html
http://pkgs.org/download/livecd-tools
https://projects.centos.org/trac/livecd/

Besides these follow this tutorial to create the tftp server.
http://practical-tech.blogspot.com.br/2011/10/how-to-configure-pxe-server-in-rhel-6.html

If anyone has any tips thanks.
Thank you!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to start the graphic services configuration?

2013-06-03 Thread Norman Schklar
Norm Schklar


On Mon, Jun 3, 2013 at 7:56 AM, Ljubomir Ljubojevic  wrote:

> On 06/03/2013 01:03 PM, Norman Schklar wrote:
> > I don't see a menu option from the KDE window or a name in the install
> > software..
> >
> > Norm
>
> What exactly you want to do? Change display settings (monitor, driver)?
> Or setup resolution?
>
> P.S. CentOS is Gnome based, KDE is mostly an addition.
>

Trying to make the service config available to the graphic desktop.  I
found it and installed.   It is Gnome..
I'm configuring two 1 u web servers.  first time in a while, so I'll have
lots of questions.
Thanks.

Norm

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


Re: [CentOS] How to start the graphic services configuration?

2013-06-03 Thread Ljubomir Ljubojevic
On 06/03/2013 01:03 PM, Norman Schklar wrote:
> I don't see a menu option from the KDE window or a name in the install
> software..
>
> Norm

What exactly you want to do? Change display settings (monitor, driver)? 
Or setup resolution?

P.S. CentOS is Gnome based, KDE is mostly an addition.


-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Network performance issue on CentOS 6 KVM

2013-06-03 Thread linuxsupport
Hi All,

I am using CentOS 6.4 on 4 servers, guests are also CentOS 6.4

Network is setup using virtio, and vhost, this works well but sometime I
see connection issue from application to DB.

I found that sometimes latency increases from 0.200 ms approx to 123ms or
even more sometimes, this happens only for 1-2 packets but keep happening
after sometime.

CPU load remains under 1, CPU usages is around 20-30%.

If I ping from host machine to host machine then there is consistent
latency, this only happens when ping from a guest machine to either other
guest machines or a host machine.

Did anyone face similar issue?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to start the graphic services configuration?

2013-06-03 Thread Norman Schklar
I don't see a menu option from the KDE window or a name in the install
software..

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


Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3

2013-06-03 Thread Scott Robbins
On Mon, Jun 03, 2013 at 07:53:26AM +, Rock wrote:
> On Sun, 02 Jun 2013 11:08:28 -0400, Scott Robbins wrote:
> 
> > I thought we're having the problem with RHEL6.  (and offshoots).
> 
> What's a good one-line description of the problem?
> 
> Is it this?
>  RHEL6 mtpfs does not properly mount Samsung Galaxy SIII in MTP media mode
> If not, would someone kindly correct that one liner?




Yes, that's pretty accurate.   Although there is no official RH mtpfs
package.  The source rpm was from sourceforge.  So perhaps a feature
request like

RHEL6 cannot current mount the popular Samsung Galaxy SIII.  Fedora is
using simple-mtpf (and perhaps a link to 841260, and even 820583 with a
mention that 841260 shows that mtpfs has been abandoned by Fedora).


> 
> In addition, is this bug the same thing?
>  Bug 820583 - Review Request: 
>  mtpfs - FUSE file system allowing MTP device to be mounted and browsed
>  https://bugzilla.redhat.com/show_bug.cgi?id=820583

It's against Fedora. 



> 
> Or maybe this bug?
>  Bug 841260 - mtpfs sees only directories, not files, on Verizon Wireless 
>  Samsung Galaxy S III with lots of data 
>  https://bugzilla.redhat.com/show_bug.cgi?id=841260
>  Notice comment #7 that mtpfs has been abandoned.

Note that I was one of the ones who commented on that one, with the 
simple-mtpfs solution.  That is
also against Fedora 17, so not applicable.


-- 
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] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3

2013-06-03 Thread Rock
On Sun, 02 Jun 2013 11:08:28 -0400, Scott Robbins wrote:

> I thought we're having the problem with RHEL6.  (and offshoots).

What's a good one-line description of the problem?

Is it this?
 RHEL6 mtpfs does not properly mount Samsung Galaxy SIII in MTP media mode
If not, would someone kindly correct that one liner?

In addition, is this bug the same thing?
 Bug 820583 - Review Request: 
 mtpfs - FUSE file system allowing MTP device to be mounted and browsed
 https://bugzilla.redhat.com/show_bug.cgi?id=820583

Or maybe this bug?
 Bug 841260 - mtpfs sees only directories, not files, on Verizon Wireless 
 Samsung Galaxy S III with lots of data 
 https://bugzilla.redhat.com/show_bug.cgi?id=841260
 Notice comment #7 that mtpfs has been abandoned.

Also notice three MTP-file system alternatives listed in that bug report:
go-mtpfs:
 https://github.com/hanwen/go-mtpfs/#readme
jmptfs: 
 
research.jacquette.com/jmtpfs-exchanging-files-between-android-devices-and-linux/
simple-mtpfs:
 https://github.com/phatina/simple-mtpfs


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