[CentOS] Differences in CentOS and RHEL systems

2017-07-10 Thread Kumuda G
Hi,

I was looking at the differences between the CentOS and RHEL systems, found 
that tuned profile is different for these OSes.
I have gone through RHEL 7 Performance Tuning Guide to see if there are more 
such changes, sysctl settings change which are due to tuned profile and did not 
find any other differences
Also took diff of /etc/* config files on RHEL and CentOS installed systems, 
there are RHEL subscription and bugzilla references which vary

So, are there more such system wide differences on CentOS?


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


Re: [CentOS] Differences in CentOS and RHEL systems

2017-07-10 Thread Leon Fauster
> Am 10.07.2017 um 11:27 schrieb Kumuda G :
> 
> Hi,
> 
> I was looking at the differences between the CentOS and RHEL systems, found 
> that tuned profile is different for these OSes.
> I have gone through RHEL 7 Performance Tuning Guide to see if there are more 
> such changes, sysctl settings change which are due to tuned profile and did 
> not find any other differences
> Also took diff of /etc/* config files on RHEL and CentOS installed systems, 
> there are RHEL subscription and bugzilla references which vary
> 
> So, are there more such system wide differences on CentOS?


Every package with centos disttag is "different".

# rpm -qa | grep centos

Read also "What is CentOS Linux?" under https://wiki.centos.org/

--
LF




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


[CentOS] chkconfig madness CentOS 7

2017-07-10 Thread Mark Haney
I have a couple of in use C7 boxes that were built with ntsysv and 
chkconfig for some old packages that needed to start using init.d.  (The 
person setting these up didn't know about systemd creating service files 
for older packages, so we're stuck with these as-is.  Here's my problem:


Error unpacking rpm package chkconfig-1.7.2-1.el7.x86_64
error: unpacking of archive failed on file /etc/init.d: cpio: rename
chkconfig-1.3.61-4.el7.x86_64 was supposed to be removed but is not!


I can't update the entire system because of this boondoggle and I can't 
come up with a way to resolve this safely on a running system.  WTH is 
going on, and why is this a problem?  And how the devil do I fix it?



--
Mark Haney
Network Engineer at NeoNova
919-460-3330 option 1
mark.ha...@neonova.net
www.neonova.net

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


[CentOS] Problem with download from local mirror

2017-07-10 Thread mohsen Abbaspour
Hello Dear

I have lunched a local mirror but, I have a problem when I want to
 download package from it  , I get this error when I run  "yum update"

failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://centos.local/7/os/i386/repodata/repomd.xml: [Errno 14] HTTP Error 4

  04 - Not Found
I do not Find out what is problem?

I haved installed centos 7 as Client and want to download package from
 centos.local  server

and  there is one another , I checked  on another PC  and get this error

http://centos.local/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not
Found
Trying other mirror.

I saw  other  mirror  but they have  not   this directory  too


Tahnk you so much for consideration
Best Regards

-- 




Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/RqFEqH
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with download from local mirror

2017-07-10 Thread Marcelo Roccasalva
On Mon, Jul 10, 2017 at 3:49 PM, mohsen Abbaspour
 wrote:
> Hello Dear
>
> I have lunched a local mirror but, I have a problem when I want to
>  download package from it  , I get this error when I run  "yum update"
>
> failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
> http://centos.local/7/os/i386/repodata/repomd.xml: [Errno 14] HTTP Error 4
>
>   04 - Not Found
> I do not Find out what is problem?

The file http://centos.local/7/os/i386/repodata/repomd.xml does exist?
Did you mirror an actual functional repo or are you building a repo
with selected packages? The error says you don't have a package index
yum requires (it can be created with createrepo).

-- 
Marcelo

"¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida?" (Mafalda)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] chkconfig madness CentOS 7

2017-07-10 Thread Jonathan Billings



> On Jul 10, 2017, at 10:56, Mark Haney  wrote:
> 
> I have a couple of in use C7 boxes that were built with ntsysv and chkconfig 
> for some old packages that needed to start using init.d.  (The person setting 
> these up didn't know about systemd creating service files for older packages, 
> so we're stuck with these as-is.  Here's my problem:
> 
> Error unpacking rpm package chkconfig-1.7.2-1.el7.x86_64
> error: unpacking of archive failed on file /etc/init.d: cpio: rename
> chkconfig-1.3.61-4.el7.x86_64 was supposed to be removed but is not!
> 
> 
> I can't update the entire system because of this boondoggle and I can't come 
> up with a way to resolve this safely on a running system.  WTH is going on, 
> and why is this a problem?  And how the devil do I fix it?

/etc/init.d should be a symlink to /etc/rc.d/init.d. Someone must have created 
that directory after removing the symlink. You probably need to rename the 
directory, restore the symlink and move any files in the renamed directory to 
the correct directory. 

--
Jonathan Billings 


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


Re: [CentOS] System Start-Up Issue

2017-07-10 Thread Bill Maltby (C4B)
On Mon, 2017-07-03 at 15:16 -0400, m.r...@5-cent.us wrote:
> ken wrote:
> > On 07/03/2017 02:41 PM, Gordon Messmer wrote:
> >> On 07/03/2017 05:07 AM, Chris Olson wrote:
> 


> Or just hit  and after the low-level, it'll display.
I hit {F4} as soon as the rghb stuff starts to display and it shows
messages as they occur.

> 


>   mark
> 
Bill

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


[CentOS] I found this interesting: amount of evil traffic on the internet

2017-07-10 Thread Fred Smith
I've just done a little "study" (well, nothing quite that pretentious)
of the traffic hitting my router, that gets DROPped the router's
firewall. there is a surprisingly (to me, at least) enormous amount of
it. over about the last 3 weeks, it has dropped over 65,000 connection
attempts.

I finally got around to figuring out how to have the router's logging
mechanism connect to the rsyslog on my Centos workstation, so I can 
collect a large body of log entries to review. previously I could see
only a few hundred at a time, since the router doesn't have huge
storage.

Here's just the first few items from the list, listed as port number
ordered by total number of hits:

DPT=3343   8859
DPT=23 7872
DPT=3344   5984
DPT=6  4925
DPT=68 4291
DPT=9  2625
DPT=3291   2524
DPT=32915  2523
DPT=1432467
DPT=1433   2377
DPT=4452037
DPT=33441  1544
DPT=33442  1522
DPT=33440  1511
DPT=33434  1511
DPT=33435  1487
DPT=33436  1486
DPT=33437  1476
DPT=33439  1458
DPT=33438  1439
DPT=80 1068
DPT=33443  1060
DPT=5060   948

Some of those are ports I've never been aware of, such as 3343, which
/etc/services lists as "ms-cluster-net". Obviously something on MS
systems, and apparently a lot of mal-dudes think it's a great port to
hit on, in case it might just happen to be wide open.

then there's port 23 (telnet) which at 7872 hits is ample evidence for
why everybody who knows anything says to NEVER put a system on the
internet with an open telnet port.

sigh.

Then, even after all this garbage is filtered out, there is another HUGE
pile of things hitting my mail server that get filtered out by a variety
of filtering techniques including but not limited to greylisting email.
(BTW, greylisting was by far the most effective of all the filtering
techniques I've found for dropping spam before it ever gets into my
mail system. For mail that does get in, SpamBayes works great, once one
figures out how to configure it.)

If any of you don't believe that the 'net is populated by evil beings,
let this be a lesson to ye!

Thanks for your time!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart."  
 Hebrews 4:12 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with download from local mirror

2017-07-10 Thread mohsen Abbaspour
Thanks  for consideration
I use  this  command for  update my repo

rsync -avzH  --delete-after centos.mirror.angkasa.id::centos
/home/centos/   --log-file=/var/log/rsync/rsync.log.$(date +%Y%m%d%H%m%S)


Best Regard
Mohsen


On Mon, Jul 10, 2017 at 11:32 PM, Marcelo Roccasalva <
marcelo-cen...@irrigacion.gov.ar> wrote:

> On Mon, Jul 10, 2017 at 3:49 PM, mohsen Abbaspour
>  wrote:
> > Hello Dear
> >
> > I have lunched a local mirror but, I have a problem when I want to
> >  download package from it  , I get this error when I run  "yum update"
> >
> > failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to
> try.
> > http://centos.local/7/os/i386/repodata/repomd.xml: [Errno 14] HTTP
> Error 4
> >
> >   04 - Not Found
> > I do not Find out what is problem?
>
> The file http://centos.local/7/os/i386/repodata/repomd.xml does exist?
> Did you mirror an actual functional repo or are you building a repo
> with selected packages? The error says you don't have a package index
> yum requires (it can be created with createrepo).
>
> --
> Marcelo
>
> "¿No será acaso que esta vida moderna está teniendo más de moderna que de
> vida?" (Mafalda)
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 




Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/RqFEqH
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with download from local mirror

2017-07-10 Thread mohsen Abbaspour
Ah , yes I have  not Installed  createrepo ,

I saw some  official mirror  , They have not this directory and file  (
http://xx.xx/7/os/i386/repodata/repomd.xml
) too
Thank you so much
Best Regards


On Tue, Jul 11, 2017 at 8:40 AM, mohsen Abbaspour <
mohsen.abbaspour2...@gmail.com> wrote:

> Thanks  for consideration
> I use  this  command for  update my repo
>
> rsync -avzH  --delete-after centos.mirror.angkasa.id::centos
> /home/centos/   --log-file=/var/log/rsync/rsync.log.$(date +%Y%m%d%H%m%S)
>
>
> Best Regard
> Mohsen
>
>
> On Mon, Jul 10, 2017 at 11:32 PM, Marcelo Roccasalva <
> marcelo-cen...@irrigacion.gov.ar> wrote:
>
>> On Mon, Jul 10, 2017 at 3:49 PM, mohsen Abbaspour
>>  wrote:
>> > Hello Dear
>> >
>> > I have lunched a local mirror but, I have a problem when I want to
>> >  download package from it  , I get this error when I run  "yum update"
>> >
>> > failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to
>> try.
>> > http://centos.local/7/os/i386/repodata/repomd.xml: [Errno 14] HTTP
>> Error 4
>> >
>> >   04 - Not Found
>> > I do not Find out what is problem?
>>
>> The file http://centos.local/7/os/i386/repodata/repomd.xml does exist?
>> Did you mirror an actual functional repo or are you building a repo
>> with selected packages? The error says you don't have a package index
>> yum requires (it can be created with createrepo).
>>
>> --
>> Marcelo
>>
>> "¿No será acaso que esta vida moderna está teniendo más de moderna que de
>> vida?" (Mafalda)
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>
>
>
> --
>
>
>
>
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/RqFEqH
>



-- 




Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/RqFEqH
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos