Re: [CentOS] ssh keys hostname VS fqdn - offends?

2024-01-05 Thread Anthony K

On 1/1/24 23:01, lejeczek via CentOS wrote:


I don't quite get what exactly is happening here.


I'd say that box5 was most likely associated with a different IP Address at one 
time in the past.  SSH obviously knows that box5 resolves to the current IP.

You can make use of ssh-keygen and ssh-keyscan (man is your friend in this 
endeavor) to help make sense of what's in your known_hosts file.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6

2011-03-03 Thread Anthony K
On 3/03/2011 7:14 PM, Sorin Srbu wrote:
> Now, can we please not say anything about "when..." in a while? It's rather
> tiresome seeing adult people trolling and having fights like three-year-olds 
> in
> a sandbox... 8-P
>
I'm just loving this soap opera - I see it as some form of venting since 
I'm such a coward and don't want to be flamed for asking obvious (in 
that the answer is always the same - ready when ready), and absolutely 
worthless questions.


My $0.02!

ak.

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


Re: [CentOS] Download the repo DAG of CentOS 5.5

2011-04-03 Thread Anthony K
On 4/04/2011 5:21 AM, Robert Heller wrote:
> rpmforge.sh:
>
> #!/bin/bash
> there=`dirname $0`
> here=`pwd`
> cd $there
> there=`pwd`
> cd $here
> rootdir=`dirname $there`
> export RSYNCSERVER="rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/"
> export RSYNCCMD="rsync -avP --delete"
> $RSYNCCMD $RSYNCSERVER/el5/en/x86_64/rpmforge/ $rootdir/rpmforge/el5/x86_64/
> #$RSYNCCMD $RSYNCSERVER/el5/en/i386/rpmforge/ $rootdir/rpmforge/el5/i386/

Just out of curiosity, how much hdd space is consumed to mirror 
rpmforge?  I have a local CentOS mirror for my users that consumes ~18GB 
(or 19,124,934,894 bytes as of this - 4/4/2011 - morning to be precise) 
for "os updates centosplus extras addons" for both i386 and x86_64!


Tia,
ak.

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


Re: [CentOS] Apache (httpd) fails to start at boot - Centos 8.1

2020-06-16 Thread Anthony K

On 16/6/20 4:15 pm, Alessandro Baggi wrote:


Note: when you will get update for httpd package all could be reverted 
to the original status, so to avoid that your modified httpd.service 
will get an overwrite, create an alternative httpd.service in 
/etc/systemd/system (if I'm not wrong).


Probably there is a new way to do this.

The new way to do this is exactly what Gordon suggested - using 
`systemctl edit ` creates an override in 
`/etc/systemd/system/httpd.service.d/override.conf`.


The only issue is that there is no `systemctl` related command to remove 
this override - you will have to remember to `rm -rf 
/etc/systemd/system/httpd.service.d` if/when you want to remove that 
override.

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


Re: [CentOS] Apache (httpd) fails to start at boot - Centos 8.1

2020-06-19 Thread Anthony K

On 16/6/20 5:34 pm, Anthony K wrote:
The new way to do this is exactly what Gordon suggested - using 
`systemctl edit ` creates an override in 
`/etc/systemd/system/httpd.service.d/override.conf`.


The only issue is that there is no `systemctl` related command to 
remove this override - you will have to remember to `rm -rf 
/etc/systemd/system/httpd.service.d` if/when you want to remove that 
override.


Let me educate myself - `systemctl revert ` is the correct 
way to remove an override.


* I learn something new everyday...
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C8 - KVM on bridge on VLAN on team issues.

2020-07-22 Thread Anthony K

On 18/6/20 1:36 am, Lamar Owen wrote:
...I know, I know, the new way is using the 'bridge' command or 'ip 
--br'


I learnt something new just then.  However, a search across all man pages:
    which I believe to be accomplished via
        man -wK -- --br
did not return anything related to iproute2 files - not even man ip-link

Where is this gem (and possibly others) hidden?

Thanks.

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


Re: [CentOS] /dev/mapper/cl-root filesystem corrupted?

2020-12-06 Thread Anthony K

On 7/12/20 12:20 pm, Robert G. (Doc) Savage via CentOS wrote:

A client's (truly ancient) file server running CentOS 7 suddenly
started misbehaving, and I believe the ext4 filesystem on
/dev/mapper/cl-root may be corrupted. A reboot fails with a file system
check and drops me into maintenance mode. I tried booting from a live
C7 DVD and as root running e2fsck. It complains that the superblock
could not be read and suggests running "e2fsck -b 8193 ". That
also fails.

Is there a way to more forcefully "encourage" e2fsck to do its job
without totally destroying that filesystem?

--Doc Savage
     Fairview Heights, IL
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

I'd say first make sure the hardware is in good order.  If you have a 
faulty motherboard, CPU, and/or RAM, you might not be able to do 
anything and could end up losing precious data if you manage to 
forcefully "encourage" it.


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


Re: [CentOS] CentOS 8.2: error running non-shared postrotate script for /var/log/mysql/mysqld.log

2020-12-07 Thread Anthony K

On 6/12/20 1:35 am, Alexander Farber wrote:

But my question is how to provide the password to postrotate without
disclosing it too much?



Maybe using unix_socket for root user?

https://dev.mysql.com/doc/mysql-secure-deployment-guide/8.0/en/secure-deployment-configure-authentication.html


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


Re: [CentOS] Baffled by firewall rules with a Qemu VM, CentOS 7

2020-12-11 Thread Anthony K

On 12/12/20 8:15 am, Lists wrote:

I've understood iptables well enough for a long, long time, and although I
think firewall-cmd is a poor replacement for iptables, I've always been able to
"get it to work" by comparing output with iptables -L or iptables -S and using
a direct-rule or two.

And this time, I'm just baffled.

I have a qemu VM running on a host. Postgresql runs on the host, and I'm
trying to connect to the Postgresql server on the host from the VM.

VM: loco
Host: tesla

1) If I turn OFF the firewall on tesla, I have no trouble connecting from loco.
tesla: systemctl stop firewalld
loco: psql -U postgres -h 192.168.122.1 # yay! connection!

2) If I turn ON the firewall on tesla, I can't connect NO MATTER WHAT I DO
tesla: systemctl start firewalld;
loco: psql -U postgres -h 192.168.122.1 # Connection refused

...

There are no REJECT rules not preceded by a wildcard ACCEPT, but I can't
connect with this config. But simply stopping host (tesla) firewalld allows me
to connect just fine.

I'd run tcpdump on the host where the firewall is deployed to see where 
the packets are coming from:


tcpdump -l -n -i any port 5432  # assuming you are using standard pgsql port

Then compare that with what's in my ruleset to see which rule is blocking.

PS: I'm no longer on CentOS but I believe iptables/tcpdump are the same 
on whichever Linux distro is installed.


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


Re: [CentOS] I'm looking forward to the future of CentOS Stream

2020-12-15 Thread Anthony K

On 14/12/20 6:56 am, Gordon Messmer wrote:

On 12/13/20 2:45 AM, Ljubomir Ljubojevic wrote:

When people are happy with something they do not voice their content on
the mailing list, mailing list is only to voice your discontent. You
heard about "silent majority", right? Ever though why it is called that?



So, the majority of users are silent, because they're happy? Cool.

Not because they are happy, but rather because they've most likely moved 
on.  The best protest is carried by moving feet.


I ditched CEntOS for Uuntu back in 2016 and haven't looked back. I only 
have one last machine still running CEntOS - the firewall. When that 
EOL's, mine will be a 100% Ubuntu shop.  But, not knowing what would 
happen to Canonical in the future, I've also started toying with Arch 
and FreeBSD...


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


Re: [CentOS] I'm looking forward to the future of CentOS Stream

2020-12-15 Thread Anthony K

On 13/12/20 7:15 pm, Nicolas Kovacs wrote:

Le 11/12/2020 à 02:25, Gordon Messmer a écrit :

Personally, I think that changing focus on CentOS Stream is going to make
CentOS (and maybe even RHEL) better in the same way and for the same reasons
that Fedora is a better distribution than Red Hat Linux was.

Using Fedora on production servers is like climbing without a rope.


I like that analogy - Free Solo *[0]* - here I come.

*[0]* - https://en.wikipedia.org/wiki/Free_Solo
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disk choice for workstation ?

2020-12-26 Thread Anthony K

On 27/12/20 7:20 am, Nicolas Kovacs wrote:

Hi,

My workstation is currently equipped with a pair of Western Digital Red 1 TB
SATA disks in a software RAID 1 setup.

Some stuff like working with virtual machines is a bit slow, so I'm thinking
about replacing the disks by SSD.

I noticed tremendous improvement when I migrated my VM QCOW2 discs to a 
Crucial MX500 1TB drive.  Previously, they were on a HGST Travelstar 
1.5TB drive spinning at 5400rpm.


You'd get better performance if you stripe set as opposed to a mirror 
set on that spinning silicon.




When I noticed this improvement, I starting digging up on why the marked 
improvement.  During my k8s setup, I recall measuring IOPS using FIO [0] 
in order to ensure ETCD functioned appropriately. When I measured IOPS 
on my 1.5TB drive, it recorded a value of 37 IOPS.  With the MX500, that 
number is 1092 IOPS.


[0]: 
https://www.ibm.com/cloud/blog/using-fio-to-tell-whether-your-storage-is-fast-enough-for-etcd





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


Re: [CentOS] Graphic setup issues...help wanted

2021-01-10 Thread Anthony K

On 11/1/21 8:33 am, Kay Schenk wrote:


. . .

From messages I've seen on this problem, the lack of

/dev/dri/card0

is the crux of the issue but I have NO idea of how it gets created.

So, right now I'm stuck  at a default resolution of 1024 x 768

Thanks for any help.

Sure sounds like an Optimus [0] issue.  This plagued me for a long time 
on Ubuntu (back in the 12-16 releases) but seems to be all sorted now. 
Try disabling the NVIDIA card in the BIOS and see if you are at least 
able to use higher resolutions via the built-in GPU.


[0]: https://forums.centos.org/viewtopic.php?t=72534


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


Re: [CentOS] remove me from the list

2021-01-14 Thread Anthony K

On 15/1/21 3:04 am, cl...@west.net wrote:

Thank you for all the information over the years.

-dennis-

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
Removal from list is completely under your control. See the link in your 
signature above...

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


Re: [CentOS] el7 systemd service:: ensure var/log owner when User is specified

2021-02-10 Thread Anthony K

On 10/2/21 4:21 am, Adrian Sevcenco wrote:
Hi! Does anyone have an idea how can i (in a nice way [1]) to ensure 
ownership/permissions of log directory in /var/log for a unit

that drops privileges to a user (with User=/Group=)

[1] The ugly way being with script in StartPre and sudo in Start
so i want to use User=
I'm aware of LogsDirectory= but is not available on EL7

Thanks a lot!
Adrian

If you know the username/group/directory beforehand, then you could use 
setfacl on the directory and permissions should trickle down to new 
directories/files. Not sure though what implications this has for SELinux.


https://www.redhat.com/sysadmin/linux-access-control-lists

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


Re: [CentOS] mkdtemp on CentOS 7

2021-03-07 Thread Anthony K

On 7/3/21 9:31 am, H wrote:

yum provides mkdtemp


Looks like it's a node package: npm search mkdtemp


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


Re: [CentOS] Electron for CentOS 7

2021-03-07 Thread Anthony K

On 7/3/21 12:28 pm, H wrote:

I am trying to find electron for CentOS 7 but "yum provides electron\*" turns 
up nothing and pkgs.org does not find anything (https://pkgs.org/search/?q=electron).

Does anyone have better information?


Also appears to be a nod epackage:
npm search electron

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


Re: [CentOS] Samba config question

2021-03-16 Thread Anthony K

On 16/3/21 6:07 pm, Rob Kampen wrote:

On 16/03/21 4:24 pm, Robert G. (Doc) Savage via CentOS wrote:

After setting up /etc/samba/smb.conf and running "testparm" in CentOS
7.9.2011, I have noticed that the list of parameters echoed back for
the [global] section do not match those in the smb.conf file. Is this
normal?

[snip]...[/snip]

Is this normal behavior for Samba? I am particularly concerned about
workgroup = WORKGROUP missing in the "testparm" output.

Is it that testparm just outputs the non default values?


A quick glance at man smb.conf suggests that's exactly what's going on...
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipforwarding between interfaces and firewall rules

2021-04-30 Thread Anthony K

On 26/4/21 8:42 am, R C wrote:

...
for example; if I do "ping www.google.com"  I get a "ping 
www.google.com: Name or service not known"  If I use  an IP address 
(from www.google.com), it just works.


Sometimes seeing the traffic flow reveals what's really going on. To 
that end, run command below on the firewall box: tcpdump -i any port 53 
or port 5353 Then on the client, query www.google.com


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


Re: [CentOS] ipforwarding between interfaces and firewall rules

2021-04-30 Thread Anthony K

On 1/5/21 2:15 pm, Anthony K wrote:

On 26/4/21 8:42 am, R C wrote:

...
for example; if I do "ping www.google.com"  I get a "ping 
www.google.com: Name or service not known"  If I use  an IP address 
(from www.google.com), it just works.


Sometimes seeing the traffic flow reveals what's really going on. To 
that end, run command below on the firewall box: tcpdump -i any port 
53 or port 5353 Then on the client, query www.google.com



That didn't format well at all - one more try:

On firewall: tcpdump -l -n -i any port 53 or port 5353 ---

On client: query www.google.com


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


Re: [CentOS] [Slightly OT] video driver for NVIDIA Quadro

2021-04-30 Thread Anthony K

On 29/4/21 11:55 pm, R C wrote:

...
I was able to build/compile the drivers with 
NVIDIA-Linux-x86_64-460.73.01.run on 4.18.0-240.22.1.el8_3.x86_64, it 
gave me a warning about pkcfg, but no other warnings/errors and seem 
to install, however, after booting it still didn't use that driver, 
but the nouveau one

...


Not exactly an apples-to-apples comparison as I'm on Ubuntu, but just to 
show that Nvidia still supports this card (I'm on the same laptop - 
m6700 - though lower powered GPU). I have enabled Optimus in the BIOS 
and also installed bumblee for Optimus [1] support. $ ubuntu-drivers 
devices == /sys/devices/pci:00/:00:01.0/:01:00.0 == modalias 
: pci:v10DEd11BEsv1028sd153Fbc03sc00i00 vendor : NVIDIA 
Corporation model : GK104GLM [Quadro K3000M] driver : nvidia-driver-390 
- distro non-free recommended driver : nvidia-340 - distro non-free 
driver : nvidia-driver-418-server - distro non-free driver : 
xserver-xorg-video-nouveau - distro free builtin $ dpkg -l nvidia* *bee* 
| awk '/^(Des|\| Sta!|\||\+)/{print}; /^ii/{print}' 
Desired=Unknown/Install/Remove/Purge/Hold | 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend 
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name 
Version Architecture Description 
+++----=== 
ii bumblebee 3.2.1-22 amd64 NVIDIA Optimus support for Linux ii 
nvidia-compute-utils-390 390.141-0ubuntu0.20.04.1 amd64 NVIDIA compute 
utilities ii nvidia-dkms-390 390.141-0ubuntu0.20.04.1 amd64 NVIDIA DKMS 
package ii nvidia-driver-390 390.141-0ubuntu0.20.04.1 amd64 NVIDIA 
driver metapackage ii nvidia-kernel-common-390 390.141-0ubuntu0.20.04.1 
amd64 Shared files used with the kernel module ii 
nvidia-kernel-source-390 390.141-0ubuntu0.20.04.1 amd64 NVIDIA kernel 
source package ii nvidia-prime 0.8.15.3~0.20.04.1 all Tools to enable 
NVIDIA's Prime ii nvidia-settings 440.82-0ubuntu0.20.04.1 amd64 Tool for 
configuring the NVIDIA graphics driver ii nvidia-utils-390 
390.141-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries [1]:


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


Re: [CentOS] [Slightly OT] video driver for NVIDIA Quadro

2021-04-30 Thread Anthony K

On 1/5/21 3:53 pm, Anthony K wrote:

On 29/4/21 11:55 pm, R C wrote:

...
I was able to build/compile the drivers with 
NVIDIA-Linux-x86_64-460.73.01.run on 4.18.0-240.22.1.el8_3.x86_64, it 
gave me a warning about pkcfg, but no other warnings/errors and seem 
to install, however, after booting it still didn't use that driver, 
but the nouveau one

...


Dang it - formatting destroyed again... Thunderbird - The bane of email 
on Linux...


One more attempt:

Not exactly an apples-to-apples comparison as I'm on Ubuntu, but just to 
show that Nvidia still supports this card (I'm on the same laptop - 
m6700 - though lower powered GPU).


I have enabled Optimus in the BIOS and also installed bumblee for 
Optimus [1] support.


$ ubuntu-drivers devices
== /sys/devices/pci:00/:00:01.0/:01:00.0 ==
modalias : pci:v10DEd11BEsv1028sd153Fbc03sc00i00
vendor   : NVIDIA Corporation
model    : GK104GLM [Quadro K3000M]
driver   : nvidia-driver-390 - distro non-free recommended
driver   : nvidia-340 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin


$ dpkg -l nvidia* *bee*| awk '/^(Des|\| Sta!|\||\+)/{print}; /^ii/{print}'
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++----===
ii  bumblebee    3.2.1-22 amd64    NVIDIA 
Optimus support for Linux
ii  nvidia-compute-utils-390 390.141-0ubuntu0.20.04.1 
amd64    NVIDIA compute utilities
ii  nvidia-dkms-390  390.141-0ubuntu0.20.04.1 
amd64    NVIDIA DKMS package
ii  nvidia-driver-390    390.141-0ubuntu0.20.04.1 
amd64    NVIDIA driver metapackage
ii  nvidia-kernel-common-390 390.141-0ubuntu0.20.04.1 
amd64    Shared files used with the kernel module
ii  nvidia-kernel-source-390 390.141-0ubuntu0.20.04.1 
amd64    NVIDIA kernel source package
ii  nvidia-prime 0.8.15.3~0.20.04.1 all  
Tools to enable NVIDIA's Prime
ii  nvidia-settings  440.82-0ubuntu0.20.04.1 
amd64    Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-390 390.141-0ubuntu0.20.04.1 
amd64    NVIDIA driver support binaries


[1]: 
http://forum.notebookreview.com/threads/linux-driver-software-support-for-m6700.696804/


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


Re: [CentOS] yumex for CentOS 8.3

2021-05-09 Thread Anthony K

On 10/5/21 5:48 am, Robert G. (Doc) Savage via CentOS wrote:


Jonathan,

That nux yum repo was in Frank's system. My system is all C8.

--Doc


What?  Check your first post above!

Look at all those "*nothing provides...*" statements - they all 
reference *el7.nux*


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


Re: [CentOS] ipforwarding -- routing

2021-05-10 Thread Anthony K

On 17/4/21 6:36 am, R C wrote:

Hello,


I have an accesspoint, that I connected to one ethernetport, the ap 
has ip 192.168.67.6, the port 192.168.67.1


I want to forward/route traffic for anything in 192.168.66.0 to go to 
that access point, and from the ap to the other port.




Do you have a topology diagram somewhere?

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


Re: [CentOS] Freeipa sssd service

2021-08-09 Thread Anthony K

On 9/8/21 2:42 am, Gokan Atmaca wrote:

I started using freeipa. Users I have given "SUDO" right cannot use
this right after logging out and logging in. For the solution, I need
to restart the "SSSD" service.

How can I solve this?



Sounds like you'll need to find a way to invalidate SSSD cache on logout using 
sss_cache tool:

sss_cache -u 

https://www.rootusers.com/how-to-clear-the-sssd-cache-in-linux/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Out of the Office -- Re: Find out which process consumed Network bandwidth

2021-09-08 Thread Anthony K

On 7/9/21 4:27 am, jacr...@vcu.edu wrote:

I am currently out of the office, but plan to return to my desk on Tuesday,
September 7, 2021 at 7am.
...


Hmm - Simon predicted this would happen not too long ago!!!

@Simon, please share that crystal ball!

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


Re: [CentOS] Delete local user/group but not LDAP one

2021-12-30 Thread Anthony K

On 26/11/21 6:27 pm, Felix Natter wrote:


How about if I disable networking so that the LDAP Server is not
reachable (pingable) before running luserdel/lgroupdel? Would that be
100% safe?



Why not create a test user, that has similar settings to the real user account 
you are trying to affect, and test with it.  Is it that hard to do?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Delete local user/group but not LDAP one

2021-12-30 Thread Anthony K

On 31/12/21 12:34 am, Anthony K wrote:

On 26/11/21 6:27 pm, Felix Natter wrote:


How about if I disable networking so that the LDAP Server is not
reachable (pingable) before running luserdel/lgroupdel? Would that be
100% safe?



Why not create a test user, that has similar settings to the real user account 
you are trying to affect, and test with it.  Is it that hard to do?


Oddly, that was showing up as a recent message in my CentOS list until after I 
posted.  Ignore me if already resolved.

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


Re: [CentOS] Looking for a RAID1 box

2023-01-05 Thread Anthony K

On 4/1/23 09:22, Robert Moskowitz wrote:

And I am just coming up empty on my searches.

My search foo has been really off, it seems.


It's not just you.  I was recently searching on Google and I couldn't find what 
I was looking for.  I kept getting that annoying blue fishing monster.  I then 
went to Duck Duck Go and got what I was after.  On returning to Google and 
using the same exact search phrase that was returning nothing prior, I then got 
the same hits as on Duck Duck Go - go figure!!!
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos7 Net install on HP A1710N fails

2014-11-18 Thread Anthony K

On 16/11/14 11:16, david wrote:

Folks:
I'm at a loss of what to do next, namely
 - How do I tell Centos that there's a NIC, and how do I configure it?

PS:  There is no GUI, and the command line display is very tiny.

Guidance would be appreciated.


1. Get list of interfaces that are up:
ip l l

Then load the module:
modprobe forcedeth

Then check interface status again to see which has come up (if any):
ip l l

If no interface has come up, post the error on screen (if any), then 
check the logs to see if any errors are reported and post them back here 
as well.


(not sure if on C7 immediately initiates a DHCP request when the 
interface comes up)


Check if interface has an IP address:
ip a l

If no IP address, then request one via DHCP:
dhclient 

Browse the net... Done!

=

If no DHCP server on network, then set one manually as indicated below:
ip a a 1.1.1.1/24

then bring it up:
ip l set  up

then add a default route:
ip r a 0/0 via 

Browse the net... Done!

Cheers,
ak.

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


Re: [CentOS] Centos7 Net install on HP A1710N fails

2014-11-18 Thread Anthony K

On 19/11/14 12:18, SilverTip257 wrote:

@Anthony,
Thanks for sharing your examples.
I've gotten spoiled by using the "ip addr show" shortcut of "ip a s".  So
much so that I try to do "ip l s" for "ip link show", which doesn't work.
Given the error message: Not enough information: "dev" argument is
required. I figure ip tools thinks I'm attempting to set something on the
interface.  Anyhow, your "ip l l" shortcut appears (see my manpage comment
below) to evaluate to "ip link list", which is awesome!  Shortcuts for the
win.

On a CentOS 6.6 system per the ip manpage, it seems that "list" is
undocumented for link and addr.

(Certainly correct me if I'm wrong ... I did find a TLDP page with an
example of "ip link list", so it's known by some.)


Thanks Mike.

I use Ubuntu on the laptop and in the manpage for the ip command it has 
the following:


COMMAND
   ...*As a rule, it is possible to add,**
**   delete and **show (or list )**objects, but some objects do not 
allow all**

**   of these operations or have some additional commands.* ...

Seems to be vaguely documented - I can see how *(or list )* part can be 
misleading as you might think they are just saying that show 
_will_list_  and not necessary that *list* can be substituted for *show* 
- it's all in the wording!


Oddly, the man page for ip (iproute-2.6.18-13.el5) on CentOS 5 is way 
more comprehensive (it has way more examples on where list can be used) 
than that on Ubuntu 14.04.1 with iproute-3.12.0-2! But then, Ubuntu has 
a man page for each ip object:


$ man ip-
ip-address  ip-monitor  ip-ntable   ip-tunnel
ip-addrlabelip-mroute   ip-routeip-xfrm
ip-l2tp ip-neighbourip-rule
ip-link ip-netconf  ip-tcp_metrics
ip-maddress ip-netnsip-token


Cheers,
ak.

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


Re: [CentOS] unreachable peer

2015-05-17 Thread Anthony K

On 17/05/15 03:23, Leon Fauster wrote:

Am 15.05.2015 um 18:17 schrieb Gordon Messmer :

On 05/15/2015 09:02 AM, Leon Fauster wrote:

So, the destination is not responding with SYN,ACK when the connection passes
our router. But as I said it is reachable from my home, and this is confusing.



In such situations, I use HPING in the following manner:
hping3 -n -T -S -p 443 yy.yy.yy.yy

Breakdown:
-n - do not do DNS resolution
-T - traceroute mode
-S - send SYN packet (you should see flags=SA in the output for a reachable 
machine)
-p - the destination port - 443 in this case

You can a -t ## to start off with a larger tty than the default 0.


Cheers,
ak.


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


Re: [CentOS] problem on exceptional quit

2015-10-08 Thread Anthony K

On 09/10/15 10:23, Gordon Messmer wrote:


Since those don't help, that tends to suggest that the problem isn't 
an intermediate host, but the server itself.  Possibly an IP 
conflict.  Also, check the output of "dmesg" to see if there are any 
problems recorded with the NIC.  Check the output of "ifconfig" to see 
if there are TX or RX errors that increase when your connections are 
reset.


As Gordon suggests, let's see if the problem might be related to a dying NIC.  
The output of the following command may reveal any illness:

# ip -s -d l l


Cheers,
ak.

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


Re: [CentOS] Screen

2015-10-30 Thread Anthony K

On 30/10/15 20:53, Andrew Holway wrote:

Is it possible to move the screen binding so I can have the best of both
worlds?


Indeed it is quite easy.  In you ${HOME}/.screenrc file, add the following:

escape ^Zz

This would change your escape sequence to CTRL+Z.  I had to do something 
similar on a server that was running minicom and could not change the escape in 
minicom as it was used by many for so long that muscle memory would have been a 
big hill to climb!

ak.


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


Re: [CentOS] use pssh to restart a service

2015-11-02 Thread Anthony K

On 02/11/15 12:35, Tim Dunphy wrote:

Hey Gordon,

  Sorry, man my bad! Disabling the tty requirement for my sudo user does
indeed work. I had a type-o in the sudoers file, and when I corrected it,
my sudo command via pssh started working!


This is why it is paramount to use visudo command as opposed editing the 
/etc/sudoers file directly!  The visudo command will check the edited temporary 
sudoers file syntax before committing to /etc!

ak.

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


Re: [CentOS] Rsync and differential Backups

2015-11-13 Thread Anthony K

On 11/11/15 02:46, Gordon Messmer wrote:


... the process you described is likely to miss files that are 
modified while "find" runs.



That's just being picky for the sake of it.  A backup is a *point-in-time* 
snapshot of the files being backed up.  It will not capture files modified 
after that point.

So, saying that find won't find files modified while the backup is running is 
frankly the same as saying it won't find files modified anytime in the future 
after that *point-in-time* when the backup started!

If there's a point to be made by the quoted statement above, I missed it and I 
surely deserve to be educated!


ak.


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


[CentOS] [Slightly OT] - Looking for shadow-utils 4.2 SIG or SCL

2015-11-22 Thread Anthony K

Hi.

I'm looking to run unprivileged containers on CentOS 7 and this 
apparently requires shadow-utils 4.2 or higher [*0*].  CentOS 7 
currently has:


# rpm -q shadow-utils
shadow-utils-4.1.5.1-18.el7.x86_64

Is there a SIG or SCL that provides an updated package to facilitate my 
venture or am I left with the only choice of manually managing 
shadow-utils if I go the route of rpmbuild?


AK.

[*0*]: 
https://it-offshore.co.uk/linux/centos/29-centos-7-unprivileged-lxc-containers


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


Re: [CentOS] install rrdtools-devel / rrdtool-perl / SOLVED

2015-11-26 Thread Anthony K

On 27/11/15 05:54, Leandro wrote:
what I did is to take note of exaclty the same package that were 
installed on mi centos 7.
Then I download the 3 packages on my rhel , and installed in the same 
order with rpm.

I worked ...
Thanks.


It's always better to consistently use yum to install packages, otherwise your 
RPMDB will go out of sync!

For next time:
cd /path/to/downloaded/rpms
yum localinstall *.rpm


AK.

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


Re: [CentOS] routing with 2 public ips

2015-12-27 Thread Anthony K

On 26/12/15 06:44, Joey wrote:

Hello,

i have a server with 2 public ips on 2 devices.



This is most likely what you are after:

Routing for multiple uplinks/providers - 
http://lartc.org/howto/lartc.rpdb.multiple-links.html


Cheers,
ak.

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


Re: [CentOS] Just need to vent

2016-01-28 Thread Anthony K

On 26/01/16 05:01, Warren Young wrote:

Buncha spoiled brats...


That just made my day!

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


Re: [CentOS] Latest version of kate editor

2016-02-09 Thread Anthony K

On 03/02/16 04:02, H wrote:
What do people use as a programming editor on CentOS 6? My first 
impression of kate was favorable, not only did it support the usual 
programming and scripting languages but also markdown which I have 
recently discovered...



Sublime Text [0] slaughters them all, IMO, except for VIM at the CLI!


[0]https://www.sublimetext.com/

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


Re: [CentOS] USB Serial ports (ttyACMn) CentOS 6.7 (64-bit) vs. CentOS 6.7 (64-bit)

2016-02-14 Thread Anthony K

On 14/02/16 02:14, Robert Heller wrote:

I sent this out about a week or so ago, but I have heard nothing. I am
*thinking* it is a SELINUX problem, but I cannot figure out what.



If you suspect SELinux is to blame, have you tried putting SELinux into 
permissive mode to see that resolves the issues?


setenforce 0 (re-enable with setenforce 1)

If everything works with SELinux in permissive mode, then you'll need to 
create a policy for it *[0]*.



ak.

*[0]*: 
https://wiki.centos.org/HowTos/SELinux#head-faa96b3fdd922004cdb988c1989e56191c257c01



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


Re: [CentOS] USB Serial ports (ttyACMn) CentOS 6.7 (64-bit) vs. CentOS 6.7 (64-bit)

2016-02-15 Thread Anthony K

On 16/02/16 01:32, Robert Heller wrote:

OK, I just tested it:

sauron.deepsoft.com% sudo /usr/sbin/setenforce permissive
sauron.deepsoft.com% sudo minicom
Device /dev/ttyACM0 access failed: No such file or directory.
sauron.deepsoft.com% sudo /usr/sbin/setenforce enforcing

Nope, that did not help.



When using my USB to serial device I've had to make sure that I'm a 
member of the 'dialout' group.  Even though you are using sudo to run 
minicom, could it be that the user account you are logged in as still 
needs to be a member of the dialout group?  (tol - thinking out loud)



ak.

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


Re: [CentOS] [ WAY OFF-TOPIC ] Re: Network hangs after several hours (Centos 6 recently upgraded kernel/glibc)

2016-02-19 Thread Anthony K
On Fri, 2016-02-19 at 11:15 -0300, Ricardo J. Barberis wrote:

> Then please, also trim your mails before posting if possible, so we don't have
> to scroll several pages just to read a one-or-two-lines reply :)


I'm with you on this one!

It so irritates that I've been searching for mail readers that have a plug-in to
fold quoted sections - know of any?  Haven't found one yet, but I'm still
looking.

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


[CentOS] OpenSSL Update - not a security update???

2016-03-01 Thread Anthony K
This command output is odd:

yum update --security
...
No packages needed for security; 118 packages available


However, this command says there's an OpenSSL update:

yum update openssl
...
---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.2 will be updated
---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.4 will be an update


Why does yum not consider this CESA a security update?


Perplexed,
ak.

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


Re: [CentOS] OpenSSL Update - not a security update???

2016-03-02 Thread Anthony K
On Tue, 2016-03-01 at 21:58 -0600, Johnny Hughes wrote:
> On 03/01/2016 09:41 PM, Johnny Hughes wrote:
> > BUt the security plugins do not work for CentOS and they never have,
> > Peter is correct, you need to run yum update or call out the specific
> > packages you want updated.
> > 

I totally understand the necessity of a full system update.  However, this begs
the question "Why code an option into yum that is of no use?"  Was there a time
when this option was functional?  If yes, what caused its removal?  Was it a
system compromise at some big corporation and someone got sued/fired?  What? 
 Don't spare any gory details either!


ak.

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


Re: [CentOS] OpenSSL Update - not a security update???

2016-03-02 Thread Anthony K
On Wed, 2016-03-02 at 07:33 -0600, Johnny Hughes wrote:

> Hopefully this makes sense.
> 
> You can instead just look at this:
> 
> https://lists.centos.org/pipermail/centos-announce/
> 
> (or subscribe to the CentOS announce mailing list to get emails)
> 
> Both of those places will tell you when there is a security update.
> 
> OR, you can subscribe to RHEL and use the information in the yum
> security plugin.
> 

Thanks for not sparing the gory details (and Alice and James) - much
appreciated!

I normally test my updates on non-critical systems before deploying to
production.  However, in this instance, I had been away from the office and
wanted to quickly patch the openssl vulnerability before other non
-critical/security related.

In the end, I bit the bullet and just upgraded everything and no harm done.


ak.

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


Re: [CentOS] Compatible 5GHz wifi usb dongles?

2016-03-25 Thread Anthony K
Hi Nux.

I've used the following successfully on CentOS 7:
TP-LINK - TL-WN722N

I'm currently using it on Ubuntu where lsusb gives this:
Bus 001 Device 004: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n

No issues whatsoever - an added bonus is that it does monitor mode if you plan
on troubleshooting wifi!


Cheers,
ak.


On Fri, 2016-03-25 at 02:25 +, Nux! wrote:
> Hi,
> 
> Can anyone recommend a 5GHz usb wifi dongle that works out of the box with
> CentOS?
> 
> Tried various Mediatek (0e8d:7610) %(*^ off amazon/ebay, without any luck, so
> please don't suggest that.
> 
> Thanks!
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> ___
> 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] Compatible 5GHz wifi usb dongles?

2016-03-25 Thread Anthony K
Apologies, Nux.

I was looking at the wrong information - this one doesn't do 5Ghz - I mis
-interpreted the output from lspci and lsusb - my internal card is the one that
does 5Ghz.

Sorry for the noise!

ak.


On Fri, 2016-03-25 at 22:00 +1100, Anthony K wrote:
> Hi Nux.
> 
> I've used the following successfully on CentOS 7:
> TP-LINK - TL-WN722N
> 
> I'm currently using it on Ubuntu where lsusb gives this:
> Bus 001 Device 004: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
> 
> No issues whatsoever - an added bonus is that it does monitor mode if you plan
> on troubleshooting wifi!
> 
> 
> Cheers,
> ak.
> 
> 
> On Fri, 2016-03-25 at 02:25 +, Nux! wrote:
> > Hi,
> > 
> > Can anyone recommend a 5GHz usb wifi dongle that works out of the box with
> > CentOS?
> > 
> > Tried various Mediatek (0e8d:7610) %(*^ off amazon/ebay, without any luck,
> > so
> > please don't suggest that.
> > 
> > Thanks!
> > 
> > --
> > Sent from the Delta quadrant using Borg technology!
> > 
> > Nux!
> > www.nux.ro
> > ___
> > 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] Suddenly increased my hard disk

2016-04-07 Thread Anthony K

On 07/04/16 14:48, John R Pierce wrote:


if you are running X-Windows, there's a nifty utility KDirStat that 
scans the disk tallying space, then gives you an interactive graphical 
view of usage.   I believe you can install it from epel as package 
k4dirsta 


And the equivalent of that at the cli is ncdu - also from EPEL.

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


Re: [CentOS] Centos 6.3 - which repos to use?

2013-01-26 Thread Anthony K
On 26/01/13 14:59, Bry8 Star wrote:
> CentOS webpage/site should also show to all users, some example of 
> using multiple repos and how to implement effective includepkgs, 
> exclude, priority etc directives properly for some certain last & 
> STABLE app(s) (which is by default not in CentOS), so that others can 
> understand the pattern, or have a pointer for them. Just mentioning 
> about, that, there is such things called "includepkgs=...", 
> "exclude=..." ad now go do it yourself (and sorry no example), 
> obviously does not help that much to users, and its CentOS's loss as 
> well, users go away to other distros, and ultimately many of them are 
> lost in the jungle. -- Bright Star (Bry8Star).
But you appear to be missing the "C" part in CentOS (or Community 
Enterprise OS).  If you can contribute to the Wiki, then the immediate 
problem is solved in that such threads can be pointed to the Wiki and 
slows the growth of my CentOS list folder!

Frankly, if you have a good point to make that would benefit the masses 
and you have spare time, then it's best to create a Wiki page for it.

Cheers,
ak.

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


Re: [CentOS] OT - 'IP' Security and Capturing Software

2013-02-27 Thread Anthony K
On 26/02/13 04:33, Tom Brown wrote:
> Hi
>
> After returning from a trip to discover the delights on being burgled i 
> wonder if anyone has any experience of IP security camera(s) and software 
> that can constantly record the stream?
>
> I have infrastructure that could store a few TB's of video data which should 
> be plenty for a few weeks worth of recording thats attached to a CentOS 6 box.
>
> This would be purely for after the event viewing and in no way a preventative 
> measure
>
> Anyone have any ideas?
>
> thanks
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
I was contemplating setting up such a system then my neighbour informed 
me it was a bad idea.  So I got curious and asked him why getting 
evidence of a crime is a bad idea.  He reckoned that for a man with his 
temperament (he is quick to anger and is rather well built), he would 
end up in a maximum security joint for sure.  I ended up siding with him 
in that it would be better to invest in a monitored security system and 
ensure there are enough signs around the premises to alert any personnel 
in the B&E business to stay out!

Below excerpt taken from [0]:

Data shows that homes with monitored security systems are up to
three times less likely to be broken into than homes without them.
If you have a security system, be sure to:

  * Install the stickers and signs, so you can let the would-be
burglar know your home won't be an easy target.
  * Test your system often to make sure it is working properly.
Security equipment manufacturers recommend testing your system
at least once per month.
  * Keep your key holders list updated, so you can be easily
contacted in the event of a break-in.

All of these things can help you prevent a burglary from happening
to your home. Benjamin Franklin once said, *"An ounce of prevention
is worth a pound of cure."*  This rings true when it comes to
keeping your home safe and secure.



That's my $0.02.

[0] - http://preview.tinyurl.com/bhpgpbz

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


Re: [CentOS] Having difficulty exporting display

2013-04-22 Thread Anthony K
On 19/04/13 06:42, Yves S. Garret wrote:
> Hello,
>
> This is my issue, my remote machine (CentOS 6.3, hosted in Azure windows
> environment) has an application that I need to test on my local box (CentOS
> 6.4, a laptop behind a router).
>
> Now, this is what I'm doing and the issue that I'm encountering:
> Local:
> $ xhost +
> $ ssh -X someusern...@somehostname.net -p 49283
I don't believe you need to export DISPLAY, it should already be set by 
virtue of using -X.  Try omitting the export below and just run xclock.  
That ought to work.

When you log in, what does set|grep DISP output?I always get the 
following output:
DISPLAY=localhost:10.0

And all my GUI apps end up on my local desktop!

> Remote:
> $ export DISPLAY=192.168.1.6:0.0
> $ xclock
>
> ... and nothing, it just sits there and no xclock shows up :( .  I'm fairly
> convinced
> that this is due to my router, but I don't know how to deal with it.  Any
> ideas?  Am I
> way off in my guess?
> ___
> 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-05-11 Thread Anthony K
On 11/05/13 14:48, Rock wrote:
>> For the record, this is the Microsoft Support KB I had followed:
>>   http://support.microsoft.com/kb/176646
> Just by way of update, it's currently at 95,000 of about
> 100,000 files; so I would expect the Recuva file recovery
> to complete by tomorrow morning (day 3):
>
>   http://www5.picturepush.com/photo/a/12901188/img/129088.gif
>
> Of course, the results will be flatter than a pancake; so,
> I will try the other suggested methods; but at least I'll
> wait for this first (Recuva) method to complete.
>
>
>
Give testdisk [0] a try.  However, I'd suggest you still make a copy of 
the disk with dd and work on the image!

[0] - http://www.cgsecurity.org/wiki/TestDisk

Cheers,
ak.


___
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-05-11 Thread Anthony K
On 11/05/13 22:56, Rock wrote:
> On Sat, 11 May 2013 21:27:59 +1000, Anthony K wrote:
>
>>   I'd suggest you still make a copy of the disk with dd and
>> work on the image!
> Key questions:
> Q0. Should I boot to my normal Centos 6 OS?
> Q1: Should I format the new USB hard disk with Fdisk?
> Q2: What dd command should I use?
Having read your earlier posts, I believe you are quite capable of 
sorting out Q0 and Q1.  For Q0 though, I normally use pmagic live CD.  
For Q2, I once ran some tests to determine the optimum blocksize to use 
with dd and discovered that anything over 4096 didn't increase 
throughput much.  However, I still use 4M when working with dd to dump a 
hdd image:
dd if=/dev/sda of=/path/to/hdd-image-file.img bs=4M

After dumping the image, refer to testdisk wiki [0] on how to mount the 
image file.  If you require some hand holding working with testdisk, 
please contact me off-list.


Cheers,
ak.

[0] - 
http://www.cgsecurity.org/wiki/TestDisk_FAQ#How_to_open_the_image.dd_file_.3F


___
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-01 Thread Anthony K
On 01/06/13 15:01, Rock wrote:
> On Fri, 31 May 2013 20:50:00 +, Rock wrote:
>
>> ...
>>
>> 3. You apparently *must* unlock your phone before connecting
>> it to the Centos PC; and if you connect without unlocking, you
>> may have to start all over with a Centos PC reboot (why this is
>> the case is beyond me but don't fight it; just reboot and
>> remember to unlock the phone before connecting it to the PC).
>>
>>

I think you can avoid rebooting the PC.  What you'll need to do is 
before you plug in your locked S3, run the 'lsmod' command and save the 
output to 'file-without-s3.'  Then plug the S3 into the PC and again 
save the output of 'lsmod' to 'file-with-locked-s3.'  Now compare the 2 
files and note the differences.  If say you find that when the locked S3 
was mounted a new module with the name 'new_module' was loaded, then 
instead of rebooting the PC, you can simply run the command 'modprobe -r 
new_module.'

In summary:
1. sudo lsmod > file-without-s3
2. ensure S3 is locked then connect to PC
3. sudo lsmod > file-with-locked-s3
4. sdiff-s file-with-s3 file-with-locked-s3| egrep '>'
5. take note of what new modules are loaded by looking to the right of 
the '>' sign
6. disconnect the S3
7. for each new module noted in step 5 above, do
sudo modprobe -r module_name
8. unlock the S3 and mount it again

The phone should mount successfully!   If not, then I'd really like to 
know what else the locked S3 does to the PC that requires a reboot to fix!


Cheers,
ak.

___
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-01 Thread Anthony K
On 02/06/13 00:38, Rock wrote:
>
>> The phone should mount successfully!   If not, then I'd really like to
>> know what else the locked S3 does to the PC that requires a reboot to fix!
> Me too! :)
>
>
Please post what you see in /var/log/messages when you attach a locked 
S3.  Run the following command before plugging in a locked S3:
tail -f /var/log/message

Hit enter key a few times to help demarcate the start of output (don't 
worry, that won't affect the contents of /var/log/messages, just what 
appears on screen).

Cheers,
ak.

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


[CentOS] RHEL Subscriptions

2013-08-18 Thread Anthony K
Hello List Members.

I was recently approached by Dell stating that I HAVE TO renew my Red 
Hat Subscriptions.  I challenged this statement and was informed that 
this has always been the case and that all servers I have bought off of 
Dell over the years need to have current subscription!

I've been searching the Red Hat website to find where this is stated but 
can't seem to locate this info.  So, is Dell having me on?


Cheers,
ak.

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


Re: [CentOS] CIFS Share with encrypted credentials

2013-10-03 Thread Anthony K
On 02/10/13 06:40, Eero Volotinen wrote:
> This is really stupid idea, don't even try to do it.
>

Why not give a reason why it is a **stupid** idea???
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba problem

2013-10-05 Thread Anthony K
On 05/10/13 05:11, Joseph Hesse wrote:
> Hello,
>
> I am trying to learn how to use Samba.  I first just want to get it to
> work, then I'll make it better.
> I am not concerned about security since everything is on a private network.
> I am following the material in "CentOS 6 Linux Server Cookbook" by
> Jonathan Hobson.
> I am using two virtual computers with Virtual Box running on Fedora 19.
> Both virtual computers have bridged networking.
> One virtual computer is Win7, the other is CentOS 6.4.
> They are both up to date. There is only one user, "admin", on the CentOS
> virtual computer.
>
> The Win7 computer can successfully ping the CentOS computer.
>
> My Win7 computer can not see the share on the Samba server.
>
>
On some Windows 7 systems (not all in my experience), you'll need to 
adjust the LAN Manager authentication level.  To do this,
1. Launch *gpedit.msc*
2. Then under *Computer Management* drill down to *Windows 
Settings*->*Security Settings*->*Local Policies*->*Security Options*
3. On the right hand side, scroll down to *Network security: LAN Manager 
authentication level* and double-click it
4. In the drop down, select *Send LM & NTLM - use NTLMv2 session 
security if negotiated*

I'm not sure sure what exactly causes some *just-built* Windows 7 PC's 
to require this setting.  For instance, on the network I manage, I'd say 
that 30% of just-built Windows 7 PC's require this settings while others 
function just fine when it is left as *Not Defined*!

Hope that helps you!

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


Re: [CentOS] CentOS 6.5 VirtualBox

2013-12-05 Thread Anthony K
On 06/12/13 01:08, Toralf Lund wrote:
> OK. So it's my system.
>
> - Toralf
>

Not necessarily!  I wouldn't worry too much about VirtualBox 4.3 - it is 
terribly hosed; I suggest you downgrade back to 4.2.20 which, like 
Giles, I've been using without any adverse effects for a while.  I too 
run a headless server but make use of VRDE where I need to access a 
Windows host!

Cheers,
ak.

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


Re: [CentOS] USB to Ethernet problem

2014-03-18 Thread Anthony K
On 18/03/14 19:49, Giri Prasad wrote:
> Now, after assigning a static IPV4 address, this eth1 is pinging to the 
> default gateway 192.168.1.1. But eth1 is not pinging/connecting to the 
> external internet. Can someone please provide some answers.
>
>
Can you ping an IP Address - such as 8.8.8.8?

If you can, then most likely a DNS config issue!  Since you mention you 
had to assign an IP Address manually, the file /etc/resolv.conf may not 
have the necessary DNS info to resolve Internet names!

Cheers,
ak.

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


Re: [CentOS] Problem running yum update command

2014-04-10 Thread Anthony K
H wrote:
> Thank you. I have now rebuilt the database and also secured the server 
> against the heartbleed bug. I do wonder, however, why the rpm database 
> crashed? It completed the last yum update just fine.
>
>
Top posting yet again.  This is a disease that apparently has no cure!!!

Tsk, tsk,
ak.

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


Re: [CentOS] Death of dyndns

2014-04-13 Thread Anthony K
Timothy Murphy wrote:
> But would this "home" DNS server provide records accessible to others?

Be aware of DND DDoS Amplification attack *[0]* if you are running this 
DNS at home as it can quickly deplete your bandwidth (if your ISP gives 
you quotas per month).  I use the following *[1]* to help stop these 
queries. However, since I'm dropping these when they hit my router, I'm 
still losing bandwidth but not at a terribly fast pace!

Although the ISP can definitely stop such queries from getting to you, 
it is not in their best interests and hence do nothing about it!  I've 
been hit by this type of DDoS and the only option the ISP offered was to 
change my static IP address; being that I run a mail server, I declined 
and now just cope with the wasted DROP queries - ~11GB per month.  The 
DDoS has been happening for the last 2 months and doesn't seem to be 
letting up!  Maybe it is time to consider an IP address change!!!


Cheers,
ak.

*[0]* - https://www.watchguard.com/infocenter/editorial/41649.asp
*[1]* - http://www.perdichizzi.net/?p=294


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


Re: [CentOS] Death of dyndns

2014-04-13 Thread Anthony K
On 14/04/14 14:18, Keith Keller wrote:
> ...well, unless they get to charge you by the MB/GB. Last I heard that 
> was more common outside the US.

Yup, I'm in Australia and here they have a quota that counts up for both 
downloads and uploads.  We are actually getting DDoS'd at the office and 
the only solution they offered was to change our static IP; a no go 
since we host our own email!  Once the quota is gone, we are throttled 
down to 256kbps for both upload and download unless we pay for extra 
data blocks @ ~AU$15 per 20GB block.


Cheers,
ak.

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


Re: [CentOS] USB key accessible/seen remotely.

2014-06-09 Thread Anthony K
On 10/06/14 05:10, Rafał Radecki wrote:
> ...
>
> Is there a way to use my local USB port (attach mentioned device to
> it) and share it with this remote server?
>
> ...
Try the USBoIP package at Sourceforge and let us know how it goes!

http://www.howtoforge.com/how-to-modify-your-gnu-linux-box-to-serve-as-a-usb-over-ip-server


Cheers,
ak.

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


Re: [CentOS] apache server-status permission denied

2014-06-09 Thread Anthony K
On 10/06/14 13:22, Tim Dunphy wrote:
> Hi Steven,
>
> Thanks for your reply.
>
> No there appears to be no difference there either. And I don't think
> reverse dns is setup on either host.
>
> Tim
>
>
Hi Tim.

The only time I've seen such an error was when the user the web server 
is running as doesn't have permission to access the file system 
directory - in your case, /server-status.  Maybe this particular 
instance has a different user set up for the Apache process?


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


Re: [CentOS] apache server-status permission denied

2014-06-10 Thread Anthony K
On 10/06/14 16:26, Anthony K wrote:
> Hi Tim. The only time I've seen such an error was when the user the 
> web server is running as doesn't have permission to access the file 
> system directory - in your case, /server-status. Maybe this particular 
> instance has a different user set up for the Apache process? Cheers, ak.

I was corrected by a well known troll that /server-status is not in the 
file system - :-( !

Please excuse my jabber...


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


Re: [CentOS] List attitude and content

2014-07-14 Thread Anthony K
On 15/07/14 11:17, Nordgren, Bryce L -FS wrote:
> +1
And this idea of +n'ing comments is annoying as hell!  Please read and 
move on!

Having to open up a thread just to find +1 is a waste of time for us all!


Cheers,
ak.

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


[CentOS] (OT) Where can I find a PERC Simulator?

2014-09-02 Thread Anthony K

Hello and apologies for being off-topic, but this is my last option!

I've been looking for a PERC simulator to help with training, but for 
the life of me, I cannot find it anywhere on the internet!  I even 
called Dell to see if they can offer me a download link to no avail.  I 
know there is one somewhere as I've seen screenshots of it *[0]*!


If anyone has it and is willing to help, please contact me off list!


Cheers,
ak.


[0] - 
https://kc.mcafee.com/corporate/index?page=content&id=KB73197&actp=LIST
You can see that this is a simulator since the title of the main window 
has the following:
C:\Program Files\McAfee\*PERC5 **sim*\CtrlHostWin.exe - emphasis on 
"*PERC5 sim*"


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


Re: [CentOS] (OT) Where can I find a PERC Simulator?

2014-09-03 Thread Anthony K

On 03/09/14 16:50, John R Pierce wrote:

never heard of any such thing.

buy a cheap server with a real PERC, like
http://www.ebay.com/itm/Dell-PowerEdge-2950-II-Server-2x-2-33GHz-E5345-Quad-Core-16GB-RAM-2x1TB-PERC-5i-/221295119685?pt=COMP_EN_Servers&hash=item3386378d4 



That was Dell's response too and that's what I've been doing. However, 
this is such a major headache for a large group when you are trying to 
do hands on training - it takes terribly long as we have to reboot 
between each configuration setting!  A simulator would help as the 
trainees could play with different configurations before doing it on 
real hardware!


I always have ~5 Dell R720's servers on my bench at anyone time - I was 
trying to get more people in the team involved to ease the load on the 
few (me) who know how to do it!


Anyway, such is life!


Cheers,
ak.

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


[CentOS] Layer 2 VPN with OpenSSH on CentOS7 not working!

2014-09-28 Thread Anthony K

Hi all.

I'm trying to bring an Amazon VM into the LAN by following this guide 
[0].  However, it appears that OpenSSH on either RHEL7 or CentOS7 is 
broken as it is not creating tap interface but tun interface.  I've 
tried this on both CentOS5 and CentOS6 and they both work as 
advertised!  Downgrading the OS is not an option!



CentOS5/6 gives me:
**
tap1:  mtu 1500 qdisc noop state DOWN qlen 500
 link/ether 9e:9e:44:9e:49:4c brd ff:ff:ff:ff:ff:ff

CentOS7 gives me:

tun1:  mtu 1500 qdisc noop state DOWN mode 
DEFAULT qlen 500

link/none


So, what's broken in 7 - or is it that it requires something different?


Cheers,
ak.

[0]: http://la1.wordpress.com/2012/09/24/layer-2-vpns-using-ssh/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Layer 2 VPN with OpenSSH on CentOS7 not working!

2014-09-28 Thread Anthony K

On 29/09/14 15:47, Anthony K wrote:


So, what's broken in 7 - or is it that it requires something different?



I've just finished installing a CentOS7 virtual machine and guess what - 
as long as both ends are CentOS7, the tap interface is created as expected!


Looks like an incompatibility issue between OpenSSH versions!


Cheers,
ak.

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


Re: [CentOS] Layer 2 VPN with OpenSSH on CentOS7 not working!

2014-09-30 Thread Anthony K

On 30/09/14 02:00, SilverTip257 wrote:

Unless you can prove with further testing that something is actually
broken, I expect this is nothing but a configuration error.  Per the
TUN/TAP comment of mine [0].  TUN is layer3 and TAP is layer2 of the OSI
Model.

[0] http://en.wikipedia.org/wiki/TUN/TAP


Thanks,

You obviously have a point here.

Interestingly, from my fully patched Ubuntu based laptop I can only get 
a tun interface *[1]*.  However, as long as both ends are CentOS, it 
works as intended.  I'll have dig further on my laptop to figure out 
which configuration setting I need to tweak to get it working!



Cheers,
ak.

*[1]*: http://i.imgur.com/2QmVakh.png

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


Re: [CentOS] restarting mysql databases

2014-10-07 Thread Anthony K

On 2014-10-07 06:01, Robert Moskowitz wrote:

I am doing an install of a mysql system, and decided that I needed to
change some things like host name.  So I have to go back to square one
with the mysql setup, but can't find any instructions for this.  I
TRIED:

mysql_install_db

And it did SOMETHING, but

mysqladmin -u root password 'mypass'

failed with:


Why not change hostname back to what it was previously, then change the 
hostname associated with the root user in the user database?


I'm thinking this is rather simple and I'm worried I'm overlooking 
something by suggesting this after having read the entire thread...


Cheers,
ak.



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


Re: [CentOS] Dell Dimension 2400 W/Intel 845-G Video

2014-11-01 Thread Anthony K

On 01/11/14 13:51, Mark LaPierre wrote:
Google has not turned up any useful information. Does anyone have and 
ideas what more I can try? 


Try Ctrl+Alt+F1 then:

$ sudo /sbin/service gdm restart

If you are not using gdm, then substitute your desktop manager.

I had similar issue on my laptop and whenever my screen comes up garbled 
(happens once in a while on my Ubuntu Unity desktop), restarting lightdm 
always sorts the issue for me.



Cheers,
ak.

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


Re: [CentOS] No sound hardware detected for other users

2014-11-01 Thread Anthony K

On 02/11/14 08:24, Mark LaPierre wrote:

Does anyone have any idea where I can start looking to figure out what's
going on with my wife's sound hardware detection?

I've been having the same issue on my system as well (Ubuntu 14.04) and 
I noticed that pulseaudio was not loading - not sure if this is 
something to do with an update gone bad or what.  I'm currently being 
forced to start pulseaudio manually and hoping that another update will 
resolve it:


$ killall pulseaudio && pulseaudio -D

Cheers,
ak.

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


Re: [CentOS] Dell Dimension 2400 W/Intel 845-G Video

2014-11-01 Thread Anthony K

On 2014-11-02 12:54, Mark LaPierre wrote:



Are you perhaps suggesting that I should restart the display manager?


Apologies for not grasping what I was reading - :(! Yes, restarting the 
display manager is what I meant.


Cheers,
ak.

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


Re: [CentOS] Question Mirrors ?

2017-06-23 Thread Anthony K

On 23/06/17 20:22, Günther J. Niederwimmer wrote:

Have we broken or not updated mirrors in the yum config ?

Thanks for a answer,


See *Problems with EPEL* further down the list.


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


Re: [CentOS] Problem with IPTABLES logging message to the screen/console

2017-08-06 Thread Anthony K

On 02/08/17 13:32, Jobst Schmalenbach wrote:

How can I solve this that those messages are NOT printed.

I think you are after *dmesg -n alert*

man dmesg
...
   -n, --console-level level
  Set  the level at which printing of messages is done to 
the con‐
  sole.  The level is a level number or abbreviation of 
the  level

  name.  For all supported levels see the --help output.

  For  example,  -n  1  or  -n alert prevents all messages, 
except
  emergency (panic) messages, from appearing on the 
console.   All
  levels  of  messages  are  still  written to /proc/kmsg, 
so sys‐
  logd(8) can still be used to control exactly where 
kernel  mes‐
  sages  appear.  When the -n option is used, dmesg will 
not print

  or clear the kernel ring buffer.
...

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


Re: [CentOS] USB audio on Centos-7

2017-09-27 Thread Anthony K

On 27/09/17 13:31, Fred Smith wrote:

Can you sense my frustration here?

I'd appreciate any help that is actually helpful,... perhaps someone
who reads this actually has one of these things and has made it work?

thanks in advance!

Fred


Yes, I sense your frustration; I've had my fair share of it with 
bluetooth devices and I found a site *[0]* that helped me write a script 
to take control of my audio woes.  Hopefully it helps you out.



ak.

[0]: 
http://terminalmage.net/2011/11/17/setting-a-usb-headset-as-the-default-pulseaudio-device.html



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


Re: [CentOS] LVM not activating on reboot

2017-10-05 Thread Anthony K

On 01/10/17 11:25, Duncan Brown wrote:


No joy after adding the kernel option, exactly the same issue



It might require a vgexport then vgimport to fix.

vgimport man page:

DESCRIPTION
   vgimport allows you to make a Volume Group that was previously 
exported
   using  vgexport(8)  known to the system again, perhaps after 
moving its
   Physical Volumes from a different machine.  vgexport clears the 
VG sys‐
   tem  ID,  and  vgimport sets the VG system ID to match the host 
running

   vgimport (if the host has a system ID).


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


Re: [CentOS] Gnome boot problem (again :-) )

2017-11-29 Thread Anthony K

On 25/11/17 12:09, vychytraly . wrote:

Hello friends

I was using EL7 on gnome 3 for few months without any problem. Even 2 hours
ago I had the computer (Laptop running on Nvidia-Prime) turned on and
everything was working without flaw. But when I turned on the computer few
minutes ago, I got login screen (which does not usually happen, since I
have autologin turned on) and when I entered my login credentials I got
black screen and went back to login screen. Everytime I entered my
credentials the same thing happened so I was stuck in endless login loop.
At first I thought it was caused by gnome-extension I updated to new
version today.

For me, I noticed (on a different terminal - Ctrl+F2) that when I warm 
boot the laptop, the Nvidia Card is not recognized and hence I get that 
login loop.  When this happens, I simply fully shutdown laptop for a 
minute and when I boot up again, the card is found and all is well.  I 
might as well mention that I'm running Ubuntu 16.04 on my laptop so your 
problem might be different but just thought I might mention it just in 
case...


https://askubuntu.com/questions/941259/nvrm-no-nvidia-graphics-adapter-found

I used to do exactly like you - drop to shell and start messing with 
stuff until I realized that this is what was happening.  My workaround 
has been to simply shutdown, wait a minute and reboot - works always!


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


Re: [CentOS] Failed attempts

2017-11-29 Thread Anthony K

On 28/11/17 06:02, m.r...@5-cent.us wrote:

Pete Biggs wrote:

On Mon, 2017-11-27 at 12:10 -0500, Jerry Geis wrote:

   - don't run ssh on 22, use a different port.  (Things get a lot
quieter when you do that, but it comes with it's own problems and don't
get complacent because someone will find the port eventually.)

I consider that pointless security-through-obscurity.


I actually have SSH running on port 22 - however, I stipulate a 
different port in a PREROUTING/DNAT rule for external access for those 
hotels that block VPN access (yes, there are still some out there).  
Internal users need not change their habits.  In addition, this helps 
keep my logs clean...


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


Re: [CentOS] What are the differences between systemd and non-systemd Linux distros?

2018-10-17 Thread Anthony K

On 17/10/18 1:25 am, Valeri Galtsev wrote:
That said, if one is strongly willing to stay away from systemd, and 
not to such extent into Linux as to needing an advise on that, I would 
recommend to take a look at non-Linux system, specifically BSD 
descendants (FreeBSD, NetBSD, etc). Their kernel is not as heavy 
(big,resource demanding) as Linux kernel, and you can do pretty much 
everything one needs (except maybe computer games, although these will 
fall mostly into MS Windows scope). I for one have FreeBSD on my 
laptop (with alternative boot into Debian, the last being systemd 
though...).


It's starting to look as though the BSD camp may embrace systemd sooner 
rather than later:


https://youtu.be/6AeWu1fZ7bY?t=1537 - I like this bit the most in that 
video!


But do watch the entire presentation - good stuff.


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


Re: [CentOS] @reboot only some lines of a script are working (yum install not)

2019-01-15 Thread Anthony K

On 14/1/19 5:26 pm, Ralf Prengel wrote:


Hallo,

yes it is up.
Result of 10 pings is fine as first line in the script.
Any other ideas?

Ralf



Maybe there's something in the install process that needs a tty - maybe 
try running it in a screen session???


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


Re: [CentOS] @reboot only some lines of a script are working (yum install not)

2019-01-15 Thread Anthony K

On 16/1/19 1:48 am, Anthony K wrote:

On 14/1/19 5:26 pm, Ralf Prengel wrote:


Hallo,

yes it is up.
Result of 10 pings is fine as first line in the script.
Any other ideas?

Ralf



Maybe there's something in the install process that needs a tty - 
maybe try running it in a screen session???
Sorry, ignore me - didn't see you had it sorted in a another out-of-band 
response...

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


Re: [CentOS] konqueror vs. centos and mathematics

2019-03-19 Thread Anthony K

On 18/3/19 4:01 pm, Michael Hennebry wrote:


Me neither, but I was low on things to try that made any sense.
How do I get the SVG images?

Could it be a borked burntfox ( :-P ) profile.  Try Private Window or a 
new profile and see if that fixes it.  There was a time when I had one 
too many extensions causing all manner of mayhem



Cheers,
ak.

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


Re: [CentOS] update failure

2019-04-28 Thread Anthony K

On 27/4/19 3:02 pm, Emmett Culley via CentOS wrote:

...

The upgrade succeeded after manually removing the older dupes.

Thanks for your suggestions.

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


Might I suggest you look into GNU Screen or tmux.  I've never used tmux 
so can't help there.


The first thing I do when I log on to a remote machine is to launch a 
screen session - either reattach to an already running session or create 
a new one:


screen -DR akk

This is now part of my DNA - never run a single command on a remote 
machine unless you are in a screen session - one never knows when power 
will fail.


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


Re: [CentOS] Permissions on nginx logs

2019-05-07 Thread Anthony K

On 4/5/19 8:03 am, Bee.Lists wrote:

Hi folks.

Just wondering if I can change the ownership on the nginx logs folder so I can 
access them easier for analysis on a regular basis and cronjobs.

/var/log/nginx is owned by nginx:nginx which shuts me out.


Cheers, Bee

Here's a twist to the other provided solutions.  I find it easier to 
leave permissions as they are and instead use ACL's. That way, I can 
remove the ACL's (# sudo setfacl -b /path/to/dir) and not worry about 
what the original permissions were.


This is how I'd sort it out:

First, I'd create a default ACL (this will allow new files in the 
directory to inherit the ACL):

# sudo setfacl -d -m u::rwx /var/log/nginx

Next, I'dd apply the ACL to the directory:
# sudo setfacl -m u::rwx /var/log/nginx

Finally, I'd ensure that I can access existing files in that directory:
# sudo sh -c "find /var/log/nginx -maxdepth 1 -type f -exec setfacl -m 
u::r {} \;"


Caveat: I use EXT4 so not sure how this would play with other file systems.

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


Re: [CentOS] CentOS 8.0 1905 is now available for download

2019-09-28 Thread Anthony K

On 27/9/19 6:28 pm, Ljubomir Ljubojevic wrote:

...
And please stop SPAM-ing the list. There is no need to thank everyone
that posted anything you like, keep it moderated, becuse everyone on
this list receive your mails unnecessarily. If you want to thank
someone, you can sent them a private/direct message, not via the list.
many will be thankful.
...
Thanks for this.  I was beginning to get irritated and was about to send 
a rather uncivilized response.


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


Re: [CentOS] CentOS 8.0 1905 is now available for download

2019-09-28 Thread Anthony K

On 27/9/19 3:59 pm, Turritopsis Dohrnii Teo En Ming wrote:

What is SCL?

Is it so hard to research these things yourself? 
https://lmgtfy.com/?q=define+scl+in+relation+to+centos

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


Re: [CentOS] yum update / kernal update failed - remove or repair

2020-01-24 Thread Anthony K

On 23/1/20 12:44 am, Gary Stainburn wrote:

...
As I will probably only have one chance to fix this (without having to get the 
ISP's help again) I was wondering if there are any clear instructions on how to 
remove a failed kernel RPM update, returning the server to the state it was in 
prior to the YUM update?
...
If you do not want to involve the ISP ever again when a kernel won't 
boot, you can configure a fallback kernel [0].  I've used something 
similar a very long time ago when the main boot loader was LILO - it was 
much easier to do this kind of thing with it.


[0]: https://anindya.me/2011/09/17/grub-fallback-after-kernel-panic/


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


Re: [CentOS] yum update / kernal update failed - remove or repair

2020-01-24 Thread Anthony K

On 25/1/20 11:56 am, Anthony K wrote:


[0]: https://anindya.me/2011/09/17/grub-fallback-after-kernel-panic/

I've just discovered that the article I posted is a rather old post so 
went hunting.


If you have a RHEL subscription (I'm using the free developer 
subscription) you can see the official Red Hat documentation at [0].  I 
was unable to find similar instructions for CentOS but here's a post of 
the same vintage as the RHEL one [1].


[0]: https://access.redhat.com/solutions/1567883
[1]: https://forums.centos.org/viewtopic.php?t=60220

PS: I haven't tested either of these so no idea if they work as one 
would expect.


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


Re: [CentOS] Centos 7 32 Bits install.

2020-01-24 Thread Anthony K

On 13/1/20 2:54 am, Ger van Dijck wrote:


Hi all,



Question : Can I install Centos7 32 Bits on a computer i386 32 bits 
little indian pentium III Copermine Model8 Cpufamily 6 CpuMhz 863.979 
(lscpu) grep -i pae /proc/cpuinfo gives a flag pae .

...


Here's an alternative if CentOS performance is not satisfactory on that 
computer.


I believe Elive [0] was created for exactly your aged computer.When you 
visit [1] below, take a look at the section titled "*Fast Dinosaurs!*" 
where they have a few YouTube videos showing old computers running 
Elive.  One video in particular: "*Pentium-II, 266 Mhz, 64 MB of RAM, 
12GB HD Toshiba 4080xcdt -- Running Elive!*"


It took about 3 minutes to get to the GUI.  However, the point here is 
that /*if*/ Elive runs on a Pentium-II @ 266Mhz, it ought to run quite 
well on a Pentium-III @ +860Mhz.


[0]: https://www.elivecd.org/
[1]: https://www.elivecd.org/user-reviews/

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


Re: [CentOS] enlarging partition and its filesystem

2016-05-18 Thread Anthony K

On 19/05/16 05:33, Fred Smith wrote:

I'll be googling, but in case I miss it, it'd be great if someone could
point me in the right direction.

thanks!

Fred

You'll need to use an external tool (such as gparted) to extend the 
partition to use up the new extent, then follow what Ian Brown suggested.


Had the admin simply added a new drive, then you'd follow what Ian Brown 
recommended without having the need to use an external tool.



My $0.02,
ak.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] enlarging partition and its filesystem

2016-05-20 Thread Anthony K

On 19/05/16 09:54, Fred Smith wrote:

>I've used gparted live cd a number of times, but don't think I knew 
that it handled lvm2 also.


Well, what you are doing with gparted has nothing to do with LVM; just 
the drive (really, the image file) itself - similar to buying a bigger 
hdd and then cloning from old (smaller) to new (bigger). Then you have 
to boot into the system and extend the volume group, logical volume, and 
ultimately the filesystem.


>Since it does, if I resize the lvm, wouldn't the contained filesystem 
be automatically resized too? (as it has been when I've resized physical 
partitions containing NTFS and EXT2/3/4 filesystems.)


With lvm, lvextend can automatically resize the the underlying ext2/3/4 
filesystem for you if you add the extra *-r* option.  If you omit it, 
then you'll need to run *resize2fs* as detailed by Ian.  As for NTFS, 
yes, once you use finish off with gparted, then the filesystem will have 
been automatically resized to fill the entire partition (haven't worked 
on partitioning in windows for a while so don't quote me).



ak.

*Note* Now that I'm having a second look at Ian's instructions, the 
pvcreate command is not required as you are not adding a second drive, 
just making the original one bigger.

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


Re: [CentOS] CentOS 7, container question

2016-05-25 Thread Anthony K

On 24/05/16 00:51, m.r...@5-cent.us wrote:

Is it possible to do what we want, and if so, some pointers would be
most appreciated.

  mark

I believe *[0]* is what you are after.  In summary:

lxc-cgroups -n  cpuset.cpus 0-3

I've experimented with it - *[1]*:


Regards,
ak.


*[0]* 
https://docs.oracle.com/cd/E37670_01/E37355/html/ol_control_containers.html

*[1]* https://imagebin.ca/v/2iMePQ4Sbf62

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


Re: [CentOS] CentOS 7, container question

2016-05-25 Thread Anthony K

On 25/05/16 21:31, Anthony K wrote:

On 24/05/16 00:51, m.r...@5-cent.us wrote:

Is it possible to do what we want, and if so, some pointers would be
most appreciated.

  mark

I believe *[0]* is what you are after.  In summary:

lxc-cgroups -n  cpuset.cpus 0-3

I've experimented with it - *[1]*:


Regards,
ak.


*[0]* 
https://docs.oracle.com/cd/E37670_01/E37355/html/ol_control_containers.html

*[1]* https://imagebin.ca/v/2iMePQ4Sbf62



Also, I know you've stated you don't want the overhead of VM's. However, 
running a Linux VM on top of KVM on a Linux host doesn't tax the host 
system much at all.  If you haven't tried KVM recently, then you owe it 
to yourself to do so and see for yourself - for Linux VM on Linux host, 
it outperforms VirtualBox.



Regards,
ak.

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


Re: [CentOS] Systemd and VirtualBox

2016-05-27 Thread Anthony K

On 17/05/16 17:55, Rob Kampen wrote:
No idea where to from here, so if there is anyone that has a working 
systemd autostart VirtualBox setup on a headless CentOS 7 server - 
please advise what you have done to get it working.
I'm running CentOS7 as my host and when I was using Virtualbox, I had my 
VM's autostarting for a while.  I simply followed this answer [0] on 
"askubuntu.com" and it worked flawlessly.  However, I've since migrated 
all my VM's to KVM once performance on KVM surpassed that of Virtualbox 
(most of my VM's are Linux servers).



My $0.02,
ak.

[0] 
https://askubuntu.com/questions/404665/how-to-start-virtual-box-machines-automatically-when-booting/548134


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


  1   2   >