Re: [CentOS] Shrew Soft VPN Client for CentOS 6

2012-02-27 Thread David G . Miller
David G. Miller  writes:

> 
> Les Mikesell  writes:
> > On Fri, Feb 24, 2012 at 4:30 PM, David G. Miller  wrote:

Recap: I could build and run the Shrew Soft VPN client but I couldn't get
packets back to the application process.  They made it to the NIC on the box
running the application but something weeded them out rather than delivering 
them.

After much Googling and advice from folks like Les as well as following the
advice in other message postings (that didn't work),  I finally found this
article in the Shrew Soft VPN-help archive:

http://lists.shrew.net/pipermail/vpn-help/2008-November/000950.html

Using this advice, I now have the VPN running.  The effect of setting the
various values for rp_filter aren't immediate and the one specified
(net.ipv4.conf.all.rp_filter) to set to zero was already zero (which is why I
didn't think this was the problem).  I decided to try setting all of the
rp_filter values to zero and one or more of them did the trick.

If anyone has any advice for figuring out the minimum set of rp_filter values
that must be zero, I would love to hear it.

In the "for what it's worth department" this was using an ike-2.1.7 rpm that 
was built from the FC-16 source rpm.  I just downloaded the srpm and built it 
on my EL6 box using rpmbuild.

Cheers,
Dave


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


[CentOS] Centos 6.x and Freenx issue..

2012-02-27 Thread Tom Bishop
Finally got a chance to install Centos 6.x x86_64 version and having an
issue with the latest version of freenx.  This is a desktop install on a
esxi 5 with all updates and only thing I have installed is the latest
vmware tools.  When I enable the extras repo and install the
nx-3.5.0-1.el6.ay.x86_64.rpm and freenx-0.7.3-8.el6.ay.x86_64.rpm.  When I
try to logon the desktop pops up but I get the little busy circle and it
never completes, I am unable to close the session or do anything to the
freenx window.  Here is the odd, part, if I install the earlier versions
from toracat, freenx-0.7.3-7.el6.ay.x86_64.rpm and
nx-3.4.0-7.el6.ay.x86_64.rpm the session comes up and works fine,I can
exclude the updates but wondering if anyone has any idea of what I might
try to get it to work with the latest, thanks in advance.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Q. re rpmdevtools

2012-02-27 Thread James B. Byrne
CentOS-5.7
rpmdevtools-6.8-1

Following installation of rpmdevtools when I run
rpmdev-setuptree as root, then root has a directory
rpmbuild created in its home directory.  If I do this as a
non-privileged user instead then nothing happens.

What am I missing?

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] XFS on Centos 6.2 ?

2012-02-27 Thread Warren Young
On 2/27/2012 9:31 AM, admin lewis wrote:
> I need of to mount an XFS partition on Centos 6.2 .. but I cant find
> the kernel module..

# rpm -ivh 
http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm

# yum install kmod-xfs xfsprogs
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Digest, Vol 85, Issue 27

2012-02-27 Thread Anthony Lee Vanover II
On Mon, 2012-02-27 at 12:00 -0500, centos-requ...@centos.org wrote: 
> Date: Sun, 26 Feb 2012 18:23:50 -0600
> From: Frank Cox 
> Subject: Re: [CentOS] LibreOffice rpm's
> To: centos@centos.org
> Message-ID: <20120226182350.d62d6288.thea...@melvilletheatre.com>
> Content-Type: text/plain; charset=US-ASCII
> 
> On Sun, 26 Feb 2012 16:06:41 -0800
> Anthony Lee Vanover II wrote:
> 
> > The best way to install LibreOffice on CentOS:
> > http://pastebin.com/ZrsmjF9m
> 
> You forgot the helppack.
> 
> -- 
> MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
> www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
> 
> 

It's easy enough to install, basically the same thing. Download here:
http://download.documentfoundation.org/libreoffice/stable/3.5.0/rpm/x86/LibO_3.5.0_Linux_x86_helppack-rpm_en-US.tar.gz
 Extract the archive, change to RPMS directory, and enter the following in 
terminal: su -c "yum install *.rpm"


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] LibreOffice rpm's vs Centos testing repo

2012-02-27 Thread Scott Robbins
On Mon, Feb 27, 2012 at 05:10:49PM +, n...@li.nux.ro wrote:
> Ljubomir Ljubojevic writes:
> 
> 
> Several people have tested this successfully. You can even get slightly 
> newer packages from here:
> http://li.nux.ro/download/nux/libreoffice/el6/x86_64/ that Karanbir hasn't 
> yet got around to putting in testing (there's a *-release rpm there, too).
> I would advise against using libeoffice.org supplied RPMs at this stage as 
> RHEL are also getting ready to release LO 3.4.5 in EL6 that will (hopefully) 
> gracefully upgrade my packages.


Working well for me--if you're the maintainer, then, Thank you.  :)


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

Buffy: Do you remember that demon that almost got out the night I
died? 
Willow: Every nightmare I have that doesn't revolve around academic
failure or public nudity is about that thing. In fact, once I 
dreamt that it attacked me while I was late for a test and naked.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LibreOffice rpm's vs Centos testing repo

2012-02-27 Thread nux
Ljubomir Ljubojevic writes:

> Those packages do not need to stay in testing repo. All that is 
> necessary is for several people use packages from testing repo and 
> report that they are working without issues to the Centos-devel mailing 
> list in this thread: 
> http://lists.centos.org/pipermail/centos-devel/2011-September/008159.html , 
> and packages will be moved to Extras repo.

Hi,

Several people have tested this successfully. You can even get slightly 
newer packages from here:
http://li.nux.ro/download/nux/libreoffice/el6/x86_64/ that Karanbir hasn't 
yet got around to putting in testing (there's a *-release rpm there, too).
I would advise against using libeoffice.org supplied RPMs at this stage as 
RHEL are also getting ready to release LO 3.4.5 in EL6 that will (hopefully) 
gracefully upgrade my packages.


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


Re: [CentOS] Is there a way to _remove_ dependencies from an RPM built from source?

2012-02-27 Thread Louis Lagendijk
On Sun, 2012-02-26 at 21:05 +0100, Michael Lampe wrote:
> Ljubomir Ljubojevic wrote:
> 
> > I totally lost you.
> 
> No problem. Play the game of chess like your namesake did so well. :)
> 
> > Please provide specifics, what package, is it in rpm
> > or not, details please, so we do not chase out own tails.
> 
> Gimme a trick: How to unregister an implicit but formally unavailable 
> runtime dependency in a spec file?
> 
> It's there at build time and therfore automatically used. Package builds 
> fine. But it can only be installed by force, because the implicit 
> dependency is explicitly recorded in the RPM. I want to get rid of that, 
> because fixing Intel's stuff is not an option.

Would it be be possible to create a dummy rom that requires the
intel-rpm but does provide the dependency?



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


Re: [CentOS] Centos 6.2, sheduled tasks (cron)

2012-02-27 Thread John R Pierce
On 02/27/12 2:29 AM, Mihamina Rakotomandimby wrote:
> - I made a shell script in /etc/cron.daily/dobackup
> - I made it 755, root.root.
> - In /etc/anacrontab, START_HOURS_RANGE=21-23 (I kept the other lines
> unchanged)

if you want to get picky about when something runs, why not use a 
regular crontab entry, such as is created with crontab -e ?



-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

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


Re: [CentOS] XFS on Centos 6.2 ?

2012-02-27 Thread John Doe
From: admin lewis 

> I need of to mount an XFS partition on Centos 6.2 .. but I cant find
> the kernel module..
> it that true the xfs is available only under x86_64 ?

Google says "It is unlikely that upstream will add xfs to the 32-bit OS because 
xfs 
tends to have some issues with 4k stacks on the 32-bit kernels."

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


[CentOS] XFS on Centos 6.2 ?

2012-02-27 Thread admin lewis
Hi,
I need of to mount an XFS partition on Centos 6.2 .. but I cant find
the kernel module..
it that true the xfs is available only under x86_64 ?

-- 
Linux Server, Microsoft Windows 2003/2008 Server, Exchange 2007
http://predellino.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] My Computer

2012-02-27 Thread Ljubomir Ljubojevic
On 02/27/2012 03:31 AM, Yves Bellefeuille wrote:
> On Sunday 26 February 2012, Dennis Whiterock
> wrote:
>
>> I have a HP Pavilion p2 1033wb. I has a 3 core Vision AMD E-300
>> Processor Dual Core runs at 3.2 GHZ. CentOS will run ok with this
>> processor won't it
>
> I can run Debian on my Aspire One 522 with an AMD C-50 processor, but I
> couldn't get CentOS to install properly.
>
> The E-300 processor won't be a problem; the rest of the hardware might
> be.
>

In that case, you might want to try Stella: li.nux.ro/stella/ and see if 
that helps. There is LiveCD also.

Stella has some drivers from ElRepo integrated, so if regular CentOS 
(install CD or LiveCD) does not run on your hardware, give it a try.

-- 

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

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] strange memory issues with CentOS 6.2 on VPS

2012-02-27 Thread Tomas Vondra
On 27 Únor 2012, 11:26, Peter Kjellström wrote:
> On Sunday 26 February 2012 19.59.07 Tomas Vondra wrote:
> ...
>> i.e. about 200 MB of free memory, but apache fails because of segfaults
>> when forking a child process:
>>
>>   [16:49:51 2012] [error] (12)Cannot allocate memory: fork: Unable to
>>   fork new process
>>   [16:51:17 2012] [notice] child pid 2577 exit signal Segmentation
>>fault (11)
>
> In general things can get quite bad with relatively high memory pressure
> and
> no swap.

Sure, but there's no such pressure. There was almost 200MB of "free"
memory (used for page cache, not dirty thus easy to drop).

> That said, one thing that comes to mind is stacksize. When forking the
> linux
> kernel needs whatever the current stacksize is to be available as (free +
> free
> swap).
>
> Also, just because you see Y bytes free doesn't mean you can successfully
> malloc that much (fragmentation, memory zones, etc.).

Yup, I'm aware of that. But it's rather improbable, especially given the
other symptoms.

Update: After submitting the original post, I've noticed that these issues
probably started about a week ago after upgrading a kernel and several
related packages. I've had a swap there and the issues were not as severe,
so I haven't noticed that before. I do remember I got an OOM error during
that upgrade and I thought I've dealt with it properly, but maybe not. So
I've reinstalled (remove+install) all those packages, rebooted and the
problems disappeared. I will check that in the evening, but hopefully it's
fixed.

kind regards

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


Re: [CentOS] Video corruption bug in stellarium

2012-02-27 Thread Nicolas Thierry-Mieg
Mark LaPierre wrote:
>
> I checked the repoforge web site.  It's just a shell at the moment.

repoforge activity happens on their mailing list and on their github:
https://github.com/repoforge

that's where you should go with issues or requests
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LibreOffice rpm's vs Centos testing repo

2012-02-27 Thread Ljubomir Ljubojevic
On 02/27/2012 11:16 AM, Markus Falb wrote:
> On 27.2.2012 10:10, wwp wrote:
>> Hello Johan,
>>
>>
>> On Mon, 27 Feb 2012 10:02:16 +0100 Johan 
>> Vermeulen  wrote:
>>
>>> Dear All,
>>>
>>> I thought the advantage from using CentOS-Testing repository would be:
>>> * I then have a Selinux module
>>> * Automatic update with yum update. Although that's maybe not a good idea, 
>>> because I'd have to leave the Testing-repo enabled.
>>>
>>> I tried installing from Libreoffice.org before, but got into trouble when 
>>> logging in with ssh -X and
>>> then opening LibreOffice.
>>
>> Well, if the packages are available in Testing-repo, I vote for this
>> solution too, even if I will check-update manually (with --enablerepo
>> and libreoffice package name). Because there won't be updates too often,
>> and because I'll let testing-repo disabled here by default.
>
> You could restrict the testing repo to only libreoffice, see yum.conf(5)
> includepkgs=libreoffice
> or if there are dependencies needed from testing
> includepkgs=libreoffice dep1 dep2 ...
>

Those packages do not need to stay in testing repo. All that is 
necessary is for several people use packages from testing repo and 
report that they are working without issues to the Centos-devel mailing 
list in this thread: 
http://lists.centos.org/pipermail/centos-devel/2011-September/008159.html , 
and packages will be moved to Extras repo.


-- 

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

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 6.2, sheduled tasks (cron)

2012-02-27 Thread Mihamina Rakotomandimby
Hi all,

I wanted to schedule some rsync backups and found that CentOS is by 
default using anacron.

I'm mostly used with the historical cron, but let's follow the progress :-)

- I made a shell script in /etc/cron.daily/dobackup
- I made it 755, root.root.
- In /etc/anacrontab, START_HOURS_RANGE=21-23 (I kept the other lines 
unchanged)
- When I manually run /etc/cron.daily/dobackup, it runs quietly (no errors)

Where should I check if the task scheduler is setup correctly (logs)?

Must I reload a service (BTW, is it "crond" yet?) after editing 
/etc/anacrontab?

How to tell that it may launch between 21:00 and 5:00?
- START_HOURS_RANGE=21-05?
- START_HOURS_RANGE=21-23,00-05?
- ...

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


Re: [CentOS] strange memory issues with CentOS 6.2 on VPS

2012-02-27 Thread Peter Kjellström
On Sunday 26 February 2012 19.59.07 Tomas Vondra wrote:
...
> i.e. about 200 MB of free memory, but apache fails because of segfaults
> when forking a child process:
>
>   [16:49:51 2012] [error] (12)Cannot allocate memory: fork: Unable to
>   fork new process
>   [16:51:17 2012] [notice] child pid 2577 exit signal Segmentation
>fault (11)

In general things can get quite bad with relatively high memory pressure and
no swap.

That said, one thing that comes to mind is stacksize. When forking the linux
kernel needs whatever the current stacksize is to be available as (free + free
swap).

Also, just because you see Y bytes free doesn't mean you can successfully
malloc that much (fragmentation, memory zones, etc.).

/Peter

> or when processing requests:
>
>   [26 16:30:16 2012] [error] [client 66.249.72.1] PHP Fatal error:  Out
>   of memory (allocated 262144) (tried to allocate 523800 bytes) in
>   Unknown on line 0
>
> The memory_limit in PHP is set to 32MB, so it's not the case. Similar
> issues happen to PostgreSQL:
>
>   16:42:01 CET pid%04 db=xx-drupal user=xx FATAL:  out of
>memory
>   16:42:01 CET pid%04 db=xx-drupal user=xx DETAIL:  Failed on
>request of size 2488.
>   16:42:01 CET pid$38 db= user= LOG:  could not fork new process for
>connection: Nelze alokovat paměť
>   16:42:01 CET pid$38 db= user= 4f4a5247.986:21 LOG:  could not fork
>new process for connection: cannot allocate memory
>
> I have absolutely no clue what's causing this / how to fix it. According
> to free/vmstat there's about 200MB of free RAM  all the time, so I have
> no idea why the alloc calls fail.


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] LibreOffice rpm's vs Centos testing repo

2012-02-27 Thread Markus Falb
On 27.2.2012 10:10, wwp wrote:
> Hello Johan,
> 
> 
> On Mon, 27 Feb 2012 10:02:16 +0100 Johan Vermeulen 
>  wrote:
> 
>> Dear All,
>>
>> I thought the advantage from using CentOS-Testing repository would be:
>> * I then have a Selinux module
>> * Automatic update with yum update. Although that's maybe not a good idea, 
>> because I'd have to leave the Testing-repo enabled.
>>
>> I tried installing from Libreoffice.org before, but got into trouble when 
>> logging in with ssh -X and
>> then opening LibreOffice.
> 
> Well, if the packages are available in Testing-repo, I vote for this
> solution too, even if I will check-update manually (with --enablerepo
> and libreoffice package name). Because there won't be updates too often,
> and because I'll let testing-repo disabled here by default.

You could restrict the testing repo to only libreoffice, see yum.conf(5)
includepkgs=libreoffice
or if there are dependencies needed from testing
includepkgs=libreoffice dep1 dep2 ...

-- 
Kind Regards, Markus Falb



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LibreOffice rpm's vs Centos testing repo

2012-02-27 Thread wwp
Hello Johan,


On Mon, 27 Feb 2012 10:02:16 +0100 Johan Vermeulen  
wrote:

> Dear All,
> 
> I thought the advantage from using CentOS-Testing repository would be:
> * I then have a Selinux module
> * Automatic update with yum update. Although that's maybe not a good idea, 
> because I'd have to leave the Testing-repo enabled.
> 
> I tried installing from Libreoffice.org before, but got into trouble when 
> logging in with ssh -X and
> then opening LibreOffice.

Well, if the packages are available in Testing-repo, I vote for this
solution too, even if I will check-update manually (with --enablerepo
and libreoffice package name). Because there won't be updates too often,
and because I'll let testing-repo disabled here by default.


Regards,

> On 27-02-12 09:00, wwp wrote:
> > Hello,
> >
> >
> > On Mon, 27 Feb 2012 07:03:11 +0100 Vnpenguin  wrote:
> >
> >> On Sun, Feb 26, 2012 at 20:54, Ljubomir Ljubojevic  wrote:
> >>> On 02/26/2012 12:34 AM, Johnny Hughes wrote:
>  You can use Libre Office directly from libreoffice.org ... I do.
> >> Yep, rpms LO from libreoffice.org work very well on my CentOS box.
> > Same here. Download'ed .tgz from libreoffice.org, unpacked and
> > installed the .rpm I wanted (help, languages, core stuff), integrated
> > to the GNOME desktop and works like a charm.
> >
> >
> > Regards,
> >
> >
> >
> > ___
> > 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

-- 
wwp


signature.asc
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LibreOffice rpm's vs Centos testing repo

2012-02-27 Thread Johan Vermeulen
Dear All,

I thought the advantage from using CentOS-Testing repository would be:
* I then have a Selinux module
* Automatic update with yum update. Although that's maybe not a good idea, 
because I'd have to leave the Testing-repo enabled.

I tried installing from Libreoffice.org before, but got into trouble when 
logging in with ssh -X and
then opening LibreOffice.

greetings, J.



On 27-02-12 09:00, wwp wrote:
> Hello,
>
>
> On Mon, 27 Feb 2012 07:03:11 +0100 Vnpenguin  wrote:
>
>> On Sun, Feb 26, 2012 at 20:54, Ljubomir Ljubojevic  wrote:
>>> On 02/26/2012 12:34 AM, Johnny Hughes wrote:
 You can use Libre Office directly from libreoffice.org ... I do.
>> Yep, rpms LO from libreoffice.org work very well on my CentOS box.
> Same here. Download'ed .tgz from libreoffice.org, unpacked and
> installed the .rpm I wanted (help, languages, core stuff), integrated
> to the GNOME desktop and works like a charm.
>
>
> Regards,
>
>
>
> ___
> 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] LibreOffice rpm's

2012-02-27 Thread wwp
Hello,


On Mon, 27 Feb 2012 07:03:11 +0100 Vnpenguin  wrote:

> On Sun, Feb 26, 2012 at 20:54, Ljubomir Ljubojevic  wrote:
> > On 02/26/2012 12:34 AM, Johnny Hughes wrote:
> >> You can use Libre Office directly from libreoffice.org ... I do.
> >
> 
> Yep, rpms LO from libreoffice.org work very well on my CentOS box.

Same here. Download'ed .tgz from libreoffice.org, unpacked and
installed the .rpm I wanted (help, languages, core stuff), integrated
to the GNOME desktop and works like a charm.


Regards,

-- 
wwp


signature.asc
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos