Re: [CentOS] CentOS 7 on a new Dell Precision

2021-05-15 Thread Tony Schreiner
On Tue, May 4, 2021 at 3:21 PM Tony Schreiner 
wrote:

> I am trying to install CentOS 7 on  a Dell Precision 3640 and am
> having some driver problems.
>
> I had to use kmod-e1000e from ElReo enable networking on the:
> 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet
> Connection (11) I219-LM [8086:0d4c]
>
>
> I still don't have graphics. When starting Gnome, it shows the graphic
> screen briefly but reverts to the text login.
>
> It has two graphics cards:
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Device
> [8086:9bc5] (rev 05)
> 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
> [AMD/ATI] Lexa XT [Radeon PRO WX 3200] [1002:6981] (rev 10)
>
> lsmod shows i915 and amdgpu modules loaded
> but Xorg.0.log says the modules amdgpu cannot be found. Is it a version
> issue?
> Dell has a Radeon driver for RHEL 8, but not for 7.
>
> ...

Follow up.
It was suggested to me off-list to try the elrepo -lt kernel. I have and it
gives me network and graphics.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 7 on a new Dell Precision

2021-05-04 Thread Tony Schreiner
I am trying to install CentOS 7 on  a Dell Precision 3640 and am
having some driver problems.

I had to use kmod-e1000e from ElReo enable networking on the:
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet
Connection (11) I219-LM [8086:0d4c]


I still don't have graphics. When starting Gnome, it shows the graphic
screen briefly but reverts to the text login.

It has two graphics cards:
00:02.0 VGA compatible controller [0300]: Intel Corporation Device
[8086:9bc5] (rev 05)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Lexa XT [Radeon PRO WX 3200] [1002:6981] (rev 10)

lsmod shows i915 and amdgpu modules loaded
but Xorg.0.log says the modules amdgpu cannot be found. Is it a version issue?
Dell has a Radeon driver for RHEL 8, but not for 7.

I have no xorg.conf file.

[54.839]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[54.840] Build Operating System:  3.10.0-957.1.3.el7.x86_64
[54.840] Current Operating System: Linux isr3c538b3kenn 3.10.0
1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64
[54.840] Kernel command line:
BOOT_IMAGE=/vmlinuz-3.10.01160.25.1.el7.x86_64
root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root
rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8
[54.840] Build Date: 24 February 2021  09:09:20PM
[54.840] Build ID: xorg-x11-server 1.20.4-15.el7_9
[54.840] Current version of pixman: 0.34.0
[54.840] Before reporting problems, check http://wiki.x.orgto make
sure that you have the latest version.
[54.840] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[54.840] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May  3
14:31:21 2021
[54.840] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[54.840] (==) No Layout section.  Using the first Screen section.
[54.840] (==) No screen section available. Using defaults.
[54.840] (**) |-->Screen "Default Screen Section" (0)
[54.840] (**) |   |-->Monitor ""
[54.840] (==) No monitor specified for screen "Default Screen
Section". Using a default monitor configuration.
[54.840] (==) Automatically adding devices
[54.840] (==) Automatically enabling devices
[54.840] (==) Automatically adding GPU devices
[54.840] (==) Automatically binding GPU devices
[54.840] (==) Max clients allowed: 256, resource mask: 0x1f
[54.840] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[54.840] (==) ModulePath set to "/usr/lib64/xorg/modules"
[54.840] (II) The server relies on udev to provide the list of input devices
.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[54.840] (II) Loader magic: 0x561cda874020
[54.840] (II) Module ABI versions:
[54.840] X.Org ANSI C Emulation: 0.4
[54.840] X.Org Video Driver: 24.0
[54.840] X.Org XInput driver : 24.1
[54.840] X.Org Server Extension : 10.0
[54.841] (II) xfree86: Adding drm device (/dev/dri/card0)
[54.841] (II) Platform probe for
/sys/devices/pci:00/:00:01.0/:01:00.0/drm/card0
[54.843] (--) PCI:*(0@0:2:0) 8086:9bc5:1028:098d rev 5, Mem
@0xa100/16777216, 0x8000/268435456, I/O @ 0x4000/64, BIOS
@ 0x/131072
[54.843] (--) PCI: (1@0:0:0) 1002:6981:1028:2b0d rev 16, Mem
@0x41/4294967296, 0x408000/2097152, 0xa210/262144, I/O
@0x3000/256, BIOS @ 0x/131072
[54.843] (II) LoadModule: "glx"
[54.844] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[54.844] (II) Module glx: vendor="X.Org Foundation"
[54.844] compiled for 1.20.4, module version = 1.0.0
[54.844] ABI class: X.Org Server Extension, version 10.0
[54.844] (==) Matched ati as autoconfigured driver 0
[54.844] (==) Matched modesetting as autoconfigured driver 1
[54.844] (==) Matched fbdev as autoconfigured driver 2
[54.844] (==) Matched vesa as autoconfigured driver 3
[54.844] (==) Assigned the driver to the xf86ConfigLayout
[54.844] (II) LoadModule: "ati"
[54.844] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[54.844] (II) Module ati: vendor="X.Org Foundation"
[54.844] compiled for 1.20.4, module version = 19.0.1
[54.844] Module class: X.Org Video Driver
[54.844] ABI class: X.Org Video Driver, version 24.0
[54.844] (II) LoadModule: "amdgpu"
[54.844] (WW) Warning, couldn't open module amdgpu
[54.844] (EE) Failed to load module "amdgpu" (module does not exist, 0)
[54.844] (II) LoadModule: "modesetting"
[54.844] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[54.844] (II) Module modesetting: vendor="X.Org Foundation"
[54.844] compiled for 1.20.4, module version = 1.20.4
[54.844] Module class: X.Org Video Driver
[54.844] ABI class: X.Org Video Driver, version 24.0
[54.844] (II) 

Re: [CentOS] CentOS 8

2021-04-08 Thread Tony Schreiner
On Thu, Apr 8, 2021 at 2:33 PM Nicolas Kovacs  wrote:

> Le 08/04/2021 à 18:58, Steve Clark via CentOS a écrit :
> > How do I allow root log in on GDM.
>
> tl;dr: you don't.
>
> Log in as a non-root user, and when you do need root, either open up a
> terminal
> and use 'su -' or (even better) setup your user by making your user a
> member of
> the wheel group and then use sudo.
>
> Logging in to a GUI as root is *BAD* practice.
>
> Cheers,
>
> Niki
>
>
>
That said - you can do it, by clicking on "Not listed?" and typing root
into the user field.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to install XFCE on CentOS 8?

2021-02-25 Thread Tony Schreiner
On Thu, Feb 25, 2021 at 7:31 AM Stephen John Smoogen 
wrote:

> On Thu, 25 Feb 2021 at 02:11, Simon Matter  wrote:
>
> > >>
> > >> Smooge, you know I feel your pain, but becoming a maintainer in EPEL
> has
> > >> a pretty high bar (lots of new tools and methods to work with, amongst
> > >> other things) -- as it SHOULD, given that it's intended as an addon to
> > >> EL and needs to be very tightly controlled.  It's just more difficult
> to
> > >> get started these days relative to when anyone could build an rpm as
> > >> long as they had a copy of Maximum RPM and knew how to drive 'rpm -ba'
> > >>  back when building as root in a non-reproducible buildroot
> wasn't a
> > >> cardinal sin.
> > >>
> > >
> > > Not that it matters .. BUT .. EL8 is much harder to build for.  There
> > > are modular components, not all the Devel files exist, etc.
> > >
> > > It is much harder than EL7.
> >
> > Thanks Johnny for reminding. I was wondering why the situation for EL8 is
> > so much worse than for EL7 and that was true before CentOS Stream came
> up.
> >
> > In the end I have never been happy with the new modules system and how it
> > makes packaging much more difficult than it was and than it should be.
> >
> > IMHO the hurdles to build high quality packages should be as simple as
> > possible but the difficulties to do so went in the wrong direction. The
> > result we see now. Today we have an unstable distribution (Fedora) with a
> > quite good and comprehensive package set, and we have stable (EL) with an
> > unstable and lacking package set.
> >
> >
> Even without modules (A person wrote a program which undid some of those
> problems for us in EPEL), EL8 is not easy to build. Packages and software
> themselves have gotten more interdependent and complex. This leads to a
> larger and larger chain of 'buildrequires' and 'requires' for each package.
> To get some of the XFCE packages into EPEL you need to bring into EPEL all
> kinds of quaternary packages so you can build the tertiary packages which
> are needed for the secondary packages which allow you to get something like
> xfce4-cpufreq-plugin-1.2.1-7.fc33.src.rpm built. Each of those packages
> needs a maintainer who wants to deal with them in EPEL which requires them
> to run an EL to test.
>
> I tried an experiment during the RHEL-8 beta to see what it would take to
> get EPEL-8 1:1 with EPEL-7.. I gave up after adding nearly a thousand
> packages to the 'build chain' which were not in EPEL-7 nor even in the
> RHEL-8 beta or its 'buildroot'. These were mainly packages that are in
> Fedora already and would need to be maintained in EPEL and no one wants to
> do that.
>
> This was supposed to be a problem modularity was to fix.. so you need 100
> packages not in EPEL for your 1 application set, and you don't  want to
> maintain those extra packages? Just put them inside your module build chain
> and deliver what you wanted. Of course that is still a monumental task and
> most packagers would say 'meh I got better things to do, like do a root
> canal without anesthesia.'
>
>
>
> > Simon
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
>
>
> --
> Stephen J Smoogen.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos


Does package building for debian and derivatives not run into this same
issue of interdependency? Is it because they have more packages to begin
with?
Not judging, I'm curious.

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


Re: [CentOS] server rebooted email

2020-11-19 Thread Tony Schreiner
On Thu, Nov 19, 2020 at 11:32 AM Oleg Cherkasov 
wrote:

> On 19.11.2020 12:07, Kenneth Porter wrote:
> > I used to put a line in rc.local to email root that my server rebooted.
> > Does anyone have a nice systemd unit file to do the same?
> >
> > Also useful would be a shutdown email with the output of uptime. (I
> > usually do that manually when rebooting for a kernel update.)
> >
>
> I would recommend to install logcheck and spend sometime to customize it
> for your needs.  It would report if your server rebooted with dmesg
> inlined.
>
>
crontab has a @reboot pattern
as an alternative
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8.2 / missing libc++ (libcxx-devel)

2020-10-13 Thread Tony Schreiner
On Tue, Oct 13, 2020 at 12:52 PM Paul Heinlein  wrote:

> On Mon, 12 Oct 2020, Alexandru Lazarev wrote:
>
> > Hi community,
> > In CentOS 7 there is such rpm (libcxx-devel - it seems from EPEL
> > repository), but in CentOS 8 it isn't.
> >
> > How is it possible to have it there as RPM? because alternative to build
> it
> > (libc++) from sources is a big headache (I need it in order to build v9
> and
> > plv8 projects)
>
> Do you mean the libstdc++-devel package? Or prehaps redhat-lsb-cxx?
>
>
> libbcxx is available on Epel 6 and 7

Summary : C++ standard library targeting C++11

Description :
libc++ is a new implementation of the C++ standard library, targeting C++11.

so maybe not necessary any more for 8.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C8 - Register with Red Hat

2020-08-25 Thread Tony Schreiner
On Tue, Aug 25, 2020 at 2:00 PM Carl George  wrote:

> The subscription-manager dnf plugin is disabled by default as part of
> our debranding in both CentOS Linux and CentOS Stream.
>
> c8:
> https://git.centos.org/rpms/subscription-manager/blob/580aca8629536c64577e6a443b9349ecb629cc17/f/SPECS/subscription-manager.spec#_850
> c8s
> <https://git.centos.org/rpms/subscription-manager/blob/580aca8629536c64577e6a443b9349ecb629cc17/f/SPECS/subscription-manager.spec#_850c8s>:
>
> https://git.centos.org/rpms/subscription-manager/blob/603dc4a304e237a71a056f674378ff5113a7f710/f/SPECS/subscription-manager.spec#_855
>
> I don't know what caused it to be enabled on your system, but that is
> the way it currently ships.
>
> On Mon, Aug 17, 2020 at 6:54 PM Tony Schreiner 
> wrote:
> >
>
>
Sorry if I'm changing topic, But I'm curious, what is the use case for
subscription-manager in CentOS?
Tony
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C8 - Register with Red Hat

2020-08-17 Thread Tony Schreiner
On Mon, Aug 17, 2020 at 7:37 PM Gregory P. Ennis  wrote:

> On Mon, 17 Aug 2020 17:49:29 -0500
> Gregory P. Ennis wrote:
>
> > What appears is below.
>
> Removing dependent packages is required.  Removing unused dependencies is
> optional.
>
> dnf remove *subscription* --noautoremove
>
> should remove the dependent packages but keep thee unused dependencies if
> you want them.
>
> There's also a setting in /etc/dnf/dnf.conf to set the default behaviour
> of the autoremove
> function.
>
> Having said that, I don't have any of those packages in your list on my
> system and it's
> working fine.  So removing them (probably) won't break anything.
> --
>
> Frank,
>
> Thanks for the help. I used the -noautoremove switch and the following was
> removed :
>
> abrt-2.10.9-11.el8.x86_64
>
>   abrt-addon-ccpp-2.10.9-11.el8.x86_64
>
>   abrt-addon-kerneloops-2.10.9-11.el8.x86_64
>
>   abrt-addon-pstoreoops-2.10.9-11.el8.x86_64
>
>   abrt-addon-vmcore-2.10.9-11.el8.x86_64
>
>   abrt-addon-xorg-2.10.9-11.el8.x86_64
>   abrt-cli-2.10.9-11.el8.x86_64
>   abrt-dbus-2.10.9-11.el8.x86_64
>   abrt-desktop-2.10.9-11.el8.x86_64
>   abrt-gui-2.10.9-11.el8.x86_64
>   abrt-tui-2.10.9-11.el8.x86_64
>   anaconda-core-29.19.2.17-1.el8.x86_64
>   anaconda-gui-29.19.2.17-1.el8.x86_64
>   anaconda-tui-29.19.2.17-1.el8.x86_64
>   dnf-plugin-subscription-manager-1.26.17-1.el8_2.x86_64
>   initial-setup-0.3.62.1-1.el8.x86_64
>   initial-setup-gui-0.3.62.1-1.el8.x86_64
>   libreport-plugin-ureport-2.9.5-10.el8.x86_64
>   python3-abrt-2.10.9-11.el8.x86_64
>   python3-abrt-addon-2.10.9-11.el8.x86_64
>   python3-subscription-manager-rhsm-1.26.17-1.el8_2.x86_64
>   subscription-manager-1.26.17-1.el8_2.x86_64
>   subscription-manager-initial-setup-addon-1.26.17-1.el8_2.x86_64
>   subscription-manager-rhsm-certificates-1.26.17-1.el8_2.x86_64
>   virt-who-0.27.6-1.el8.noarch
>
> After these were removed the request to register with Red Hat no longer
> appears with 'dnf
> update'
>
> Thanks again
>
> Greg
>
>
You could also just disable the yum subscription-manager plugin by setting
enabled=0
in /etc/yum/pluginconf.d/subscription-manager.conf
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network Interfaces Issue

2020-04-28 Thread Tony Schreiner
On Tue, Apr 28, 2020 at 2:40 PM Jared Jacob  wrote:

> I have two network interfaces configured on a server. I would like both of
> them to be configured to start on boot, but when I enable the second
> interface to start on boot I do not have access to the first network
> interface. The second interface is a private network and does not allow any
> communication our or in from any other interfaces.
>
> I can start the server with the first network interface being the only one
> enabled to start at boot and go in and activate the second interface which
> allows communication on both interfaces, but when they are both enabled to
> start on boot only the private interface can communicate.
>
> I am running Centos 7.7. Thanks in advance for any assistance you can
> provide.
>
> Jared Jacob
>
>
THe private interface configuration might be setting a default route for
itself, which is not what you want. If you are using the NetworkManager
widget to configure, make sure "use this connection only for resources on
this network" is set

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


Re: [CentOS] firefox unable to load pkcs11 module

2020-04-06 Thread Tony Schreiner
On Sun, Apr 5, 2020 at 4:27 PM nschehovin--- via CentOS 
wrote:

>  Hi Tony,
> Have you solved this problem yet?I took another approach and used CACkey
> which supportsUS Government PIV cards including the CAC.  In my case I set
> it up on Linux Mint but there is an rpm version of CACKey for 32 or 64 bit
> Centos.Here is the process I went through.
> - setup CAC card by following instructions on:
> https://help.ubuntu.com/community/CommonAccessCard
> sudo apt-get install libpcsclite1 pcscd pcsc-tools
> - download CACkey from https://cackey.rkeene.org/fossil/index
> sudo dpkg -i cackey_0.7.5-1_amd64.deb
> The above command failed with:
> "dpkg: error processing archive cackey_0.7.5-1_amd64.deb (--install):
>  unable to create '/libcackey.so.dpkg-new' (while processing
> './usr/lib64/libcackey.so'): No such file or directory
> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
> Errors were encountered while processing:
>  cackey_0.7.5-1_amd64.deb"
>
> - as root I created the directory /usr/lib64 and ran the command
> again!!It Worked!!!
> - ran command pcsc_scan and it found my CAC
> - had to manually install the DoD root certificates
> - certificates were manually installed one at a time for both Thunderbird
> and Firefox
> It turned out to be much easier than I thought it would to get my PIV
> working on a Linux machine.
> Hope that helps.Ed
>
>
> On Thursday, April 2, 2020, 1:37:32 PM EDT, Tony Schreiner <
> anthony.schrei...@bc.edu> wrote:
>
>  On Thu, Apr 2, 2020 at 12:47 PM Tony Schreiner 
> wrote:
>
> > CentOS 7, In firefox -> privacy & security -> certificates -> security
> > devices
> > i am trying to load the pkcs11 modules, but get the error  unable to
> load.
> >
> > I am following the directions at
> > https://piv.idmanagement.gov/engineering/firefox/
> >
> > I have installed opensc and openssl-pkcs11, which
> > contains /usr/lib64/openssl/engines/pkcs11.so
> > and am using that is the module
> >
> > Has anybody here done that, and can offer advice?
> >
>
> Answering myself, though not completely solved.
>
> I should have instead been loading /usr/lib64/opensc-pksc11.so
> ___
>
>

I was advising someone at a remote site, so didn't see the full experience.
But once I provided the correct path for the module, he was able to load it
and complete the authentication. Sorry I don't have more details.

But thanks for the info, I'll save it.
Tony
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firefox unable to load pkcs11 module

2020-04-02 Thread Tony Schreiner
On Thu, Apr 2, 2020 at 12:47 PM Tony Schreiner 
wrote:

> CentOS 7, In firefox -> privacy & security -> certificates -> security
> devices
> i am trying to load the pkcs11 modules, but get the error  unable to load.
>
> I am following the directions at
> https://piv.idmanagement.gov/engineering/firefox/
>
> I have installed opensc and openssl-pkcs11, which
> contains /usr/lib64/openssl/engines/pkcs11.so
> and am using that is the module
>
> Has anybody here done that, and can offer advice?
>

Answering myself, though not completely solved.

I should have instead been loading /usr/lib64/opensc-pksc11.so
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] firefox unable to load pkcs11 module

2020-04-02 Thread Tony Schreiner
CentOS 7, In firefox -> privacy & security -> certificates -> security
devices
i am trying to load the pkcs11 modules, but get the error  unable to load.

I am following the directions at
https://piv.idmanagement.gov/engineering/firefox/

I have installed opensc and openssl-pkcs11, which
contains /usr/lib64/openssl/engines/pkcs11.so
and am using that is the module

Has anybody here done that, and can offer advice?

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


Re: [CentOS] lapack

2019-12-31 Thread Tony Schreiner
On Tue, Dec 31, 2019 at 1:24 PM Michael Hennebry <
henne...@web.cs.ndsu.nodak.edu> wrote:

> Has anyone gotten lapack to work on centos 7?
> If so, how?
>
> Most recently, I installed lapace-devel and let yum bring in what it
> wanted.
> Whenever I try to link, I get a long list of undefined references ending
> with
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/liblapacke.so:
> undefined reference to `dgeevx_'
>
> [hennebry@localhost test]$ nm -D /usr/lib64/libblas.so | grep dge
> 00018850 T dgemm_
> 00011080 T dgemv_
> 000170c0 T dger_
> [hennebry@localhost test]$
> confirmes that the reference is not there.
>
> Installing blas or atlas first does not help.
> When installing lapack-devel, yum always wants to install blas-devel.
>
> What do I need?
>
>
> Are you also include -llapack ?

cc -I /usr/include/lapacke  source.c -llapacke -llapack
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Back to Xfce

2018-08-06 Thread Tony Schreiner
On Mon, Aug 6, 2018 at 11:33 AM Robert Moskowitz 
wrote:

>
>
> On 08/06/2018 11:11 AM, Tony Schreiner wrote:
> > On Mon, Aug 6, 2018 at 10:55 AM Robert Moskowitz 
> > wrote:
> >
> >> Nicolas,
> >>
> >> Thank you!  But I am Dyslexic and very mono-linguistic; at least I could
> >> read the actual commands, if not all the wonderful comments...
> >>
> >> On 08/06/2018 10:26 AM, Nicolas Kovacs wrote:
> >>> Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :
> >>>> But notes that this installs Gnome (which I don't want) and that
> >> instead to
> >>>> yum groupinstall “X Window System”
> >>>>
> >>>> But has concerns if this installs all needed followed up with
> >>>>
> >>>> yum groupinstall "Xfce"
> >>>>
> >>>> Thing is on armhfp, I do not have “X Window System” or "Xfce"
> >>> I can partially answer your question, since I'm running Xfce both on my
> >>> workstation and my laptop.
> >> I switched to Xfce with Fedora 20 and have put up with Gnome on my
> >> Centos systems so far.
> >>
> >>> Here's my custom script that installs a full-blow bells-and-whistles
> >>> Xfce desktop from a minimal CentOS installation, without any
> unnecessary
> >>> packages.
> >>>
> >>>
> >>
> https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh
> >>> Once you've installed the "X Window System" group and you invoke "yum
> >>> groupinstall Xfce", the group consists of not much more than a dozen
> >>> explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then
> -
> >>> of course - all the dependencies are installed. Give this a spin on an
> >>> x86_64 machine and then write down this relatively short list.
> >> I don't have an x86_64 machine with Centos on it.  I would have to play
> >> with Qemu VM for centos on this Fedora 28 notebook.  All my servers
> >> (other than the ClearOS one) are ARM.
> >>
> >> The armhfp repos (including epel) do not have either the "X Windows
> >> System" or "Xfce" (and any sub-groups that calls).  So I am asking for
> >> the content of those groups.  Hopefully the source scripts so I can
> >> modify them (as needed) for armhfp.
> >>
> >> It would seem that there is a source file somewhere in the source tree
> >> with the script(s) contents.
> >>
> >> thanks
> >>
> >>
> > In the file
> >
> 5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml
> > from the repodata in the Epel 7 repository there is the following for the
> > Xfce group, is this helpful to you?
>
> Yes!  I can pull out the rpm list and build a file to feed into yum.
>
> Can you point out the URL for all the groups?  I am also going to need
> the "X Windows System" group, I believe (and should compare it to the
> Server GUI group).
>
> Thanks
>
>

The comps file i searched was (for example)

http://fedora-epel.mirror.lstn.net/7/x86_64/repodata/5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml

you can choose any Fedora/Epel mirror

But the "X Window System" group is in CentOS base, look for one of those
mirrors (for example)
http://mirror.atlanticmetro.net/centos/7.5.1804/os/x86_64/repodata/d87379a47bc2060f833000b9cef7f9670195fe197271d37fce5791e669265e8b-c7-x86_64-comps.xml

do
grep ""  your-comps.xml-fil
to see all the names
then page it and search for "X Window System" in your case
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Back to Xfce

2018-08-06 Thread Tony Schreiner
On Mon, Aug 6, 2018 at 10:55 AM Robert Moskowitz 
wrote:

> Nicolas,
>
> Thank you!  But I am Dyslexic and very mono-linguistic; at least I could
> read the actual commands, if not all the wonderful comments...
>
> On 08/06/2018 10:26 AM, Nicolas Kovacs wrote:
> > Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :
> >> But notes that this installs Gnome (which I don't want) and that
> instead to
> >>
> >> yum groupinstall “X Window System”
> >>
> >> But has concerns if this installs all needed followed up with
> >>
> >> yum groupinstall "Xfce"
> >>
> >> Thing is on armhfp, I do not have “X Window System” or "Xfce"
> > I can partially answer your question, since I'm running Xfce both on my
> > workstation and my laptop.
>
> I switched to Xfce with Fedora 20 and have put up with Gnome on my
> Centos systems so far.
>
> > Here's my custom script that installs a full-blow bells-and-whistles
> > Xfce desktop from a minimal CentOS installation, without any unnecessary
> > packages.
> >
> >
> https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh
> >
> > Once you've installed the "X Window System" group and you invoke "yum
> > groupinstall Xfce", the group consists of not much more than a dozen
> > explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then -
> > of course - all the dependencies are installed. Give this a spin on an
> > x86_64 machine and then write down this relatively short list.
>
> I don't have an x86_64 machine with Centos on it.  I would have to play
> with Qemu VM for centos on this Fedora 28 notebook.  All my servers
> (other than the ClearOS one) are ARM.
>
> The armhfp repos (including epel) do not have either the "X Windows
> System" or "Xfce" (and any sub-groups that calls).  So I am asking for
> the content of those groups.  Hopefully the source scripts so I can
> modify them (as needed) for armhfp.
>
> It would seem that there is a source file somewhere in the source tree
> with the script(s) contents.
>
> thanks
>
>
In the file
5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml
from the repodata in the Epel 7 repository there is the following for the
Xfce group, is this helpful to you?



  Thunar

  xfce-utils

  xfce4-panel

  xfce4-session

  xfce4-settings

  xfconf

  xfdesktop

  xfwm4

  NetworkManager-gnome

  gdm

  leafpad

  openssh-askpass

  orage

  polkit-gnome

  thunar-archive-plugin

  thunar-volman

  tumbler

  xfce4-appfinder

  xfce4-icon-theme

  xfce4-power-manager

  xfce4-pulseaudio-plugin

  xfce4-session-engines

  xfce4-terminal

  xfwm4-theme-nodoka

  xfwm4-themes

  pinentry-gtk


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


Re: [CentOS] ssm vs. lvm: moving physical drives and volume group to another system

2018-07-14 Thread Tony Schreiner
On Sat, Jul 14, 2018 at 2:02 PM Mike <1100...@gmail.com> wrote:

> On Sat, Jul 14, 2018 at 1:57 PM Tony Schreiner 
> wrote:
> >
> > >
> > > Is that first entry /dev/mapper/lvol001 right?
> > I'd expect /dev/mapper/lvm_pool-lvo001
>
> ssm list shows -
>
> /dev/lvm_pool/lvol001
>
> When I place /dev/lvm_pool/lvol001 into /etc/fstab the computer will
> boot using kernel 514.
> Kernel 862 still hangs/panics.
>
>
I don't have an answer to why kernel 514 is not booting,
but what I was trying to say is:

/dev/lvm_pool/lvol001
and
/dev/mapper/lvm_pool-lvol001
are both symlinks to the same /dev/dm-X device file.
You can use either name, but the one you listed was missing the volume
group name
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssm vs. lvm: moving physical drives and volume group to another system

2018-07-14 Thread Tony Schreiner
On Sat, Jul 14, 2018 at 1:36 PM Mike <1100...@gmail.com> wrote:

> When I change /etc/fstab from /dev/mapper/lvol001 to
> /dev/lvm_pool/lvol001, kernel 3.10.0-514 will boot.
>
> Kernel 3.10.0-862 hangs and will not boot.
> On Sat, Jul 14, 2018 at 1:20 PM Mike <1100...@gmail.com> wrote:
>
> Is that first entry /dev/mapper/lvol001 right?
I'd expect /dev/mapper/lvm_pool-lvo001
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] R: dplyr, doBy, and ggplot2 in CentOS7

2017-10-30 Thread Tony Schreiner
On Mon, Oct 30, 2017 at 10:27 AM, Larry Martell <larry.mart...@gmail.com>
wrote:

> I have a R script that I am running from python with rpy2. On a debian
> system I run this:
>
> apt-get install R-cran-ggplot2 R-cran-caret
>
> And the script works. I want to move this to CentOS 7 system. There it
> cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what
> packages in CentOS 7 I need for dplyr, doBy, and ggplot2?
>


They are not in the CentOS or epel distros. I have built both dplyr and
ggplot2 for CentOS 6 and 7, using the spec file crated by R2spec (from
epell) and rpmbuild. They both require building several other R packages,
and a bit of tweaking to the %files portion of the spec file, but are
doable. I've never tried doBy or caret.
Feel free to contact me directly for more information,

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


[CentOS] multipath

2017-10-03 Thread Tony Schreiner
I have inherited a system set up with multipath, which is not something I
have seen before so I could use some advice


The system is a Dell R420 with 2 LSI SAS2008 HBAs, 4 internal disks, and a
MD3200 storage array attached via SAS cables. Oh and CentOS 6

lsblk shows the following:
NAMEMAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sdd   8:48   0 931.5G  0 disk
├─sdd18:49   0 931.5G  0 part
└─mpathi (dm-0) 253:00 931.5G  0 mpath
sdc   8:32   0 931.5G  0 disk
├─sdc18:33   0  1000M  0 part  /boot
├─sdc28:34   0  31.3G  0 part  /
├─sdc38:35   0  31.3G  0 part  [SWAP]
├─sdc48:36   0 1K  0 part
├─sdc58:37   0 184.5G  0 part  /home
└─sdc68:38   0 683.6G  0 part  /data01
sde   8:64   0 931.5G  0 disk
├─sde18:65   0 931.5G  0 part
└─mpathj (dm-1) 253:10 931.5G  0 mpath
  └─mpathjp1 (dm-8) 253:80 931.5G  0 part  /data02
sdf   8:80   0 931.5G  0 disk
├─sdf18:81   0 931.5G  0 part
└─mpathk (dm-2) 253:20 931.5G  0 mpath
sda   8:0051T  0 disk
├─sda18:10  12.8T  0 part
├─sda28:20  12.8T  0 part
├─sda38:30  12.8T  0 part
├─sda48:40  12.8T  0 part
└─mpathe (dm-3) 253:3051T  0 mpath
  ├─mpathep1 (dm-4) 253:40  12.8T  0 part  /SAN101
  ├─mpathep2 (dm-5) 253:50  12.8T  0 part  /SAN102
  ├─mpathep3 (dm-6) 253:60  12.8T  0 part  /SAN103
  └─mpathep4 (dm-7) 253:70  12.8T  0 part  /SAN104
sdb   8:16   051T  0 disk
├─sdb18:17   0  12.8T  0 part
├─sdb28:18   0  12.8T  0 part
├─sdb38:19   0  12.8T  0 part
├─sdb48:20   0  12.8T  0 part
└─mpathe (dm-3) 253:3051T  0 mpath
  ├─mpathep1 (dm-4) 253:40  12.8T  0 part  /SAN101
  ├─mpathep2 (dm-5) 253:50  12.8T  0 part  /SAN102
  ├─mpathep3 (dm-6) 253:60  12.8T  0 part  /SAN103
  └─mpathep4 (dm-7) 253:70  12.8T  0 part  /SAN104

sda and sdb are two views of the unit on the MD, sdc is the boot and root
disk, one of the disks sde (mpathj) has a mounted file system, the
remaining two do not.
here is df:
Filesystem   Type   Size  Used Avail Use% Mounted on
/dev/sdc2ext431G   26G  4.0G  87% /
tmpfstmpfs   16G   92K   16G   1% /dev/shm
/dev/sdc1ext4   969M  127M  793M  14% /boot
/dev/sdc6ext4   673G  242G  398G  38% /data01
/dev/mapper/mpathjp1 ext4   917G  196G  676G  23% /data02
/dev/sdc5ext4   182G  169G  3.9G  98% /home
/dev/mapper/mpathep1 ext413T   11T 1005G  92% /SAN101
/dev/mapper/mpathep2 ext413T  5.0T  7.0T  42% /SAN102
/dev/mapper/mpathep3 ext413T  4.9T  7.1T  42% /SAN103
/dev/mapper/mpathep4 ext413T  8.2T  3.8T  69% /SAN104


So a few questions:

Is there any value in using multipath on the 4 internal drives; do they
actually have multiple data paths?

Why does multipath not create a mpath device for the system disk sdc, there
is no blacklist in the mulitpath.conf file.
If I do a dry-run mulitpath -d command, it sets up mpathh on sdc, but
apparently not on boot. Why not?
I should say that the system has not been rebooted since well before I took
it over, it has been up for over 400 days.

the sdd and sdf disks have a single partition, but apparently no mpath
device for the partition, how to I create one?


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


Re: [CentOS] rkhunter and prelink

2017-08-30 Thread Tony Schreiner
in my prior message, that should be in rkhunter.conf

On Wed, Aug 30, 2017 at 11:43 AM, Tony Schreiner <anthony.schrei...@bc.edu>
wrote:

> This has come up for me on the most recent upgrade, add the line
>
> HASH_CMD=sha1sum
>
> On Wed, Aug 30, 2017 at 11:15 AM, <m.r...@5-cent.us> wrote:
>
>> Can't remember if I posted this before... We're getting warnings from
>> rkhunterWarning: Checking for prerequisites   [ Warning ]
>>All file hash checks will be skipped because:
>>This system uses prelinking, but the hash function command does not
>> look like SHA1 or MD5.
>>
>> Now, googling, I find people saying to rm /etc/prelink.cache, then run
>> rkhunter --propupd.
>>
>> Works. And then, prelink runs in the middle of the night, via
>> /etc/cron.daily, and when the cron job of rkhunter runs, it's back to
>> complaining.
>>
>> Anyone have any ideas what's going on here? I don't see anything in the
>> prelink.conf, or any options in the prelink manpage to tell is what hash
>> to use.
>>
>>  mark
>>
>> ___
>> 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] rkhunter and prelink

2017-08-30 Thread Tony Schreiner
This has come up for me on the most recent upgrade, add the line

HASH_CMD=sha1sum

On Wed, Aug 30, 2017 at 11:15 AM,  wrote:

> Can't remember if I posted this before... We're getting warnings from
> rkhunterWarning: Checking for prerequisites   [ Warning ]
>All file hash checks will be skipped because:
>This system uses prelinking, but the hash function command does not
> look like SHA1 or MD5.
>
> Now, googling, I find people saying to rm /etc/prelink.cache, then run
> rkhunter --propupd.
>
> Works. And then, prelink runs in the middle of the night, via
> /etc/cron.daily, and when the cron job of rkhunter runs, it's back to
> complaining.
>
> Anyone have any ideas what's going on here? I don't see anything in the
> prelink.conf, or any options in the prelink manpage to tell is what hash
> to use.
>
>  mark
>
> ___
> 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] koji in extras older than epel

2017-01-20 Thread Tony Schreiner
Now that EPEL 7 has koji-1.11, should the one in CentOS 7 extras be updated
or removed?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing Dependency python-yubico

2017-01-10 Thread Tony Schreiner
On Tue, Jan 10, 2017 at 3:17 PM, Mark LaPierre <marklap...@gmail.com> wrote:

> On 01/10/17 13:12, Tony Schreiner wrote:
> > On Tue, Jan 10, 2017 at 11:12 AM, Mark LaPierre <marklap...@gmail.com>
> > wrote:
> >
> >> Hey all, I'm trying to install the fedora-packager group so that I can
> >> build Fedora source packages into RPMs that I can install.  I'm getting
> >> this error:
> >>
> >> Error: Package: fedora-packager-0.6.0.1-1.el6.noarch (epel)
> >>Requires: python-yubico
> >> 
> >> [root@peach ~]# yum install python-yubico
> >> 
> >> No package python-yubico available.
> >>
> >>
> >> Do you suppose that maybe this is a typo where python-yubico was typed
> >> instead of python-yubikey?  When I google for python-yubico Google
> >> suggests python-yubikey instead.  But maybe not!  RPM Search turns up
> >> python-yubico packages for Fedora 2[234] for x86_64, and CentOS 7.3 for
> >> x86_64 and finds no hits for python-yubikey.  Maybe the fedora-packager
> >> group only works on CentOS 7?
> >>
> >> I'm so confused ;-)
> >>
> >> Does anyone have a suggestion for how I can solve this issue?  Is there
> >> another way to build source packages into RPM packages that I can
> install?
> >>
> >> CentOS release 6.8 (Final)
> >>
> >> Linux peach.patch 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05
> >> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> --
> >> _
> >>°v°
> >>   /(_)\
> >>^ ^  Mark LaPierre
> >> Registered Linux user No #267004
> >> https://linuxcounter.net/
> >> 
> >>
> >
> > This is more properly an EPEL question. But I am having the same issue.
> >
> > There seems to have been a small rash of package releases on EPEL 6 that
> > have requirements only satisfied by RHEL 7 and friends.
> >
> > I have to ask though. If you just want to rebuild Fedora RPMs for your
> > Centos, you do not need fedora-packager, you just need rpmbuild (in
> > rpm-build).
> >
> > Tony Schreiner
>
> Thanks Tony,  I'll see if I can figure out how to build RPM packages
> from source packages without fedora-packager.  I hope there's not a crap
> load of black art and fringe science involved.
>
>
> --
> _
>°v°
>   /(_)\
>^ ^  Mark LaPierre
> Registered Linux user No #267004
> https://linuxcounter.net/
> 
> ___
>



> Mark
> See this
>


> https://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
>
> More properly, you should use mock, but I often just stick with rpmbuild
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing Dependency python-yubico

2017-01-10 Thread Tony Schreiner
On Tue, Jan 10, 2017 at 11:12 AM, Mark LaPierre <marklap...@gmail.com>
wrote:

> Hey all, I'm trying to install the fedora-packager group so that I can
> build Fedora source packages into RPMs that I can install.  I'm getting
> this error:
>
> Error: Package: fedora-packager-0.6.0.1-1.el6.noarch (epel)
>Requires: python-yubico
> 
> [root@peach ~]# yum install python-yubico
> 
> No package python-yubico available.
>
>
> Do you suppose that maybe this is a typo where python-yubico was typed
> instead of python-yubikey?  When I google for python-yubico Google
> suggests python-yubikey instead.  But maybe not!  RPM Search turns up
> python-yubico packages for Fedora 2[234] for x86_64, and CentOS 7.3 for
> x86_64 and finds no hits for python-yubikey.  Maybe the fedora-packager
> group only works on CentOS 7?
>
> I'm so confused ;-)
>
> Does anyone have a suggestion for how I can solve this issue?  Is there
> another way to build source packages into RPM packages that I can install?
>
> CentOS release 6.8 (Final)
>
> Linux peach.patch 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05
> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
> --
> _
>°v°
>   /(_)\
>^ ^  Mark LaPierre
> Registered Linux user No #267004
> https://linuxcounter.net/
> 
>

This is more properly an EPEL question. But I am having the same issue.

There seems to have been a small rash of package releases on EPEL 6 that
have requirements only satisfied by RHEL 7 and friends.

I have to ask though. If you just want to rebuild Fedora RPMs for your
Centos, you do not need fedora-packager, you just need rpmbuild (in
rpm-build).

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


Re: [CentOS] Strange (?) device.map in CentOS 7 VM installations

2017-01-05 Thread Tony Schreiner
Also seeing duplicates on a CentOS 7 kvm vm

# this device map was generated by anaconda
(hd0)  /dev/vda
(hd1)  /dev/vda

On Thu, Jan 5, 2017 at 12:32 PM, Mike - st257 
wrote:

> On Thu, Jan 5, 2017 at 4:04 AM, Nikolaos Milas  wrote:
>
> > On 4/1/2017 7:37 μμ, Gordon Messmer wrote:
> >
> > I don't see that on VMs that I manage.  Some of the physical machines
> that
> >> I manage do have duplicates in the device.map.
> >>
> >
> > Thank you Gordon for your feedback!
> >
> > Can others please report the content of /boot/grub2/device.map on their
> > CentOS 7 (physical or virtual) installations?
> >
>
> On my CentOS7 installs I find dups too.
>
> Physical
> # this device map was generated by anaconda
> (hd0)  /dev/sda
> (hd1)  /dev/sda
>
> Virtual (KVM VM)
> # this device map was generated by anaconda
> (hd0)  /dev/vda
> (hd1)  /dev/vda
>
> --
> ---~~.~~---
> Mike
> //  SilverTip257  //
> ___
> 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] Virtualization Networking

2016-10-05 Thread Tony Schreiner
On Tue, Oct 4, 2016 at 1:15 PM, Gordon Messmer 
wrote:

> On 10/04/2016 03:24 AM, Leon Fauster wrote:
>
>> This can be accomplished by just this (generates ifcfg files etc):
>>
>> # virsh iface-bridge eth0 br0
>>
>
>
> Brilliant!  I'm not sure why I haven't noticed that in the docs, before.
> I've definitely been to the page where Red Hat documents it...   Thanks.
>
>
Does this also work if the bridge target is a bonded pair?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install Mariadb on Centos 7 fails

2016-09-23 Thread Tony Schreiner
Is your /etc/my.cnf left over from before, is there anything about the
location of the log file?

On Thu, Sep 22, 2016 at 9:07 PM, david  wrote:

> Folks
>
> I'm having problems installing Mariadb in Centos 7.
>
>
> Here's what I did:
>
> 0)  Become root
> 1)  Make sure that mariadb and mysql are NOT installed.
> 2)  Delete residual libs
>  rm -rf /var/lib/mysq*
> 3)  yum install -y mariadb-server
> installed mariadb-5.5.50-1.el7_2.x86_64 from the Centos 'updates'
> repository
> 4)  systemctl start mariadb
> 5)  systemctl status mariadb
>
> All works well until step 5, where I get the result:
>
>
>
> # systemctl status mariadb
> ? mariadb.service - MariaDB database server
>Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled;
> vendor preset: disabled)
>Active: failed (Result: exit-code) since Thu 2016-09-22 17:46:38 PDT;
> 4min 3s ago
>  Main PID: 16261 (code=exited, status=1/FAILURE)
>
> Sep 22 17:46:37 goat.xxx.com mysqld_safe[16261]: /usr/bin/mysqld_safe:
> line 139: /var/log/mysqld.log: Permission denied
> Sep 22 17:46:37 goat.xxx.com mysqld_safe[16261]: /usr/bin/mysqld_safe:
> line 183: /var/log/mysqld.log: Permission denied
> Sep 22 17:46:37 goat.xxx.com mysqld_safe[16261]: touch: cannot touch
> `/var/log/mysqld.log': Permission denied
> Sep 22 17:46:37 goat.xxx.com mysqld_safe[16261]: chown: cannot access
> `/var/log/mysqld.log': No such file or directory
> Sep 22 17:46:37 goat.xxx.com mysqld_safe[16261]: chmod: cannot access
> `/var/log/mysqld.log': No such file or directory
> Sep 22 17:46:37 goat.xxx.com systemd[1]: mariadb.service: main process
> exited, code=exited, status=1/FAILURE
> Sep 22 17:46:38 goat.xxx.com systemd[1]: mariadb.service: control process
> exited, code=exited status=1
> Sep 22 17:46:38 goat.xxx.com systemd[1]: Failed to start MariaDB database
> server.
> Sep 22 17:46:38 goat.xxx.com systemd[1]: Unit mariadb.service entered
> failed state.
> Sep 22 17:46:38 goat.xxx.com systemd[1]: mariadb.service failed.
> Hint: Some lines were ellipsized, use -l to show in full.
> [root@goat ~]#
>
> My environment is a Centos 7 installation running as a VM inside Vmware,
> and is not a production system.  It is updated nightly.
>
> When I examined the files alluded to,
>
>   /var/log/mysqld.log
>  does not exist
> but
>   /var/log/mariadb/mariadb.log
>  exists and is empty.
>
> Adivce would be appreciated
>
> Thanks
>
> David
>
>
>
> ___
> 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] yum timeout ... (CentOS 6.8)

2016-06-16 Thread Tony Schreiner
I note that duke.edu matches uk, and unl.edu matches nl.

Maybe they are regular expressions,
i just tried with

#include_ony=\.nl,\.de

and got less surprising results



On Thu, Jun 16, 2016 at 3:50 PM, Walter H. 
wrote:

> On 16.06.2016 21:39, Ned Slider wrote:
>
>>
>> On 16/06/16 19:41, Walter H. wrote:
>>
>>> On 16.06.2016 19:40, Frank Cox wrote:
>>>
 On Thu, 16 Jun 2016 19:34:09 +0200
 Walter H. wrote:
 yum -disableplugin=fastestmirror nowseewhathappens.


 yes this goes fast, no timeout;
>>> can I configure this in /etc/yum.conf?
>>>
>>>
>> The correct way to disable a yum plugin is to set enabled to zero in the
>> plugin config file:
>>
>> /etc/yum/pluginconf.d/fastestmirror.conf
>>
> ok I did this, and then did some yum install - works without timeout
> where could I tell yum to use existing mirrors in my near instead of one
> on the other side of the world?
>
> in this config I saw remarked the following:
>
> #include_only=.nl,.de,.uk,.ie
>
> when I set enabled=1 and removed the #-comment on this line
> 'yum list kernel'
> shows this:
>
> Loaded plugins: fastestmirror, security
> Determining fastest mirrors
> epel/metalink
>   | 8.6 kB 00:00
>  * base: ftp.usf.edu
> Including mirror: archive.linux.duke.edu
> Including mirror: mirror.unl.edu
>  * epel: archive.linux.duke.edu
>  * extras: ftp.usf.edu
>  * updates: ftp.usf.edu
>
> I'm from Europe(!)
>
> Thanks,
> Walter
>
>
> ___
> 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] boost-openmpi problems in 7.2

2015-12-21 Thread Tony Schreiner
On Mon, Dec 21, 2015 at 12:50 PM, Pete Biggs <p...@biggs.org.uk> wrote:

> Sorry to take so long to reply ...
>
> On Thu, 2015-12-17 at 11:53 -0500, Tony Schreiner wrote:
> > Did you load the compat-openmpi environment module?
> >
> > module load mpi/compat-openmpi16-x86_64
>
> Yes, but you can't load both mpi/openmpi-x86_64 and mpi/compat-
> openmpi16-x86_64 as they are labelled as conflicting.
>
> As I said, if you load just mpi/compat-openmpi16-x86_64 it can't find
> the boost-openmpi library; if you load just mpi/openmpi-x86_64 it can't
> find the correct libmpi version.
>
> P.
>
>
> Your're right, I only tried

ldd /usr/lib64/openmpi/lib/libboost_mpi-mt.so.1.53.0

after loading the module, did not think to see if libboost_mpi itself would
be found.

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


Re: [CentOS] boost-openmpi problems in 7.2

2015-12-17 Thread Tony Schreiner
Did you load the compat-openmpi environment module?

module load mpi/compat-openmpi16-x86_64


Tony

On Thu, Dec 17, 2015 at 10:57 AM, Pete Biggs  wrote:

>
> After the 7.2 upgrade boost-openmpi-1.53.0-25 was installed, along
> with openmpi-1.10.0-10.  The old openmpi was then replaced with compat-
> openmpi16-1.6.4-10.  All fine.
>
> Except boost-openmpi has a dependency on the old libmpi.so.1 and the
> new openmpi has libmpi.so.12:
>
>   # ldd libboost_mpi-mt.so.1.53.0
> linux-vdso.so.1 =>  (0x7ffe8c182000)
> libboost_serialization-mt.so.1.53.0 =>
> /lib64/libboost_serialization-mt.so.1.53.0 (0x7f39da4d2000)
> libmpi.so.1 => not found
> libmpi_cxx.so.1 => /usr/lib64/openmpi/lib/libmpi_cxx.so.1
> (0x7f39da2b6000)
> librt.so.1 => /lib64/librt.so.1 (0x7f39da0ae000)
> libstdc++.so.6 => /lib64/libstdc++.so.6 (0x7f39d9da5000)
> libm.so.6 => /lib64/libm.so.6 (0x7f39d9aa3000)
> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x7f39d988d000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x7f39d967)
> libc.so.6 => /lib64/libc.so.6 (0x7f39d92af000)
> libmpi.so.12 => /usr/lib64/openmpi/lib/libmpi.so.12
> (0x7f39d8fcc000)
> libopen-rte.so.12 => /usr/lib64/openmpi/lib/libopen-rte.so.12
> (0x7f39d8d4f000)
> libopen-pal.so.13 => /usr/lib64/openmpi/lib/libopen-pal.so.13
> (0x7f39d8aac000)
> libdl.so.2 => /lib64/libdl.so.2 (0x7f39d88a8000)
> libutil.so.1 => /lib64/libutil.so.1 (0x7f39d86a4000)
> libhwloc.so.5 => /lib64/libhwloc.so.5 (0x7f39d8476000)
> /lib64/ld-linux-x86-64.so.2 (0x7f39da987000)
> libnuma.so.1 => /lib64/libnuma.so.1 (0x7f39d8269000)
> libpciaccess.so.0 => /lib64/libpciaccess.so.0 (0x7f39d805f000)
> libxml2.so.2 => /lib64/libxml2.so.2 (0x7f39d7cf6000)
> libz.so.1 => /lib64/libz.so.1 (0x7f39d7adf000)
> liblzma.so.5 => /lib64/liblzma.so.5 (0x7f39d78ba000)
>
> We have tried switching to using compat-openmpi - but then the programs
> don't find the boost library.
>
> There are other ways around it (setting the LD_LIBRARY_PATH variable or
> putting in symlinks so things are found), but they seem to throw
> segfaults with the code.
>
> Presumably this is just a packaging/compiling error - is there anyway
> to trigger an update for the boost-openmpi package?
>
> Pete
> ___
> 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] use pssh to restart a service

2015-10-31 Thread Tony Schreiner
On Sat, Oct 31, 2015 at 5:04 PM, Tim Dunphy  wrote:

> Hi all,
>
>  I need to restart a service on a few elasticsearch nodes. I'm trying to do
> it with pssh.
>
>  I'm getting this error when I try to do that:
>
> pssh -h es_list   "/bin/sudo -S /bin/systemctl restart elasticsearch"
> [1] 17:01:50 [FAILURE] bluethu...@es2.example.com Exited with error code 1
> [2] 17:01:51 [FAILURE] bluethu...@es3.example.com Exited with error code 1
> [3] 17:01:51 [FAILURE] bluethu...@es1.example.com Exited with error code 1
>
> I have to sudo up from my user account as root logins are disallowed.
>
> However a simple 'echo hello' command that doesn't require sudo works fine:
>
> #pssh -h es_list   "/bin/echo hello"
> [1] 17:00:40 [SUCCESS] bluethu...@es1.example.com
> [2] 17:00:41 [SUCCESS] bluethu...@es3.example.com
> [3] 17:00:41 [SUCCESS] bluethu...@es2.example.com
>
> What am I doing wrong?
>
> Thanks,
> Tim
>
>
Have you tried running the command from a conventional login?

sudo -S
expects a password from stdin, where is that being supplied?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] httpd userdir problem

2015-09-25 Thread Tony Schreiner
also if selinux is enabled, the boolean httpd_enable_homedirs should be set

On Fri, Sep 25, 2015 at 1:11 PM, Richard Mann  wrote:

> Look in /etc/httpd/conf.d/  for userdir.conf.
>
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Timothy Murphy
> Sent: Friday, September 25, 2015 1:04 PM
> To: centos@centos.org
> Subject: Re: [CentOS] httpd userdir problem
>
> Timothy Murphy wrote:
>
> > I'm running httpd-2.4.6-31.el7.centos.1.x86_64
> > under CentOS-7 (kernel 3.10.0-229.14.1.el7.x86_64).
> >
> > I cannot get the httpd userdir facility working;
> > when I try to access localhost/Menloe I get the message
> > "You don't have permission to access /Menloe on this server."
>
> Incidentally, httpd -l returns
> Compiled in modules:
>   core.c
>   mod_so.c
>   http_core.c
>
> But when I add
>   LoadModule userdir_module modules/mod_userdir.so
> to /etc/httpd/conf/httpd.conf and restart httpd I get the message
> "AH01574: module userdir_module is already loaded, skipping"
>
> I notice that under Apache 2.2 there were a dozen or more
> LoadModule commands in httpd.conf
> but they no longer appear there in Apache 2.4 .
>
> --
> Timothy Murphy
> gayleard /at/ eircom.net
> School of Mathematics, Trinity College, Dublin
>
>
> ___
> 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] Backups solution from WinDoze to linux

2015-07-14 Thread Tony Schreiner
backuppc  does support pre- and post- backup scripts, so it is possible to
implement backing up from vss. I've never done it, but there examples can
be found

On Tue, Jul 14, 2015 at 1:49 PM, Gordon Messmer gordon.mess...@gmail.com
wrote:

 On 07/14/2015 07:17 AM, m.r...@5-cent.us wrote:

 My manager just tasked me at looking at this, for one team we're
 supporting. Now, he'd been thinking of bacula, but I see their Windows
 binaries are now not-free, so I'm looking around. IIRC, Les thinks highly
 of backuppc; comments on that, or other packaged solutions?


 I would strongly recommend a product that supports VSS.  Bacula does, and
 Veeam does as far as I can tell (mentioned by Tom). BackupPC does not.
 Without snapshots (VSS), you may back up inconsistent data, and you'll miss
 backups of open files.

 ___
 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] creating RPMs from CRAN tarballs

2015-06-05 Thread Tony Schreiner
On Fri, Jun 5, 2015 at 3:09 AM, Peter pe...@pajamian.dhs.org wrote:

 On 06/04/2015 07:49 AM, Tony Schreiner wrote:
  I run R2spec -s tarball  to create a spec file, and most of the time it
  works ok, but sometimes (RPostgresSQL, Rcpp for example) the package has
  test or example programs that  start with
 
  #!/usr/bin/r
 
  with lower case r, and the resulting package then winds up with a
  dependency on /usr/bin/r, which can't be resolved.
 
  So far I have solved it by editing all the files and replacing with
  /usr/bin/R, recreating the tarball and going through the process again,
 but
  I have to believe there is an easier way.

 Kind of.  This is an obvious error in the packaged scripts in the
 tarballs.  I generally don't recommend modifying the original tarball as
 I like it to be a true representation of the tarball source that you get
 from upstream.  What I do instead is patch it in the spec file.

 In this case it would probably be easier to do one line of perl or awk
 that patches the shebang line in all the scripts at build time than it
 would be to generate individual patch files for each source tarball.
 You would add this to the %prep stage of the spec files, something like
 this after the initial %setup macro:

 perl -pi -e 's:^#!/usr/bin/r:#!/usr/bin/R: unless $i++'
 path/to/R/scripts/*.R


 Peter
 ___


Peter and Leon

The  %define __find_requires %{nil}  sounds too disruptive. I'll look at
scripting the corrections.

Maybe I will request at EPEL to see they would consider making a link to
/usr/bin/r. However I checked a Debian installation, and it's not there
either. So I don't know what the creators of the CRAN package are targeting.

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


Re: [CentOS] creating RPMs from CRAN tarballs

2015-06-04 Thread Tony Schreiner
Thanks for the suggestion, but after putting that at the top of the spec
and running rpmbuild, I still get

Resolving Dependencies

-- Running transaction check

--- Package R-RPostgreSQL.x86_64 0:0.4-1.el6 will be installed

-- Processing Dependency: /usr/bin/r for package:
R-RPostgreSQL-0.4-1.el6.x86_64

-- Processing Dependency: /usr/bin/r for package:
R-RPostgreSQL-0.4-1.el6.x86_64

-- Finished Dependency ResolutionError: Package:
R-RPostgreSQL-0.4-1.el6.x86_64 (/R-RPostgreSQL-0.4-1.el6.x86_64)

   Requires: /usr/bin/r

when trying to install the resulting RPM

and

$ rpm -qp --requires ../RPMS/x86_64/R-RPostgreSQL-0.4-1.el6.x86_64.rpm

/bin/bash

/usr/bin/env

/usr/bin/r

R-DBI

R-methods

libR.so()(64bit)

libc.so.6()(64bit)

libc.so.6(GLIBC_2.2.5)(64bit)

libc.so.6(GLIBC_2.3)(64bit)

libc.so.6(GLIBC_2.3.4)(64bit)

libc.so.6(GLIBC_2.4)(64bit)

libpq.so.5()(64bit)

rpmlib(CompressedFileNames) = 3.0.4-1

rpmlib(FileDigests) = 4.6.0-1

rpmlib(PayloadFilesHavePrefix) = 4.0-1

rtld(GNU_HASH)

rpmlib(PayloadIsXz) = 5.2-1

On Thu, Jun 4, 2015 at 5:47 AM, Leon Fauster leonfaus...@googlemail.com
wrote:

 Am 03.06.2015 um 21:49 schrieb Tony Schreiner anthony.schrei...@bc.edu:
  I run R2spec -s tarball  to create a spec file, and most of the time it
  works ok, but sometimes (RPostgresSQL, Rcpp for example) the package has
  test or example programs that  start with
 
  #!/usr/bin/r
 
  with lower case r, and the resulting package then winds up with a
  dependency on /usr/bin/r, which can't be resolved.
 
  So far I have solved it by editing all the files and replacing with
  /usr/bin/R, recreating the tarball and going through the process again,
 but
  I have to believe there is an easier way.
 
  Is there a option to not create the dependency?


 can't test it here right now - but try adding
 following line at the top of your spec file:

 %define __os_install_post %{nil}

 --
 LF
 ___
 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] creating RPMs from CRAN tarballs

2015-06-03 Thread Tony Schreiner
If I may add

The created spec file does not list the dependency on /usr/bin/r, something
in rpmbuild creates it.

On Wed, Jun 3, 2015 at 3:49 PM, Tony Schreiner anthony.schrei...@bc.edu
wrote:

 This is not specifically a CentOS question, but I  am creating RPMS for
 CentOS 6 from some CRAN tarballs.

 I run R2spec -s tarball  to create a spec file, and most of the time it
 works ok, but sometimes (RPostgresSQL, Rcpp for example) the package has
 test or example programs that  start with

 #!/usr/bin/r

 with lower case r, and the resulting package then winds up with a
 dependency on /usr/bin/r, which can't be resolved.

 So far I have solved it by editing all the files and replacing with
 /usr/bin/R, recreating the tarball and going through the process again, but
 I have to believe there is an easier way.

 Is there a option to not create the dependency?

 Thanks
 Tony Schreiner

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


[CentOS] creating RPMs from CRAN tarballs

2015-06-03 Thread Tony Schreiner
This is not specifically a CentOS question, but I  am creating RPMS for
CentOS 6 from some CRAN tarballs.

I run R2spec -s tarball  to create a spec file, and most of the time it
works ok, but sometimes (RPostgresSQL, Rcpp for example) the package has
test or example programs that  start with

#!/usr/bin/r

with lower case r, and the resulting package then winds up with a
dependency on /usr/bin/r, which can't be resolved.

So far I have solved it by editing all the files and replacing with
/usr/bin/R, recreating the tarball and going through the process again, but
I have to believe there is an easier way.

Is there a option to not create the dependency?

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


Re: [CentOS] EPEL no php-pear package?

2015-04-08 Thread Tony Schreiner
php-pear is in CentOS base

On Wed, Apr 8, 2015 at 11:50 AM, James B. Byrne byrn...@harte-lyne.ca
wrote:

 Does anyone know what package provides the pear utility for php on
 CentOS?

 I tried installing a php-pear module from epel and got this error:

 Resolving Dependencies
 -- Running transaction check
 --- Package php-pear-DB.noarch 0:1.7.13-3.el6 will be installed
 -- Processing Dependency: php-pear(PEAR) for package:
 php-pear-DB-1.7.13-3.el6.noarch
 -- Processing Dependency: /usr/bin/pear for package:
 php-pear-DB-1.7.13-3.el6.noarch
 -- Processing Dependency: /usr/bin/pear for package:
 php-pear-DB-1.7.13-3.el6.noarch
 -- Processing Dependency: /usr/bin/pear for package:
 php-pear-DB-1.7.13-3.el6.noarch
 -- Processing Dependency: /usr/bin/pear for package:
 php-pear-DB-1.7.13-3.el6.noarch
 -- Finished Dependency Resolution
 Error: Package: php-pear-DB-1.7.13-3.el6.noarch (epel)
Requires: /usr/bin/pear
 Error: Package: php-pear-DB-1.7.13-3.el6.noarch (epel)
Requires: php-pear(PEAR)
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest

 Thanks,

 --
 ***  E-Mail is NOT a SECURE channel  ***
 James B. Byrnemailto:byrn...@harte-lyne.ca
 Harte  Lyne Limited  http://www.harte-lyne.ca
 9 Brockley Drive  vox: +1 905 561 1241
 Hamilton, Ontario fax: +1 905 561 0757
 Canada  L8E 3C3

 ___
 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] Pre-packaged Python 2.7 for 32-bit CentOS 6?

2014-12-15 Thread Tony Schreiner
There's IUS

http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/repoview/



On Mon, Dec 15, 2014 at 9:42 AM, Alfred von Campe alf...@von-campe.com
wrote:

 Either this doesn’t exist or my Google-foo is failing me this morning. I
 keep coming across the Software Collections Repository (
 http://wiki.centos.org/AdditionalResources/Repositories/SCL), but that is
 for 64-bit only.

 Before I attempt to create Python-2.7 RPMs for 32-bit CentOS 6 to install
 into /usr/local or /opt/python-2.7, I wonder if someone else has done this
 so I don’t have to re-invent the wheel.

 Thanks,
 Alfred

 ___
 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] Help with at Bash script

2014-12-02 Thread Tony Schreiner
On Tue, Dec 2, 2014 at 2:19 PM, Alexander Dalloz ad+li...@uni-x.org wrote:

 Am 02.12.2014 um 19:05 schrieb James B. Byrne:

 I am attempting to get a script borrowed from DJB to work on my CentOS-6.6
 box.  Simplified it looks like this:

 tcpdump -l -n -e port 53 \
| awk '{if ($14 ~ /A.*?/) print $15}' \
| while read domain ; do echo $domain ; done ;

 The sticking point is the 'while read' construct.  Run just as 'tcpdum |
 awk'
 I get this:

 english.stackexchange.com.
 www.urbandictionary.com.
 www.urbandictionary.com.
 www.urbandictionary.com.
 www.urbandictionary.com.
 api.mywot.com.
 a.udimg.com.
 a.udimg.com.
 fonts.googleapis.com.
 . . .

 Run with the 'while read $domain ; do echo ' pipe nothing appears
 whatsoever.
 What am I doing wrong?


 while read domain; do
 echo ${domain}
 done  (tcpdump -l -n -e port 53 | awk '{if ($14 ~ /A.*?/) print $15}')

 The echo ${domain} part is certainly just a simplification of a more
 complex command to run on the variable. Else it would be pointless as awk
 is printing out the domain field 15.

 Alexander



If not a typo in the message, your mistake, and I do it all the time, is
using

while read $domain

instead of

while read domain

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


Re: [CentOS] CentOs 7.0 and reboot failure

2014-11-23 Thread Tony Schreiner
if you look in /lib/systemd/system

runlevel1.target is a link to rescue.target

I think the command is

systemctl isolate rescue.target

(or runlevel1.target if you prefer)



On Sun, Nov 23, 2014 at 3:15 PM, Frank Cox thea...@melvilletheatre.com
wrote:

 On Sun, 23 Nov 2014 12:02:17 -0800
 Edward M wrote:

   Centos 7 runs systemd

 This actually bring up an interesting question that I've not yet seen an
 answer to:

 What is the equivalent of runlevel 1 on Centos 7 and how do you get there?

 --
 MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
 ___
 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] CentOs 7.0 and reboot failure

2014-11-23 Thread Tony Schreiner
haven't actually done it but I'm pretty sure you can still add 1 to the
grub2 vmlinuz line

documentation also suggests
 systemd.unit=rescue.target

On Sun, Nov 23, 2014 at 3:53 PM, Frank Cox thea...@melvilletheatre.com
wrote:

 On Sun, 23 Nov 2014 15:46:59 -0500
 Tony Schreiner wrote:

  if you look in /lib/systemd/system
 
  runlevel1.target is a link to rescue.target
 
  I think the command is
 
  systemctl isolate rescue.target
 
  (or runlevel1.target if you prefer)

 How would you get there from the grub commandline?

 --
 MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
 ___
 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] Apache server-status file not found

2014-11-04 Thread Tony Schreiner
working for me. Did you restart httpd ?

On Tue, Nov 4, 2014 at 11:06 AM, Tim Dunphy bluethu...@gmail.com wrote:

 Hi All,

  I tried enabling server-status on this one server. I used the same
 server-status definition that we normally do around here. It usually works.
 But this time it isn't.

 What happens is that when I do a GET on server-status and the IP, it
 results in a file not found error.


 [root@224432-27 apache2]# GET http://$(hostname -i)/server-status
 !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
 htmlhead
 title404 Not Found/title
 /headbody
 h1Not Found/h1
 pThe requested URL /server-status was not found on this server./p
 /body/html

 Yet in the main apache httpd.conf file I have the following:

 ExtendedStatus On

 #Mod_status config
 Location /server-status
 SetHandler server-status
 Order allow,deny
 Allow from all
 /Location


 I'm planning on tightening this up with allowing only from certain IPs once
 I get this working.

 But does anyone have any idea why this could be failing?

 Thanks
 Tim

 --
 GPG me!!

 gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
 ___
 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] CentOS Update

2014-09-26 Thread Tony Schreiner
On Fri, Sep 26, 2014 at 5:09 AM, Jake Shipton jak...@fedoraproject.org
wrote:

 On 26/09/14 09:44, Gökhan Öztürk wrote:
  Hello. Previously debian, ubuntu, opensuse, I've used. But I'm new to
 CentOS
  too. I do not install desktop environment. Servers want to learn. I can
 not
  update the system. I could not so I researched. I give the following
 command
  . yum update. I get the error. I'm working on a virtual machine. (I do
  not know English. Translation I wrote using.)
 
 
One of the configured repositories failed (hand),
snip
 
  Connot find a valid baseurl for repo: base / 7x86_64
 
 
 
  vi with CentOS-Base.repo, CentOS-Debuginfo.repo, CentOS-Vault.repo,
 CentOS
  -Sources.repo files enabled = 1 line as I did. But soft repolist all
  command when I type status = 0 is displayed.

 Hi,

 Sounds to me like the repository files have been altered which is
 causing these errors.

 You could try yum clean all; yum update --disablerepo=*hand* just to
 see if you can get any sort of updates.

 If not, it sounds like your repository files have been modified in some
 way.

 Check your repository files, each repository should have a line similar
 to this:

 mirrorlist=
 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=os

 If this line is present, but different (Excluding the repo= part), for
 example pointing at a non-centos domain and location it would mean that
 they have been modified which is causing these errors you are receiving.



Unless the OP mis-typed

base/7x86_64 is incorrect

it should be

base/7/x86_64



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


Re: [CentOS] Cemtos 7 : Systemd alternatives ?

2014-07-08 Thread Tony Schreiner
On Tue, Jul 8, 2014 at 10:49 AM, Russell Miller duskg...@gmail.com wrote:


 On Jul 8, 2014, at 5:09 AM, Dennis Jacobfeuerborn denni...@conversis.de
 wrote:
 
  That presumes that your conservative attitude is the majority opinion
  though. Systemd is one of the features that I have been looking forward
  to in CentOS 7 because of the new capabilities it provides so while this
  will surely drive some people away it will actually attract others and
  if you think that this will lead to some sort of great exodus then I
  think you are mistaken. Not everybody is this uncomfortable with change.
 
 For the record, I'm not uncomfortable with change.  I'm uncomfortable with
 stupid,
 poorly thought out, monolithic change that ignores half a century of the
 UNIX philosophy.
 And creating a daemon that tries to handle everything but the kitchen sink
 and implementing
 it in such a way as to make it nearly incomprehensible to me certainly
 qualifies
 as that type of change.

 Sysvinit may not be perfect, but it's UNIX.  Systemd is...  a lot of
 things, but more
 of a windows-like solution than Im comfortable with.  It's just dumb.
  Surely there could
 have been a better way of accomplishing their goals without creating the
 equivalent of
 Cartman's Trapper Keeper.

 And yea, I'm kind of an old white guy (is 38 old?)  The guy who called
 that out as
 a negative is not helping his cause with me.  This old white guy has been
 doing Linux
 administration when some people on this list were pulling the hair of
 girls they liked
 and eating bugs.

 (and if that was yesterday, I don't want to hear about it. :))

 --Russell

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



What's Windows-ish about it? It's all text files; easily available to look
at.
And Solaris with SMF went in this direction many years ago.

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


[CentOS] CentOS 6 kernel 2.6.32-279 won't boot on ABIT AB9

2013-10-24 Thread Tony Schreiner
I was trying to install CentOS 6.4 a workstation with an Abit AB9 motherboard 
on a machine that had been running 5.9

Installation completed, but upon boot, it hangs hard after

acpiphp: ACPI Hot Plug PCI Controller Driver version 0.5
ipmi message handler version 39.2
 …  then 3 attempts to locate an ipmi interface at different addresses ...
Refined TSC clocksource calibration: 2175.999 MHz
switching to clocksource TSC

Googling a bit, finds a few references to similar issues on gentoo and at lkml. 
There was a suggestion to boot with
clocksource=acpi_pm
but for me that hangs at the same location (minus the switching clock source 
message)

 I have updated the motherboard BIOS to latest.

I had used the the 6.3 net installer disk (and the 6.4 repo) which I noticed 
had kernel 2.6.32-279, so I retrieved that kernel from the vault and it works.

The  279 and earlier kernels don't display any ipmi messages during boot (in 
dmesg)
The system is not ipmi capable I don't believe, should I be looking there?

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


Re: [CentOS] CentOS 6 kernel 2.6.32-279 won't boot on ABIT AB9

2013-10-24 Thread Tony Schreiner

On Oct 24, 2013, at 3:55 PM, Akemi Yagi wrote:

On Thu, Oct 24, 2013 at 12:47 PM, Tony Schreiner
anthony.schrei...@bc.edumailto:anthony.schrei...@bc.edu wrote:

I had used the the 6.3 net installer disk (and the 6.4 repo) which I noticed 
had kernel 2.6.32-279, so I retrieved that kernel from the vault and it works.

The  279 and earlier kernels don't display any ipmi messages during boot (in 
dmesg)
The system is not ipmi capable I don't believe, should I be looking there?

Try adding the following kernel parameters and see if the 6.4 kernel boots:

ipmi_si.tryacpi=0 ipmi_si.trydmi=0 ipmi_si.trydefaults=0

Akemi
__

Akemi

Awesome, that did the trick.
I do not see those parameters  in 
https://www.kernel.org/doc/Documentation/kernel-parameters.txt

There is an error in the boot to 2.6.32.-358.23.2

irq 19: nobody cared (try booting with the irqpoll option)

I've added the irqpoll parameter and the message goes away.Is there any 
downside to using it?

Tony

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


Re: [CentOS] Xyratex disk units

2013-08-19 Thread Tony Schreiner

On Aug 17, 2013, at 5:16 PM, John R Pierce wrote:

 On 8/16/2013 10:51 AM, Tony Schreiner wrote:
 Some years ago I installed a NAS unit from Exanet which consists of 2 
 rebadged IBM x3650 head nodes and a couple of Xyratex disk shelves with a 
 total of 96 TB of raw disk, connected by fibre channel. The operating system 
 is based on CentOS 4.4, but is modified, and runs a proprietary file system. 
 It has pretty good performance and I'm happy with it.
 
 I would consider dumping the head nodes, and connecting the FC arrays 
 directly to the host HBA, and running them as fiber JBOD to a dedicated 
 host, which could run whatever sort of mdraid, lvm, file system you 
 want.  or something like FreeNAS with ZFS and FreeBSD, then share stuff 
 via SMB, NFS, etc.
 

It may come to that eventually. Though I don't know why use say dump the head 
nodes, they are adequate servers (unless you mean overwrite them).

The main reason I'm not doing that now, is that the Exanet software provides 
coherent caching between the 2 nodes for enhanced redundancy and performance.

Additionally, I am stuck with the LUNs provides by the Xyratex until I am able 
to find a way to manage them.

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


Re: [CentOS] Xyratex disk units

2013-08-17 Thread Tony Schreiner

On Aug 16, 2013, at 9:53 PM, Ljubomir Ljubojevic wrote:

 On 08/16/2013 07:51 PM, Tony Schreiner wrote:
 I am wondering if any one knows of a way to manage Xyratex disk shelves from 
 CentOS (in particular CentOS 4).
 
 More details:
 Some years ago I installed a NAS unit from Exanet which consists of 2 
 rebadged IBM x3650 head nodes and a couple of Xyratex disk shelves with a 
 total of 96 TB of raw disk, connected by fibre channel. The operating system 
 is based on CentOS 4.4, but is modified, and runs a proprietary file system. 
 It has pretty good performance and I'm happy with it.
 
 You may know that the company went bust some years ago, so I have been 
 running this system unsupported. I am loath to give up the disk space though.
 
 The two things I worry about are, the fibre channel connection and the 
 external disk trays. Unfortunately, what I know about fibre channel is very 
 little. They are emulex HBAs, and I guess there used to software called 
 lputil, but this is no longer available at the Emulex site. It has been 
 replaced by something called HBAnywhere, but I have not succeeded in 
 building that on CentOS 4. Uprading the OS is out of the question I would 
 think while maintaining the file system capability.
 
 And the other question is how to manage the LUNs on the Xyratex's.
 
 I'd be grateful for any info anyone has on either.
 
 Tony Schreiner
 
 Have you tried to locate ex employees of that Company? Maybe you could 
 hire some developer from that Company to help you out?
 
 
 -- 
 Ljubomir Ljubojevic

I do have a contact, who will work for a fee. But I'm still hoping to get 
further on my own.
Tony

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


[CentOS] Xyratex disk units

2013-08-16 Thread Tony Schreiner
I am wondering if any one knows of a way to manage Xyratex disk shelves from 
CentOS (in particular CentOS 4).

More details:
Some years ago I installed a NAS unit from Exanet which consists of 2 rebadged 
IBM x3650 head nodes and a couple of Xyratex disk shelves with a total of 96 TB 
of raw disk, connected by fibre channel. The operating system is based on 
CentOS 4.4, but is modified, and runs a proprietary file system. It has pretty 
good performance and I'm happy with it.

You may know that the company went bust some years ago, so I have been running 
this system unsupported. I am loath to give up the disk space though.

The two things I worry about are, the fibre channel connection and the external 
disk trays. Unfortunately, what I know about fibre channel is very little. They 
are emulex HBAs, and I guess there used to software called lputil, but this is 
no longer available at the Emulex site. It has been replaced by something 
called HBAnywhere, but I have not succeeded in building that on CentOS 4. 
Uprading the OS is out of the question I would think while maintaining the file 
system capability.

And the other question is how to manage the LUNs on the Xyratex's.

I'd be grateful for any info anyone has on either.

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


Re: [CentOS] scp scripting question

2012-10-12 Thread Tony Schreiner

On Oct 12, 2012, at 1:44 PM, m.r...@5-cent.usmailto:m.r...@5-cent.us
 m.r...@5-cent.usmailto:m.r...@5-cent.us wrote:

So, my manager, in zsh, can do the following:
scp -i =(ssh -qnx snip cat /etc/ks/ks_dsa) localfile server:/whereitgoes

Does anyone have any ideas what the syntax in bash is? I've been playing
with this for hours. My manager says that zsh treats the cat'd key as a
file, while if you try it with bash, replacing the = with , it asks for
the passphrase of what must be a socket.

 mark


The document http://zsh.sourceforge.net/Intro/intro_7.html

has some description about =(…)

Not a zsh user myself

Ton Schreiner

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


Re: [CentOS] pecl install json on CentOS 5.8

2012-07-18 Thread Tony Schreiner

On Jul 18, 2012, at 1:33 PM, Kaushal Shriyan wrote:

 Hi
 
 Any clue about the below issue?
 
 /usr/bin/pecl install json
 WARNING: channel pear.php.net has updated its protocols, use
 channel-update pear.php.net to update
 downloading json-1.2.1.tgz ...
 Starting to download json-1.2.1.tgz (17,780 bytes)
 ..done: 17,780 bytes
 11 source files, building
 running: phpize
 Configuring for:
 PHP Api Version: 20041225
 Zend Module Api No:  20050922
 Zend Extension Api No:   220051025
 /usr/bin/phpize: /tmp/tmpJaaJaV/json-1.2.1/build/shtool: /bin/sh: bad
 interpreter: Permission denied
 Cannot find autoconf. Please check your autoconf installation and the
 $PHP_AUTOCONF
 environment variable is set correctly and then rerun this script.
 

/tmp mounted with noexec ?


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


Re: [CentOS] Python version fights.

2012-06-24 Thread Tony Schreiner
On 6/24/2012 12:55 PM, Gene Heskett wrote:
 On Sunday 24 June 2012 12:43:23 Leonard den Ottolander did opine:

 Hello Gene,

 On Sun, 2012-06-24 at 08:40 -0400, Gene Heskett wrote:
 yum is still showing me 21 packages to update, all from an el5 repo.\
 You can figure out what repo that is by rpm -qiing one of the packages
 that is causing you trouble. Remove all offending packages, then remove
 the repo rpm (rpm -e rpmforge-release or epel-release or even another
 one, that is for you to figure out).

 After you got rid of the offending packages and repo-release you can now
 install the correct repo-release for the OS version you are using and
 add the packages you just removed.

 Regards,
 Leonard.

 There are no surviving el5 packages on the system, including in the .repo 
 files of yum.repos.d

 But if I fire up yumex, well over half the files presented say they are el5 
 coming from rpmfusion, but my rpmfusion .repo's are all set for el-6 as can 
 be seen by this:

 [root@coyote yum.repos.d]# grep el rpmfusion-*.repo
 rpmfusion-free-
 updates.repo:#baseurl=http://download1.rpmfusion.org/free/el

 But I don't see anything but el-6 above.  So something is well and truly 
 knackered.  The question is what?

 Thanks  Cheers, Gene

yum clean all
might help you.
Tony Schreiner
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] imagemagick convert/display eps file no decode delegate

2012-04-27 Thread Tony Schreiner
I am finding on all my CentOS 5.8 systems (all fully updated but a variety of 
package mixes) that the display or convert commands from ImageMagick are unable 
to handle eps files. I get  error output as follows, curious if anyone else 
sees this

$ convert rna.eps rna.epi
convert rna.eps rna.epi
Error: /undefinedfilename in (72x72)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:1154/1684(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
Error: /undefinedfilename in (72x72)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:1154/1684(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: no decode delegate for this image format `rna.eps'.
convert: Postscript delegate failed `rna.eps'.
convert: missing an image filename `rna.epi'.

ImageMagick 5.2.8.0-12.el5
ghostcript-8.0-14.el5

the equivalent GraphicsMagick command
gm convert

does work

This is a recent development, but I can't say how recent

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


Re: [CentOS] local repo question

2012-04-20 Thread Tony Schreiner

On Apr 20, 2012, at 12:59 PM, Jerry Geis wrote:

 
 You should post entire error text. Are you sure that that dbus package
 is not corrupted? Try downloading it fo local directory and install from
 there.
 Or just delete dbus rpm and run rsync again (or whatever) and then
 createrepo.
 
 The rest of the message had no additional information so I did not 
 include it.
 However the entire message is this:
 
 A fatal error occurred when installing the dbus package.
 This could indicate errors when reading the installation
 media. Installation cannot continue.
 
 Exit Installer
 
 
 Funny thing is there is no dbus update at this time. There is no
 dbus* file in my /var/www/html/centos/6/updates/x86_64/Packages directory.
 
 This must be the original dbus package from the 6.2 DVD download.
 If I comment the repo line in my kickstart file - the install goes fine.
 
 So the dbus package should be good. It works without the repo line.
 
 my repo line in my kickstart file is:
 repo --name=Updates --baseurl=http://192.168.1.14/centos/6/updates/x86_64/
 
 I have re-ran the createrepo . and tried my install again with the 
 same results.
 
 I am confused.
 What do I do next?
 
 Jerry
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

I may have missed if this was already said:
 have you looked at /var/log/httpd/error_log and access_log on the repository 
machine to see the status of the request for the dbus package?

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


Re: [CentOS] CentOS 6.2 + areca raid + xfs problems

2012-04-04 Thread Tony Schreiner

On Apr 4, 2012, at 6:35 AM, Karanbir Singh wrote:

 On 04/03/2012 09:58 PM, Tony Schreiner wrote:
 Two weeks ago I (clean-)installed CentOS 6.2 on a server which had been 
 running 5.7.
 
 
 there have been a few issues reported on SuperMicro kit running some
 specific configs and Areca interfaces. I've been in touch with the guys
 at Areca and are looking into what the issues might be. I would
 recommend you join the bug report and contribute there; the more test
 cases we can address at once the better it is.
 
 I cant get to :80 at the moment, so cant give you a bug number, should
 be fairly easy to find.
 
 
 -- 
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 ICQ: 2522219| Yahoo IM: z00dax  | Gtalk: z00dax
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Thanks, will do.
Tony Schreiner
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.2 + areca raid + xfs problems

2012-04-04 Thread Tony Schreiner
replying at the end

On Apr 4, 2012, at 5:26 AM, Crunch wrote:

 On 04/03/2012 05:58 PM, Tony Schreiner wrote:
 Two weeks ago I (clean-)installed CentOS 6.2 on a server which had been 
 running 5.7.
 
 There is a 16 disk = ~11 TB data volume running on an Areca ARC-1280 raid 
 card with LVM + xfs filesystem on it. The included arcmsr driver module is 
 loaded.
 
 At first it seemed ok, but with in a few hours I started getting I/O error 
 message on directory listings, and then a bit later when I did a vgdisplay 
 command there was garbage in that.
 
 The file system data are being corrupted. This can only happen either 
 through human intervention or hardware failure; assuming that the 
 original installation was okay. This is a safe assumption to make 
 considering you've reinstalled and it now seems to be okay.
 
 
 I then ran the volume check on the RAID card bios, it flagged 3 errors. When 
 I restarted the system, things were ok, but then the problem reappeared.
 I ran another volume check and no errors were flagged (I should note, the 
 check takes about 9 hours). but upon restarting, the file system was ok, but 
 then went bad again.
 
 Presumably the card bios runs checks only on the firmware and/or the 
 hardware; say disks and the card itself. The reported errors therefore 
 point to those components.
 
 
 Another symptom was that the cli64 raid management utility, which I got from 
 the Areca site would just hang.
 I would guess the utility is a piece of client code that queries the 
 firmware. Assuming nothing is wrong with the client code, this implies 
 some form of defect occurring in the firmware. Could be unresponsive 
 hardware or corrupt firmware code.
 
 
 After a couple of days of this, I decided I could not afford to have this 
 system unavailable, and I reinstalled CentOS 5.8. Everything has been fine 
 since.
 The firmware and file system may well have corrected the errors on your 
 first pass. But then for the corruption to happen again without any 
 detected errors sounds inconsistent. There's something missing here. 
 Maybe the card corrected the errors itself the second time leaving 
 corruption behind.
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

i'm not sure what you're saying can be entirely true. What I failed to mention 
in the original post, is that I did not recreate the problematic data volume 
during either install; it was preserved both for the upgrade and the downgrade. 
It doesn't appear that there is any filesystem corruption independent of the 
raid software, xfs_check doesn't discover any.

I'm willing to believe that the raid firmware is problematic, but it seems to 
be an issue with version 6 but not version 5.

I'm in the process of reporting to the BugTracker. As KB mentioned, there is an 
existing id 5517.

Tony Schreiner

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


[CentOS] CentOS 6.2 + areca raid + xfs problems

2012-04-03 Thread Tony Schreiner
Two weeks ago I (clean-)installed CentOS 6.2 on a server which had been running 
5.7.

There is a 16 disk = ~11 TB data volume running on an Areca ARC-1280 raid card 
with LVM + xfs filesystem on it. The included arcmsr driver module is loaded.

At first it seemed ok, but with in a few hours I started getting I/O error 
message on directory listings, and then a bit later when I did a vgdisplay 
command there was garbage in that.

I then ran the volume check on the RAID card bios, it flagged 3 errors. When I 
restarted the system, things were ok, but then the problem reappeared.
I ran another volume check and no errors were flagged (I should note, the check 
takes about 9 hours). but upon restarting, the file system was ok, but then 
went bad again.

Another symptom was that the cli64 raid management utility, which I got from 
the Areca site would just hang.

After a couple of days of this, I decided I could not afford to have this 
system unavailable, and I reinstalled CentOS 5.8. Everything has been fine 
since.

Any body else seen anything like this?

Tony Schreiner
Boston College
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fqdn hostname fails after reboot

2012-02-08 Thread Tony Schreiner

On Feb 8, 2012, at 4:22 PM, Chris wrote:

 Hi,
 
 I have several machines running CentOS 6.2 and a strange problem with
 the hostname of one machine... After every reboot it loses the fqdn
 hostname.
 
 Here is my confguration:
 
 ifconfig | grep inet addr
  inet addr:10.0.0.12  Bcast:10.0.0.255  Mask:255.255.255.0
  inet addr:127.0.0.1  Mask:255.0.0.0
 
 /etc/sysconfig/network
 
 NETWORKING=yes
 HOSTNAME=x800.mydomain.local
 GATEWAY=10.0.0.1
 
 127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
 10.0.0.12   x800.mydomain.local   x800
 
 ... after a reboot:
 
 hostname
 x800.mydomain.local  OK
 
 hostname -f
 hostname: Unknown hostNOT OK
 
 dnsdomainname
 dnsdomainname: Unknown host   NOT OK
 
 If I set the hostname manually:
 
 hostname x800.mydomain.local
 
 hostname -f
 x800.mydomain.local OK
 
 dnsdomainname
 mydomain.local OK
 
 Everything is okay ...
 
 Something I've never experienced before. Does anyone have an idea?
 
 thx
 
 --
 Chris

When I strace hostname -f  I see it checking with my name server.
Are your 2 systems set up differently with respect to name resolution and/or 
DNS?

Tony

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


Re: [CentOS] clustering

2011-11-15 Thread Tony Schreiner
I recommend you check out ROCKS

http://www.rocksclusters.org

CentOS based clustering with lots of built in goodness.

Tony Schreiner

On 11/15/2011 9:50 PM, Alan McKay wrote:
 Hey folks,

 I just went through the archives trying to find some info on this but
 did not come up with much other than it seems there are a few experts
 here on the list.

 I have no experience with clustering and have just taken over a Stem
 Cell Research Lab that has a Grid Engine cluster.  I have not yet dug
 into the details of Grid Engine (only been here a week now) but am
 just trying to get up to speed on clustering in general.

 I was just looking at Red Hat's site and they have this HPC thing
 http://www.redhat.com/promo/mrg/ but damned if I can find any actual
 details on it there - that data sheet they link to is just a bunch of
 marketing gobble-de-gook as far as I can make sense of it anyway.

 Quick question : what are Red Hat using to do that, and can CentOS do
 the same thing?   How hard is it to configure?  How does it compare to
 Grid Engine?

 I have to say I'm a bit hesitant about Grid Engine because of the
 whole Oracle takeover.   I just don't trust Oracle.

 Basically I'd like to get up to speed really quickly on different
 clustering technologies, and maybe even set up a CentOS (or
 Scientific) based cluster in a sandbox to play with.

 I guess - looking for reading to get up to speed on clustering, and
 wondering what my options are with CentOS, RHEL and Scientific.

 thanks,
 -Alan


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


Re: [CentOS] Problems with the epel GPG key

2011-09-09 Thread Tony Schreiner

On Sep 9, 2011, at 6:46 AM, Karanbir Singh wrote:

 On 09/08/2011 06:56 PM, m.r...@5-cent.us wrote:
 I just went to install fail2ban, and it kept failing, complaining  
 about
 the EPEL GPG key. It was installed... and yum worked, once I did
 ln -s /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 /etc/pki/rpm-gpg/RPM-GPG- 
 KEY-EPEL


 and this isnt the epel list! I am sure they would like to know if  
 there
 is a problem with content they ship



to the original:

what version of epel-release is installed?

epel-release-5-4 contains  /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

epel-release-6-5 contains /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Tony

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


Re: [CentOS] Fedora and CentOS no longer on speaking terms

2011-08-19 Thread Tony Schreiner

On Aug 19, 2011, at 10:39 AM, Anne Wilson wrote:

 I have just upgraded my server from CentOS 5 to CentOS 6 and am having
 connectivity problems.  My laptop runs Fedora 14, and I have been in  
 the habit
 of mounting data partitions on my server by fstab entries.  Since  
 the update
 I've not been able to do that.  On watching the messages during a  
 reboot I saw
 a statement that the connection was denied by the server (where are  
 those
 messages stored so that I can quote accurately?).

 I have temporarily disabled both the firewall and selinux, and the  
 problem
 persists, so clearly they are not the cause.  Logwatch has the  
 following
 section which may or may not be connected:

 - Connections (secure-log) Begin  
 


 Userhelper executed applications:
anne - system-config-users  as root:  1 Time(s)

 **Unmatched Entries**
polkitd(authority=local): Operator of unix-
 session:/org/freedesktop/ConsoleKit/Session2 successfully  
 authenticated as
 unix-user:root to gain TEMPORARY authorization for action
 org.fedoraproject.config.firewall.auth for system-bus-name::1.88
 [/usr/bin/python /usr/bin/system-config-firewall] (owned by unix- 
 user:anne): 1
 Time(s)
polkitd(authority=local): Registered Authentication Agent for  
 session
 /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24
 [/usr/libexec/polkit-gnome-authentication-agent-1], object path
 /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8): 1  
 Time(s)
polkitd(authority=local): Registered Authentication Agent for  
 session
 /org/freedesktop/ConsoleKit/Session2 (system bus name :1.45
 [/usr/libexec/polkit-gnome-authentication-agent-1], object path
 /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8): 1  
 Time(s)
polkitd(authority=local): Unregistered Authentication Agent for  
 session
 /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24, object  
 path
 /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)  
 (disconnected
 from bus): 1 Time(s)
polkitd(authority=local): Unregistered Authentication Agent for  
 session
 /org/freedesktop/ConsoleKit/Session6 (system bus name :1.214, object  
 path
 /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8)  
 (disconnected
 from bus): 1 Time(s)

 -- Connections (secure-log) End  
 -

 An example fstab line is

 /Data1/nfs4exports/Data1  nonebind
 0 0

 Under CentOS 5 this was mounted by the exports line:

 /nfs4exports/Data1   
 192.168.0.0/24(rw,insecure,no_subtree_check,nohide)

 Following advice, I have changed this to:

 /Data1/ 192.168.0.0/255.255.255.0 *(rw,sync,insecure,no_all_squash)

 That hasn't helped at all.

 I'm completely at a loss, and really need to get this connection  
 working
 again.  I've done lots of googling and reading, but just feel to be  
 digging an
 ever-deeper hole.  All help appreciated.

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

NFS v4 problems maybe. Try setting a value for  Domain  in

/etc/idmapd.conf

on both systems (the same for both).

Tony

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


Re: [CentOS] Fedora and CentOS no longer on speaking terms

2011-08-19 Thread Tony Schreiner

On Aug 19, 2011, at 10:39 AM, Anne Wilson wrote:

 I have just upgraded my server from CentOS 5 to CentOS 6 and am having
 connectivity problems.  My laptop runs Fedora 14, and I have been in  
 the habit
 of mounting data partitions on my server by fstab entries.  Since  
 the update
 I've not been able to do that.  On watching the messages during a  
 reboot I saw
 a statement that the connection was denied by the server (where are  
 those
 messages stored so that I can quote accurately?).

 I have temporarily disabled both the firewall and selinux, and the  
 problem
 persists, so clearly they are not the cause.  Logwatch has the  
 following
 section which may or may not be connected:

 - Connections (secure-log) Begin  
 


 Userhelper executed applications:
anne - system-config-users  as root:  1 Time(s)

 **Unmatched Entries**
polkitd(authority=local): Operator of unix-
 session:/org/freedesktop/ConsoleKit/Session2 successfully  
 authenticated as
 unix-user:root to gain TEMPORARY authorization for action
 org.fedoraproject.config.firewall.auth for system-bus-name::1.88
 [/usr/bin/python /usr/bin/system-config-firewall] (owned by unix- 
 user:anne): 1
 Time(s)
polkitd(authority=local): Registered Authentication Agent for  
 session
 /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24
 [/usr/libexec/polkit-gnome-authentication-agent-1], object path
 /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8): 1  
 Time(s)
polkitd(authority=local): Registered Authentication Agent for  
 session
 /org/freedesktop/ConsoleKit/Session2 (system bus name :1.45
 [/usr/libexec/polkit-gnome-authentication-agent-1], object path
 /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8): 1  
 Time(s)
polkitd(authority=local): Unregistered Authentication Agent for  
 session
 /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24, object  
 path
 /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)  
 (disconnected
 from bus): 1 Time(s)
polkitd(authority=local): Unregistered Authentication Agent for  
 session
 /org/freedesktop/ConsoleKit/Session6 (system bus name :1.214, object  
 path
 /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8)  
 (disconnected
 from bus): 1 Time(s)

 -- Connections (secure-log) End  
 -

 An example fstab line is

 /Data1/nfs4exports/Data1  nonebind
 0 0

 Under CentOS 5 this was mounted by the exports line:

 /nfs4exports/Data1   
 192.168.0.0/24(rw,insecure,no_subtree_check,nohide)

 Following advice, I have changed this to:

 /Data1/ 192.168.0.0/255.255.255.0 *(rw,sync,insecure,no_all_squash)

 That hasn't helped at all.

 I'm completely at a loss, and really need to get this connection  
 working
 again.  I've done lots of googling and reading, but just feel to be  
 digging an
 ever-deeper hole.  All help appreciated.

 Anne


I didn't read your original post carefully enough the first time.

You show the exports file, but nowhere do I see a reference of how the  
client is mounting the export from the server. THe bind mounts above  
are remounting a local file system in a different location, they do  
not mount an NFS share from an external server. Usually it looks  
something like this:

server:/share   /local/mountnfs defaults
0 0

(obviously defaults can instead be specific options)




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


Re: [CentOS] Configuring a cluster

2011-02-08 Thread Tony Schreiner

On Feb 8, 2011, at 11:19 AM, Peter Kjellström wrote:

 On Tuesday, February 08, 2011 04:52:27 pm Johnny H wrote:
 Dear all,
 Thank you very much for your answers; am a little overwhelmed as I  
 did
 not expect so many so fast. I will take a look at your suggestions  
 and
 sites.

 The cluster is medium performance for something called  
 bioinformatics;
 we are looking at next generation sequence data.

 I know it had Centos installed and was using Torque/PBS for running
 cluster jobs. This was set up by a company and we want to install
 fresh.

 What you describe here is quite clearly a compute cluster, HPC, or  
 whatever
 you want to call it.

 Maybe you should go have a look at a packaged solution like rocks
 (www.rocksclusters.org). If you don't have much experience I'd  
 recommend
 against building something yourself. With rocks you'll also get the  
 benefit of
 prepackaged bio-informatics stuff (rocks has a large community).

 /Peter

 If I get anywhere without a sys admin, I will post (maybe another
 question).

 Cheers,
 signature.ascATT1.txt


I second the suggestion of ROCKS. It centralized much of the  
administration of the cluster including setting up jobs resource  
managers, has prebuilt software including some for bioinformatics (and  
it's built on CentOS). There an active and helpful mailing list.

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


Re: [CentOS] IPV4 is nearly depleted, are you ready for IPV6?

2010-12-07 Thread Tony Schreiner

 Does this mean I have to type in URLs like:

 http://3ffe:1900:4545:3:200:f8ff:fe21:67cf/

 I can only image phonetically calling these off on a support call, I'd get 
 half way through it and the other end would tell me to forget it I'll wait 
 until DNS is working again.

 In fact with DNS problems we'd be pretty much crippled.

 I'd use IPv6 if the addresses weren't so hard to remember.

 -Ross


Well in fact I don't think that will even work with the present URL
rules. Just on a lark I clicked on your string, and my firefox
interpreted it as http://3ffe:1900. Unless there's a special http
protocol string for ipv6?

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


Re: [CentOS] how to separate individual logs?

2010-11-30 Thread Tony Schreiner

On Nov 30, 2010, at 4:07 AM, hadi motamedi wrote:

 On 11/30/10, cybernet cyberne...@yahoo.com wrote:
 cat edit.txt | while read LINE; do
 echo $LINE | grep -q '\.\.'
 if [ $? -eq 0 ]; then
   LOGFILE=`echo $LINE | cut -d' ' -f1`.log
 else
   echo $LINE  $LOGFILE
 fi
 done


 As you see in the original text file, each module's log is started
 with the module's name following with '..' characters so the code is
 expected to search for the start of each module's log and try to
 separate its specific log. I tried for the code but it seems that it
 has some syntax error that needs to be corrected.
 ___


That error would happen if you did not have a space between  [ and $?

Tony Schreiner

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


Re: [CentOS] program in centos rpm

2010-11-24 Thread Tony Schreiner

On Nov 24, 2010, at 11:01 AM, ann kok wrote:

 Hi all

 I can't find some program eg: fping rpm in centos

 1/ How can I get this program install if yum won't find it?

 2/ Can I use fedora12 fping rpm to install on it?

 Thank you


the EPEL repo has fping for centos

see http://fedoraproject.org/wiki/EPEL

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


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread Tony Schreiner

On Oct 21, 2010, at 2:50 PM, Pintér Tibor wrote:


 USER1=roland
 USER2=dany
 USER3=kevin


 cp -r /opt/$USER1/test /backup/$USER1
 cp -r /opt/$USER2/test /backup/$USER2

 $ for user in one two three four; do echo $user; done
 one
 two
 three
 four


or if the list of users is in a file, one per line

$ cat file
roland
dany
kevin
$
$ cat file | while read name
do
 something $name
done

Tony

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


Re: [CentOS] A Directory/Subdirectories Disappeared - which logfile to look for this kind of information?

2010-05-14 Thread Tony Schreiner
please bottom post, more at the bottom ...

On May 14, 2010, at 11:50 AM, Wang, Mary Y wrote:

 Thanks for the info.  There are only three of us who have the root  
 access and I guess the date/time is more important to us.  We are  
 also concerned that there might be a script did the rmdir  
 unintentionally.
 The .bash_history had some old stuff with an older timestamp of the  
 file.  Some of us use csh and there is no history file associated  
 with it.

 How do I enable the auditing that you described below?


 Mary


 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org]  
 On Behalf Of Kwan Lowe
 Sent: Friday, May 14, 2010 8:39 AM
 To: CentOS mailing list
 Subject: Re: [CentOS] A Directory/Subdirectories Disappeared - which  
 logfile to look for this kind of information?

 On Fri, May 14, 2010 at 11:36 AM, Wang, Mary Y  
 mary.y.w...@boeing.com wrote:
 Hi,

 A directory/subdirectories just disappeared on our dev box, and we  
 don't know what happened. Is there a log file that logs this kind  
 of stuff (such as who/date did a 'rmdir').  The /var/log directory  
 has a lot of files and I'm not sure where to start.

 Unless auditing is enabled and rules are configured then there's no  
 easy way to tell. You might try looking through the .bash_history  
 files of recently logged in users, but that's not time coded.
 ___



If no other directories or files have been added or deleted to the  
parent directory of the missing directory, then the time stamp of the  
parent directory will tell you when the directory was deleted.

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


Re: [CentOS] compiling FahMON for Centos?

2010-04-03 Thread Tony Schreiner
fred smith wrote:
 Hi all!

 Thanks to those who pointed me to wxwidgets packages for centos!

 I'm trying to build/install FAHMON (a monitoring tool for Folding At Home
 clients) on centos 5.4, which is why I needed the wxwidgets stuff.

 fahmon goes through .configure just fine, but it won't compile and it's
 not clear to me what's wrong. it spews bazillions of errors, starting with:

 make[3]: Entering directory 
 `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/src'
 /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
 -I../.. -I../../wxcurl/include   -Wall -Wno-strict-aliasing -g -O2   -MT 
 base.lo -MD -MP -MF .deps/base.Tpo -c -o base.lo base.cpp
  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../wxcurl/include -Wall 
 -Wno-strict-aliasing -g -O2 -MT base.lo -MD -MP -MF .deps/base.Tpo -c 
 base.cpp  -fPIC -DPIC -o .libs/base.o
 base.cpp:16:23: error: wx/wxprec.h: No such file or directory
 base.cpp:19:23: error: wx/wx.h: No such file or directory
 In file included from base.cpp:25:
 ../../wxcurl/include/wx/curl/base.h:32:22: error: wx/event.h: No such file or 
 directory
 ../../wxcurl/include/wx/curl/base.h:33:23: error: wx/string.h: No such file 
 or directory
 ../../wxcurl/include/wx/curl/base.h:34:25: error: wx/datetime.h: No such file 
 or directory
 ../../wxcurl/include/wx/curl/base.h:35:23: error: wx/stream.h: No such file 
 or directory

 it looks like it's not including the header tree in /usr/lib/wx-2.8/wx
 which is where those files are. I've tried messing with options to
 configure but that doesn't seem to help. I probably fail to fully
 understand how configure works...

 so to short-circuit beating my head on this wall, can any of you suggest
 where I might find a binary package for this utility? The fahmon site doesn't
 appear to have one, as far as I can see.

 Thanks, once again!

   
yum search */wx/stream.h

tells you that you need wxGTK-devel

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


Re: [CentOS] compiling FahMON for Centos?

2010-04-03 Thread Tony Schreiner
fred smith wrote:
 On Sat, Apr 03, 2010 at 03:36:59PM -0400, Tony Schreiner wrote:
   
 fred smith wrote:
 
 Hi all!

 Thanks to those who pointed me to wxwidgets packages for centos!

 I'm trying to build/install FAHMON (a monitoring tool for Folding At Home
 clients) on centos 5.4, which is why I needed the wxwidgets stuff.

 fahmon goes through .configure just fine, but it won't compile and it's
 not clear to me what's wrong. it spews bazillions of errors, starting with:

 make[3]: Entering directory 
 `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/src'
 /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
 -I../.. -I../../wxcurl/include   -Wall -Wno-strict-aliasing -g -O2   -MT 
 base.lo -MD -MP -MF .deps/base.Tpo -c -o base.lo base.cpp
  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../wxcurl/include -Wall 
 -Wno-strict-aliasing -g -O2 -MT base.lo -MD -MP -MF .deps/base.Tpo -c 
 base.cpp  -fPIC -DPIC -o .libs/base.o
 base.cpp:16:23: error: wx/wxprec.h: No such file or directory
 base.cpp:19:23: error: wx/wx.h: No such file or directory
 In file included from base.cpp:25:
 ../../wxcurl/include/wx/curl/base.h:32:22: error: wx/event.h: No such file 
 or directory
 ../../wxcurl/include/wx/curl/base.h:33:23: error: wx/string.h: No such file 
 or directory
 ../../wxcurl/include/wx/curl/base.h:34:25: error: wx/datetime.h: No such 
 file or directory
 ../../wxcurl/include/wx/curl/base.h:35:23: error: wx/stream.h: No such file 
 or directory

 it looks like it's not including the header tree in /usr/lib/wx-2.8/wx
 which is where those files are. I've tried messing with options to
 configure but that doesn't seem to help. I probably fail to fully
 understand how configure works...

 so to short-circuit beating my head on this wall, can any of you suggest
 where I might find a binary package for this utility? The fahmon site 
 doesn't
 appear to have one, as far as I can see.

 Thanks, once again!

   
   
 yum search */wx/stream.h

 tells you that you need wxGTK-devel
 

 I have it installed!

   # rpm -qa | grep -y wxgtk
   wxGTK-gl-2.8.9-2.el5
   wxGTK-devel-2.8.9-2.el5
   wxGTK-2.8.9-2.el5

   
Did the configure output tell you it found wxwidgets (whatever name it 
uses)?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] == gcc 4.4.3 on centos 64 bit

2010-03-26 Thread Tony Schreiner

On Mar 26, 2010, at 2:26 PM, Dieter Best wrote:

 I did a yum install gcc44

 Is it confirmed that this doesn't lead to inconsistencies with the
 existing gcc?

 I have the following now. Suggestions?


 [r...@centos2 Misc]# gcc mytest.cc
 /tmp/ccilP3UL.o:(.eh_frame+0x12): undefined reference to  
 `__gxx_personality_v0'
 collect2: ld returned 1 exit status
 [r...@centos2 Misc]#
 [r...@centos2 Misc]#
 [r...@centos2 Misc]# gcc44 mytest.cc
 gcc44: error trying to exec 'cc1plus': execvp: No such file or  
 directory


 On Fri, Mar 26, 2010 at 5:48 AM, Rex Dieter rdie...@math.unl.edu  
 wrote:
 Dieter Best wrote:

 I need a newer version of gcc (gcc 4.4.3), with yum install I got
 4.1.2. Has anyone figured out how to configure for the gcc 4.4.3  
 build
 to go through?

 yum install gcc44

 -- Rex

 ___

use

rpm -ql

to see how the binaries and library locations.

The compiler is called gcc44

Tony

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


Re: [CentOS] strange su behavior

2010-03-10 Thread Tony Schreiner

On Mar 10, 2010, at 12:12 PM, Uwe Kiewel wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Am 09.03.2010 22:22, schrieb Tom H:
 Do you have any sudo call from your /etc or /etc/skel bashrc or  
 profile...?
 Yes, I do have in /etc/bashrc:
 sudo -l
 Unless you already understood:
  su -  make the shell a login shell
  so sudo -l  in bashrc is executed, which asks for the user's  
 password
 Understood, who is asking - not understood why sudo -l is asking  
 for
 the password and why just hitting the enter key works

 sudo -l
 lists the commands that you are allowed to run with sudo

 That is clear to me, but why does this command request the password?

what's the output of

sudo grep root /etc/sudoers

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


Re: [CentOS] Updating gfortran in CentOS 5.4?

2010-02-03 Thread Tony Schreiner

On Feb 3, 2010, at 12:25 PM, Jon Forrest wrote:

 We're finding that several of the packages we
 need don't compile using the version 4.1.2 of
 gfortran that comes with CentOS 5.4. So,
 I've built the latest version of gfortran (e.g. 4.4.2)
 but I've done it so that all the new version's
 files go in /share/apps/gnu so that they
 don't interfere with the standard gcc distribution
 (building gfortran requires building some parts
 of gcc).


..

There is also a gcc44-gfortran rpm which is based on gcc 4.4.0. Would  
that help you?

Tony Schreiner
Boston College

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


Re: [CentOS] gcc version

2009-12-17 Thread Tony Schreiner

On Dec 17, 2009, at 1:07 PM, nate wrote:

 Andrea Laack wrote:
 Why is redhat version 5.3 running gcc version 4.3 and centos 5.4  
 running
 gcc version 4.1.2?  When will gcc be upgraded on centos?

 Looks like two different versions of gcc are available

 CentOS:
 http://mirrors.kernel.org/centos/5/os/SRPMS/gcc-4.1.2-46.el5.src.rpm
 http://mirrors.kernel.org/centos/5/os/SRPMS/gcc44-4.4.0-6.el5.src.rpm

 And a 3rd version for RHEL
 RHEL:
 http://mirrors.kernel.org/redhat/redhat/linux/enterprise/5Server/en/os/SRPMS/gcc-4.1.2-46.el5_4.1.src.rpm
 http://mirrors.kernel.org/redhat/redhat/linux/enterprise/5Server/en/os/SRPMS/gcc43-4.3.2-7.el5.src.rpm
 http://mirrors.kernel.org/redhat/redhat/linux/enterprise/5Server/en/os/SRPMS/gcc44-4.4.0-6.el5.src.rpm

 So perhaps just the gcc43 package is missing from CentOS, but you
 can go to 4.4 if you want a newer version.


In any case, the gcc 4.1.2 on CentOS 5 supports openmp  (use - 
fopenmp). It might require the libgomp package.

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


Re: [CentOS] grep/sed help

2009-06-10 Thread Tony Schreiner

On Jun 10, 2009, at 2:18 PM, Joseph L. Casale wrote:

 I am rsyncing and remotely doing some work based on a logfile from
 a windows box from a centos backup server. I get the output from a
 vss snapshot that has a section like this:

 * SNAPSHOT ID = {639ef5df-c933-4496-878a-ed57b9d52876} ...
   - Shadow copy Set: {427ac5db-21be-4c53-8ca4-24e7bac86a1d}
   - Original count of shadow copies = 2
   - Original Volume name: \\?\Volume{787bdf7a- 
 ccff-11dd-9866-806e6f6e6963}\ [D:\]
   - Creation Time: 6/10/2009 12:12:08 PM
   - Shadow copy device name: \\?\GLOBALROOT\Device 
 \HarddiskVolumeShadowCopy11
   - Originating machine: milano.example.local
   - Service machine: milano.example.local
   - Not Exposed
   - Provider id: {b5946137-7b9f-4925-af80-51abd60b20d5}
   - Attributes:  No_Auto_Release Persistent Differential

 * SNAPSHOT ID = {fb5996cf-a35b-4110-b83c-45f9c64a75f3} ...
   - Shadow copy Set: {427ac5db-21be-4c53-8ca4-24e7bac86a1d}
   - Original count of shadow copies = 2
   - Original Volume name: \\?\Volume{787bdf7b- 
 ccff-11dd-9866-806e6f6e6963}\ [E:\]
   - Creation Time: 6/10/2009 12:12:08 PM
   - Shadow copy device name: \\?\GLOBALROOT\Device 
 \HarddiskVolumeShadowCopy12
   - Originating machine: milano.example.local
   - Service machine: milano.example.local
   - Not Exposed
   - Provider id: {b5946137-7b9f-4925-af80-51abd60b20d5}
   - Attributes:  No_Auto_Release Persistent Differential

 My current script only uses sed/grep but I never had to deal with  
 this case
 where now I need to do something based on the grep'ed/sed extraction  
 of the
 value of SNAPSHOT ID based on volume name D: or E:? To make my  
 script
 work without rewriting it, is there a sed method to only take the  
 SNAPSHOT ID
 if the text indented beneath it has D:, then do the same and extract
 SNAPSHOT ID if and only if E: follows?

 Thanks for any help!
 jlc


You could also use awk and set the record separator RS to \n\n and  
the field separator to \n. Then each record consists of 11 fields  
consisting of each line.

Tony Schreiner

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


Re: [CentOS] Installing openmpi lam for use with R

2009-03-27 Thread Tony Schreiner

On Mar 27, 2009, at 12:08 AM, Rick Bilonick wrote:

 I am trying to install the R package Rmpi which needs libmpi. I've
 installed openmpi and lam in Centos 5.2:

 [r...@rab45-1 /]# rpm -qv openmpi
 openmpi-1.2.5-5.el5
 openmpi-1.2.5-5.el5
 [r...@rab45-1 /]# rpm -qv lam
 lam-7.1.2-14.el5
 lam-7.1.2-14.el5

 But I get the following error message when trying to install Rmpi:

 /usr/bin/ld: skipping incompatible /usr/lib/lam/lib/libmpi.so when
 searching for -lmpi

 I'm not sure what else to install/uninstall to fix this.

 Rick B.


Is Rmpi packaged somehow or are you getting it from CRAN?

The web site http://www.stats.uwo.ca/faculty/yu/Rmpi/ suggests it  
should work with either LAM-MPI or OpenMPI or even MPICH2

Have you installed the mpi-selector RPM and set it up? This will set  
up LD_LIBRARY_PATH to the selected MPI version. But I don't know if it  
will fix your issue.

Tony Schreiner
Boston College
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] jboss application server rpm

2009-03-13 Thread Tony Schreiner

On Mar 13, 2009, at 3:51 PM, Kanwar Ranbir Sandhu wrote:

 On Fri, 2009-03-13 at 15:39 -0400, Jason Pyeron wrote:
 Download the tgz from the jboss website and unpack it inside
 the homedirectory of the user you want to run it as.
 Creating a user specifically for that purpose also hasn't
 hurt anybody...

 The only exception to this approach might be if part of your
 file- system are read-only because you booted the box via PXE.


 You could make a RPM pretty easy for it.

 I was kind of hoping not having to go down that route...you know,
 laziness and all. :)

 Regards,

 Ranbir


Have you checked at JPackage?
  http://www.jpackage.org/browser/browse.php?jppversion=5.0

I have no personal experience with JBoss from this site or any other,  
but I've had reasonable success with other Java bits from there.

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


[CentOS] help with alternatives

2009-02-19 Thread Tony Schreiner
I've installed java-1.6.0-openjdk (from EPEL) on a CentOS 5.2 x86_64  
system and see that it has not registered itself with alternatives.

First, is there a reason I should know about that it does not set  
itself up as an alternative?

But second, if I was to configure it myself, the syntax is

alternatives --install link name path priority... and other  
optional stuff


Looking at other examples, I'm not clear on the difference between  
link and path in this command

Thanks,
Tony Schreiner
Boston College
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] help with alternatives

2009-02-19 Thread Tony Schreiner

On Feb 19, 2009, at 10:00 AM, Tony Schreiner wrote:

 I've installed java-1.6.0-openjdk (from EPEL) on a CentOS 5.2 x86_64
 system and see that it has not registered itself with alternatives.

 First, is there a reason I should know about that it does not set
 itself up as an alternative?

 But second, if I was to configure it myself, the syntax is

 alternatives --install link name path priority... and other
 optional stuff


 Looking at other examples, I'm not clear on the difference between
 link and path in this command

 Thanks,
 Tony Schreiner
 Boston College


Sorry to follow up to myself

rpm -q --scripts java-1.6.0-openjdk

actually shows it has commands to install itself in alternatives, but  
it didn't happen. I ran the commands by hand and got the error

link /usr/share/javaws incorrect for slave javaws (/usr/bin/javaws  
javaws)

that's why it didn't install. I can remove the part about javaws from  
the script and it works. Will investigate why that at some point.

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


[CentOS] postfix relay and mail host for HPC cluster

2009-01-16 Thread Tony Schreiner
I've so far been unable to make the following work:


I have a small cluster with a master node  ( called bayes.bc.edu on  
the public network, and called master.cl.bc.edu on the internal  
10.0.0.0 network). and a number of nodes which are purely on the  
private network.

I want the master to receive mail and deliver locally (or use .forward  
and alias rules) to messages sent from the nodes to u...@master, and I  
want it to relay non-local addresses to my campus relay host which is  
another machine.

The relay part works ok,  all mail addressed in a form that my campus  
relay host recognizes gets delivered. The problem is that mail to

u...@master.cl.bc.edu  (the internal name)  gets relayed to the campus  
relay which does not know about the host name master.cl.bc.edu because  
that is defined on a private DNS server for the cluster, and the  
campus relay rejects the message.

How can I get my cluster master to not relay messages addressed to  
@master.cl.bc.edu?
The queueing/resource manager (torque/pbs) wants to send automatic  
status messages to u...@master.cl.bc.edu and that cannot easily be  
changed.

Mail MTA is postfix for both master and nodes
Some postfix settings on the master.

myhostname = bayes.bc.edu
mydomain = bc.edu
myorigin = bayes.bc.edu
inet_interfaces = master, localhost
mynetworks = 10.0.0.0/24, 127.0.0.0/8
relayhost = mail.bc.edu


and some settings on the nodes

mydomain = cl.bc.edu
myorigin = bayes.bc.edu
inet_interfaces = localhost
relayhost = [master.cl.bc.edu]


Thanks for any help,
Tony Schreiner
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postfix relay and mail host for HPC cluster

2009-01-16 Thread Tony Schreiner

On Jan 16, 2009, at 1:40 PM, Ned Slider wrote:

 Tony Schreiner wrote:


 How can I get my cluster master to not relay messages addressed to
 @master.cl.bc.edu?

 I'm no expert, but I'm guessing a transport map on the cluster  
 master to
 relay locally is required?

 So /etc/postfix/transport on the master with an entry something
 like this:

 master.cl.bc.edu  relay:[master.cl.bc.edu]

 see:

 http://www.postfix.org/transport.5.html


I didn't follow your advice exactly, Ned, but you gave me a hint.

I added   master and master.cl.bc.edu to the $mydestination and now it  
works right. I don't know if both are necessary, will experiment.

Thanks!
Tony

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


[CentOS] how to disable slow repository mirror?

2008-12-08 Thread Tony Schreiner
Using the yum-fastestmirror plugin on CentOS 5.

The mirror that gets selected seems to be always the same one, and the  
particular one for my EPEL channel is slow as sin (often 30 kB/sec or  
less). Ctrl-C moves to the next one which is satisfactory, but it's a  
pain to have to do that every time. Is there a way to prevent a  
particular mirror from being selected?

I can remove the entry from /var/cache/yum/epel/mirrorlist.txt, but it  
will come back at some point with a refresh.

Also, since the mirror is slow, why does it keep getting chosen, for  
all my machines?

Cheers,
Tony Schreiner
Boston College
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bioinformatics repository?

2008-11-25 Thread Tony Schreiner


On Nov 25, 2008, at 4:12 AM, Davide Cittaro wrote:


Hi all, I'm new to Centos, just moved here from Gentoo Linux.
I have to install a server for bioinformatics purposes and I see  
that default yum repositories do not include any bioinformatics  
software (i.e. ncbi-toolkit, blat, and others). I'm googling a bit  
but I can't find a valuable solution: which is (or which are) the  
best repository I should add to have a satisfying list of bioinfo rpm?


Thanks

d


/*
Davide Cittaro



Some of these packages (perl-bioperl, python-biopython, wise2) can  
also be found in Fedora. I have usually been able to rebuild the src  
rpms for CentOS without difficulty.  Rpmforge has most of the perl  
packages required.


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


[CentOS] kmod-xfs and weak-updates

2008-11-13 Thread Tony Schreiner
I installed kmod-xfs-0.4-2 back with kernel-2.6.18-92.1.13. I have  
updated kernels but there have been no new kmod-xfs. It still works  
because of weak-updates (I guess). Currently:


# find /lib/modules -name xfs.ko
/lib/modules/2.6.18-92.1.13.el5/extra/xfs/xfs.ko
/lib/modules/2.6.18-92.1.13.el5/weak-updates/xfs/xfs.ko
/lib/modules/2.6.18-92.1.17.el5/weak-updates/xfs/xfs.ko
/lib/modules/2.6.18-92.1.18.el5/weak-updates/xfs/xfs.ko


My question is: kernel 2.6.18-92.1.13 is now the oldest one present  
on my system and will be removed next update. Do I need to worry  
about that? Will it take the remaining kmod-xfs with it?


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


Re: [CentOS] kmod-xfs and weak-updates

2008-11-13 Thread Tony Schreiner

Karanbir Singh wrote:

Tony Schreiner wrote:
My question is: kernel 2.6.18-92.1.13 is now the oldest one present 
on my system and will be removed next update. Do I need to worry 
about that? Will it take the remaining kmod-xfs with it?


Only files directly owned by the kernel will get removed when the 
kernel rpm is removed from your machine; which, as a policy holds true 
for any rpm. This is one of the many reasons why packagers are 
encouraged to list-and-own specific components and not complete 
directory tree's when they setup the spec files.


My concern came from the fact that xfs.ko belongs to the kmod-xfs 
package and older versions kmod-xfs had a dependency on a kernel version 
and would be removed by yum when that kernel was removed. I guess that 
the latest kmod-xfs-0.4-2 does not; which I suppose I could have checked 
for myself in the first place.


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


Re: [CentOS] how to get rid of kerberos

2008-10-29 Thread Tony Schreiner
/usr/kerberos/bin  gets put in your path by /etc/profile.d/krb5- 
workstation.sh  or krb5-workstation.csh.


You can move them or comment them to prevent them from working

or

yum remove krb-workstation

to remove the package.

But you do know that rsh is not safe on an open network right?

Tony Schreiner
Boston College

On Oct 29, 2008, at 10:02 AM, Marcelo M. Garcia wrote:


Hi

How to get rid of kerberos, or at least to prevent to go into path?  
Where is defined the path for users?


I need to configure and use rtools (I know that I should use ssh,  
but I need rtools) and I think very annoying the messages from  
Kerberized rsh or rlogin, like this:

-sh-3.2$ rsh kitten02
connect to address 192.168.89.2 port 543: Connection refused
Trying krb4 rlogin...
connect to address 192.168.89.2 port 543: Connection refused
trying normal rlogin (/usr/bin/rlogin)
Last login: Tue Jun  3 20:17:32 from kitten01
-sh-3.2$

But if kerberos is not in path, everything works fine:
-sh-3.2$ rsh kitten02
Last login: Tue Jun  3 20:13:13 from kitten01
-sh-3.2$

Thanks

Marcelo
___
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] octave

2008-10-20 Thread Tony Schreiner


On Oct 18, 2008, at 3:58 AM, John R Pierce wrote:


John wrote:

This one is for EPEL 5 on there site.
http://rpm.pbone.net/index.php3/stat/4/idpl/8177721/com/ 
hdf5-1.6.7-1.el5.i38

6.rpm.html




I installed the hdf5 package off EPEL (via yum install hdf5) and my  
yum install octave still fails with the same error.


Error: Missing Dependency: libhdf5.so.0 is needed by package octave

when I look at that hdf5 package, I see...

# rpm -ql hdf5
/usr/bin/gif2h5
/usr/bin/h52gif




/usr/share/doc/hdf5-1.8.0/README.txt


libhdf5.so.5 and .5.0.0 and _hl.so.0  != what octave is looking  
for.   I know EPEL isn't a CentOS project, IIRC, its a Fedora/RH  
projecct but this isn't looking good.





Just to reassure you. I've had no problems with octave and hdf5  
( both from epel ).


From what you've written, I don't think this it the problem, but  
just to be sure: are you running x86_64 and have installed i386 hdf5?


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


Re: [CentOS] scp and key login

2008-10-01 Thread Tony Schreiner


On Oct 1, 2008, at 9:31 AM, Kai Schaetzl wrote:


Bent Terp wrote on Wed, 1 Oct 2008 13:53:44 +0200:


Short version:


Thanks for that! I seem to be doing something wrong.

chacha:~ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-pqqvN24337/agent.24337; export SSH_AUTH_SOCK;
SSH_AGENT_PID=24338; export SSH_AGENT_PID;
echo Agent pid 24338;
chacha:~ ssh-add
Could not open a connection to your authentication agent.
chacha:~ ssh-agent -k
SSH_AGENT_PID not set, cannot kill agent


Kai

--  
Kai Schätzl, Berlin, Germany

Get your web at Conactive Internet Services: http://www.conactive.com



You need to either:

select and paste (to execute) the first two lines generated by the  
ssh-agent command


or run

ssh-agent $SHELL

which will not need the above step, but will start another shell, so  
you will need to exit twice to logout.


If you are running GNOME, there is also the gnome-ssh-askpass

Tony Schreiner



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


Re: [CentOS] scp and key login

2008-10-01 Thread Tony Schreiner


On Oct 1, 2008, at 11:31 AM, Kai Schaetzl wrote:


Tony Schreiner wrote on Wed, 1 Oct 2008 11:01:23 -0400:


ssh-agent $SHELL

which will not need the above step, but will start another shell, so
you will need to exit twice to logout.


This works, thanks. There's nothing of that mentioned in man ssh- 
agent.
That also means I have to execute ssh-agent $SHELL and ssh-add each  
time I

login and want to use forwarding, right?




As far as I know that's right. Though it can be scripted into your  
login.

Tony

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


Re: [CentOS] Re: Probably a bad set-up but which one?

2008-09-29 Thread Tony Schreiner


On Sep 29, 2008, at 11:32 AM, tech wrote:


 Steve Huff wrote:
it would be easier to troubleshoot this problem if you were to  
post links to the following:

* your Perl script
* the Apache access and error logs showing what happens when you  
try to hit the CGI from a browser

* the relevant Apache configs (vhost, .htaccess, whatever)
-steve


Steve,

Thanks for the reply. Instead of links I will post the code as it  
is very short.


This is what the browser displays all on one line exactly as shown:

Content-type: text/html Hello, world!

Here is the index.html file:

html
HEADTITLETech/TITLE
META http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
body
p!--#exec cmd=perl ./cgi-bin/hello.cgi--/p
/body
/html

Here is the hello.cgi file:

#!/bin/perl
print Content-type: text/html\n\n;
print Hello, world!\n;

Here are the lines from the access log:

220.241.99.252 - - [29/Sep/2008:23:22:22 +0800] GET / HTTP/1.1  
200 189 - Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/ 
2008052912 Firefox/3.0


The error log has no lines for this access.


Mel




I believe your HTML file has already caused the server to emit the

Content-type: text/html

line before it gets to the exec line; so when the perl program prints  
that line, it appears in the normal text output instead of as an HTTP  
directive. If you want to use the perl program this way, you're  
better of using it as a CGI instead of a server include file.


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


Re: [CentOS] yum provides on centos 5.2

2008-08-27 Thread Tony Schreiner

Jerry Geis wrote:
I am trying things like yum provides alsamixer on centox 5.2 i386 
and x86_64

also yum provides vi
yum provides gvimdiff
yum provides dumpiso
yum provides uname

All of these return no matches found

is something broke???

These are just examples. I was trying to do yum provides xf86Modes.h 
it returns no matches also.


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

For files try

yum provides '*/vi'
etc...

I think this is new behavior for yum

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


Re: [CentOS] pci-x v2 detect on command line

2008-07-15 Thread Tony Schreiner


On Jul 15, 2008, at 5:45 AM, Peter Kjellstrom wrote:


On Monday 14 July 2008, Tony Schreiner wrote:

On Jul 14, 2008, at 12:28 PM, Bo Lynch wrote:

On Mon, July 14, 2008 11:43 am, Tony Schreiner wrote:
Is there a way to tell from the OS whether the PCI-X bus is  
version 2

or not?


You basically have two ways to go. 1) Google the PCI bridge 2) run  
lspci with

a few -v options and attempt to decode the output.

The first approach would have told you that the AMD bridge does  
indeed support
PCI-X version 2 but only to 266 MHz (assuming the board/bios etc.  
supports
it). The cheap intel chip you mentioned below wont even likely run  
133 MHz

version 1 very fast...

But at this point it's probably relevant to ask why do you care? I  
have seen
many high performance PCI, PCI-X and PCI-express cards but PCI- 
X-2? ...that
hasn't seen any wide use at all. Do you really have a card that is  
PCI-X-2?
As I understand it it's quite dead in the water and everyone has  
moved on to

PCI-express.

/Peter


Thanks for the pointers. The reason I asked the question is I'm  
investigating some Fibre Channel HBA's and was asked if I had if I  
had PCI-X v2 available. I agree that I have not seen it mentioned in  
the press or anywhere else very much.


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


Re: [CentOS] Re: Stopping a server not controled by service

2008-07-15 Thread Tony Schreiner
While you're at it, why not take a look at how Dag's version implements 
starting and stopping, and lock files (if it uses one) and learn from it.


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


[CentOS] pci-x v2 detect on command line

2008-07-14 Thread Tony Schreiner
Is there a way to tell from the OS whether the PCI-X bus is version 2  
or not?


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


Re: [CentOS] pci-x v2 detect on command line

2008-07-14 Thread Tony Schreiner


On Jul 14, 2008, at 12:28 PM, Bo Lynch wrote:


On Mon, July 14, 2008 11:43 am, Tony Schreiner wrote:

Is there a way to tell from the OS whether the PCI-X bus is version 2
or not?

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


If you run lspci it should display info about your pci bus.




I know about  lscpi, but I don't know if it's telling what version

# lspci | grep PCI-X
80:10.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8132 PCI-X  
Bridge (rev 11)

80:10.1 PIC: Advanced Micro Devices [AMD] AMD-8132 PCI-X IOAPIC (rev 11)
80:11.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8132 PCI-X  
Bridge (rev 11)

80:11.1 PIC: Advanced Micro Devices [AMD] AMD-8132 PCI-X IOAPIC (rev 11)


this is on an Appro Xtreme

or on a Dell PowerEdge 2900
# lspci | grep PCI-X
04:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3)
06:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to  
PCI-X Bridge (rev 01)

08:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3)

the Dell documentation says its 64-bit/133 MHz, which I think means  
it is PCI-X version 1.


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


[CentOS] centos 5, openmpi and alternatives

2008-07-03 Thread Tony Schreiner
When I install openmpi, openmpi-libs and openmpi-devel (using yum)  
for CentOS 5, I'm not getting anything set in alternatives for mpi- 
run and mpicc, etc.


Is it supposed to?

Cheers,
Tony Schreiner
Boston College
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade perl; package conflict

2008-06-26 Thread Tony Schreiner


On Jun 26, 2008, at 2:55 AM, [EMAIL PROTECTED] wrote:


Hi!

I'm working on upgrading my Xen Domain0 to CentOs 5.2. However, yum  
update gives me a package conflict on perl:


Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /usr/lib/perl5/5.8.8/pod/perldiag.pod from install of  
perl-5.8.8-10.el5_2.3 conflicts with file from package  
perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/c2ph.1.gz from install of  
perl-5.8.8-10.el5_2.3 conflicts with file from package  
perl-5.8.8-10.el5_0.2

\



This can also happen if you have both i386 and x86_64 version of perl  
installed. Only the x86_64 version gets updated, and this leads to  
the conflict.


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


[CentOS] mod_security

2008-06-10 Thread Tony Schreiner

I've set up a CentOS 5 system as a server for http installs.

Currently up-to-date with
httpd-2.2.3-11.el5_1.centos.3
mod_security-2.1.7-1.el5

my installs were failing just after the root password set up, before  
software selection.


I tracked it down to a server error 500 and it was due to  
mod_security claiming the comps.xml file was too big


The error:
[Tue Jun 10 09:59:01 2008] [error] [client XXX.XXX.XXX.XXX]  
ModSecurity: Output filter: Content-Length (934390) over the limit  
(524288). [hostname XXX.XXX] [uri /install/centos/5/x86_64/ 
repodata/comps.xml] [unique_id VJNb-4inMQIAACd0XcwA]



This is set in  /etc/httpd/mod_security.d/modsecurity_crs_10_config.conf
SecResponseBodyLimit 524288


I increased that size and all is now well, but can somebody enlighten  
me as to the purpose of that setting?


I've started reading the document in
/usr/share/doc/mod_security-2.1.7/doc/modsecurity2-apache-reference.pdf
is there other good documentation for mod_security?

Cheers,
Tony Schreiner
Boston College
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssl and NameVirtualHost

2008-04-11 Thread Tony Schreiner


On Apr 10, 2008, at 6:08 PM, Kai Schaetzl wrote:


Scott Silva wrote on Thu, 10 Apr 2008 12:28:42 -0700:


I think you can download the intermediate certs from their webpage.


I had a look at their KB website yesterday and exactly the page that
explains how to get and install the intermediates is gone:
https://knowledge.verisign.com/support/ssl-certificates-support/ 
index?page

=contentid=AR179
How encouraging. I would have thought they supply the intermediary  
with

every signed cert, anyway, but apparently they don't.

Kai



I've been on jury duty for a couple of days so I apologize for not  
following up. Many thanks for all suggestions so far.


The issue with the intermediate cert looks the most promising and I  
am following up with my local IT.


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


  1   2   >