[CentOS] No ack packet for tcp SYN with window scale of 64

2019-04-15 Thread yf chu
I have found a very strange problem. We found that the time of establishing the 
websocket connection between mobile phone and server was too long. Then I use 
tcpdump to capture the data and found that the problem maybe has something to 
do with window scale option in SYN packet. Here is the SYN packet for websocket 
connection:


55488 → 443 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 WS=64 TSval=570815281 
TSecr=0 SACK_PERM=1
But the server did not respond with ack. Then several retransmissions of SYN 
occured. Finally, the client sent a retransmission of SYN:


55488 → 443 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 SACK_PERM=1


Then the server responded with ack.


I also captured other data of HTTP connection and found that the window scale 
option in SYN packet for HTTP connection is "WS=128". No retransmission occurs 
in the handshake for HTTP connection. 


So I just want to know the reason for it. The OS on our server is CentOS 
release 6.7. The version of kernel is  2.6.32-573.el6.x86_64. 


By the way, I have also tested websocket connection in centos 5, but no such a 
problem occured.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommended PHP 7 source for Centos 7

2019-04-15 Thread Pete Biggs
On Mon, 2019-04-15 at 22:39 +, MRob wrote:
> I know there's a couple third party repos offering PHP 7 for Centos. I 
> prefer not to add too much third party that I don't have to and PHP 7 
> has been mainstream for some time now, I thought maybe it would be in 
> EPEL by now.
> 
> What is the most recommended and stable way to get an up to date PHP on 
> Centos 7?
> 

Software Collections is always the way to go for up-to-date mainstream
software.  

   https://www.softwarecollections.org/

Specifically it has PHP 7.0, 7.1 and 7.2 for CentOS 7.

P.



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


Re: [CentOS] Recommended PHP 7 source for Centos 7

2019-04-15 Thread Benjamin Hauger
As far as I know, the only alternative to using a third-party repo's 
prebuilt RPM versions with automatic updates (e.g.: Remi) would be to 
download and compile it yourself from php.net and aggressively update it 
by hand every time a new version is released. Only your organization can 
make the final risk assessment and determine what to do if the official 
Distro PHP version doesn't satisfy.


Good Luck,
Ben


On 4/15/19 3:39 PM, MRob wrote:
I know there's a couple third party repos offering PHP 7 for Centos. I 
prefer not to add too much third party that I don't have to and PHP 7 
has been mainstream for some time now, I thought maybe it would be in 
EPEL by now.


What is the most recommended and stable way to get an up to date PHP on 
Centos 7?

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


--

Benjamin Hauger
SysAdmin/CSDC-DMO
Rm. 94
x8371
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Recommended PHP 7 source for Centos 7

2019-04-15 Thread MRob
I know there's a couple third party repos offering PHP 7 for Centos. I 
prefer not to add too much third party that I don't have to and PHP 7 
has been mainstream for some time now, I thought maybe it would be in 
EPEL by now.


What is the most recommended and stable way to get an up to date PHP on 
Centos 7?

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


Re: [CentOS] Happy 15th Birthday, CentOS!

2019-04-15 Thread Eddie G. O'Connor Jr.
Happy Birthday to the best"est" OS ever!..here's to 15 more...and 
then some!!!




EGO II

On 4/15/19 12:19 PM, Albert McCann wrote:

-Original Message-
From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of Rich Bowen
Sent: Monday, April 15, 2019 7:15 AM
To: CentOS mailing list 
Subject: [CentOS] Happy 15th Birthday, CentOS!

CentOS is 15 years old today!

Hear the story from some of our community members at
https://blog.centos.org/2019/04/centos15-2/

Happy birthday and well done!

Al McCann
--
In Feb. '77, I became a wirehead.
___
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] Happy 15th Birthday, CentOS!

2019-04-15 Thread Albert McCann
> -Original Message-
> From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of Rich Bowen
> Sent: Monday, April 15, 2019 7:15 AM
> To: CentOS mailing list 
> Subject: [CentOS] Happy 15th Birthday, CentOS!
> 
> CentOS is 15 years old today!
> 
> Hear the story from some of our community members at
> https://blog.centos.org/2019/04/centos15-2/

Happy birthday and well done!

Al McCann
--
In Feb. '77, I became a wirehead.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Outliner

2019-04-15 Thread Gordon Messmer

On 4/15/19 5:22 AM, H wrote:

Suggested earlier but since I do not use e-macs as my programming editor no go.



I guess I don't understand what you view as a problem.  If you're 
looking for a new application, then it logically follows that you aren't 
using it now.  If you object to applications that you aren't currently 
using, on that basis, then you will reject all suggestions.


You don't have to stop using Geany as an editor in order to use Org 
mode.  Whatever outliner application you use will probably be in 
addition, rather than instead of, the editor you're using for other 
purposes now.


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


Re: [CentOS] Outliner

2019-04-15 Thread H
On 04/14/2019 07:51 PM, Frank Cox wrote:
> On Sun, 14 Apr 2019 12:42:56 +0200
> H wrote:
>
>> I would love to find an old-fashioned outliner, like the ones that used to
>> exist prior to the modern GUIs. It would make writing structured documents,
>> or organizing thoughts in general, so much more convenient, productive and
>> faster. 
> Best structured document editor that I know of:
>
> https://www.lyx.org/
>
> I personally don't use it enough to be really good with it since I don't have 
> that many structured documents to write.  But on the occasions that I do use 
> it, it certainly works well.
>
Way too complicated, ideally it should be similar to the old PCOutline 
software...

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


Re: [CentOS] Outliner

2019-04-15 Thread H
On 04/15/2019 02:18 PM, Peda, Allan (NYC-GIS) wrote:
> Emacs Org-mode ?  https://orgmode.org/
>
> On 4/14/19, 1:51 PM, "CentOS on behalf of Frank Cox" 
>  wrote:
>
> On Sun, 14 Apr 2019 12:42:56 +0200
> H wrote:
> 
> > I would love to find an old-fashioned outliner, like the ones that used 
> to
> > exist prior to the modern GUIs. It would make writing structured 
> documents,
> > or organizing thoughts in general, so much more convenient, productive 
> and
> > faster. 
> 
> Best structured document editor that I know of:
> 
> 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.lyx.org_&d=DwICAg&c=Ftw_YSVcGmqQBvrGwAZugGylNRkk-uER0-5bY94tjsc&r=Tou2GfskafF_UnC0yPjAjEzLDhbALx-0EDoLp3_iSss&m=XyN1aQH_08AmI4hrpknillITiZVBp6Gv2vFeHoZ2wDs&s=1OU7snu-2bPrKsvBjIhWFZYiMv_SJ1xF3nJBE5TARCY&e=
> 
> I personally don't use it enough to be really good with it since I don't 
> have that many structured documents to write.  But on the occasions that I do 
> use it, it certainly works well.
> 
> -- 
> MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.melvilletheatre.com&d=DwICAg&c=Ftw_YSVcGmqQBvrGwAZugGylNRkk-uER0-5bY94tjsc&r=Tou2GfskafF_UnC0yPjAjEzLDhbALx-0EDoLp3_iSss&m=XyN1aQH_08AmI4hrpknillITiZVBp6Gv2vFeHoZ2wDs&s=DlILK2c1QRd3aspAxHqtRvmCS8OhWjONOal4LvoaYSw&e=
> ___
> CentOS mailing list
> CentOS@centos.org
> 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailman_listinfo_centos&d=DwICAg&c=Ftw_YSVcGmqQBvrGwAZugGylNRkk-uER0-5bY94tjsc&r=Tou2GfskafF_UnC0yPjAjEzLDhbALx-0EDoLp3_iSss&m=XyN1aQH_08AmI4hrpknillITiZVBp6Gv2vFeHoZ2wDs&s=pyHwIRHSKpuHpvx8U_G5UFYDTgNW4I2mssue0S2rYhs&e=
> 
>
>
> This message contains information which may be confidential and privileged. 
> Unless you are the intended recipient (or authorized to receive this message 
> for the intended recipient), you may not use, copy, disseminate or disclose 
> to anyone the message or any information contained in the message.  If you 
> have received the message in error, please advise the sender by reply e-mail, 
> and delete the message.  Thank you very much.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

Suggested earlier but since I do not use e-macs as my programming editor no go.

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


Re: [CentOS] Outliner

2019-04-15 Thread H
On 04/14/2019 10:30 PM, Warren Young wrote:
> On Apr 14, 2019, at 4:42 AM, H  wrote:
>> Ideally it should allow saving files in txt, OO and markdown formats…
> Since you included Markdown in the list, my initial question was why don’t 
> you just write in that format, since the Markdown list features capture most 
> of what I want in an outliner.  Then I saw in a later post that you’re using 
> an editor (Geany) without intelligent formatting for Markdown.
>
> So that’s my recommendation: switch to a text editor that does intelligent 
> things with Markdown like continuing the list when you hit Enter from within 
> a list item, adding a level to the list when you hit Tab within a list, 
> returning to the prior level with a Shift-Tab, auto-indenting list items when 
> you hit the editor’s wrapping limits, etc.
>
> I’m not sure what distinction you’re trying to make by listing “txt” output 
> along with Markdown, so I don’t know what transform to suggest.
>
> As for “OO”, I assume that means OpenOffice, in which case what you actually 
> mean is ODF, its file format.  And for that, I suggest that you use Pandoc, 
> which will get Markdown into that format and many more:
>
> $ pandoc --to odt x.md > x.odt
> $ pandoc --list-output-formats
>
> As for the actual editor, there are several choices.  The first one I reached 
> for was VSCodium, which is Microsoft Visual Studio Code with the branding, 
> telemetry and non-FOSS licensed stuff stripped out.  (Shades of CentOS vs 
> RHEL…)
>
> I’m working with a text-only CentOS VM here and couldn’t get a GUI running on 
> it — a problem I’ll take up in a separate thread — so I’ll just point you at 
> the VSCodium Linux install instructions and hope they work for you there:
>
> https://github.com/VSCodium/vscodium/releases
>
> Once you’ve got VSCodium running, you’ll need to install the “Markdown All In 
> One” plugin.  (Ctrl-Shift-P, install, search for Markdown, select first 
> option [currently] listed.)  That will do as described above: auto-number, 
> auto-indent, Tab/Shift-Tab to change indent level, etc.
>
> The availability of such plugins is a large part of the reason Code is taking 
> over so much of the programmer’s text editor world.  Give it a try.
>
> If VSCodium doesn’t work on CentOS, you could try Visual Studio Code, the 
> original project, which probably has better packaging:
>
>https://code.visualstudio.com/docs/setup/linux
>
> I used that for probably a few years before VSCodium came along.  Don’t be 
> scared by the branding: it shares almost nothing with Visual Studio other 
> than branding and a parent organization.
>
> If you really want a CLI-only experience, I got a suitable setup working with 
> Vim and the Bullets plugin:
>
>https://github.com/dkarter/bullets.vim
>
> Instead of Tab and Shift-Tab to change indent levels it uses Ctrl-T and 
> Ctrl-D, which I find odd, but that’s the sort of affordance you have to give 
> up on when you’re working in an ANSI terminal.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

Thank you for your thoughtful reply. Ideally, I would like something similar to 
PCOutline and similar that once were popular with the PC-DOS crowd. In other 
words, a very simple, non-GUI that does not require a mouse to be productive, 
minimal formatting in the program itself, simple keyboard combinations to copy, 
cut, move trees around in the document. No formatting required but it should 
have the ability to export to markdown, OO and simple txt-format.

Too much to ask for?

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


Re: [CentOS] Outliner

2019-04-15 Thread Peda, Allan (NYC-GIS)
Emacs Org-mode ?  https://orgmode.org/

On 4/14/19, 1:51 PM, "CentOS on behalf of Frank Cox" 
 wrote:

On Sun, 14 Apr 2019 12:42:56 +0200
H wrote:

> I would love to find an old-fashioned outliner, like the ones that used to
> exist prior to the modern GUIs. It would make writing structured 
documents,
> or organizing thoughts in general, so much more convenient, productive and
> faster. 

Best structured document editor that I know of:


https://urldefense.proofpoint.com/v2/url?u=https-3A__www.lyx.org_&d=DwICAg&c=Ftw_YSVcGmqQBvrGwAZugGylNRkk-uER0-5bY94tjsc&r=Tou2GfskafF_UnC0yPjAjEzLDhbALx-0EDoLp3_iSss&m=XyN1aQH_08AmI4hrpknillITiZVBp6Gv2vFeHoZ2wDs&s=1OU7snu-2bPrKsvBjIhWFZYiMv_SJ1xF3nJBE5TARCY&e=

I personally don't use it enough to be really good with it since I don't 
have that many structured documents to write.  But on the occasions that I do 
use it, it certainly works well.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.melvilletheatre.com&d=DwICAg&c=Ftw_YSVcGmqQBvrGwAZugGylNRkk-uER0-5bY94tjsc&r=Tou2GfskafF_UnC0yPjAjEzLDhbALx-0EDoLp3_iSss&m=XyN1aQH_08AmI4hrpknillITiZVBp6Gv2vFeHoZ2wDs&s=DlILK2c1QRd3aspAxHqtRvmCS8OhWjONOal4LvoaYSw&e=
___
CentOS mailing list
CentOS@centos.org

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailman_listinfo_centos&d=DwICAg&c=Ftw_YSVcGmqQBvrGwAZugGylNRkk-uER0-5bY94tjsc&r=Tou2GfskafF_UnC0yPjAjEzLDhbALx-0EDoLp3_iSss&m=XyN1aQH_08AmI4hrpknillITiZVBp6Gv2vFeHoZ2wDs&s=pyHwIRHSKpuHpvx8U_G5UFYDTgNW4I2mssue0S2rYhs&e=



This message contains information which may be confidential and privileged. 
Unless you are the intended recipient (or authorized to receive this message 
for the intended recipient), you may not use, copy, disseminate or disclose to 
anyone the message or any information contained in the message.  If you have 
received the message in error, please advise the sender by reply e-mail, and 
delete the message.  Thank you very much.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Happy 15th Birthday, CentOS!

2019-04-15 Thread Rich Bowen

CentOS is 15 years old today!

Hear the story from some of our community members at 
https://blog.centos.org/2019/04/centos15-2/


Do you have your own story? Drop me a note - rbo...@centosproject.org - 
to tell me about it.


--
Rich Bowen - rbo...@redhat.com
@CentOSProject // @rbowen
859 351 9166
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to specify kernel version when restart kdump

2019-04-15 Thread wuzhouhui
> -Original Messages-
> From: wuzhouhui 
> Sent Time: 2019-03-29 10:06:06 (Friday)
> To: "centos mailing list" 
> Cc: 
> Subject: Re: [CentOS] How to specify kernel version when restart kdump
> 
> > -Original Messages-
> > From: "Gianluca Cecchi" 
> > Sent Time: 2019-03-28 16:59:19 (Thursday)
> > [...]
> > The command line fo CentOS 6 clearly misses the kernel version to build
> > initrd file for, so the correct command should be:
> > 
> > /sbin/mkdumprd -d -f
> > "/boot/initrd-2.6.32-642.13.1.el6.x86_64kdump.img"  
> > 2.6.32-642.13.1.el6.x86_64
> > 

Unfortunately, I encountered a new issue when mkdumprd for a kernel different
from running. The phenomenon is mkdumprd cannot break following loop in
function depsolve_modlist(), in /sbin/mkdumprd:

 348 while [ -n "$TMPINMODS" ]
 349 do
 350for i in $TMPINMODS
 351do
 352   mname=`basename $i | sed -e's/\.ko//'`
 [...]
 407 TMPINMODS=$TMPTMPMODS
 408done
 409 done
 410 MODULES=$TMPOUTMODS

and $TMPINMODS is vhost_net.ko when issue occurs. The reason is mkdumprd set
$TMPINMODS by lsmod in running kernel. But there is a new depends of vhost_net
in newer kernel and $TMPINMODS doesn't include it, so mkdumprd stuck in previous
while loop.

Is there a solution exists?

> I test it and it works for me, although prints some harmless warnings.
> 
> Thanks
> ___
> 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