Re: [CentOS] logrotate failed ... (CentOS 6.9)

2017-05-03 Thread James Pearson
Walter H. wrote:
>
> I found your hint several time ago, this didn't solve it ...
>
> I don't understand this
>
> -killall -HUP clamd. 2>/dev/null || :
> +killall -HUP clamd. > /dev/null 2>&1 || true
>
> in the patch
>
> as the file has this
>  pkill -SIGHUP -f clamd.clamsmtp >/dev/null 2>&1 || :
>
> in comparison /etc/logrotate.d/clamav has this
>
> killall -HUP clamd >/dev/null 2>&1 || :

Sorry, I have no other suggestions - logrotate will only 'error' in that 
way if the postrotate commands return something other than zero - and in 
the examples you've given, it will always return 0 ...

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


Re: [CentOS] [SPAM?] Re: CentOS 7 on HP DL160 G6

2017-05-03 Thread mark

On 05/02/17 21:49, H wrote:

On 05/02/2017 08:01 AM, mark wrote:

On 05/02/17 06:56, Steven Tardy wrote:



On May 1, 2017, at 8:49 PM, H  wrote:

the computer locks up at random intervals


Anything in /var/log/mcelog?
Is the "edac" module running?
Does that model support bundle include any Intel MCA files?


systemctl start ipmi
ipmitool sel list


'Failed to start ipmi.service: Unit not found'


yum install OpenIPMI ipmitool

Then systemctl enable ipmi and systemctl start ipmi, then run ipmitool sel list.

Um... I just had a thought - this is a server, right, not a desktop?

mark

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


[CentOS] CentOS 7 cloned VM cannot boot

2017-05-03 Thread Nikolaos Milas

Hello,

I'm struggling to make a cloned CentOS 7 VM (under KVM) to work.

The VM was cloned using mondorestore. Restore appears successful but the 
VM won't boot; see:


http://iweb.noa.gr/files/centos7/supergrub2-scratchvm-20170503-04.png

I booted with CentOS 7 disk in troubleshooting mode (where the virtual 
disk was automatically mounted without issues) and I tried to repair:


http://iweb.noa.gr/files/centos7/el7-rescue-scratchvm-20170502-01.png

Also:

# grub2-mkconfig -o /boot/grub2/grub.cfg
...
/usr/sbin/grub2-probe: error: unknown filesystem.

I then tried to repair using: 
https://sourceforge.net/p/boot-repair-cd/home/Home/ but it didn't manage 
to solve the problem. (It reported success but the VM still won't boot.)


More interesting was the effort with the supergrub2 disk: 
http://www.supergrubdisk.org/super-grub2-disk/


This managed to identify the available "boot methods" and allowed me to 
boot correctly. See screenshots:


http://iweb.noa.gr/files/centos7/supergrub2-scratchvm-20170503-00.png
http://iweb.noa.gr/files/centos7/supergrub2-scratchvm-20170503-01.png
http://iweb.noa.gr/files/centos7/supergrub2-scratchvm-20170503-02.png

Once I logged in, I checked /etc/fstab and /boot/grub2/grub.cfg but I 
didn't see any obvious problem. The are here as well:


http://iweb.noa.gr/files/centos7/fstab
http://iweb.noa.gr/files/centos7/grub.cfg

However, I also followed these directions: 
https://www.techbrown.com/reinstall-grub2-boot-loader-centos-7-rhel-7.shtml 
to rebuild grub2.conf. The commands were completed successfully.


Unfortunately, the OS still won't boot: same issue, see:

http://iweb.noa.gr/files/centos7/supergrub2-scratchvm-20170503-04.png

I again tried to boot using the supergrub2 disk; this time the boot 
method detection produced the (slightly different) list you see in image:


http://iweb.noa.gr/files/centos7/supergrub2-scratchvm-20170503-05.png

Using the supergrub2 disk I can boot and login successfully. Otherwise 
(i.e. directly) the box won't boot.


As I know little about grub2 (and low-level linux) to troubleshoot the 
issue, can you please help identify and correct the problem? Why the VM 
always refuses to boot?


Which is the reported device (on image -04) that remains unrecognized? I 
looked into /boot/grub/grub2.cfg but I didn't see any such UUID there. 
Where may it be referenced to be used during the boot process?


Note: I never have such issues when restoring (using mondorestore) 
CentOS 5 or CentOS 6 mondoarchive backups (even on dissimilar virtual 
hardware).


Can you please help me identify the problem, based on the above info, 
and make the VM normally bootable?


Many thanks,
Nick



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


Re: [CentOS] package internet-browser?

2017-05-03 Thread Kay Schenk



On 05/02/2017 09:59 AM, m.r...@5-cent.us wrote:

Kay Schenk wrote:

On 05/01/2017 06:10 PM, Jonathan Billings wrote:

On May 1, 2017, at 1:33 PM, Kay Schenk  wrote:

What can anyone tell me about package internet-browser?

Through the gnome package app, there seems to be NO meta info


I can’t find any packages called 'internet-browser’ for CentOS6 or 7, in
either the base repos or EPEL. pkgs.org doesn’t know about it either.

Do you have any extra repositories added?


Yes, but...this ONLY shows up through the gnome package kit app --
gpk-application. It does NPT show up either through the yum repos or
rpm. Is it some kind of system alias? It's 128.9 MB.

Yesterday, when I was having so much trouble with the latest FF 52, I
uninstalled internet-browser thing which also uninstalled FF 52. OK, all
good. I cleared my yum cache, then re-installed FF 45. This item came
back through gpk-application. Rather confused at this point.

I'm on CentOS 6.9, 32 bit.


Silly thought: if you *have* that package installed, and want to upgrade
it... what repo does rpm -qi internet-browser tell you it's from.


See my previous reply -- it DOES not show up in an rpm query. I am not 
using konqueror. I will try to track this down further. It MUST be an 
alias that's set up in gnome.





I don't suppose there's any chance that it could be the konqueror browswer?

mark

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



--
--
MzK

"Since each of us is blessed with only one life,
 why not live it with a cat?"
-- Robert Stearns
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package internet-browser?

2017-05-03 Thread John Hodrien

On Wed, 3 May 2017, Kay Schenk wrote:


On 05/02/2017 09:59 AM, m.r...@5-cent.us wrote:

 Kay Schenk wrote:
>  On 05/01/2017 06:10 PM, Jonathan Billings wrote:
> >  On May 1, 2017, at 1:33 PM, Kay Schenk  wrote:
> > >  What can anyone tell me about package internet-browser?
> > > 
> > >  Through the gnome package app, there seems to be NO meta info
> > 
> >  I can’t find any packages called 'internet-browser’ for CentOS6 or 7, 
> >  in

> >  either the base repos or EPEL. pkgs.org doesn’t know about it either.
> > 
> >  Do you have any extra repositories added?
> 
>  Yes, but...this ONLY shows up through the gnome package kit app --

>  gpk-application. It does NPT show up either through the yum repos or
>  rpm. Is it some kind of system alias? It's 128.9 MB.
> 
>  Yesterday, when I was having so much trouble with the latest FF 52, I

>  uninstalled internet-browser thing which also uninstalled FF 52. OK, all
>  good. I cleared my yum cache, then re-installed FF 45. This item came
>  back through gpk-application. Rather confused at this point.
> 
>  I'm on CentOS 6.9, 32 bit.

>
 Silly thought: if you *have* that package installed, and want to upgrade
 it... what repo does rpm -qi internet-browser tell you it's from.


See my previous reply -- it DOES not show up in an rpm query. I am not using 
konqueror. I will try to track this down further. It MUST be an alias that's 
set up in gnome.


 I don't suppose there's any chance that it could be the konqueror
 browswer?


Surely this isn't anything complicated?

# yum groupinfo internet-browser
Loaded plugins: fastestmirror, security, versionlock
Setting up Group Process
Loading mirror speeds from cached hostfile

Group: Internet Browser
 Description: Firefox web browser
 Default Packages:
   firefox
   nspluginwrapper
   totem-mozplugin

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


Re: [CentOS] Firefox for CentOS

2017-05-03 Thread wwp

On Thu, 20 Apr 2017 16:12:17 +0200 wwp  wrote:

> Hello James,
> 
> 
> On Thu, 20 Apr 2017 14:06:59 + James Pearson  
> wrote:
> 
> > wwp wrote:  
> > >>>
> > >>> They obviously felt more comfortable instead released the older one on
> > >>> EL6 this cycle, but I suspect that the newer 52.x ESR version will be
> > >>> released during the next cycle.
> > >>>
> > >>>
> > >> Indeed, the latest RHEL 6 update for firefox is the 52.1.0 ESR release:
> > >>
> > >> This update upgrades Firefox to version 52.1.0 ESR.
> > >
> > > Sorry for jumping into this topic from nowhere.. does this mean that we
> > > could get a Firefox v52 running on a CentOS 6?
> > 
> > Yes, not 'could' but 'will' ...  
> 
> Hah. Good news!

In fact, not really good news. Firefox 52 is damn slow compared to 45.
Every major upgrade shows a slower Firefox, what's wrong w/ it?


Regards,

-- 
wwp


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


Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-03 Thread Marcelo Roccasalva
On Wed, May 3, 2017 at 11:24 AM, Nikolaos Milas  wrote:
>
> Hello,
>
> I'm struggling to make a cloned CentOS 7 VM (under KVM) to work.
>
> The VM was cloned using mondorestore. Restore appears successful but the VM 
> won't boot; see:
>
> http://iweb.noa.gr/files/centos7/supergrub2-scratchvm-20170503-04.png

Does the UUID of root filesystem in /etc/fstab match the actual UUID
as reported by blkid? And remove /etc/lvm/cache/.cache if it exists

Marcelo

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


Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-03 Thread Nikolaos Milas

On 3/5/2017 10:41 μμ, Marcelo Roccasalva wrote:


Does the UUID of root filesystem in /etc/fstab match the actual UUID
as reported by blkid? And remove/etc/lvm/cache/.cache if it exists


Thank you Marcelo for replying,

The directory /etc/lvm/cache/ is empty.

And, yes, the UUID matches:

# blkid
/dev/vda1: UUID="297e2939-d6f5-431a-9813-9848368ee306" TYPE="xfs"
/dev/vda2: UUID="OR1eUA-1hhb-PCff-qybQ-rLt4-JuTN-EcWX61" TYPE="LVM2_member"
/dev/sr0: UUID="2017-03-16-21-15-06-00" LABEL="ISOIMAGE" TYPE="iso9660" 
PTTYPE="PMBR"
/dev/mapper/centos-root: UUID="fcee6215-e97a-4a4f-9473-5115f8559683" 
TYPE="xfs"
/dev/mapper/centos-swap: UUID="b220b45f-ae22-4393-a74d-90b03d37c41b" 
TYPE="swap"


# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Thu Dec  8 13:40:06 2016
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /   xfs defaults0 0
UUID=297e2939-d6f5-431a-9813-9848368ee306 /boot   
xfs defaults0 0

/dev/mapper/centos-swap swapswap defaults0 0
10.201.40.34:/data/col1/noc-bkups-1   /mnt/dd2500-1   nfs 
auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0


Any other ideas?

Thanks,
Nick

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


Re: [CentOS] package internet-browser?

2017-05-03 Thread Kay Schenk



On 05/03/2017 08:15 AM, John Hodrien wrote:

On Wed, 3 May 2017, Kay Schenk wrote:


On 05/02/2017 09:59 AM, m.r...@5-cent.us wrote:

 Kay Schenk wrote:
>  On 05/01/2017 06:10 PM, Jonathan Billings wrote:
> >  On May 1, 2017, at 1:33 PM, Kay Schenk  
wrote:

> > >  What can anyone tell me about package internet-browser?
> > > > > >  Through the gnome package app, there seems to be NO 
meta info
> > > >  I can’t find any packages called 'internet-browser’ for 
CentOS6 or 7, > >  in
> >  either the base repos or EPEL. pkgs.org doesn’t know about it 
either.

> > > >  Do you have any extra repositories added?
> >  Yes, but...this ONLY shows up through the gnome package kit app --
>  gpk-application. It does NPT show up either through the yum repos or
>  rpm. Is it some kind of system alias? It's 128.9 MB.
> >  Yesterday, when I was having so much trouble with the latest FF 
52, I
>  uninstalled internet-browser thing which also uninstalled FF 52. 
OK, all
>  good. I cleared my yum cache, then re-installed FF 45. This item 
came

>  back through gpk-application. Rather confused at this point.
> >  I'm on CentOS 6.9, 32 bit.
>
 Silly thought: if you *have* that package installed, and want to 
upgrade

 it... what repo does rpm -qi internet-browser tell you it's from.


See my previous reply -- it DOES not show up in an rpm query. I am 
not using konqueror. I will try to track this down further. It MUST 
be an alias that's set up in gnome.


 I don't suppose there's any chance that it could be the konqueror
 browswer?


Surely this isn't anything complicated?

# yum groupinfo internet-browser
Loaded plugins: fastestmirror, security, versionlock
Setting up Group Process
Loading mirror speeds from cached hostfile

Group: Internet Browser
 Description: Firefox web browser
 Default Packages:
   firefox
   nspluginwrapper
   totem-mozplugin

jh


HA! I did do "yum info internet-browser" but did not use the groupinfo 
option.

So thanks. Mystery solved!


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


--
--
MzK

"Since each of us is blessed with only one life,
 why not live it with a cat?"
-- Robert Stearns

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


[CentOS] External drive, BackupPC service, and booting

2017-05-03 Thread Kenneth Porter
I'm using an external drive with BackupPC on CentOS 7. I currently have a 
mount entry like this in fstab:


/dev/disk/by-label/backuppc4  /var/lib/BackupPC   ext4 
noauto,rw   0 0


This means I must manually mount the drive and then start the backuppc 
service.


Is there a way to set up hotplugging so that the drive is mounted if 
present at boot time but doesn't stop the boot if it's not present or 
otherwise fails? I see the fstab nofail option. Will that do what I want?


Is there a way to set up the backuppc service (through systemd) so that it 
starts if and only if the drive is present, or starts if the drive is 
plugged in later?


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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