Re: [CentOS] tcpdump loses lots of packets

2016-08-15 Thread Steven Tardy

> On Aug 14, 2016, at 6:20 AM, Anand Buddhdev  wrote:
> 
> Any ideas why tcpdump loses so many packets?

Saw your nanog posts...

How many RX queues are configured? What does 'ethtool -S p1p1' show? Any 
discarded packets in the RX queue(s)?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftpd broken (Resolved)

2016-08-15 Thread Günther J . Niederwimmer
Hello,

Am Montag, 15. August 2016, 18:24:31 schrieb Eero Volotinen:
> You could try setting in vsftpd.conf:
  
> *use_sendfile=NO--*


Now I found the Problem it is a broken add on for firefox ??

With new installed Filezilla it is working ..

Don't use the the add on for firefox ...

Thanks,
> 
> 2016-08-15 18:17 GMT+03:00 Günther J. :
> > Hello,
> > 
> > Am Montag, 15. August 2016, 18:11:56 schrieb Eero Volotinen:
> > > Sounds like hardware failure (memory, disk) or network problem.
> > 
> > On all tested Systems ;-) and I mean I found 100 Messages in Goo...
> > with
> > the same Problem ??
> > 
> > > 2016-08-15 16:20 GMT+03:00 Günther J. :
> > > > Hello,
> > > > 
> > > > CentOS 7.2
> > > > 
> > > > have any a workaround for this Error ?
> > > > 
> > > > vsftpd Error:426 failure Reading Network STream
> > > > 
> > > > after transfer I have a broken file on the ftp Server
> > > > 
> > > > I mean I have found a newer Version 3.0.3 bot not for CentOS 7.2 but I
> > > > cant
> > > > say is this Problem corrected in 3.0.3?
> > > > 
> > > > Any hint please ;-)
> > > > 
> > > > --
> > > > mit freundlichen Grüßen / best regards,
> > > > 
> > > >   Günther J. Niederwimmer
> > > > 
> > > > ___
> > > > CentOS mailing list
> > > > CentOS@centos.org
> > > > https://lists.centos.org/mailman/listinfo/centos
> > > 
> > > ___
> > > CentOS mailing list
> > > CentOS@centos.org
> > > https://lists.centos.org/mailman/listinfo/centos
> > 
> > --
> > mit freundlichen Grüßen / best regards,
> > 
> >   Günther J. Niederwimmer
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 
mit freundlichen Grüßen / best regards,

  Günther J. Niederwimmer
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postscreen and clamav on CentOS 6.8

2016-08-15 Thread Jon LaBadie
On Mon, Aug 15, 2016 at 11:08:26AM -0500, Johnny Hughes wrote:
> On 08/12/2016 03:38 PM, Jon LaBadie wrote:
> > A friend runs 6.8 but would like to add postscreen
> > to his email server.  It is provided with postfix
> > version 2.8 and up.  The newest postfix for 6.8
> > is 2.6.x.  Any likelyhood it will be further
> > updated?  Or is there another source for newer
> > postfix versions for CentOS 6.8?
> > 
> > Similar query for the clamav db, now at 0.99.1
> > with 0.99.2 out for quite some time.
> > 
> > Jon
> > 
> 
> For the record, Enterprise Linux distributions do not normally switch
> major server versions during the lifetime of the distribution.  This is
> ACTUALLY the whole reason ENTERPRISE distros exist.
> 
Had he asked about a switch to the next major version of postfix 3.X,
I would not have bothered asking on this list.  However I thought
an update of 2.6->2.8 might not be considered a "major version" change.

Jon
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Custom desktop menu entries: weird behavior with menu categories

2016-08-15 Thread Nicolas Kovacs
Le 15/08/2016 à 17:57, Johnny Hughes a écrit :
> But, one thing to check is the spec file for the package that provides
> the .desktop file to ensure it is configured as noreplace.  If it is
> not, you need to back up your custom files as they will replaced with an
> upgrade.

I know that. The simple solution here is to run a script that replaces
all vanilla desktop files by custom ones, then run it after each
upgrade. I've been doing for that for years, it works perfectly.

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Single source repo, producing packages for CentOS 6 and 7, how?

2016-08-15 Thread Martinx - ジェームズ
On 9 August 2016 at 15:50, Peter  wrote:

> On 10/08/16 07:31, Martinx - ジェームズ wrote:
> > Guys,
> >
> >  I have a source code here, that produces RPM packages for CentOS 6, that
> > includes an Upstart Job and a ugly and minimal Init Script.
> >
> >  Now, I have it running on CentOS 7, via systemd, looks good!
> >
> >  However, my RPM package for CentOS 7 still includes the useless Upstart
> > and Init Scripts...
> >
> >  So, here is the question:
> >
> >  How are you guys managing this? I mean, I would like to have 1 single
> > source and 1 SPEC file for both CentOS 6 and 7, but no need to systemd
> > service files on 6 / no need to upstart job files on 7.
>
> %if 0%{?rhel} > 6
> # Stuff for CentOS 7 here
> %else
> # Stuff for CentOS 6 here
> %endif
>

Sweet... Thank you guys!
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Custom desktop menu entries: weird behavior with menu categories

2016-08-15 Thread Jonathan Billings
On Sun, Aug 14, 2016 at 05:13:43PM +0200, Nicolas Kovacs wrote:
> After some more experimenting, I found the culprit. It looks like the
> structure of the classic Applications menu is not only defined by the
> individual *.desktop files in /usr/share/applications, but also in a
> weird /etc/xdg/menus/gnome-applications.menu file which contains a bunch
> of redundancies. Not exactly KISS principle.
> 
> So it looks like in order to customize my menus, I have to edit
> individual *.desktop files in /usr/share/applications as well as the
> XML-style entries in /etc/xdg/menus/gnome-applications.menu.
> 
> I bluntly admit I don't get the logic behind this sort of thing.

If you want to define new menu categories, put a file ending with
.menu in /etc/xdg/menus/applications-merged/.  It should be read in by
any of the default .menu files that call DefaultMergeDirs.  I'm pretty
sure this will only let you define new menus, and not override
existing ones.  But it sounds to me like you're editing a lot of files
that will most likely be replaced next time you get an update to
the gnome-menus package.

I define extra menu entries and then define XDG_DATA_DIR to a network
volume to provide menu entries for our 3rd-party licensed software.

Just be aware that if you point XDG_DATA_DIR to a directory that is
exists but you aren't permitted to read will cause Gnome 3 to crash in
CentOS7.  (I've already filed a bug)

-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Custom desktop menu entries: weird behavior with menu categories

2016-08-15 Thread Liam O'Toole
On 2016-08-15, Johnny Hughes
 wrote:

[...]

> The best thing to do is to keep a copy of all of your modified .desktop
> files somewhere else and you can copy them back in if necessary after an
> update.
>
> Thanks,
> Johnny Hughes

The OP could place the modified .desktop files in
/usr/local/share/applications. The environment variable XDG_DATA_DIRS
will determine precedence.

-- 

Liam

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


Re: [CentOS] postscreen and clamav on CentOS 6.8

2016-08-15 Thread Warren Young
On Aug 15, 2016, at 10:08 AM, Johnny Hughes  wrote:
> 
> CentOS is the distribution you are looking for.
   ^ not

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


Re: [CentOS] postscreen and clamav on CentOS 6.8

2016-08-15 Thread Johnny Hughes
On 08/12/2016 03:38 PM, Jon LaBadie wrote:
> A friend runs 6.8 but would like to add postscreen
> to his email server.  It is provided with postfix
> version 2.8 and up.  The newest postfix for 6.8
> is 2.6.x.  Any likelyhood it will be further
> updated?  Or is there another source for newer
> postfix versions for CentOS 6.8?
> 
> Similar query for the clamav db, now at 0.99.1
> with 0.99.2 out for quite some time.
> 
> Jon
> 

For the record, Enterprise Linux distributions do not normally switch
major server versions during the lifetime of the distribution.  This is
ACTUALLY the whole reason ENTERPRISE distros exist.

Backporting of security and bug fixes is done to make the released
version more stable and more secure over the lifetime of the distro so
that custom software that you pay to be written does not become obsolete
with an API/ABI change of a component.

See this link about backporting by Red Hat:

https://access.redhat.com/security/updates/backporting

So, for almost any server related services (IPA, LDAP, EMail, httpd,
samba, etc., etc., ... ), there will likely not be an upgrade of the
service within the main distribution.

CentOS-6 will most likely always have httpd version 2.2.15-XX (where XX
will change, but not 2.2.15).  CentOS-7  will have version 2.4.6-XX of
httpd.

If you want server services always moving to the latest and greatest,
CentOS is the distribution you are looking for.  That is Fedora (if you
want a Red Hat family equivalent).

Thanks,
Johnny Hughes





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


Re: [CentOS] Custom desktop menu entries: weird behavior with menu categories

2016-08-15 Thread Johnny Hughes
On 08/14/2016 10:13 AM, Nicolas Kovacs wrote:
> Le 14/08/2016 à 11:33, Nicolas Kovacs a écrit :
>> 1. When I edit gnome-terminal.desktop and define "Categories=System;",
>> it won't appear in "Outils systèmes" as expected but remains in
>> "Utilitaires".
>>
>> 2. I have a category "Divers" (something like "Misc") with a single
>> desktop entry for Printer Configuration. Now when I edit
>> system-config-printer.desktop and define something like
>> "Categories=System;", the "Divers" category remains there and the menu
>> entry won't budge.
>>
>> Most of the menu entries can be redefined OK, and they appear in the new
>> category. Why a handful of desktop entries would not work remains a
>> mystery. This looks damn well like a bug, although I wouldn't even know
>> how to call it.
> 
> After some more experimenting, I found the culprit. It looks like the
> structure of the classic Applications menu is not only defined by the
> individual *.desktop files in /usr/share/applications, but also in a
> weird /etc/xdg/menus/gnome-applications.menu file which contains a bunch
> of redundancies. Not exactly KISS principle.
> 
> So it looks like in order to customize my menus, I have to edit
> individual *.desktop files in /usr/share/applications as well as the
> XML-style entries in /etc/xdg/menus/gnome-applications.menu.
> 
> I bluntly admit I don't get the logic behind this sort of thing.

I can't comment on the logic .. I build these, I don't write them :D

But, one thing to check is the spec file for the package that provides
the .desktop file to ensure it is configured as noreplace.  If it is
not, you need to back up your custom files as they will replaced with an
upgrade.

You can find the actual package with :

rpm -q --whatprovides 

once you know the rpm, you can find the Source RPM (SRPM) used to build
it like this:

rpm -qi 

once you know the Source RPM name, you can find the spec file here:

https://git.centos.org/summary/rpms!kernel

(substitute the SRPM name for kernel)

Then click on the 'c7' branch link, and on the next screen, click the
'tree' link.

That should take you to a screen with SPECS/ and SOURCES/ .. click
SPECS/ and then the file name of the spec file.  That will open up the
actual spec file used to build the RPM that contains the desktop file.

For example, there are several .desktop files defineed in the
gnome-shell SRPM, and they would be replaced:

https://git.centos.org/blob/rpms!gnome-shell/580c0560105a0f018b62a7e0bdf42eca9b9032f1/SPECS!gnome-shell.spec

That is, they are not set to config(noreplace).

The best thing to do is to keep a copy of all of your modified .desktop
files somewhere else and you can copy them back in if necessary after an
update.

Thanks,
Johnny Hughes




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


Re: [CentOS] vsftpd broken ?

2016-08-15 Thread Eero Volotinen
You could try setting in vsftpd.conf:




*use_sendfile=NO--*

*Eero*

2016-08-15 18:17 GMT+03:00 Günther J. :

> Hello,
>
> Am Montag, 15. August 2016, 18:11:56 schrieb Eero Volotinen:
> > Sounds like hardware failure (memory, disk) or network problem.
>
> On all tested Systems ;-) and I mean I found 100 Messages in Goo...
> with
> the same Problem ??
>
> >
> > 2016-08-15 16:20 GMT+03:00 Günther J. :
> > > Hello,
> > >
> > > CentOS 7.2
> > >
> > > have any a workaround for this Error ?
> > >
> > > vsftpd Error:426 failure Reading Network STream
> > >
> > > after transfer I have a broken file on the ftp Server
> > >
> > > I mean I have found a newer Version 3.0.3 bot not for CentOS 7.2 but I
> > > cant
> > > say is this Problem corrected in 3.0.3?
> > >
> > > Any hint please ;-)
> > >
> > > --
> > > mit freundlichen Grüßen / best regards,
> > >
> > >   Günther J. Niederwimmer
> > >
> > > ___
> > > CentOS mailing list
> > > CentOS@centos.org
> > > https://lists.centos.org/mailman/listinfo/centos
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
>
> --
> mit freundlichen Grüßen / best regards,
>
>   Günther J. Niederwimmer
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftpd broken ?

2016-08-15 Thread Günther J . Niederwimmer
Hello,

Am Montag, 15. August 2016, 18:11:56 schrieb Eero Volotinen:
> Sounds like hardware failure (memory, disk) or network problem.

On all tested Systems ;-) and I mean I found 100 Messages in Goo... with 
the same Problem ??

> 
> 2016-08-15 16:20 GMT+03:00 Günther J. :
> > Hello,
> > 
> > CentOS 7.2
> > 
> > have any a workaround for this Error ?
> > 
> > vsftpd Error:426 failure Reading Network STream
> > 
> > after transfer I have a broken file on the ftp Server
> > 
> > I mean I have found a newer Version 3.0.3 bot not for CentOS 7.2 but I
> > cant
> > say is this Problem corrected in 3.0.3?
> > 
> > Any hint please ;-)
> > 
> > --
> > mit freundlichen Grüßen / best regards,
> > 
> >   Günther J. Niederwimmer
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 
mit freundlichen Grüßen / best regards,

  Günther J. Niederwimmer
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftpd broken ?

2016-08-15 Thread Eero Volotinen
Sounds like hardware failure (memory, disk) or network problem.


--
Eero

2016-08-15 16:20 GMT+03:00 Günther J. :

> Hello,
>
> CentOS 7.2
>
> have any a workaround for this Error ?
>
> vsftpd Error:426 failure Reading Network STream
>
> after transfer I have a broken file on the ftp Server
>
> I mean I have found a newer Version 3.0.3 bot not for CentOS 7.2 but I cant
> say is this Problem corrected in 3.0.3?
>
> Any hint please ;-)
>
> --
> mit freundlichen Grüßen / best regards,
>
>   Günther J. Niederwimmer
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] vsftpd broken ?

2016-08-15 Thread Günther J . Niederwimmer
Hello,

CentOS 7.2

have any a workaround for this Error ?

vsftpd Error:426 failure Reading Network STream

after transfer I have a broken file on the ftp Server

I mean I have found a newer Version 3.0.3 bot not for CentOS 7.2 but I cant 
say is this Problem corrected in 3.0.3?

Any hint please ;-)

-- 
mit freundlichen Grüßen / best regards,

  Günther J. Niederwimmer
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Locked out of the CentOS Fora

2016-08-15 Thread Dan White

Many thanks.
I am no longer locked out.
Dan White | d_e_wh...@icloud.com

“Sometimes I think the surest sign that intelligent life exists elsewhere in the 
universe is that none of it has tried to contact us.”  (Bill Waterson: Calvin & 
Hobbes)

On Aug 15, 2016, at 08:49 AM, Ned Slider  wrote:

Hi Dan,

A forum administrator has reset your account so you should receive an 
email shortly.


Thanks.


On 15/08/16 12:54, Dan White wrote:
The username/email combo I give the "forgot password" option does not
work and I cannot re-register as it says my email is in use.

Suggestions ?
Dan White | d_e_wh...@icloud.com

“Sometimes I think the surest sign that intelligent life exists
elsewhere in the universe is that none of it has tried to contact us.”
(Bill Waterson: Calvin & Hobbes)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Locked out of the CentOS Fora

2016-08-15 Thread Ned Slider

Hi Dan,

A forum administrator has reset your account so you should receive an 
email shortly.


Thanks.


On 15/08/16 12:54, Dan White wrote:

The username/email combo I give the "forgot password" option does not
work and I cannot re-register as it says my email is in use.

Suggestions ?
Dan White | d_e_wh...@icloud.com

“Sometimes I think the surest sign that intelligent life exists
elsewhere in the universe is that none of it has tried to contact us.”
(Bill Waterson: Calvin & Hobbes)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] tcpdump loses lots of packets

2016-08-15 Thread Steve Clark

Hello,

I've found it is helpful to limit the length of the packet you are capturing by 
using
something like -s 256.

On 08/14/2016 06:04 PM, Anand Buddhdev wrote:

On 14/08/16 12:20, Anand Buddhdev wrote:

Hi folks,

I've discovered something. See below:


The packet rate is also not that high. From the sending side, this is
what I have:

# tcpreplay -i qtx:p1p1 5min.pcap

If I send packets without qtx, like this:

tcpreplay -i p1p1 5min.pcap

then tcpdump on the receiving box has no problem, and keeps up happily
with the queries, and receives all of them into the pcap file. It seems
like the qtx module is somehow interfering with the packet capture, but
I don't know how or why yet.

Anyway, for low packet rates, such as 20,000 q/s, qtx isn't necessary,
so I will not use it when I want to do packet captures.

Regards,
Anand
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos




--
Stephen Clark
*NetWolves Managed Services, LLC.*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Locked out of the CentOS Fora

2016-08-15 Thread Dan White

The username/email combo I give the "forgot password" option does not work and 
I cannot re-register as it says my email is in use.

Suggestions ?
Dan White | d_e_wh...@icloud.com

“Sometimes I think the surest sign that intelligent life exists elsewhere in the 
universe is that none of it has tried to contact us.”  (Bill Waterson: Calvin & 
Hobbes)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to update from 5.8 to 5.latest?

2016-08-15 Thread Kai Schaetzl
Eero Volotinen wrote on Mon, 15 Aug 2016 11:00:51 +:

> Maybe your repodata cache was a bit old :)

Yeah. I would have thought it checks the date of the file and tries to 
update it when it's that old. Anyway, clearing the whole yum cache was a 
good idea as I don't need the 5.8 rpms anymore. I just didn't think about 
that first, it's been long ...

Thanks for the quick reply! It assured me that there was no special 
procedure necessary, so I thought again and remembered that.

Kai


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


Re: [CentOS] how to update from 5.8 to 5.latest?

2016-08-15 Thread Eero Volotinen
Hi,

Just run 'yum upgrade' or 'yum update'. No other action is required. You
can also add -y switch to autoselect --yes

Eero

2016-08-15 13:36 GMT+03:00 Kai Schaetzl :

> Hi!
>
> I revived an old disk with CentoS 5.8 on it and want to update it to
> 5.latest (=5.11). However, it insists on getting 5.8 files. From the past
> I remember I would get a major release jump from 5.n to 5.m automatically.
> Or do I remember this wrong?
> I googled a bit around, but couldn't really find something similar.
>
> How do I update now? The repo file looks exactly like on machines that are
> up to 5.11. Should I change it manually to 5.11 or just 5 paths?
> Does it still understand that this is then an upgrade to a another major
> version?
>
> Or should I do something different to make it upgrade to 5.11?
>
> Thanks!
>
> Kai
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] how to update from 5.8 to 5.latest?

2016-08-15 Thread Kai Schaetzl
Hi!

I revived an old disk with CentoS 5.8 on it and want to update it to 
5.latest (=5.11). However, it insists on getting 5.8 files. From the past 
I remember I would get a major release jump from 5.n to 5.m automatically. 
Or do I remember this wrong?
I googled a bit around, but couldn't really find something similar.

How do I update now? The repo file looks exactly like on machines that are 
up to 5.11. Should I change it manually to 5.11 or just 5 paths?
Does it still understand that this is then an upgrade to a another major 
version?

Or should I do something different to make it upgrade to 5.11?

Thanks!

Kai


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