Re: No Swap Allocation in FSTAB

2021-06-21 Thread Bill Shirley
16:05, Bill Shirley wrote: The server is running on Raid-1 SSDs with 64GB of RAM I suppose the follow-up question would be are you seeing the swap partition actually being used? Does "swapon" show it has been used? ___ users mailing lis

Re: No Swap Allocation in FSTAB

2021-06-21 Thread Bill Shirley
The server is running on Raid-1 SSDs with 64GB of RAM Bill On 6/21/2021 3:41 AM, Samuel Sieb wrote: On 6/20/21 7:25 PM, Bill Shirley wrote: One of the first things I did after installing F34 is disable swap-on-zram:    touch /etc/systemd/zram-generator.conf and define a swap partition

Re: No Swap Allocation in FSTAB

2021-06-20 Thread Bill Shirley
One of the first things I did after installing F34 is disable swap-on-zram:   touch /etc/systemd/zram-generator.conf and define a swap partition in fstab. Bill On 6/19/2021 12:45 AM, Stephen Morris wrote: Hi,     I've noticed when trying remediate performance issues in F34 under a vm, that

Re: Restored f33 on new drive from a tarball now a problem

2021-04-28 Thread Bill Shirley
I recently migrated a fresh F33 install from a single drive installation to Raid-1.  My eyes and fingers that did the initial install is over 1,000 miles away. The initial install: / /dev/sda3 /boot /dev/sda2 /swap /dev/sda1 The following is the process I used to migrate the OS to

Re: ssh: Permission denied

2020-07-18 Thread Bill Shirley
Back when I migrated to Fedora 24, all the user/group ids changed. At that time I discovered rsync's --usermap and --groupmap.  Its format is: old_uid:new_username old_gid:new_groupname rsync -axAXv --delete --numeric-ids --usermap=400:bob,391:smbguest --groupmap=400:bob,391:smbguest 

Re: Fedora 32: Anyone have success building akmod-xtables-addons ?

2020-05-28 Thread Bill Shirley
/2020 11:39 AM, stan via users wrote: On Thu, 28 May 2020 08:54:41 -0600 Jerry James wrote: On Thu, May 28, 2020 at 8:36 AM Bill Shirley wrote: Build log attached. It shows that nothing was built. Take a look at the "Executing(%build)" part. There is a make invocation, followed

Re: Fedora 32: Anyone have success building akmod-xtables-addons ?

2020-05-28 Thread Bill Shirley
-4odq5g systemd-private-d1e60303890a4d22a4daf097e979ca6f-postfix.service-ZMiyOh systemd-private-d1e60303890a4d22a4daf097e979ca6f-systemd-logind.service-8WMvzf Thanks for the replies, Bill On 5/28/2020 10:15 AM, stan via users wrote: On Thu, 28 May 2020 08:32:23 -0400 Bill Shirley wrote: For years

Fedora 32: Anyone have success building akmod-xtables-addons ?

2020-05-28 Thread Bill Shirley
For years I've installed akmod-xtables-addons with no problems. Not so with Fedora 32. It has a build error (excerpt): [..] Processing files: kmod-xtables-addons-5.6.12-300.fc32.x86_64-3.9-1.fc32.x86_64 error: Directory not found:

Re: Raid array empty after restart

2020-05-27 Thread Bill Shirley
I've never done full disk RAID1.  Always, done it with partitions. fdisk -l /dev/sda (and /dev/sdb) looks like this: Disklabel type: gpt Device Start    End    Sectors  Size Type /dev/sda1   2048   97722367   97720320 46.6G Linux RAID /dev/sda2   97722368   99809279    2086912

Re: dnf list color bad

2020-04-23 Thread Bill Shirley
Have a look at /etc/DIR_COLORS which defines the colors for files/directories for the 'ls' command: # Attribute codes: # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed # Text color codes: # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white # Background color

Re: Tracking down SSH access

2020-02-01 Thread Bill Shirley
Assuming the subnet is 192.168.0.0/24: nmap -sP 192.168.0.0/24 should populate the ARP table. Bill On 1/31/2020 5:16 PM, Samuel Sieb wrote: On 1/31/20 1:52 PM, Ed Greshko wrote: On 2020-02-01 04:56, Samuel Sieb wrote: I thought about that, but it's only useful for mapping back from the MAC

Re: Fedora 32 Firefox and DNS over HTTPS

2019-11-27 Thread Bill Shirley
https://support.mozilla.org/en-US/kb/firefox-dns-over-https Firefox allows users (via settings) and organizations (*via enterprise policies and a canary domain lookup*) to disable DoH when it interferes with a preferred policy. If you run your own DNS server you can configure the canary

Re: Fc30 -> FC31 : Can't rename interfaces. FC30 worked.

2019-11-27 Thread Bill Shirley
My 70-persistent-net.rules looks like this: SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:22:36:97:f9", ATTR{type}=="1", KERNEL=="eth*", NAME="lan4" SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:29:37:0e:78", ATTR{type}=="1", KERNEL=="eth*",

Re: Fc30 -> FC31 : Can't rename interfaces. FC30 worked.

2019-11-27 Thread Bill Shirley
I don't run FC31 but on all my other Fedora systems, I add net.ifnames=0 to the kernel command line /etc/default/grub: GRUB_CMDLINE_LINUX="rd.md.uuid=41012be5:1df005d4:cfee0bd3:e112219a *net.ifnames=0* rd.shell rd.timeout=65 consoleblank=600 rcu_nocbs=0-15" Then regenerate the grub menu: #

Re: dhcp failover with selinux enabled

2019-11-03 Thread Bill Shirley
You can find out which ports are configured with: [0:root@c3po selinux]$ semanage port -l | grep dhcpd dhcpd_port_t   tcp  547, 548, 647, 847, 7911 dhcpd_port_t   udp  67, 547, 548, 647, 847 There are designated ports in /etc/services: dhcp-failover  

Re: DHCPD server logging issue

2019-10-18 Thread Bill Shirley
Yes, you need the rsyslog package installed: [1:root@bb8 rsyslog 148]$ rpm -qf /etc/rsyslog.conf rsyslog-8.38.0-1.fc27.x86_64 I have all my DHCP logging go to a separate file.  To do this, comment out your log-facility in dhcpd.conf and add this just after the ' RULES ' comment in

Re: cp and exclude?

2019-08-03 Thread Bill Shirley
rsync has a --exclude operand (which handles globs): rsync -axAXv --delete -e "ssh -p 20026" --exclude 'tmp.session/*' --exclude 'documents/*' /home/webmaster/public_html/server1.example.com/DocumentRoot/ rsync://server2.example.com/backup/ If you rsync'ing locally, you won't need the -e

Re: Apache and RewriteRule

2019-03-08 Thread Bill Shirley
I turn this on when I'm debugging Rewrite rules: # Apache 2.4 - rewrite debug - trace0:trace8    RewriteLog  /var/log/httpd/rewrite.log    LogLevel    rewrite:trace4 Bill On 3/1/2019 10:08 PM, Todd Zullinger wrote: Hi, Alex wrote: I believe you want to use something like:

Re: SMB permissions -

2019-03-08 Thread Bill Shirley
What does the share's stanza in smb.conf look like? Here's one of mine: [zzmodelrw]     comment = Model for Read/Write shares     path = /lan/shares/zzmodelrw     browseable = yes     guest ok = yes     writeable = no     write list = @smbusers     create mask = 660   

Re: tip: cd previous directory

2019-01-31 Thread Bill Shirley
I just pushd, popd, dirs all the time.  'dirs -v' is very handy navigating the stack.  I put and alias in ~/.bashrc: alias dirs='dirs -v' [0:root@c3po public_html]$ dirs  0  /home/webmaster/public_html  1  ~/config/apache  2  ~/config/network  3  ~/config/dhcp To change to the 3rd

Re: persistent name from ifcfg-internal

2018-12-12 Thread Bill Shirley
It's been my experience that if you want udev to rename interfaces you have to include in /etc/default/grub: net.ifnames=0 on the kernel command line to prevent the auto rename that the kernel does: GRUB_CMDLINE_LINUX="rd.md.uuid=bf821173:4de945af:1f58df6d:74e2fc11 net.ifnames=0 rd.shell

Re: Anyone on Ryzen 5 APU - with problems?

2018-09-14 Thread Bill Shirley
I went through this several months back with a Ryzen and F27.  Here are some links: https://community.amd.com/thread/225795 https://bugzilla.kernel.org/show_bug.cgi?id=196683 I wound up using ZenStates to fix the problem: https://github.com/r4m0n/ZenStates-Linux This service turns off C6 upon

Re: F19 RAID1 drive died - what if it was sda that died?

2018-03-16 Thread Bill Shirley
and /dev/sdc2 is ext4. I guess I woke up grumpy this morning.  :-) Bill On 3/16/2018 5:55 AM, Gary Stainburn wrote: On Thursday 15 March 2018 16:34:26 Bill Shirley wrote: Run: grub2-install /dev/sda grub2-install /dev/sdb Now, you can boot from either drive. Bill Hi Bill, Thanks

Re: F19 RAID1 drive died - what if it was sda that died?

2018-03-15 Thread Bill Shirley
/boot is on /: [0:root@elmo raid]$ df Filesystem  Size  Used Avail Use% Mounted on /dev/md2    1.9T  834G 1021G  45% / /dev/sdc2   3.6T  2.3T  1.4T  63% /bacula dos partition table (/dev/sdb is the same): [0:root@elmo raid]$ fdisk -l /dev/sda Disk /dev/sda: 1.8 TiB, 2000398934016

Re: F19 RAID1 drive died

2018-03-15 Thread Bill Shirley
On 3/15/2018 10:28 AM, Gary Stainburn wrote: On Thursday 15 March 2018 13:59:39 Juan Martinez wrote: Hi Gary, You should use parted instead of fdisk to create the GPT and its partitions. It should be able to handle larger partitions than fdisk. Are you using mdadm for the RAID1 array? I

Re: PHP SOAP error after upgrade

2018-03-13 Thread Bill Shirley
You've posted very little code.  Have you tried looking at the headers?  You must turn on trace:   $soap_options = array(     'trace'=>true     // ,'soap_version'=>SOAP_1_2     // ,'exceptions'=>false     // ,'classmap'=>$classmap   );   $soap_client = new SoapClient($wsdl_url, $soap_options);  

Re: change user id

2018-03-05 Thread Bill Shirley
I've done this many times but always from root. With no root account, I would: 1) create a 2nd user 'test', set a password, and make 'test' a sudo user 2) logout and login as 'test' 3) let's say the user to change is 'bob' with id 1000 grep bob /etc/passwd   should yield:

Re: Please help me with samba or my brain will explode.

2018-02-13 Thread Bill Shirley
I use a path statement in my [homes] section: [homes]     comment = Home Directories     path = /home/%u/windows     browseable = no     valid users = %S     writable = yes     guest ok = no     directory mask = 2770     create mask = 660 Just an FYI. You created

Re: Please help me with samba or my brain will explode.

2018-02-12 Thread Bill Shirley
List the [homes] section of testparm. You didn't answer my question about the missing path = statement. You logged in as kasak but the ownership of the created directory is nobody:nobody.  I don't see how that could happen unless you're using a 'force user' and 'force group'. While still

Re: Issue setting up Gallery3 on Fedora 27

2018-02-12 Thread Bill Shirley
Check for errors in the httpd log file (typically /var/log/httpd/error_log). So you don't have to enter your credentials every time, create /root/.my.cnf with permissions 700: [client] user=root password=hunter2 ^^Use the real root password. Check to see if the install program created any

Re: Please help me with samba or my brain will explode.

2018-02-12 Thread Bill Shirley
Why is there no path = statement for [homes]? Compare the output of 'testparm' from both machines. After creating the 'foo' directory on both machines, compare the permissions of the two directories 'ls -l'. Bill On 2/12/2018 1:16 PM, Илья Коскин wrote: Hello everybody. Here is my problem. I

Re: Fail2ban

2018-02-05 Thread Bill Shirley
If you have a huge number of addresses that are banned, you should use an ipset action instead of iptables action. Bill On 2/5/2018 3:53 PM, Jeffrey Ross wrote: Fedora 27 system Trying to get Fail2ban to work properly on the system and I'm looking for a good example to follow for the

Re: Renaming USB WD 2TB drives

2018-02-05 Thread Bill Shirley
What's the output of fdisk -l /dev/sdb Bill On 2/5/2018 12:48 PM, Frédéric wrote: I've been trying to use fatlabel to rename a Western Digital 2TB USB/external drive. However, the results have been with no success either with the drive mounted or not. Much thanks for any advice on how to

Re: Fedora27: Cannot set the default network route

2018-02-02 Thread Bill Shirley
You didn't post the command or its output.  How can anyone help you? What's the output of these two commands? ip -o -4 addr ip -o -4 route Bill On 2/2/2018 11:29 AM, Terry Barnaby wrote: I tied using "ip route" it had the same effect. On 02/02/18 14:21, Bill Shirley wrote: Use 'i

Re: Fedora27: Cannot set the default network route

2018-02-02 Thread Bill Shirley
Use 'ip' and add the dev parameter: ip route add default 173.xxx.yyy.zzz dev ccast man route: NOTE    This program is obsolete. For replacement check ip route. Bill On 2/2/2018 8:42 AM, Terry Barnaby wrote: A strange one this. I was trying to change the default route of a machine for

Re: PHP/apache issue after update

2018-01-31 Thread Bill Shirley
Hawaii-Aleutian ;date.timezone = Pacific/Honolulu   ; Hawaii-Aleutian (no DST) [Session] session.gc_probability = 5 ;session.gc_maxlifetime = 86400 ; 1 day session.gc_maxlifetime = 172800 ; 2 days Glad you got it fixed. Bill On 1/28/2018 6:45 PM, Emmett Culley wrote: On 01/26/2018 03:30 AM,

Re: PHP/apache issue after update

2018-01-26 Thread Bill Shirley
I posted a reply four days ago. https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/thread/LHUCQDLCFP5NK6AQSPNSCOGKRYGKKTID/ Did you try it? Use mpm_event and php-fpm and .user.ini. Bill On 1/25/2018 10:44 AM, Emmett Culley wrote: On 01/24/2018 05:14 PM, Rick Stevens

Re: PHP/Apache issue may be OT

2018-01-20 Thread Bill Shirley
I upgraded from Fedora 25 to Fedora 27 and found the upgrade switched me from mod_php to php-fpm.  This means no more php_flag or php_value in the apache config.  You should switch to .user.ini files which work like .htaccess files: [0:root@elmo DocumentRoot]$ cat .user.ini max_execution_time 

Re: Samba version woes

2018-01-14 Thread Bill Shirley
Does your NAS configuration have a GUI front-end?  Perhaps it has a Samba config template that it applies the GUI changes to to create the actual smb.conf. Do you have shell access? Does it have the 'locate' command so that you can find this template and change it? Does it have cron running so

Re: is my filesystem damaged?

2017-12-11 Thread Bill Shirley
I mucked up my / directory one time.  Don't remember what the message(s) were but I had major problems. ls -lZd / should be: dr-xr-xr-x. 20 root root system_u:object_r:root_t:s0 261 Jul  7 21:26 / Bill On 12/11/2017 6:28 PM, Néstor wrote: I had that a long time ago and it was permissions but

Re: Changing runlevels at boot time

2017-12-03 Thread Bill Shirley
If you're running rsyslog, try adding this to rsyslog.conf: # All messages on last terminal *.* /dev/tty12 Switch to tty12 (Ctrl+Alt+F2) to see all messages. Bill On 12/3/2017 8:18 PM, Ed Greshko wrote: On 12/04/17 09:01, Alex wrote: Hi, On Sun, Dec 3, 2017 at 4:53 PM, Ed Greshko

Re: systemctl openvpn won't start

2017-11-26 Thread Bill Shirley
Yes, a symlink you mentioned will probably work for him. From the link you posted: |sudo systemctl edit --full nginx.service | This will load the current unit file into the editor, where it can be modified. When the editor exits, the changed file will be written to |/etc/systemd/system|,

Re: systemctl openvpn won't start

2017-11-26 Thread Bill Shirley
: On 26.11.2017 18:45, Bill Shirley wrote: I don't know why, but it doesn't seem to be working for him.  From an earlier post: sudo systemctl enable openvpn-client@ibecker2.service Failed to enable unit: Unit file openvpn-client@ibecker2.service does not exist. Yes, i have read the earlier post too

Re: systemctl openvpn won't start

2017-11-26 Thread Bill Shirley
I don't know why, but it doesn't seem to be working for him.  From an earlier post: sudo systemctl enableopenvpn-client@ibecker2.service Failed to enable unit: Unit fileopenvpn-client@ibecker2.service does not exist. Bill On 11/26/2017 10:44 AM, Ulf Volmer wrote: On 26.11.2017 16:07, Bill

Re: systemctl openvpn won't start

2017-11-26 Thread Bill Shirley
An explanation of systemd template files: https://fedoramagazine.org/systemd-template-unit-files/ For you, you should: cp -a /usr/lib/systemd/system/openvpn-client@.service /etc/systemd/system/openvpn-client@ibecker2.service systemctl daemon-reload systemctl start

Re: systemctl openvpn won't start

2017-11-22 Thread Bill Shirley
That link is for something different.  It's automatically created by the systemctl enable command.  I have one too: [0:root@elmo ~]$ ls -lZ /etc/systemd/system/multi-user.target.wants/openvpn@server.service lrwxrwxrwx. 1 root root system_u:object_r:systemd_unit_file_t:s0 42 Jul 17  2015

Re: systemctl openvpn won't start

2017-11-22 Thread Bill Shirley
ic OpenVPN connection on system start *This step requires that you set up automatic login from the previous step. https://hide.me/en/vpnsetup/fedora/openvpn/ On Wed, Nov 22, 2017 at 5:50 PM, Bill Shirley <bshir...@memphis.apirx.biz> wrote: Is the .service file in /etc/systemd/system ? [0:root@elmo ~

Re: systemctl openvpn won't start

2017-11-22 Thread Bill Shirley
Is the .service file in /etc/systemd/system ? [0:root@elmo ~ 2]$ ls -lZ /etc/systemd/system/openvpn@server.service -rw-r--r--. 1 root root system_u:object_r:systemd_unit_file_t:s0 148 Aug  6  2015 /etc/systemd/system/openvpn@server.service Of course yours would be openvpn@client-ibecker2.service

Re: Nextcloud upload restricted to 2MB

2017-11-21 Thread Bill Shirley
I ran into this on Fedora 25. https://www.spinics.net/linux/fedora/fedora-users/msg479030.html I'm not running php-fpm.service. Bill On 11/21/2017 7:24 PM, Rick Stevens wrote: On 11/21/2017 03:27 PM, Samuel Sieb wrote: On 11/21/2017 02:59 PM, Florian Sievert wrote: If I remember correctly,

Re: F27 - mariadb won't start after upgrade from F26

2017-11-15 Thread Bill Shirley
Here's Fedora 22's setup: [0:root@elmo joe]$ cat /etc/redhat-release Fedora release 22 (Twenty Two) [0:root@elmo joe]$ grep -i sock /etc/my.cnf /etc/my.cnf.d/* /etc/my.cnf.d/mariadb-server.cnf:socket=/var/lib/mysql/mysql.sock [0:root@elmo joe]$ locate mysql.sock /var/lib/mysql/mysql.sock HTH,

Re: Tweaking Fedora

2017-11-07 Thread Bill Shirley
And you're just going to let your geese remain unordered?! (Haven't had my coffee yet or my meds :-) ) Bill On 11/7/2017 10:57 AM, Beartooth wrote: On Sun, 05 Nov 2017 21:31:01 +0100, Silvia Sánchez wrote: You're aware that F27 isn't stable yet, right? Fully aware, yes, thanks!

Re: Any changes to php / httpd that need changes in configurationfiles?

2017-10-30 Thread Bill Shirley
About a month ago when I ran 'dnf update', it updated apache and I ran into problems with PHP. httpd-2.4.27-3.fc25.x86_64 php-7.0.23-1.fc25.x86_64 I had to switch from mpm_prefork_module to mpm_event_module in 00-mpm.conf for PHP to work correctly. Then with that change, I found that PHP's

Re: fail2ban

2017-09-25 Thread Bill Shirley
So your ipset is not getting created or has been deleted by another jail if it shares the same name. With fail2ban-client -d, look at your sshd jail, specifically the ['set', 'sshd', 'action', 'my_ipset_ip', 'name', 'IPv4-ip'] make sure the name is different that all the other jails.  (Disregard

Re: fail2ban

2017-09-24 Thread Bill Shirley
Looks like your ipset wasn't created or something caused it to be deleted. ipset v6.29: The set with the given name does not exist Do you find the named ipset with: ipset -L -n Also, your default action (firewallcmd-allports.conf) doesn't use ipset. Somehow your jail is using

Re: Tomcat - different users for different instances?

2017-09-21 Thread Bill Shirley
Have you looked at overriding it in the systemd unit file? I use this for mariadb (/etc/systemd/system/mariadb.service): .include /usr/lib/systemd/system/mariadb.service [Service] #LimitNOFILE=infinity LimitNOFILE=65536 LimitMEMLOCK=infinity Bill On 9/21/2017 6:55 PM, Peter Boy wrote: When

Re: Failed SDDM Login to KDE Plasma for a Specific User

2017-09-20 Thread Bill Shirley
The trouble with the instructions: # ausearch -c 'sddm-helper' --raw | audit2allow -M my-sddmhelper # semodule -X 300 -i my-sddmhelper.pp is the 1st time it can fail on file 'open'.  When you do the above and 'open' is allowed but then get shot down when your program tries to 'write',

Re: Possible to "dnf upgrade" in a Fedora Gnome without the need to reboot?

2017-09-10 Thread Bill Shirley
are not getting ANY updates.  They are not getting a new kernel.  They are not getting security updates.  They are not getting "maintained". They ARE being maintained.  It's possible to update some rpms without updating the release:

Re: Possible to "dnf upgrade" in a Fedora Gnome without the need to reboot?

2017-09-10 Thread Bill Shirley
Just a couple of my servers: [0:root@apinetstore2 ~]$ cat /etc/redhat-release Fedora release 21 (Twenty One) [0:root@apinetstore2 ~]$ uptime  02:18:00 up 949 days, 17:08,  1 user,  load average: 0.21, 0.41, 0.44 [0:root@elvis ~]$ cat /etc/redhat-release Fedora release 16 (Verne) [0:root@elvis

Re: ip forwarding/masquerading and dhcpd

2017-09-09 Thread Bill Shirley
address. My guess is that your dhcpd is not running. Bill On 9/7/2017 10:15 PM, JD wrote: On 09/07/2017 01:31 PM, Bill Shirley wrote: On 9/6/2017 3:46 PM, JD wrote: Hi, My em1 is config'ed as: ifconfig em1 inet 10.10.10.1 up netmask 0xff00 The wifi is connected to and internet and working OK

Re: ip forwarding/masquerading and dhcpd

2017-09-07 Thread Bill Shirley
If the device doesn't get an address, you're still before the iptables/forwarding stage. Look in your log files for DHCP messages. Bill On 9/6/2017 3:46 PM, JD wrote: Hi, My em1 is config'ed as: ifconfig em1 inet 10.10.10.1 up netmask 0xff00 The wifi is connected to and internet and

Re: pgrep -f 'foo' | wc -l -- curiousity!

2017-08-10 Thread Bill Shirley
-c, --count Suppress normal output; instead print a count of matching processes. When count does not match any‐ thing, e.g. returns zero, the command will return non-zero value. Looks like you would want to use the --count flag instead of piping to wc:

Re: rpmbuild

2017-07-18 Thread Bill Shirley
I just recently build a spec file for ndppd (NDP Proxy Daemon) and found out you can't comment out by using a single # in a spec file if it is a % command. It has to be like this: #%%configure ndppd: https://github.com/DanielAdolfsson/ndppd Do not build rpm's as root. Set up a build tree using

Re: Fedora upgrade, 25 to 26 -

2017-07-14 Thread Bill Shirley
Arrg, forgot to say change 25 to 26 and iftop to gedit. Bill On 7/14/2017 8:20 PM, Bill Shirley wrote: You could try updating gedit before you upgrade the system to Fedora 26. Here's what I did to upgrade iftop: rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-$(uname -i) dnf --releasever

Re: Fedora upgrade, 25 to 26 -

2017-07-14 Thread Bill Shirley
You could try updating gedit before you upgrade the system to Fedora 26. Here's what I did to upgrade iftop: rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-$(uname -i) dnf --releasever=25 update iftop If the update doesn't bring in a bazillion files, then you should let it finish. You

Re: how to (re-?)construct grub menu?

2017-06-28 Thread Bill Shirley
You might have a look at your partition layout: fdisk -l /dev/sda Also, your UEFI motherboard could be booting in legacy BIOS mode. A couple of months back, I had to re-arrange a borked Debian install. This is a 4 TB Western Digital Black drive on a UEFI motherboard: [0:root@TUX ~]$ fdisk -l

Re: how can i list the installed dnf plugins?

2017-06-28 Thread Bill Shirley
[0:root@elmo dhcp]$ rpm -qa | grep dnf | sort dnf-1.1.6-2.fc22.noarch dnf-conf-1.1.6-2.fc22.noarch dnf-langpacks-0.15.1-1.fc22.noarch dnf-langpacks-conf-0.15.1-1.fc22.noarch dnf-plugins-core-0.1.19-1.fc22.noarch dnf-yum-1.1.6-2.fc22.noarch python-dnf-1.1.6-2.fc22.noarch

Fedora 25 dnf poops on glibc

2017-06-22 Thread Bill Shirley
On 2017-06-20 I did a 'dnf update' on my server. The update threw some errors and when I did a 'reboot' with the new kernel (vmlinuz-4.11.5-200.fc25.x86_64) it failed without giving me a command prompt. So, I booted my previous kernel (4.10.17-200.fc25.x86_64). I got a login prompt and

Re: seeing audit messages to virtual consoles, sort of a workaround

2017-05-13 Thread Bill Shirley
A little more info. /etc/sysctl.d/99-mystuff.conf: #define KERN_EMERG"<0>" /* system is unusable */ #define KERN_ALERT"<1>" /* action must be taken immediately */ #define KERN_CRIT "<2>" /* critical conditions */ #define KERN_ERR "<3>" /* error

Re: remove/delete files with dots "." in the name..

2017-02-13 Thread Bill Shirley
How about: find . -type f -name '*.dat' -delete -type f will make sure you don't delete directories. Bill On 2/12/2017 2:43 PM, Stephen Morris wrote: On 11/02/2017 22:24, bruce wrote: Hi. Test file with a name of: 67.205.168.80_PID.dat find . -name '*.dat' -exec ls {} \; displays the file

Re: setup for localhost web (PHP) development

2016-12-09 Thread Bill Shirley
On 12/5/2016 4:17 PM, Tim wrote: Generally speaking, files to be served from /var/www/html are served as files owned by the author, with world-readable permissions (Apache reads files as "other" users. example.html -rwr-- rw- Owner readable and writable, for you to work with your files.

Re: Apache and umask for document root

2016-09-08 Thread Bill Shirley
Why didn't you try it? It works for me. I spent my time trying to help and you dismissed it WITHOUT reason. Not cool. Bill On 9/8/2016 12:32 PM, Alex wrote: Hi, Now do this: cd /path/to/joomla/DocumentRoot chmod -R apache:apache $rw_dirs find $rw_dirs -type d -exec chmod 2770 {} \; find

Re: Apache and umask for document root

2016-09-07 Thread Bill Shirley
Put the service file back the way it was. It's best if you can identify which directories Joomla needs write access to limit exposure. For Wordpress it's /path/to/wordpress/DocumentRoot/wp-content/{plugins,themes,upgrade,uploads} so: rw_dirs="plugins themes upgrade uploads" if you can't

Re: OT: renice jobs running for more than 5 minutes

2016-02-24 Thread Bill Shirley
On 2/22/2016 1:50 PM, Ranjan Maitra wrote: On Mon, 22 Feb 2016 10:38:30 -0800 Rick Stevens wrote: On 02/22/2016 10:19 AM, Ranjan Maitra wrote: Hi, I am running a fully updated F23 box but this question does not have much to do with Fedora itself, hence the

Re: F23 does not renew dhcp leases correctly and corrupts DDNS

2016-01-28 Thread Bill Shirley
On 1/25/2016 10:35 PM, Tim wrote: Allegedly, on or about 25 January 2016, Greg Woods sent: (I can't remember how to get a dump of the zone, but I remember doing it in the past. Simply stopping the nameserver ought to cause it to reconcile its records on file. That's what I do when I've

Re: Hylafaxm without modems - SIP?

2016-01-28 Thread Bill Shirley
Google for 'usb modem': https://www.google.com/search?q=usb+modem=utf-8=utf-8 Gets it power from USB. I've used these before. Bill On 1/26/2016 4:56 AM, Gary Stainburn wrote: I've just had to replace my Hylafax server as the cooling fan in the rack case has died and could not be replaced.

Re: ssh colors vs. bash colors

2016-01-28 Thread Bill Shirley
Try: cp /etc/DIR_COLORS ~/.dir_colors edit ~/.dir_colors and make your changes. implement changes: eval `dircolors -b ~/.dir_colors` test your changes: ls -l Here's the changes I found most useful for green text on black background: RESET 0 # reset to "normal" color DIR 01;37 #

Re: Unknown user 'setroubleshoot'

2015-12-11 Thread Bill Shirley
[0:root@elmo shorewall]$ grep trouble /etc/{passwd,group} /etc/passwd:setroubleshoot:x:990:300::/var/lib/setroubleshoot:/sbin/nologin /etc/group:setroubleshoot:x:300: [0:root@elmo ~]$ rpm -qf /var/lib/setroubleshoot/setroubleshoot_database.xml setroubleshoot-server-3.2.24-1.fc22.x86_64 HTH,

Re: dracut fails to include support for md RAID

2015-10-05 Thread Bill Shirley
I tried a lot of things but finally saw in the rdsosreport.txt that the kernel was seeing the array but refusing to use it. It was several months ago so that's about all I remember. Bill On 10/4/2015 5:01 PM, Alex wrote: Hi, I ran into this or something similar. My system would boot fine

Re: dracut fails to include support for md RAID

2015-10-04 Thread Bill Shirley
I ran into this or something similar. My system would boot fine on an older kernel but fail on a new oue. Can't remember which one worked and which didn't. The solution I found was remove the bitmap, re-boot on the newer kernel, and add the bitmap back. # remove mdadm --grow --bitmap=none

Re: how to have ntp service started at boot time?

2015-07-26 Thread Bill Shirley
Put this at the bottom of /etc/chrony.conf: # comment out allow and noclientlog above # my stuff allow 10.0.0.0/8 allow 192.168.0.0/16 allow 172.16.0.0/12 broadcast 60 192.168.4.255 broadcast 60 192.168.6.255 (You may not want the broadcast statements). then: systemctl restart chrony.service

Re: Silencing auditd in fedora22

2015-07-19 Thread Bill Shirley
On 7/18/2015 7:08 PM, Alex wrote: Hi, Since upgrading from fedora22, auditd is drowning /var/log/messages with useless information such as this: Jul 18 19:02:19 orion audit: audit-2404 pid=6002 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=server

Re: Constant DHCPREQUEST

2015-03-20 Thread Bill Shirley
Maybe it's looking for the autoconfig file wpad.dat and not finding it. dhcpd.conf option local-pac-server code 252 = text; option local-pac-server http://wpad.example.com:80/wpad.dat;; Bill On 3/18/2015 12:51 PM, Gary Stainburn wrote: Hi folks, While looking at my network I've

Re: User friendly proxy configuration

2014-11-18 Thread Bill Shirley
The OP was talking about running a centralized proxy. Put this in /etc/profile or /etc/inputrc (can't remember which) per machine. Sorry not to have spelled it out. Bill On 11/18/2014 4:22 AM, Cameron Simpson wrote: On 18Nov2014 02:31, Bill Shirley bshir...@memphis.apirx.biz wrote: You

Re: User friendly proxy configuration

2014-11-17 Thread Bill Shirley
You can put this in your ~/.bashrc: export http_proxy=http://127.0.0.1:3128; export ftp_proxy=ftp://127.0.0.1:3128; I'm not sure how many utilities use it but I think wget does. Bill On 11/16/2014 8:18 AM, Alexis Jeandet wrote: Le 15/11/2014 07:17, Tim a écrit : On Fri, 2014-11-14 at 13:55

Re: Running Fedora or RHEL7 with NetworkManager

2014-10-25 Thread Bill Shirley
On 10/24/2014 11:45 AM, Bill Davidsen wrote: I have a complex firewall setup running on an older version of Fedora, and I'd like to upgrade to RHEL7 or recent Fedora. Unfortunately, I can't really do what I need using firewalld, so two questions: 1 - has anyone done this and were there any

Re: mount shows mounted partition as /dev/mapper/HGST_HTS721010A9E630_JR10006P0BSEEF3

2014-10-10 Thread Bill Shirley
What does 'ls -l /dev/sd*' say? Have you tried 'tune2fs -l /dev/sdc3' (if there is one)? That should give you the UUID. Bill On 10/8/2014 8:00 PM, Junk wrote: Well if it's not lvm that leaves raid, luks encrypted partitions, docker or using an ssd as a cache for a magnetic disk. dm-raid,

Re: Consistent device naming

2014-05-13 Thread Bill Shirley
On 5/13/2014 8:59 PM, CLOSE Dave wrote: On 05/13/2014 05:39 PM, Russell Miller wrote: I want to run the same software on all of these machines and having inconsistent names /between/ the machines makes that next to impossible. Using the new names means that my software has to learn all those

Re: Apache problems

2014-01-29 Thread Bill Shirley
On 1/24/2014 7:18 AM, Roger wrote: Using Fedora 19, Drupal, PHP, ruby, Rails, etc.fully updated. Apache died again for me today and I do not understand why. It has not done this for some time. I develop in Drupal, and Rails 4 mainly. I have a test index.html file in /var/www/html all the

Re: ipset bug?

2012-11-06 Thread Bill Shirley
Replying to myself for completeness. There is a fix: https://bugzilla.redhat.com/show_bug.cgi?id=846053 Bill On 11/4/2012 10:57 PM, Bill Shirley wrote: Notice the timeout value is wrong in the ipset created below: [root@moses bin]# rpm -q ipset ipset-6.11-1.fc17.x86_64 [root@moses bin

ipset bug?

2012-11-04 Thread Bill Shirley
Notice the timeout value is wrong in the ipset created below: [root@moses bin]# rpm -q ipset ipset-6.11-1.fc17.x86_64 [root@moses bin]# ipset x HTTPhacker [root@moses bin]# ipset create HTTPhacker hash:ip timeout 86400 [root@moses bin]# ipset list HTTPhacker Name: HTTPhacker Type: hash:ip

Re: How can I prevent udevd from renaming eth0 to em1

2012-10-23 Thread Bill Shirley
On 10/23/2012 6:52 PM, Digimer wrote: Yes, you need a corresponding 'ifcfg-dev' file to match the udev.d's NAME=dev value. Do not use the ifcfg-dev's 'HWADDR=...' though. I started using the NAME parameter in Fedora 16. ifcfg-lan: NAME=lan TYPE=Ethernet ONBOOT=yes

Re: How can I prevent udevd from renaming eth0 to em1

2012-10-16 Thread Bill Shirley
On 10/16/2012 4:27 AM, Reindl Harald wrote: Am 16.10.2012 04:58, schrieb JD: I googled this and came across 2 purported solutions, neither of which worked. 1. Uninstall package biosdevname and reboot. That did not prevent udevd from renaming eth0 to em1. 2. Add the line biosdevname=0 to

Re: How can I prevent udevd from renaming eth0 to em1

2012-10-16 Thread Bill Shirley
On 10/16/2012 2:16 PM, Joe Zeff wrote: On 10/16/2012 11:13 AM, Bill Shirley wrote: PS. See how cool I am? I said boxen and interwebz. :-) Well, you were right up to the point where you pointed it out. Sorry, but you're still just a PFY. But..., but..., I use da cloud and program Web 2.0

Re: Purge old eth1, add new nic as eth0

2012-10-15 Thread Bill Shirley
On 10/15/2012 1:02 PM, JD wrote: On 10/13/2012 05:53 AM, Reindl Harald wrote: Am 13.10.2012 13:46, schrieb Frank Murphy: How can I completly remove all remnants of an old eth1 Everytime I go to add a new nic it wants to call it eth1 I will be replacing the old nic with ano identical

Re: Purge old eth1, add new nic as eth0

2012-10-13 Thread Bill Shirley
Check in /etc/udev/rules.d/70-persistent-net.rules Bill On 10/13/2012 7:46 AM, Frank Murphy wrote: How can I completly remove all remnants of an old eth1 Everytime I go to add a new nic it wants to call it eth1 I will be replacing the old nic with ano identical chipped card, which it wants to

Re: iptables fubared?

2012-10-05 Thread Bill Shirley
misunderstand how iptables or tcpdump work. On 10/4/2012 4:52 PM, Bill Shirley wrote: Check your listen statement in /etc/httpd/conf/httpd.conf. It should be: Listen 8080 If that is correct, run tcpdump (ctrl+c to quit) and then try externally connecting : tcpdump -n -i eth0 port 80 or port 8080

Re: iptables fubared?

2012-10-05 Thread Bill Shirley
On 10/5/2012 3:18 AM, Mark Space wrote: On 10/4/2012 11:27 PM, NOSpaze wrote: On Thu, 2012-10-04 at 15:00 -0700, Mark Space wrote: I tried this with tcpdump running on the server. It surprised me when I saw tcpdump respond. Firefox still says cannot connect from an external workstation,

Re: iptables fubared?

2012-10-04 Thread Bill Shirley
Check your listen statement in /etc/httpd/conf/httpd.conf. It should be: Listen 8080 If that is correct, run tcpdump (ctrl+c to quit) and then try externally connecting : tcpdump -n -i eth0 port 80 or port 8080 If you get traffic on port 8080 then you have an iptables problem. Bill On

Re: Clamd and systemd

2012-09-20 Thread Bill Shirley
On 9/20/2012 5:02 AM, Zdenek Pytela wrote: Arthur Dent pise: Well sadly no joy... # yum install clamav-scanner-systemd # systemctl enable clamd.scan.service Failed to issue method call: No such file or directory Just for the record: there are differences between f16 and f17, the

Re: Clamd and systemd

2012-09-19 Thread Bill Shirley
On 9/19/2012 5:47 AM, Arthur Dent wrote: What tells it that it is a scan service? That bit of the puzzle seems to be missing... Whatever is the parameter after the @ and before the dot becomes %i in the service file. Look at the service file: [Unit] Description = clamd scanner (%i) daemon

  1   2   >