Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-04 Thread Barry Brimer
Are the correct volumes referenced in your /etc/default/grub file? On May 4, 2017 11:12:11 AM CDT, Nikolaos Milas wrote: >On 4/5/2017 5:56 μμ, Marcelo Roccasalva wrote: > >> dracut -f /boot/initramfs-.img > >I did: > ># dracut -f /boot/initramfs-3.10.0-514.10.2.el7.x86_64.img

Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-04 Thread Marcelo Roccasalva
On Thu, May 4, 2017 at 1:12 PM, Nikolaos Milas wrote: > On 4/5/2017 5:56 μμ, Marcelo Roccasalva wrote: > >> dracut -f /boot/initramfs-.img > > > I did: > > # dracut -f /boot/initramfs-3.10.0-514.10.2.el7.x86_64.img > 3.10.0-514.10.2.el7.x86_64 when you boot via supergrub2, you

Re: [CentOS] running tomcat as non-root user.. (/var/run pidfile issue)

2017-05-04 Thread Paul Heinlein
On Thu, 4 May 2017, Alexander Dalloz wrote: Am 04.05.2017 um 18:35 schrieb Paul Heinlein: The second method is to add an ExecStartPre to /usr/lib/systemd/system/tomcat.service, e.g., Sorry, no. Better not touch the service files in /usr/lib/systemd/system which ship with the associated

Re: [CentOS] running tomcat as non-root user.. (/var/run pidfile issue)

2017-05-04 Thread Alexander Dalloz
Am 04.05.2017 um 18:35 schrieb Paul Heinlein: The second method is to add an ExecStartPre to /usr/lib/systemd/system/tomcat.service, e.g., Sorry, no. Better not touch the service files in /usr/lib/systemd/system which ship with the associated packages. You create user custom service files in

Re: [CentOS] Centos 7 Samba - all shares read only

2017-05-04 Thread Chris Murphy
Pretty sure smb gets "control" of a directory via the group. For my setup, each directory defined by a path in smb.conf has group smbusers, and has rwx permissions. This is applied just to that directory, it is not applied recursively. The files and folders in that directory have the actual remote

Re: [CentOS] running tomcat as non-root user.. (/var/run pidfile issue)

2017-05-04 Thread Paul Heinlein
On Thu, 4 May 2017, Jason Welsh wrote: hey folks, we are migrating our tomcat setup over to centos 7. Im converting init-scripts over to systemd services and whatnot.. One thing that Ive noticed is that my systemd startup script cant seem to write to /var/run as a non-root user to drop a

Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-04 Thread Nikolaos Milas
On 4/5/2017 5:56 μμ, Marcelo Roccasalva wrote: dracut -f /boot/initramfs-.img I did: # dracut -f /boot/initramfs-3.10.0-514.10.2.el7.x86_64.img 3.10.0-514.10.2.el7.x86_64 and it ended without reporting any error. However, when I rebooted, nothing changed ("no such device: . Entering

[CentOS-announce] CEEA-2017:1194 CentOS 7 kmod-redhat-ixgbe Enhancement Update

2017-05-04 Thread Johnny Hughes
CentOS Errata and Enhancement Advisory 2017:1194 Upstream details at : https://rhn.redhat.com/errata/RHEA-2017-1194.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) x86_64:

[CentOS-announce] CEEA-2017:1194 CentOS 7 kmod-redhat-ixgbevf Enhancement Update

2017-05-04 Thread Johnny Hughes
CentOS Errata and Enhancement Advisory 2017:1194 Upstream details at : https://rhn.redhat.com/errata/RHEA-2017-1194.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) x86_64:

[CentOS] running tomcat as non-root user.. (/var/run pidfile issue)

2017-05-04 Thread Jason Welsh
hey folks, we are migrating our tomcat setup over to centos 7. Im converting init-scripts over to systemd services and whatnot.. One thing that Ive noticed is that my systemd startup script cant seem to write to /var/run as a non-root user to drop a pidfile.. If I create a directory in

Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-04 Thread Marcelo Roccasalva
On Thu, May 4, 2017 at 11:43 AM, Nikolaos Milas wrote: > On 4/5/2017 5:20 μμ, Marcelo Roccasalva wrote: > >> Dumb question: the file starts with a dot, doesn't show up in "ls" without >> "-a". > > > Of course, I check with ls -la.It is empty indeed. > >> Even dumber question: the

Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-04 Thread m . roth
Marcelo Roccasalva wrote: > On Wed, May 3, 2017 at 4:55 PM, Nikolaos Milas wrote: >> 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 >>

Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-04 Thread Nikolaos Milas
On 4/5/2017 5:20 μμ, Marcelo Roccasalva wrote: Dumb question: the file starts with a dot, doesn't show up in "ls" without "-a". Of course, I check with ls -la.It is empty indeed. Even dumber question: the erroring UUID exist in the origin of thecloned guest? I guess you have rebuilt

Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-04 Thread Marcelo Roccasalva
On Wed, May 3, 2017 at 4:55 PM, Nikolaos Milas wrote: > 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

Re: [CentOS] CentOS 7 cloned VM cannot boot

2017-05-04 Thread Nikolaos Milas
On 3/5/2017 5:24 μμ, Nikolaos Milas wrote: Using the supergrub2 disk I can boot and login successfully. Otherwise (i.e. directly) the box won't boot. In the meantime, I also tried rescatux (https://sourceforge.net/projects/rescatux/) repair disk; it failed as well. The situation remains the

Re: [CentOS] Centos 7 Samba - all shares read only

2017-05-04 Thread m . roth
Gary Stainburn wrote: > I few weeks back my server started having a problem where all shares are > now readonly. AFAIK nothing has changed except a 'yum update' which was > probably around the same time. > > Everyone still has the shares on their Win7 PC's and can see the contents. > However, if

[CentOS] Centos 7 Samba - all shares read only

2017-05-04 Thread Gary Stainburn
I few weeks back my server started having a problem where all shares are now readonly. AFAIK nothing has changed except a 'yum update' which was probably around the same time. Everyone still has the shares on their Win7 PC's and can see the contents. However, if they try to open a file it

Re: [CentOS] From Networkmanager to self managed configuration files

2017-05-04 Thread James Hogarth
On 8 March 2017 at 11:19, James Hogarth wrote: > On 8 March 2017 at 11:15, Alice Wonder wrote: >> On 03/08/2017 01:57 AM, Giles Coochey wrote: >>> >>> The recommended configuration for EL7 is to use NetworkManager unless you have a very