[CentOS] Configure WiFi at install on CentOS Stream 9

2024-01-09 Thread Tony Molloy
Hi,
I'm trying to install CS-9 and need to have WiFi setup on boot.

I've tried installing with KVM as a test but only get the choice of an
ethernet connection at install time.

I've tried installing onto a spare laptop and it gives a choice of ethernet
or WiFi for network connections. I choose WiFi and it allows me to
configure the WiFi. It detects the network and the IP-address. However when
I reboot the laptop there is no WiFi connection.

Any suggestions.

Thanks,

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


Re: [CentOS] CentOS 8 & HandBrakeCLI

2020-07-13 Thread Tony . Molloy
On Mon, 2020-07-13 at 08:55 -0400, mail...@toolz.com wrote:
> EXTERNAL EMAIL: This email originated from outside of the University
> of Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> On 2020-07-13 05:09, Kay Diederichs wrote:
> > On 7/13/20 4:04 AM, Frank M. Ramaekers Jr. wrote:
> > > Since I upgraded to CentOS8, I cannot get HandBrakeCLI to work:
> 
> I could not get HandBrake to work under CentOS 8, so I installed it 
> under
> Zorin 15 (an Ubuntu-derived German distro).  There, it works
> great.  I 
> did not try
> any of the other distros derived from Debian or Ubuntu itself.
> 
> Todd Merriman
> Software Tooolz, Inc.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

HandBrake-1.3.3-1.el8 and HandBrake-gui from RPM Fusion work fine on
CentOS-Stream 8. Haven't tried on CentOS 8.

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


Re: [CentOS] CentOS repo question

2020-04-23 Thread Tony Molloy
On Thu, 2020-04-23 at 09:29 -0500, joh...@centos.org wrote:
> > On Wed, 2020-04-22 at 08:25 -0500, joh...@centos.org wrote:
> > > 
> > 
> > Thanks Johnny. I'll go with the Stream repos enabled and see how
> > that
> > works out.
> > 
> 
> For the record .. i just updated to what we have in the QA stream and
> it
> worked OK .. I expect that out soon (next day or so i think)
> 
> 

Okay  Thanks I'll form the weekend and do a new install.

Regards,
Tony
> EXTERNAL EMAIL: This email originated from outside of the University
> of Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.o-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS repo question

2020-04-22 Thread Tony Molloy
On Wed, 2020-04-22 at 08:25 -0500, joh...@centos.org wrote:
> EXTERNAL EMAIL: This email originated from outside of the University
> of Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.



> On 4/21/20 2:09 PM, Tony Molloy wrote:
> > 
> > Hi All,
> > 
> > I've just installed a test laptop with CentOS Stream 8.1.
> > 
> > I notice that the default install has both CentOS-Base and
> > CentOS-Base-Appstream repos enabled. Is that necessary, or should I
> > just have the Appstream repos enabled.
> > 
> > The reason I'm asking is because I'm having trouble updating the
> > installation. The problem seems to be some installed rpms seem to
> > depend on updates from the CentOS-Base repos and others seem to
> > depend
> > on similar updates from the CentOS-Base-Appstream repos and you
> > can't
> > install both.
> > 
> > A typical error looks like this.
> > 
> > cannot install both qt5-qttools-common-5.12.5-1.el8.0.1.noarch and 
> > qt5-qttools-common-5.11.1-9.el8.noarch
> > 
> > qt5-qttools-common-5.11.1-9.el8.noarch is from CentOS-Base
> > 
> > qt5-qttools-common-5.12.5-1.el8.0.1.noarch is from
> > CentOS-Base-Appstream
> > 
> > So updating some installed rpm depends on updating to the Appstream
> > version of qt5-qttools and some other installed rpm depends on the
> > original CentOS-Base version of qt5-qttools.
> > 
> > I've played around with --allowerasing --best and --nobest but
> > still
> > can't get a clean update.
> 
> We are working out Stream issues right now .. but no, it is not
> necessary to have all the repos active.  You only have to have one
> set
> of Base, Appstream, and Extras enabled (CentOS Stream or CentOS
> Linux).
> 
> Stream standup is very much a work in progress at this point , but it
> is
> what i am using as my personal workstation (for whatever that is
> worth).
> 
> You SHOULD be able to have both sets enabled though .. and will be
> able
> to once we have all the issues solved .. but i don't have them both
> enabled on my workstation right now, just CentOS Stream.
> 
> Thanks,
> Johnny Hughes
> 
> 

Thanks Johnny. I'll go with the Stream repos enabled and see how that
works out.

Regards,

Tony
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS repo question

2020-04-21 Thread Tony Molloy

Hi All,

I've just installed a test laptop with CentOS Stream 8.1.

I notice that the default install has both CentOS-Base and
CentOS-Base-Appstream repos enabled. Is that necessary, or should I
just have the Appstream repos enabled.

The reason I'm asking is because I'm having trouble updating the
installation. The problem seems to be some installed rpms seem to
depend on updates from the CentOS-Base repos and others seem to depend
on similar updates from the CentOS-Base-Appstream repos and you can't
install both.

A typical error looks like this.

cannot install both qt5-qttools-common-5.12.5-1.el8.0.1.noarch and 
qt5-qttools-common-5.11.1-9.el8.noarch

qt5-qttools-common-5.11.1-9.el8.noarch is from CentOS-Base

qt5-qttools-common-5.12.5-1.el8.0.1.noarch is from
CentOS-Base-Appstream

So updating some installed rpm depends on updating to the Appstream
version of qt5-qttools and some other installed rpm depends on the
original CentOS-Base version of qt5-qttools.

I've played around with --allowerasing --best and --nobest but still
can't get a clean update.

Thanks,

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


Re: [CentOS] What about Mate Desktop on Centos 8?

2019-12-06 Thread Tony Molloy
On Fri, 2019-12-06 at 20:28 +, tony.mol...@ul.ie wrote:
> > > > 
> > > > You kindly offered a working version of Mate 1.20 - does that
> > > > offer still stand? If so, I am interested in installing it on C
> > > > 7.

Oh you were looking for mate-1.20 for CentOS 7. Sorry for the noise,
should read the e-mail before replying ;-(
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What about Mate Desktop on Centos 8?

2019-12-06 Thread Tony Molloy
On Wed, 2019-12-04 at 20:18 +0100, age...@meddatainc.com wrote:
> CAUTION: This email originated from outside of the University of
> Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> On 11/25/2019 11:14 PM, isdtor wrote:
> > > > Enable and start httpd. Write a build script that builds the
> > > > rpms in order, transfers them to the local repo, runs
> > > > createrepo, repeat. mozo needs python 3.5 and I couldn't do
> > > > that in mock (SCLo rh-python35).
> > > > 
> > > 
> > > You kindly offered a working version of Mate 1.20 - does that
> > > offer still stand? If so, I am interested in installing it on C
> > > 7.
> > 
> >  
> > At this point, that would be a bit painful. I rebuilt the C7 vm
> > here and lost all the rpms, so I'd have to rebuild them from the
> > sources I posted online. For which I'd have to recreate the build
> > script.
> > 
> > At least those files are still online ...
> > 
> > There was a recent post to the list where someoen ported the Fedora
> > rpms, does that help you?
> > 
> 
> I see, that is indeed unfortunate. Although I have been using Linux
> for some time, I am a complete beginner to compiling etc.
> 
> Do you have notes left?
> 

You can install MATE for CentOS 8 from the stenstorp repo

https://copr.fedorainfracloud.org/coprs/stenstorp/MATE/


I've been using it for some time with no problems.

Tony

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


Re: [CentOS] Possible Font problem with CentOS 7

2019-11-07 Thread Tony Molloy
On Wed, 2019-11-06 at 20:19 +, liam.p.oto...@gmail.com wrote:
> CAUTION: This email originated from outside of the University of
> Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> On Wed, 06 Nov, 2019 at 19:45:22 +, Tony Molloy wrote:
> > 
> > Hi,
> > 
> > I've got a possible font problem with a fully updated CentOS 7
> > system.
> > 
> > An example with the man command.
> > 
> > #man kill
> > 
> > Should return the following
> > 
> > KILL(1) User Commands   KILL(1)
> > 
> > NAME
> >kill - terminate a process
> > 
> > SYNOPSIS
> >kill [-s signal|-p] [-q sigval] [-a] [--] pid...
> >kill -l [signal]
> > 
> > 
> > but what I actually get is the following
> > 
> > KILL(1)   User CommandsKILL(1)
> > 
> > 
> >kill - terminate a process
> > 
> > 
> > [ signal| ] [ sigval] [ ] [ ] pid...
> > [signal]
> > 
> > Notice the missing text.
> > 
> > If I select the text and paste it into an editor I see the missing
> > text. So it's there just not displaying on the screen.
> > 
> > I also notice the effect with links embedded in e-mails. I use
> > evolution. Embedded links do not appear in the e-mail but if I
> > hover
> > over a link location then it appears in the text box at the bottom
> > of
> > the page and I can select it.
> > 
> > I suspect I'm missing some common font(s).
> > 
> > Any ideas.
> > 
> > Regards,
> > 
> > Tony
> 
> Greetings from Cork.
> 
> What terminal emulator are you using? Assuming it's gnome-terminal
> (the default), what
> is the output of the commands
> 
> gsettings get org.gnome.desktop.interface monospace-font-name
> 
'Monospace 11'

> and
> 
> fc-match monospace
>
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"


I got the solution for the terminal problem. It was a setting in the
terminal preferences settings which I had unticked. So now for the
e-mail problem. This I assume is also a preferences problem with either
my theme selection or with evoloution itself.

Thanks for the reply,

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


Re: [CentOS] Possible Font problem with CentOS 7

2019-11-07 Thread Tony Molloy
On Wed, 2019-11-06 at 13:57 -0600,
> This is caused by the colour profile settings in your terminal
> program (gnome-terminal, mate-terminal, whatever).
> 
> Edit-Prefrences-Colors
> 
> I generally just check "use colors from system theme" but I suppose
> that would depend on what you're using for a system theme.  But the
> setting you need to fix is under Text and Background Color.
> 

Thanks, that sorted the terminal problem. Now for the e-mail problem.

Regards,

Tony

> On Wed, 06 Nov 2019 19:45:22 +
> Tony Molloy wrote:
> 
> > 
> > Hi,
> > 
> > I've got a possible font problem with a fully updated CentOS 7
> > system.
> > 
> > An example with the man command.
> > 
> > #man kill
> > 
> > Should return the following
> > 
> > KILL(1) User Commands   KILL(1)
> > 
> > NAME
> >kill - terminate a process
> > 
> > SYNOPSIS
> >kill [-s signal|-p] [-q sigval] [-a] [--] pid...
> >kill -l [signal]
> > 
> > 
> > but what I actually get is the following
> > 
> > KILL(1)   User CommandsKILL(1)
> > 
> > 
> >kill - terminate a process
> > 
> > 
> > [ signal| ] [ sigval] [ ] [ ] pid...
> > [signal]
> > 
> > Notice the missing text.
> > 
> > If I select the text and paste it into an editor I see the missing
> > text. So it's there just not displaying on the screen.
> > 
> > I also notice the effect with links embedded in e-mails. I use
> > evolution. Embedded links do not appear in the e-mail but if I
> > hover
> > over a link location then it appears in the text box at the bottom
> > of
> > the page and I can select it.
> > 
> > I suspect I'm missing some common font(s).
> > 
> > Any ideas.
> > 
> > Regards,
> > 
> > Tony
> > 
> > 
> > 
> > 
> > 
> > 
> > -- 
> > Tony Molloy 
> > Home
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> > 
> 
> 
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Possible Font problem with CentOS 7

2019-11-06 Thread Tony Molloy


Hi,

I've got a possible font problem with a fully updated CentOS 7 system.

An example with the man command.

#man kill

Should return the following

KILL(1) User Commands   KILL(1)

NAME
   kill - terminate a process

SYNOPSIS
   kill [-s signal|-p] [-q sigval] [-a] [--] pid...
   kill -l [signal]


but what I actually get is the following

KILL(1)   User CommandsKILL(1)


   kill - terminate a process


[ signal| ] [ sigval] [ ] [ ] pid...
[signal]

Notice the missing text.

If I select the text and paste it into an editor I see the missing
text. So it's there just not displaying on the screen.

I also notice the effect with links embedded in e-mails. I use
evolution. Embedded links do not appear in the e-mail but if I hover
over a link location then it appears in the text box at the bottom of
the page and I can select it.

I suspect I'm missing some common font(s).

Any ideas.

Regards,

Tony






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


Re: [CentOS] C7 on Dell Precision 7530

2019-03-11 Thread Tony Molloy
On Fri, 2019-03-08 at 18:25 +0100, wwp wrote:
> Hello,
> 
> does anybody have experience with installing and running CentOS 7 on
> Dell Precision 7530 series (w/ Intel gfx chipset if that matters)?
> It can be bought w/ Ubuntu 16.04 LTS pre-installed (which doesn't
> attract me at all), but prior to use such hw model at work, I'd like
> to
> understand where I'm going to. Especially after my bad experiences
> installing C7 on "modern" (read since skylake variants) hardware
> whereas Ubuntu variants went better, gosh. Or maybe I should wait for
> C8.
> 
> Of course I did dig the Internet for intel, found very few stuff and
> this: https://access.redhat.com/ecosystem/hardware/3431551
> 
> Regards,
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

I see you got no replies to your question so here goes.

I've got CentOS 7 running on a Dell Precision 7510 workstation. It has NVidia 
graphics 
but I've never had problems with Intel graphics on any CentOS box before. The 
install was 
straight forward and it runs like a dream. 

YMMV ;-)
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] EPEL update?

2018-12-04 Thread Tony Molloy
On Tue, 2018-12-04 at 12:56 -0500, Stephen John Smoogen wrote:
> On Tue, 4 Dec 2018 at 12:18, Richard  net> wrote:
> > 
> > 
> > 
> > > Date: Tuesday, December 04, 2018 17:08:52 +
> > > From: Tony Molloy 
> > > 
> > > On Mon, 2018-12-03 at 07:44 -0500, Stephen John Smoogen wrote:
> > > > On Mon, 3 Dec 2018 at 06:00, isdtor  wrote:
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > OT for this list, but maybe I can get some pointers - how
> > > > > hard is
> > > > > it to get some packages updated in EPEL? The project web site
> > > > > sends you from link to link, and the ML web interface is
> > > > > horrible. No interest here to become a package maintainer or
> > > > > regular contributor.
> > > > > 
> > > > 
> > > > If you have interest in being a package maintainer or regular
> > > > contributor it can be very hard to get packages updated. EPEL
> > > > is
> > > > trying to mainly deal with people who want long term supported
> > > > package
> > > > sets with limited manpower to do so.
> > > > 
> > > > > I have taken it upon myself to rebuild MATE from Fedora 29,
> > > > > seeing that the current EPEL-7 packages are four revisions
> > > > > behind. Also updated a few packages to their latest upstream
> > > > > version.
> > > > 
> > > > If you are needing the latest upstream versions... I would say
> > > > you
> > > > are
> > > > probably going to need to maintain these things yourself. As
> > > > much
> > > > as you want/need the latest MATE or some other item there are
> > > > other
> > > > people who don't and EPEL package maintainers can't satisfy
> > > > both
> > > > demands.
> > > > 
> > > > > 
> > > > > ___
> > > > > CentOS mailing list
> > > > > CentOS@centos.org
> > > > > https://lists.centos.org/mailman/listinfo/centos
> > > > 
> > > > 
> > > 
> > > The problem is that the current version of Mate in the EPEL repos
> > > prevents updating from 7.5 to 7.6. There is a dependency problem
> > > with libgtop.
> > > 
> > > For example trying to update marco gives you.
> > > 
> > > Resolving Dependencies
> > > --> Running transaction check
> > > ---> Package marco.x86_64 0:1.16.1-3.el7 will be installed
> > > --> Processing Dependency: libgtop-2.0.so.10()(64bit) for
> > > package:
> > > marco-1.16.1-3.el7.x86_64
> > > --> Finished Dependency Resolution
> > > Error: Package: marco-1.16.1-3.el7.x86_64 (epel)
> > >    Requires: libgtop-2.0.so.10()(64bit)
> > >  You could try using --skip-broken to work around the problem
> > > 
> > > The same dependency holds for several mate packages.
> > > 
> > > So either hold back on the update until mate is updated or build
> > > it
> > > yourself are the choices..
> > > 
> > > Regards,
> > > 
> > > Tony.
> > 
> > The epel-testing repo resolves these dependencies, so include it
> > when
> > updating and things should be ok -- I just updated a mate desktop
> > system with no issues (it pulled about half a dozen items from
> > -testing).
> 
> 
> The maintainer of the Mate packages did not push the updated packages
> to EPEL until after CentOS-7.6 was out because he did not want to
> break 7.5 users. Now that 7.6.1810 is released, it should get
> promoted
> to epel in the next couple of days.
> 
> 

Great, thanks.

Tony
> 
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] EPEL update?

2018-12-04 Thread Tony Molloy
On Tue, 2018-12-04 at 09:16 -0800, Alice Wonder wrote:
> On 12/04/2018 09:08 AM, Tony Molloy wrote:
> 
> > 
> > The same dependency holds for several mate packages.
> > 
> > So either hold back on the update until mate is updated or build it
> > yourself are the choices..
> > 
> 
> Using EPEL-testing also solves the problem in many cases, might also
> be 
> able to build a temporary compat library package for old version of 
> libgtop until MATE packages are updated.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

Yep I'm just running up a VM to test the epel-testing solution.

Regards,

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


Re: [CentOS] [OT] EPEL update?

2018-12-04 Thread Tony Molloy
On Mon, 2018-12-03 at 07:44 -0500, Stephen John Smoogen wrote:
> On Mon, 3 Dec 2018 at 06:00, isdtor  wrote:
> > 
> > Hi,
> > 
> > OT for this list, but maybe I can get some pointers - how hard is
> > it to get some packages updated in EPEL? The project web site sends
> > you from link to link, and the ML web interface is horrible. No
> > interest here to become a package maintainer or regular
> > contributor.
> > 
> 
> If you have interest in being a package maintainer or regular
> contributor it can be very hard to get packages updated. EPEL is
> trying to mainly deal with people who want long term supported
> package
> sets with limited manpower to do so.
> 
> > I have taken it upon myself to rebuild MATE from Fedora 29, seeing
> > that the current EPEL-7 packages are four revisions behind. Also
> > updated a few packages to their latest upstream version.
> 
> If you are needing the latest upstream versions... I would say you
> are
> probably going to need to maintain these things yourself. As much as
> you want/need the latest MATE or some other item there are other
> people who don't and EPEL package maintainers can't satisfy both
> demands.
> 
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> 
> 

The problem is that the current version of Mate in the EPEL repos
prevents updating from 7.5 to 7.6. There is a dependency problem with
libgtop.

For example trying to update marco gives you.

Resolving Dependencies
--> Running transaction check
---> Package marco.x86_64 0:1.16.1-3.el7 will be installed
--> Processing Dependency: libgtop-2.0.so.10()(64bit) for package:
marco-1.16.1-3.el7.x86_64
--> Finished Dependency Resolution
Error: Package: marco-1.16.1-3.el7.x86_64 (epel)
   Requires: libgtop-2.0.so.10()(64bit)
 You could try using --skip-broken to work around the problem

The same dependency holds for several mate packages.

So either hold back on the update until mate is updated or build it
yourself are the choices..

Regards,

Tony.

> 
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frefox update from firefox-60.2.0-1.el7.centos.x86_64 to 60.2.1-1.el7.centos.x86_64 lost master password

2018-10-05 Thread Tony Molloy
On Fri, 2018-10-05 at 17:55 +1300, Rob Kampen wrote:
> On 05/10/18 01:27, Tony Molloy wrote:
> > On Thu, 2018-10-04 at 21:27 +1300, Rob Kampen wrote:
> > > On 04/10/18 05:45, Akemi Yagi wrote:
> > > > On Wed, Oct 3, 2018 at 9:19 AM Stephen John Smoogen  > > > il.c
> > > > om> wrote:
> > > > 
> > > > > It would seem that the problem is with upstream-upstream's
> > > > > (aka
> > > > > Firefox) cleaning up of items that are not supposed to be
> > > > > there
> > > > > after
> > > > > Firefox 58
> > > > > 
> > > > > https://bugzilla.mozilla.org/show_bug.cgi?id=1475775
> > > > > 
> > > > > It looks like it is deleting files it thinks should have been
> > > > > converted to a newer more secure version.. but don't seem to
> > > > > be
> > > > > for
> > > > > some reason. I am not sure if those files will just removed
> > > > > again
> > > > > every time you restore them.
> > > > 
> > > > That link added to the related RHBZ:
> > > > 
> > > > https://bugzilla.redhat.com/show_bug.cgi?id=1633932
> > > 
> > > Yes, that seems to describe what I am experiencing. As I usually
> > > keep
> > > FF
> > > open for days at a time, it has taken a while to show up. Will
> > > now
> > > try the
> > > 
> > > $ export NSS_DEFAULT_DB_TYPE="sql"
> > > 
> > > > Akemi
> > > > 
> > 
> > Hi Akemi,
> > 
> > That sorted the problem for me, thanks.
> > Now to start re-entering all my previously stored passwords. Lucky
> > I
> > have a list of sites if not the usernames/passwords ;-(
> > 
> > Regards Tony
> 
> works for me too - will just need to make sure this goes somewhere
> safe 
> to ensure survival after a reboot.

Put it in your .bash_profile. Then it will be set in your environment
each time you boot.

Regards, Tony.

> > > > ___
> > > > 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
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frefox update from firefox-60.2.0-1.el7.centos.x86_64 to 60.2.1-1.el7.centos.x86_64 lost master password

2018-10-04 Thread Tony Molloy
On Thu, 2018-10-04 at 21:27 +1300, Rob Kampen wrote:
> On 04/10/18 05:45, Akemi Yagi wrote:
> > On Wed, Oct 3, 2018 at 9:19 AM Stephen John Smoogen  > om> wrote:
> > 
> > > It would seem that the problem is with upstream-upstream's (aka
> > > Firefox) cleaning up of items that are not supposed to be there
> > > after
> > > Firefox 58
> > > 
> > > https://bugzilla.mozilla.org/show_bug.cgi?id=1475775
> > > 
> > > It looks like it is deleting files it thinks should have been
> > > converted to a newer more secure version.. but don't seem to be
> > > for
> > > some reason. I am not sure if those files will just removed again
> > > every time you restore them.
> > 
> > That link added to the related RHBZ:
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=1633932
> 
> Yes, that seems to describe what I am experiencing. As I usually keep
> FF 
> open for days at a time, it has taken a while to show up. Will now
> try the
> 
> $ export NSS_DEFAULT_DB_TYPE="sql"
> 
> > 
> > Akemi
> > 


Hi Akemi,

That sorted the problem for me, thanks.
Now to start re-entering all my previously stored passwords. Lucky I
have a list of sites if not the usernames/passwords ;-(

Regards Tony
> > ___
> > 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
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frefox update from firefox-60.2.0-1.el7.centos.x86_64 to 60.2.1-1.el7.centos.x86_64 lost master password

2018-10-03 Thread Tony Molloy
On Wed, 2018-10-03 at 12:08 +0200, Nicolas Thierry-Mieg wrote:
> On 10/03/2018 11:34 AM, Rob Kampen wrote:
> > Hi list,
> > 
> > Did an update to firefox last night and rebooted over night.
> > 
> > Today I find firefox started without asking for master password -
> > funny 
> > me thinks.
> > 
> > Try to log in to a web service I use and find that my password does
> > not 
> > appear.
> > 
> > Check preferences and find that no master password is set and the 
> > password list / table is empty.
> > 
> > As I do not trust my passwords to the cloud I do not save these to
> > my 
> > firefox profile . so back to manual entry for all my sites
> > wow 
> > going to be a slow month as I reset scores of passwords.
> > 
> > Any one else have this problem and any clues as to what causes
> > this? I 
> > am concerned if this should happen again, as I have saved passwords
> > for 
> > many scores of web services.
> 
> Hi,
> 
> haven't had that, but restoring logins.json and key3.db in 
> ~/.mozilla/firefox/.../ from your latest backup should do the trick.
> 

I had the same problem. Upgraded to the latest firefox last saturday
everything looked ok all day. Logged in on monday to find my master
password and all my stored passwords were gone. Unfortunately I had
done a backup of the home directories later on saturday. So restoring
the key3.db and logins.json files didn't work.

The problem seems to be with the key3.db file. When the latest firefox
(re)creates it, it has the wrong permissions

-rw---.  1 molloyt molloyt1137 Oct  3 16:09 logins.json
-rw---.  1 molloyt molloyt   16384 Oct  3 14:48 key3.db


I removed firefox, deleted the .mozilla directory and reinstalled
firefox. But the problem remains.

1. Delete the logins.json and key3.db files
2. Start firefox key3.db file created with the above permissions and
   selinux context looks ok
3. Set master password and a few account passwords
4. Check they're there in preferences, ok
   logins.json file created with above permissions
5. login/out a few times to the accounts to make sure everything
   works,ok
6. Shutdown firefox and restart it, account settings ok and working
   but key3.db file gone
7. Shutdown firefox and restart it, master password and accounts gone
   check recreated key3.db file and it has permissions as above.

I'm stumped.
Any ideas gratefully accepted ;-)

Tony.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-12-24 Thread Tony Molloy
On Tuesday 22 November 2016 15:23:08 Tony Molloy wrote:
> Hi,
> 
> I'm recently retired from my university job. I am looking for a
>  laptop to run CentOS 6/7. My university was a traditional Dell
>  site so I've used Latitude laptops for years, currently
>  E6500/E6510.
> 
> Anybody got any experience of running CentOS on the newer Dell
> Latitudes E5000 or E7000. These are not certified according to
>  Redhats' Hardware Guide.
> 
> Alternatively Precision Workstations would do. These can be
>  supplied with Ubuntu installed so they run Linux.
> 
> Thanks,
> 
> Tony
> 

Thanks to all who replied to my request above. I'm sorry for the delay 
in replying but I've been in hospital for the past month, just out on 
christmas leave.

I finally ordered a Precision 7510 Workstation, as recommended by a 
couple of people. It arrived with Ubuntu installed ( god I don't like 
Unity ) Over my christmas break I'll have a go at installing CentOS 7 
and let ye know how I get on.

Again thanks to everyone who took the time to reply, and have a Happy 
Christmas and a Merry New Year.

Tony. 
-- 
Linux nogs.tonyshome.ie 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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-23 Thread Tony Molloy
On Tuesday 22 November 2016 21:49:52 John R Pierce wrote:
> On 11/22/2016 1:14 PM, wwp wrote:
> > D800 series (810, etc.), E6500 series (E6500, E6530, etc.), at
> > least.
> 
> D series are 10 years or more old.   ancient in laptop terms.   I
>  had a D600 for a long time (new in 2003).
> 
> The E6x00, '10, '20, and '30 are also fairly old (2008, 2010, 2011,
>  and 2012, respectively).
> 
> The current models branded like Latitude 15 5000, 14 7000, etc, are
>  in fact Exx70 models, these are 6th gen core i3/i5/i7 based, aka
>  Skylake, and its this newest generation of stuff thats got
>  compatibility issues with CentOS.
> 


That's what I thought. I think I'll go for a Precision Workstation. 
Anybody see any major problems with the following configuration.

I'm the ex Systems Manager of a Computer Science Dept. so I have lots 
of experience in configuring Linux systems.


precision 15 7510

Intel® Core i5-6300HQ Processor (Quad Core 2.30G
Ubuntu Linux 14.04 SP1 
NVIDIA Quadro M1000M w/2GB GDDR5
15.6 Ultrasharp™ FHD IPS (1920x108
Bezel For Full HD Non Touch with Camera +MIC
16GB (2x8GB) 2133MHz DDR4 N-ECC
Intel® Dual Band Wireless 8260 (802.11ac)
256GB M.2 PCIe Solid State Drive
Additional 1TB 2.5inch SATA (7200 Rpm) Hard Drive
6-cell (72Wh) Lithium Ion battery

Seems pretty standard components to me.

Thanks,

Tony
-- 
Linux nogs.tonyshome.ie 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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-23 Thread Tony Molloy
On Tuesday 22 November 2016 21:14:15 wwp wrote:
> Hello John,
> 
> On Tue, 22 Nov 2016 12:55:27 -0800 John R Pierce 
 wrote:
> > On 11/22/2016 12:41 PM, wwp wrote:
> > > Latitude OK, I run CentOS6/7 on that.
> >
> > which Latitude?  they've probably made 100 different laptops over
> > the last couple decades branded 'Latitude'.
> >
> > I bet my wife's new Latitude 15 5000 would be problematic, it
> > uses USB C/Thunderport for its docking station which has 2
> > additional video adapters in it.   She's even having some issues
> > with Windows 7 with the docking ports, Win 10 is the officially
> > supported OS, but her $job software is all win7 based..
> 
> D800 series (810, etc.), E6500 series (E6500, E6530, etc.), at
>  least. Depends also of what you get inside, controller chips,
>  video.. Globally everything will work according to my experience.
> 
> 
> Regards,
> 

But they're all old models. I already run CentOS 6/7 on Latidude 
E65xx.

I'm looking for newer models.

Thanks,

Tony
-- 
Linux nogs.tonyshome.ie 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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-23 Thread Tony Molloy
On Tuesday 22 November 2016 20:41:34 wwp wrote:
> Hello Tony,
> 
> On Tue, 22 Nov 2016 19:01:18 +0000 Tony Molloy  
wrote:
> > On Tuesday 22 November 2016 18:32:14 Gordon Messmer wrote:
> > > On 11/22/2016 07:23 AM, Tony Molloy wrote:
> > > > I am looking for a laptop  to run CentOS 6/7. My university
> > > > was a traditional Dell site so I've used Latitude laptops for
> > > > years, currently E6500/E6510.
> > >
> > > Dell's Linux laptops are listed here:
> > >
> > > http://www.dell.com/learn/us/en/555/campaigns/xps-linux-laptop?
> > >c=us &l=en&s=biz
> >
> > Been through the Dell site, I'm very familiar with Dell.
> >
> > The original question was whether anybody was running CentOS 6/7
> > on Dell Latitude or Precision Workstation so I could replace
> > Ubuntu with CentOS.
> >
> > Rather not go for XPS basically a gaming machine not expandable
> > enough same with Inspiron.
> 
> Latitude OK, I run CentOS6/7 on that.
> 
> 
> Regards,
> 
What Latitude model  though. E5000 or E7000

Thanks 

Tony


-- 
Linux nogs.tonyshome.ie 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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-22 Thread Tony Molloy
On Tuesday 22 November 2016 18:32:14 Gordon Messmer wrote:
> On 11/22/2016 07:23 AM, Tony Molloy wrote:
> > I am looking for a laptop  to run CentOS 6/7. My university was a
> > traditional Dell site so I've used Latitude laptops for years,
> > currently E6500/E6510.
> 
> Dell's Linux laptops are listed here:
> 
> http://www.dell.com/learn/us/en/555/campaigns/xps-linux-laptop?c=us
> &l=en&s=biz
> 

Been through the Dell site, I'm very familiar with Dell.

The original question was whether anybody was running CentOS 6/7 on 
Dell Latitude or Precision Workstation so I could replace Ubuntu with 
CentOS.

Rather not go for XPS basically a gaming machine not expandable enough 
same with Inspiron.

Thanks,

Tony

-- 
Linux nogs.tonyshome.ie 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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] New laptop recomendation

2016-11-22 Thread Tony Molloy

Hi,

I'm recently retired from my university job. I am looking for a laptop 
to run CentOS 6/7. My university was a traditional Dell site so I've 
used Latitude laptops for years, currently E6500/E6510.

Anybody got any experience of running CentOS on the newer Dell 
Latitudes E5000 or E7000. These are not certified according to Redhats' 
Hardware Guide.

Alternatively Precision Workstations would do. These can be supplied 
with Ubuntu installed so they run Linux.

Thanks,

Tony
-- 
Linux nogs.tonyshome.ie 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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-20 Thread Tony Molloy
On Wednesday 20 April 2016 18:57:30 Joost wrote:
> Is NetworkManager-wifi installed?
> I remember after I installed Centos first time (7.0) wifi worked.
> When I later did a reinstall (7.2) during installation wifi worked
>  fine, but after a reboot not.
> Seems NetworkManager-wifi did not get installed by default.
> 
> On Wed, Apr 20, 2016 at 12:40 PM, Andreas Benzler
>  
> 
> wrote:
> > Ok, but still unclear where the problem is sitting.
> > Someone tested elrepro or my vanilla kernel
> >
> > http://centos.cms4all.org/centos/7/kernel/x86_64/ ?
> >
> > Sincerely
> >
> > Andy
> >
> > Am Dienstag, den 19.04.2016, 20:12 -0400 schrieb Philip V:
> > > Toshiba Satellite Pro P870
> > > Part PSPLFU-039011
> > >
> > > (I have the same symptoms as Tony reported.)
> > >
> > > On Fri, Apr 15, 2016 at 8:48 AM, Brandon Vincent
> > >
> > >  wrote:
> > > > On Fri, Apr 15, 2016 at 5:00 AM, Tony Molloy
> > > > 
> >
> > wrote:
> > > >> So any ideas.
> > > >
> > > > I may have missed this but what model laptop are we talking
> > > > about?
> > > >
> > > > Brandon Vincent
>

Anecdotal evidence only so take with a pinch of salt ;-)

I  installed 7.0 on a Dell laptop E6500 wifi worked.

I logged on remotely to do the update to 7.2 ( 7.1511 ) and at the 
same time I was pinging the laptop from another terminal. This should 
give me some idea of when wifi stopped working.

When the wifi stopped working, the pings stopped, in the update window 
the cleanup after the install was taking place and had stopped at 
cleanup of wpa-supplicant. Don't know what significance of that is.

Tony 

-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-15 Thread Tony Molloy
On Friday 15 April 2016 15:37:26 Tony Molloy wrote:
> On Friday 15 April 2016 13:48:58 Brandon Vincent wrote:
> > On Fri, Apr 15, 2016 at 5:00 AM, Tony Molloy 
> 
> wrote:
> > > So any ideas.
> >
> > I may have missed this but what model laptop are we talking
> > about?
> >
> > Brandon Vincent
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> 
> In my case they are both Dell E65xx fairly old but still
>  serviceable.
> 
> E6500 has
> 
> Network controller: Intel Corporation Ultimate N WiFi Link 5300
> 
> E6510 has
> Network controller: Intel Corporation Centrino Ultimate-N 6300
> (rev 35)
> 
> Tony
> 

My workaround.

On the Dell E6500

installed CentOS 7.0 from DVD ( development workstation )
   wifi works

updated to CentOS 7.1 ( 7.1503 ) using vault.centos.org 
   wifi works

updated to CentOS 7.2 ( 7.1511 ) using local repo
   wifi works

So I ended up with a working 7.2.

Hope this helps someone.

Tony.
   
 
-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-15 Thread Tony Molloy
On Friday 15 April 2016 13:48:58 Brandon Vincent wrote:
> On Fri, Apr 15, 2016 at 5:00 AM, Tony Molloy  
wrote:
> > So any ideas.
> 
> I may have missed this but what model laptop are we talking about?
> 
> Brandon Vincent
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 

In my case they are both Dell E65xx fairly old but still serviceable.

E6500 has

Network controller: Intel Corporation Ultimate N WiFi Link 5300

E6510 has
Network controller: Intel Corporation Centrino Ultimate-N 6300 
(rev 35)

Tony


-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-15 Thread Tony Molloy
On Friday 15 April 2016 08:34:06 Tony Molloy wrote:
> On Friday 15 April 2016 07:24:40 Andreas Benzler wrote:
> > Good morning Philip,
> >
> > Some of you say Centos 7.0 works why not download this kernel
> > from vault.centos.org <http://vault.centos.org/> and install with
> > yum install kernel…rpm?
> >
> > Sincerely
> >
> > Andy
> 
> CentOS 7.0 works when installed but when you upgrade it to 7.2 the
>  wifi device stops being recognised.
> 
> I'm going to do an install later today of 7.2 and see how it goes.
> 
> Tony
> 

OK I installed 7.2 ( 7-1511 Development workstation )

Anaconda allowed me to configure the wifi and it got an IP address from 
the router. So the wifi is working.

Reboot and no wireless device recognised.

NetworkManager only offers a wired and network proxy options for 
configuration.

iwl2000/2030 are installed and rfkill says the wireless is neither 
hard nor soft blocked.

So any ideas.

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-15 Thread Tony Molloy
On Friday 15 April 2016 07:24:40 Andreas Benzler wrote:
> Good morning Philip,
> 
> Some of you say Centos 7.0 works why not download this kernel from
>  vault.centos.org  and install with yum
>  install kernel…rpm?
> 
> Sincerely
> 
> Andy
> 
CentOS 7.0 works when installed but when you upgrade it to 7.2 the wifi 
device stops being recognised.

I'm going to do an install later today of 7.2 and see how it goes.

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-14 Thread Tony Molloy
On Thursday 14 April 2016 03:42:50 Philip V wrote:
> With CentOS 7.2 a laptop wireless card is recognized in dmesg, but
> nonfunctional. Toggling the hardware wifi switch causes the
>  Bluetooth icon to appear and disappear. The network configuration
>  window shows the Wireless tab greyed out.  Rebooting with the
>  bluetooth enabled does not help. It appears the appropriate driver
>  is iwlwifi, which is what works in Fedora and appears to be
>  available and installed in CentOS.
> 
> lspci gives
> 08:00.0 Network controller: Intel Corporation Centrino Wireless-N
>  2230 (rev c4)
> 

I had similar problems installing 7.2 onto a couple of Dell E6xxx 
laptops with 
Intel Corporation Centrino Ultimate-N 5300/6300 cards. It lets me 
configure the network at install time but when I boot there is no wifi 
device.

Partial solution.

Laptop 1.  ( install when 7.1 was latest release )
installed 7.1no wifi
installed 7.0wifi works
upgraded to 7.1 several months agowifi works
upgraded to 7.2 when it was released   wifi works

Laptop 2   ( install when 7.2 was latest release )
 installed 7.2  no wifi
 installed  7.0 wifi works
 upgraded to 7.2 ( last weekend )   no wifi


Any ideas.

Regards
Tony

-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.5 install, missing libraries: where did I go wrong?

2015-08-15 Thread Tony Molloy
On Saturday 15 August 2015 06:59:36 Gilbert Sebenste wrote:
> Hello everyone,
> 
> I had a CentOS 6.5 CD for a clean install, and I did a desktop
>  install. Then I did a yum update to bring it up to 6.7. So far, so
>  good.
> 
> I run a bunch of scientific programs that use C++ compilers and
>  libraries. But, the programs were failing becaause in /usr/lib,
>  the libraries simply weren't there. The directory was fairly
>  sparsely populated with about 10 directories of libraries for
>  specific programs. But otherwise, things that are in /usr/lib on a
>  Centos 5 server, such as:
> 
> libkate.so.1.2.1
> libkdb5.a
> libkdb5.so
> libkdb5.so.4
> 
> are indeed there. These are just 4 library examples. I assume I did
> something wrong in the installation to keep the lib*.so.* files
>  from installing into /usr/lib. What do I need to do next time to
>  keep that from happening? Anyone have any ideas?
> 
> Gilbert
> 

Assuming this was a 64bit install the libraries are in /usr/lib64 not 
/usr/lib.

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-573.3.1.el6.x86_64 #1 SMP Thu Aug 13 
22:55:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-7 re-install

2014-11-07 Thread Tony Molloy
On Friday 07 November 2014 13:43:42 James B. Byrne wrote:
> On Thu, November 6, 2014 10:02, Tony Molloy wrote:
> > Hi James,
> >
> > From an old email of mine to the list.
> >
> >> Hi Tony
> >>
> >> Did you receive an answer to your question ? I didn't see
> >> anything on the list ! I'm interested too.
> >>
> >> Thank you
> >
> > No but I sorted it out myself. I just took a chance, it was on a
> > test server anyway ;-)
> >
> > In the disk partitioning screen you will see the old 6.5
> > installation. Clicking on it will bring up the existing 6.5
> > partitions. Then select each of the existing partitions and a
> > configuration menu comes up which allows you to reformat the
> > partition if required. So just don't reformat the partitions you
> > want to keep .They then become part of the new 7.0 installation.
> >
> > Hope this helps.
> 
> That is exactly what I ended up doing.  It just seems a little odd
>  to me to require that amount of manual effort when one wants to
>  reuse the entire disk for a fresh install.  I seem to recall that
>  in 6.5 one could simply tell the installer to do exactly that.

It's called progress ;-)

> 
> In any case, somehow I experienced the situation that, even though
>  I had 'deleted' each of the old mount points, the CentOS-7
>  installer would not reuse the original boot partition space but
>  instead created a new one.  I am not sure what was going on or
>  what I did that caused this.  In the end I rebooted from the
>  liveCD and used the disk utility to manually remove all of the
>  partitions on the HDD and then re-installed from the minimal DVD. 
>  That seems to have returned the partition table to something I am
>  more comfortable with.
> 

-- 
Linux nogs.tonyshome.ie 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 
04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-7 re-install

2014-11-06 Thread Tony Molloy
On Thursday 06 November 2014 14:27:31 James B. Byrne wrote:
> On Wed, November 5, 2014 19:41, Richard wrote:
> >  Original Message 
> >
> >> Date: Wednesday, November 05, 2014 15:53:53 -0500
> >> From: "James B. Byrne" 
> >> To: centos@centos.org
> >> Subject: [CentOS] CentOS-7 re-install
> >>
> >> I have booted the system from a live cd.  I am looking at a
> >> 1.1GB volume that I presume is the /boot partition I created in
> >> the installer.  Inside I see this:
> >>
> >> config-3.10.0-123.el.x86_64
> >> /grub
> >> /grub2
> >> initramfs-0-rescue-[md5. . .].img
> >> initramfs-3.10.0-123.el.x86_64
> >> initrd-plymouth.img
> >> symvers-3.10.0-123.el.x86_64
> >> System-map-3.10.0-123.el.x86_64
> >> vmlinuz-0-rescue-[md5 as above]
> >> vmlinuz-3.10.0-123.el.x86_64
> >>
> >> /grub contains:
> >>  splash.xpm.gz
> >>
> >> /grub2 contains:
> >>  /themes
> >>
> >> /grub2/themes contains:
> >> /system
> >>
> >> /grub2/themes/system contains:
> >>
> >>   nothing at all
> >>
> >> So, what does CentOS-7 boot from?  I take it that this is not
> >> normal?  So where are the boot configuration files?  Note, that
> >> I have only been working on this system through the GUI and I I
> >> did was install, update, played around with Gnome3, installed
> >> KDE, shutdown and re-installed over the original.
> >>
> >> So, whatever happened it is not because of anything one can only
> >> screw up from the cli.  Since the re-install I have not been
> >> able to boot from the HDD. Seeing as there are no boot
> >> configuration files I can see why booting is a problem.  But,
> >> how does the installer operate such that these critical files
> >> were not provided?
> >
> > The /boot/grub2 directory should have the files:
> >
> > device.map
> > grub.cfg
> > grubenv
> >
> > The grub.cfg looks kind of like grub/grub.conf and can be
> > generated using grub2-mkconfig (based on the files in /etc/grub.d
> > and /etc/default/grub).
> >
> > If you booted from a live cd I suspect that the full boot setup
> > isn't completed on the installed system, which would be why you
> > don't seem to be seeing the grub2 boot files.
> 
> I booted from the liveCD simply to see what the regular installer
>  had done to the HDD.  Eventually I did install from the liveCD and
>  that has allowed the system to boot from the HDD again.
> 
> I am sort of perplexed as to why there is no simple provision to
>  reuse the entire disk as I recall was the case with previous
>  versions of CentOS.  Why the laborious requirement to delete each
>  mount point from an install one wishes to remove entirely?
> 
> In any case, I have gotten past the difficulty and have built zfs
>  for 3.10.0-123-9.2.  Now to see if I can figure out how to rebuild
>  the system using zfs

Hi James,

>From an old email of mine to the list.

>  > 
> Hi Tony
> 
> Did you receive an answer to your question ? I didn't see anything
> on the list ! I'm interested too.
> 
> Thank you


No but I sorted it out myself. I just took a chance, it was on a test 
server anyway ;-)

In the disk partitioning screen you will see the old 6.5 installation. 
Clicking on it will bring up the existing 6.5 partitions. Then select 
each of the existing partitions and a configuration menu comes up which 
allows you to reformat the partition if required. So just don't 
reformat the partitions you want to keep .They then become part of the 
new 7.0 installation.

Hope this helps.

Regards,
Tony



-- 
Linux nogs.tonyshome.ie 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 
17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


-- 
Linux nogs.tonyshome.ie 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 
04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RPM install/upgrade problem

2014-09-29 Thread Tony Molloy
On Saturday 27 September 2014 00:20:17 Cliff Pratt wrote:
> It may be that you have a bad bash RPM from somewhere. I believe
>  that the cpio command works directly on the package so you could
>  try with cpio on the command line to see if it will open the RPM.
>  I suspect that it won't be able to.
> 
> Cheers,
> 
> Cliff

No, this was a server which had a copy of the centos repos stored 
locally. i actually wiped and redownloaded the updates from three 
separate sources with the same results. It wasn't just bash the latest 
kernel updates were also affected.

Funny thing was late last week it upgraded the bash rpm but failed on 
the bash-doc rpm.

So in the end I just reinstalled the server and everything went fine.

Thanks,

Tony.

> 
> On Thu, Sep 25, 2014 at 6:52 PM, Tony Molloy  
wrote:
> > Hi,
> >
> > For the last few updates I'm having a yum problem.
> >
> > # yum update
> >
> > gives the following error for e.g.
> >
> > Running transaction
> >   Updating   : bash-4.2.45-5.el7_0.2.x86_64  1/10
> > Error unpacking rpm package bash-4.2.45-5.el7_0.2.x86_64
> > error: unpacking of archive failed on file
> > /usr/bin/alias;5423b9bc: cpio: open
> >
> >
> > The same problem happens if I try to use rpm for the update so it
> > appears to be an rpm problem rather than a yum one.
> >
> > I've rebuilt the rpm databases successfully but tthe problem
> > persists.
> >
> > Regards,
> >
> > Tony,

> > --
> > Linux nogs.tonyshome.ie 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep
> > 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> > ___
> > 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
> 

-- 
Linux nogs.tonyshome.ie 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 
21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] RPM install/upgrade problem

2014-09-24 Thread Tony Molloy

Hi,

For the last few updates I'm having a yum problem.

# yum update

gives the following error for e.g.

Running transaction
  Updating   : bash-4.2.45-5.el7_0.2.x86_64  1/10
Error unpacking rpm package bash-4.2.45-5.el7_0.2.x86_64
error: unpacking of archive failed on file /usr/bin/alias;5423b9bc: 
cpio: open
 

The same problem happens if I try to use rpm for the update so it 
appears to be an rpm problem rather than a yum one.

I've rebuilt the rpm databases successfully but tthe problem persists.

Regards,

Tony

-- 
Linux nogs.tonyshome.ie 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 
21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade to m7.0 retaining some existing partitions

2014-08-23 Thread Tony Molloy
On Friday 22 August 2014 14:00:45 you wrote:
> Le 19.08.2014 08:44, Tony Molloy a écrit :
> > I want to install 7.0 replacing  an existing 6.5 installation.
> >
> > When I choose custom partitioning I can delete the old 6.5
> > partitions and create new partitions 7.0 but there doesn't appear
> > to be any way to retain an existing partition, say /home for
> > instance, over the installation.
> >
> > Am I just missing something obvious or any ideas on what the
> > magic is.
> 
> Hi Tony
> 
> Did you receive an answer to your question ? I didn't see anything
> on the list ! I'm interested too.
> 
> Thank you


No but I sorted it out myself. I just took a chance, it was on a test 
server anyway ;-)

In the disk partitioning screen you will see the old 6.5 installation. 
Clicking on it will bring up the existing 6.5 partitions. Then select 
each of the existing partitions and a configuration menu comes up which 
allows you to reformat the partition if required. So just don't 
reformat the partitions you want to keep .They then become part of the 
new 7.0 installation.

Hope this helps.

Regards,
Tony



-- 
Linux nogs.tonyshome.ie 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 
17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Upgrade to m7.0 retaining some existing partitions

2014-08-18 Thread Tony Molloy


Hi,

I want to install 7.0 replacing  an existing 6.5 installation.

When I choose custom partitioning I can delete the old 6.5 partitions 
and create new partitions 7.0 but there doesn't appear to be any way 
to retain an existing partition, say /home for instance, over the 
installation.

Am I just missing something obvious or any ideas on what the magic is.

Regards,

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 
17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual boot with 2 drives

2014-08-09 Thread Tony Molloy
On Saturday 09 August 2014 11:23:10 Alan McRae wrote:
> No problems Joe. I have done this multiple times.
> 
> I assume you have Fedora 20 on sda (the first disk) with
> the bootloader (grub2) on sda. Your BIOS will be set to boot sda.
> 
> You install CentOS 7 on sdb (obvious).
> 
> Your options are with the bootloader (grub2). If you install
> the bootloader on sdb the two systems will remain separate.
> You will have to change the BIOS to boot either sda (F20)  or sdb
>  (C7).
> 
> The way I prefer would be to install the new bootloader on sda
> (overwriting the current configuration).
> Your BIOS will still boot sda which will take you into
> the grub2 menus which will show both Fedora 20 and CentOS 7.
> 
> You need to be aware that in the above configuration sda will
> boot into /boot on sdb (C7) which will have the dual boot menus.
> Don't wreck this directory or you won't be able to boot F20
>  (easily).
> 
> The F20 and C7 installers are very good. They scan the disks for
> linux and Windows installations and add them into the boot menu for
>  you.
> 
> I have a laptop which boots C7, C6, F20, XP and 3 versions of
>  Android using grub2.
> 
> Alan
> 
 
I'v been trying to dual boot  windows 7 and CentOS 7 for a week now 
without any luck.

CentOS 5/6 and Fedora 20 recognise the Windows installation and place 
an entry for it on the boot menu.

CentOS 7 anaconda recognises the Windows 7 ntfs partition at 
installation time as unknown but doesn't place an entry for it in the 
grub2 boot files. Did you install CentOS 7 last.

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 
17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disappearing Network Manager config scripts

2014-05-05 Thread Tony Molloy
On Monday 05 May 2014 00:22:52 Evan Rowley wrote:
> When I started this thread a week ago, I certainly did not expect
>  this many replies. Without a doubt it seems Network Manager is a
>  controversial topic. I still haven't worked out my Network Manager
>  woes and just lost an hour troubleshooting a Golang webserver
>  which wouldn't start.
> 
> Apparently in Golang's net package, there is a DNS resolver
>  function that's called whenever a server is started. That function
>  depends on a working /etc/resolv.conf - As per usual, the
>  /etc/resolv.conf file turned out to be the blank template
>  NetworkManager always creates. The webserver starts now, but this
>  /etc/resolv.conf will certainly be blown away by NetworkManager
>  the next time the network service restarts.
> 
> I have one idea as to why this problem persists. This file:
> 
> ll /etc/sysconfig/network-scripts/ifcfg-eth0
> ...
> 
> -rw-r--r--. 1 root root44 Apr 26 22:21 ifcfg-eth0
> 
> 
> Is it meant to be executable? Being a configuration file, I'm
>  assuming it doesn't need to be. Am I wrong?
> 

A hack. Set up your resolv.conf as you need it.

Then as root chattr +i  /etc/resolv.conf

Now NM can configure the interfaces but can't change /etc/resolv.conf



Linux nogs.tonyshome.ie 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 
19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] run script on cron job only run on first Saturdat every month???

2013-07-31 Thread Tony Molloy
On Tuesday 30 July 2013 22:58:34 John R Pierce wrote:
> On 7/30/2013 2:32 PM, Keith Keller wrote:
> > 15 04 1-7 * 6 /home/app/oracle/backup/monthlybk.sh
> 
> maybe...
> 
>   15 04 * * 6 test $(date +"%d") -le 07 &&
>  /home/app/oracle/backup/monthlybk.sh
> 
> (untested)

Run an incremental backup every day of the month except sundays

03 03 1-31 * * test `date +\%a` != Sun && /usr/local/bin/backup-rsch-
inc


Run a full backup on the first sunday of the month

07 03 1-7  * * test `date +\%a` =  Sun && /usr/local/bin/backup-rsch-
full


Tony



-- 
Linux mufc.tonyshome.ie 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 
23:51:20 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 404 Error

2013-06-16 Thread Tony Molloy
On Sunday 16 June 2013 06:19:33 Mark LaPierre wrote:
> Hey Y'all,
> 
> I got this error from yum
> 
> http://vault.centos.org/6.4/os/i386/repodata/repomd.xml: [Errno 14]
> PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
> 
> Has the path to the repo changed?
> http://vault.centos.org/6.4/os/i386/repodata/repomd.xml:

The 6.4 tree, the current point release, is not in the vault yet. 
Check out 

Tony
-- 
Linux mufc.tonyshome.ie 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 
03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Run multiple instance of apache

2013-05-28 Thread Tony Molloy
On Monday 27 May 2013 12:29:18 Rainer Duffner wrote:
> Am Mon, 27 May 2013 14:16:45 +0300
> 
> schrieb Mihamina Rakotomandimby :
> > On 2013-05-27 14:14, Rainer Duffner wrote:
> > > When your infrastructure is completely virtualized, it may make
> > > no sense.
> > > But some people still prefer to run on real hardware;-)
> >
> > What about using LXC? You can isolate 2 Apaches.
> 
> He doesn't want to dig into lxc either, I assume.
> He just wants to run two apache-instances.
> ;-)
> And does CentOS come with lxc?
> I don't think so...
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

One more problem the OP may have is with ssl.conf. It listens by 
default on port 443 and you can't have both apache instances listening
on that port, the second instance will refuse to start. He'll need to 
change the port for one instance.

Ran into this problem when I tried to run  a separate instance of 
apache for backuppc.

Tony
-- 
Linux mufc.tonyshome.ie 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 
20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not - Re: New DNS server up and running

2013-02-21 Thread Tony Molloy
On Thursday 21 February 2013 11:25:44 Robert Moskowitz wrote:
> On 02/21/2013 04:30 AM, James Hogarth wrote:
> > On 21 February 2013 01:28, Robert Moskowitz  
wrote:
> >> It looks like no system, internal or external could access the
> >> DNS on my new server.  IPTABLES was set for 53 both UDP and TCP.
> >> Firewall was OK. In fact a local system on the same subnet, thus
> >> NOT going through my firewall was denied access to the internal
> >> domain.  Localhost of course works.
> >>
> >> So it is either the Linux firewall and bind port randomization,
> >> or it is SELINUX.  How do I test to find out which?
> >>
> >> Since the new server is on the same IP address as the old, it is
> >> unplugged from the switch.  I can switch back and forth between
> >> to two boxes, only taking the time for ARP table updates.
> >>
> >> So I hope someone can point me to what I have missed.
> >
> > audit2allow -a will tell you if it's selinux ... and specifically
> > what is wrong...
> 
> Great.  I have to make notes on how to test about selinux
>  reporting.
> 
> > A quick test would be getenforce Permissive and restarting bind
> > ...
> 




Hi,

setenforce 0  sets SELinux to permissive
setenforce 1  sets it to enmforcing
sestatus to check the current status

You can use the following to build a custom SElinux module

#  Generate local policy
grep http  /var/log/audit/audit.log | audit2allow -m myhttp > 
myhttp.te

#  could also use grep  http to just get the http AVC

#  Compile the module
checkmodule -M -m -o local.mod myhttp.te

#  Create the package
semodule_package -o myhttp.pp -m local.mod

#  Load the module into the kernel
semodule -i myhttp.pp

Tony

















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


Re: [CentOS] Large yum update

2013-01-19 Thread Tony Molloy
On Saturday 19 January 2013 03:51:53 E.B. wrote:
> Hi,
> 
> On about 8am GMT Jan 18, my server reported an unusually large
>  number of yum updates available.
> 
> I think this is due to the release of CentOS 5.9:
> 
> http://article.gmane.org/gmane.linux.centos.announce/7203
> 
> However, I just wanted to be a little paranoid, since this is
>  unusual for my normal yum update reports (over 100 updates
>  compared to a couple a week).  Can someone confirm my suspicion,
>  or is it possible I have a security issue on my hands?
> 
> Thank you
> 

Yep CentOS 5.9 was released on thursday. 100+ package updates 
depending on what you have installed. Upgraded several x64 and i686 
servers without problems yesterday.

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


Re: [CentOS] Possible repo polllution

2012-11-30 Thread Tony Molloy
On Friday 30 November 2012 14:21:12 Nicolas Thierry-Mieg wrote:
> Tony Molloy wrote:
> > Hi,
> >
> > I've just been checking my local copy of the CentOS repos. I
> > found 200+ i386/i686 packages  in both the updates/5/RPMS and
> > updates/6/Packages directories.
> >
> > I checked with my rsync site ( ftp.heanet.ie )  and the
> > equivalent  UK site ( ftp.mirrorservice.org ) and they both
> > carried these packages also.
> >
> > Is this a case a repo pollution, it can't be necessary to have
> > i386 packages in the x86_64 updates. Just checking before I
> > delete these packages.
> 
> no it's probably not repo pollution.
> try to google for multilib
> 
> for example:
> http://blog.nexcess.net/2012/07/19/64-bit-centos-installing-32-bit-
> packages/ ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

Thanks Nicolas, John.

These repos are for a bunch of 64 servers, the only one of which 
requires 32bit packages is the one that runs Oracle ;-)

I might as well leave them there, disk space is cheap.

Thanks again.

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


[CentOS] Possible repo polllution

2012-11-30 Thread Tony Molloy

Hi,

I've just been checking my local copy of the CentOS repos. I found 
200+ i386/i686 packages  in both the updates/5/RPMS and 
updates/6/Packages directories.

I checked with my rsync site ( ftp.heanet.ie )  and the equivalent  UK 
site ( ftp.mirrorservice.org ) and they both carried these packages 
also.

Is this a case a repo pollution, it can't be necessary to have i386 
packages in the x86_64 updates. Just checking before I delete these 
packages.

Thanks.

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


Re: [CentOS] swapper: page allocation failure. order:1, mode:0x20

2012-10-22 Thread Tony Molloy
On Friday 19 October 2012 17:16:10 Tony Molloy wrote:
> On Friday 19 October 2012 15:27:52 m.r...@5-cent.us wrote:
> > Tim Nelson wrote:
> > > - Original Message -
> > >
> > >> On Thursday 18 October 2012 21:44:30 Tim Nelson wrote:
> > >> > I see this ocasionally on one of my CentOS 6.3 x64 systems:
> > >> >
> > >> > Oct 18 03:10:52 backup kernel: swapper: page allocation
> > >> > failure. order:1, mode:0x20 Oct 18 03:10:52 backup kernel:
> > >> > Pid: 0, comm: swapper Not tainted 2.6.32-279.9.1.el6.x86_64
> > >> > #1 Oct 18 03:10:52 backup kernel: Call Trace:
> > >> > Oct 18 03:10:52 backup kernel:   [] ?
> > >> >  __alloc_pages_nodemask+0x77f/0x940 Oct 18 03:10:52 backup
> > >> > kernel:
> > >>
> > >> 
> > >>
> > >> > Any thoughts on the cause? The system has 16GB of RAM, and
> > >> > whenever checked, there is no swap usage. Is this a memory
> > >> > error (bad RAM)?
> > >>
> > >> I have the same problem on a Dell PE R720 with 16GB of RAM
> > >> doing lots of networking. It's a file server. It was discussed
> > >> on the dell-poweredge mailing list last week
> > >> 
> > >>
> > >> The conclusion was that it was harmless but for a discussion
> > >> and possible workaround see
> > >> <https://bugzilla.redhat.com/show_bug.cgi?id=770545#c16>
> > >>
> > >> Hope this helps,
> >
> > Thanks, but I agree with the person in the bugzilla thread, this
> > is not "just harmless" - when I see one in the logs, I usually
> > see several within a single hour. I *think* that it seems to
> > happen more when someone's copying or d/l large datasets, and it
> > makes me extrememly worried about the consistency of the data.
> 
> Agree it happens when there is a lot of network activity. My box
> during the day is a student fileserver and at night it does backups
> using BackupPC so a lot of network activity. I haven't seen any
> ill-effects but would obviously be happy to get it sorted. I tried
>  the workaround suggested in the bugzilla thread so I'll see if it
>  has any effect.
> 
> Tony
> 

Ok I tried that workaround 
set vm.zone_reclaim_mode = 1 in /etc/sysctl.conf
and the message has gone.

It even survived booting into the latest kernel
2.6.32-279.11.1.el6.x86_64

Tony




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


Re: [CentOS] swapper: page allocation failure. order:1, mode:0x20

2012-10-20 Thread Tony Molloy
On Friday 19 October 2012 15:20:15 Tim Nelson wrote:
> - Original Message -
> 
> > On Thursday 18 October 2012 21:44:30 Tim Nelson wrote:
> > > I see this ocasionally on one of my CentOS 6.3 x64 systems:
> > >
> > > Oct 18 03:10:52 backup kernel: swapper: page allocation
> > > failure. order:1, mode:0x20 Oct 18 03:10:52 backup kernel: Pid:
> > > 0, comm: swapper Not tainted 2.6.32-279.9.1.el6.x86_64 #1 Oct
> > > 18 03:10:52 backup kernel: Call Trace:
> > > Oct 18 03:10:52 backup kernel:   [] ?
> > >  __alloc_pages_nodemask+0x77f/0x940 Oct 18 03:10:52 backup
> > > kernel:
> >
> > 
> >
> > > Any thoughts on the cause? The system has 16GB of RAM, and
> > > whenever checked, there is no swap usage. Is this a memory
> > > error (bad RAM)?
> > >
> > > --Tim
> >
> > I have the same problem on a Dell PE R720 with 16GB of RAM doing
> > lots of networking. It's a file server. It was discussed on the
> > dell-poweredge mailing list last week
> > 
> >
> > The conclusion was that it was harmless but for a discussion and
> > possible workaround see
> > 
> >
> > Hope this helps,
> 
> *VERY* helpful, thanks!
> 
> --Tim
> ___

Tim. Mark,

For another discussion of this bug see:

https://bugzilla.redhat.com/show_bug.cgi?id=713546

Again the conclusion seems to be that it's harmless, just some lost 
network packets which are then re-transmitted. 

Should be fixed for 6.4 ;-)

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


Re: [CentOS] swapper: page allocation failure. order:1, mode:0x20

2012-10-19 Thread Tony Molloy
On Friday 19 October 2012 15:27:52 m.r...@5-cent.us wrote:
> Tim Nelson wrote:
> > - Original Message -
> >
> >> On Thursday 18 October 2012 21:44:30 Tim Nelson wrote:
> >> > I see this ocasionally on one of my CentOS 6.3 x64 systems:
> >> >
> >> > Oct 18 03:10:52 backup kernel: swapper: page allocation
> >> > failure. order:1, mode:0x20 Oct 18 03:10:52 backup kernel:
> >> > Pid: 0, comm: swapper Not tainted 2.6.32-279.9.1.el6.x86_64 #1
> >> > Oct 18 03:10:52 backup kernel: Call Trace:
> >> > Oct 18 03:10:52 backup kernel:   [] ?
> >> >  __alloc_pages_nodemask+0x77f/0x940 Oct 18 03:10:52 backup
> >> > kernel:
> >>
> >> 
> >>
> >> > Any thoughts on the cause? The system has 16GB of RAM, and
> >> > whenever checked, there is no swap usage. Is this a memory
> >> > error (bad RAM)?
> >>
> >> I have the same problem on a Dell PE R720 with 16GB of RAM doing
> >> lots of networking. It's a file server. It was discussed on the
> >> dell-poweredge mailing list last week
> >> 
> >>
> >> The conclusion was that it was harmless but for a discussion and
> >> possible workaround see
> >> 
> >>
> >> Hope this helps,
> 
> Thanks, but I agree with the person in the bugzilla thread, this is
>  not "just harmless" - when I see one in the logs, I usually see
>  several within a single hour. I *think* that it seems to happen
>  more when someone's copying or d/l large datasets, and it makes me
>  extrememly worried about the consistency of the data.


Agree it happens when there is a lot of network activity. My box 
during the day is a student fileserver and at night it does backups 
using BackupPC so a lot of network activity. I haven't seen any
ill-effects but would obviously be happy to get it sorted. I tried the 
workaround suggested in the bugzilla thread so I'll see if it has any 
effect.

Tony
> 
>mark
> 
> ___
> 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] swapper: page allocation failure. order:1, mode:0x20

2012-10-19 Thread Tony Molloy
On Thursday 18 October 2012 21:44:30 Tim Nelson wrote:
> I see this ocasionally on one of my CentOS 6.3 x64 systems:
> 
> Oct 18 03:10:52 backup kernel: swapper: page allocation failure.
>  order:1, mode:0x20 Oct 18 03:10:52 backup kernel: Pid: 0, comm:
>  swapper Not tainted 2.6.32-279.9.1.el6.x86_64 #1 Oct 18 03:10:52
>  backup kernel: Call Trace:
> Oct 18 03:10:52 backup kernel:   [] ?
>  __alloc_pages_nodemask+0x77f/0x940 Oct 18 03:10:52 backup kernel:



> 
> Any thoughts on the cause? The system has 16GB of RAM, and whenever
>  checked, there is no swap usage. Is this a memory error (bad RAM)?
> 
> --Tim

I have the same problem on a Dell PE R720 with 16GB of RAM doing lots 
of networking. It's a file server. It was discussed on the 
dell-poweredge mailing list last week 


The conclusion was that it was harmless but for a discussion and 
possible workaround see 


Hope this helps,

Tony


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


Re: [CentOS] Setting PS1 for ordinary users

2012-10-10 Thread Tony Molloy
On Wednesday 10 October 2012 19:42:32 James B. Byrne wrote:
> CentOS-6
> 
> When I login as root I see this prompt:
> 
> 
> [root@vhost04 ~]#
> 
> When I login as a non-priviledged user I see this instead:
> 
> sh-4.1$
> 
> .bashrc and .bash_profile have identical contents in /root and
> /home/user.  What causes the difference?  Why?  How does one change
> the default so that all normal users get a [userid@hostname pwd]$
> prompt?
>
> I have loked in/etc/profile.d and /etc/bashrc and I cannot see what
> condition is triggering the different behaviour.
> 

Create a file called  /etc/sysconfig/bash-prompt-xterm

with contents

#!/bin/bash
echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD} [ `tty | sed -e 
"s:/dev/::"` ]\007"

watch for line wrap in e-mail

You can edit to suit your taste but the above gives

[molloyt@mufc ~]$ 

Then make sure your users have bash as their shell in the password file 
not sh.

Regards,

Tony





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


Re: [CentOS] Changes to inodes discovered by aide

2012-09-28 Thread Tony Molloy
On Friday 28 September 2012 03:03:31 Jobst Schmalenbach wrote:
> Hi.
> 
> On one of my servers aide just reported inode changes to a large
>  bunch of files in a variety of directories, e.g. /usr/bin,
>  /usr/sbin etc. This machine sits behind a couple of firewalls and
>  it would be hard to get to.
> 
> The day before I updated "clam*" and updated the aide database
>  right after that:
> 
>   -rw---  1 root root 7407412 Sep 26 10:58 aide.db.gz
> 
> 
> The problem was that the changes were made when no-one was in the
>  office, here are a few:
> 
>Directory: /usr/sbin
>  Mtime: 2012-09-26 10:55:15  , 2012-09-27
>  06:36:42 Ctime: 2012-09-26 10:55:15  , 2012-09-27
>  06:36:42 File: /usr/sbin/wpa_supplicant
>  Ctime: 2012-09-07 06:39:44  , 2012-09-27
>  06:36:40 Inode: 2490595  , 2490536 MD5
>   : IVNJESmXwIG9XY0MowL3CA== , DUQMpFMsKqlZgjOmJIp3OQ==
>  RMD160   : 4xuWhqqliTLM5Jx6zAvQ9f1PY1c= ,
>  AlSPQGiVe+/T8YdHDSIypI904kA= SHA256   :
>  OaUWNIGUS9AhXEjV3p8Cg4TeIEjuQ/tu ,
>  z1c9XCKVyjDzDuN7t32B+sbj6nil90TK File: /usr/sbin/clamav-milter
>  Size : 202453   , 206637
>  Ctime: 2012-09-26 10:55:15  , 2012-09-27
>  06:36:37 Inode: 2490507  , 2490625 MD5
>   : HoONWy9q+qbRzHtlTeR6Wg== , klWTxNFmL8MEAQmIPwvHxg==
>  RMD160   : lfa72Vrh6Q2DWjf+UIxREAK4V1Y= ,
>  MPbEoKH/ws3aWA+sBuycRvU9DP0= SHA256   :
>  aFRvKcA999IPRFJ2qByu8aKB6QmHpW5i ,
>  u0oTtBkHjchhlY8AIejOfKPoJRencpmK
> 
> 
> Yum does not report anything (last 4 lines os yum.log)
> 
>Sep 21 10:40:11 Installed: ghostscript-fonts-5.50-13.1.1.noarch
>Sep 26 10:55:14 Updated: clamav-0.97.6-1.el5.rf.x86_64
>Sep 26 10:55:15 Updated: clamd-0.97.6-1.el5.rf.x86_64
>Sep 26 10:55:15 Updated: clamav-milter-0.97.6-1.el5.rf.x86_64
> 
> I ran (a fresh install) of rkhunter, did not find a thing ...
> 
> Is it possible that a change to one file sets of a domino effect of
>  indode changes?
> 
> 
> thanks
> Jobst
> 

Just a thought. I run tripwire, planning to switch to aide, and 
occasionally see the same. Lots of changes reported reported in /bin 
type directories. In my case it's caused by a run of prelink updating 
lots of files in /bin.

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


Re: [CentOS] NFS problem

2012-09-19 Thread Tony Molloy
On Wednesday 19 September 2012 23:22:13 Mark LaPierre wrote:
> On 09/19/2012 03:00 PM, m.r...@5-cent.us wrote:
> > We've been seeing what I gather is an old, traditional problem:
> > kernel: lockd: server  not responding, timed out
> >
> > The things I've found, googling, mostly involve rebooting the NFS
> > server, and I can't do that, it's a home directory server for a
> > *bunch* of people, and this is only one person's workstation.
> >
> > Are there other solutions I haven't found yet?
> >
> > mark


I see the same problem with our student labs every now and then. I 
always assumed it was caused by a student power recycling the client 
rather than doing a clean reboot to get to Windoze ( dual boot 
machines ;-( ) causing NFS to get confused, NFSv3.

It doesn't seem to cause any problems just fills up the server logs 
with useless messages. Rebooting the client to Linux usually fixes the 
problem.

Tony

> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> Have you checked your network connectivity from the problem machine
>  to the NFS server and back?  If other machines on this NFS server
>  have no issues then you can eliminate the NIC on the server from
>  suspicion, but the NIC on the problem machine might be having a
>  problem.  Check your cable connections while you're at it.
> 
> How are you mounting the NFS share?  If you are using AutoFS your
>  mount may be timing out.  Does the problem machine access the
>  share actively or does it tend to sit for a while between access
>  attempts?
> 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh_exchange_identification: Connection closed by remote host

2012-09-15 Thread Tony Molloy
On Saturday 15 September 2012 14:01:38 Stephen Harris wrote:
> On Sat, Sep 15, 2012 at 07:01:03AM +0200, M. Fioretti wrote:
> > On Fri, September 14, 2012 11:48 pm, Stephen Harris wrote:
> > > 1) What happens if you run "telnet yourhost 22".
> >
> > this is what happens (with the proper IP of course):
> > >  Trying 1.2.3.4...
> > >  Connected to yourhost (1.2.3.4)
> > >  Escape character is '^]'.
> > >  Connection closed by foreign host.
> 
> This is important; it means the remote SSH server never says
>  'hello'.
> 
> > > 2) How quickly does the "closed" occur?
> >
> > I'd say 4/5 seconds
> 
> This is possibly indicative of resource starvation at the remote
>  end; the connection is going into the listen queue, then being
>  accepted but the process then fails.  It might mean "out of
>  memory" (for example) so the server can't fork() the new sshd
>  process.  If you mean "4 or 5s" then we might also be seeing
>  swapping delays.
> 
> There _are_ other reasons for this typ
>  network) but that's the most common one that I've seen.
> 
> > 
#
> > [marco@avalon ~]$ ssh -v -p xxx m...@example.com
> 
> I assume the "xxx" here matches the port yo[root@thomond ~]# ssh -l 
root tmlinux.csis.ul.ie
> test.  Otherwise the telnet test is useless.
> 

As I said earlier in this thread that error can come from problems 
with the hosts.allow file on the machine you are trying to connect to.

I've just reproduced the error on my own systems.

Log in to tmlinux from thomond, everything ok.

edit the /etc/hosts.allow file on tmlinux  to disallow sshd access from 
thomond.

Log out.

Login to tmlinux from thomond. Error.
.
[root@thomond ~]# ssh -l root tmlinux.csis.ul.ie
ssh_exchange_identification: Connection closed by remote host

Since you changed your ISP you changed your IP address. If you had 
used the hosts.allow file to control access to ssh then that could be 
your problem. Same holds for telnet and any other network connection.

Regards,

Tony




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


Re: [CentOS] Partition large disk

2012-09-15 Thread Tony Molloy
On Friday 14 September 2012 09:26:11 Laurent wrote:
> Le 2012-09-14 10:07, Tony Molloy a écrit :
> > OOPS that was fat fingers. I didn't mean to send it.
> >
> > I figured out parted can do the job for me but the interface is
> > not the
> > best. Can't use gparted as I said I have to do this remotely.
> 
> Even if you need to do this remotely, you can use gparted through
>  ssh with X11 forwarding.

Worked like a dream. Can't understand how I didn't think of looking 
for an rpm of gparted. I only ever used the live-cd version before. 
Thanks.
> 
> > I'll certainly have a look at gdisk
> >
> > Sorry for the noise. I'll let  people know how I get on after the
> > weekend.
> 
> If you consider resizing your RAID volumes one day, I'll recommend
>  the already proposed solution: use LVM, with physical volume
>  directly on the disk device. No partitionning. Why ? Because, as
>  far as I known, parted developers has decided to remove the
>  unmaintained/old code to resize ext* filesystems from parted.
> 

The partition sizes required are fixed for their lifetime so LVM is not 
needed only adding complexity.

Tony
> I don't know about gdisk features. Perhaps, it can do better than
> parted...
> 
> Regards,
> 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh_exchange_identification: Connection closed by remote host

2012-09-14 Thread Tony Molloy
On Friday 14 September 2012 16:32:18 Scott Silva wrote:
> on 9/14/2012 8:26 AM m.r...@5-cent.us spake the
> 
> following:
> > M. Fioretti wrote:
> >> I have accounts on two Centos servers, A and B, each hosted on a
> >> remote VPS by a different provider/datacenter.
> >>
> >> Until yesterday night, I could connect without problems via SSH
> >> to both servers from my home Fedora 16 desktop.
> >>
> >> Yesterday I completed (fingers crossed) the switch to a
> >> different ADSL provider. From the moment I turned on the modem
> >> on the new ADSL line, I became unable to ssh into server A. All
> >> attempts abort with this message:
> >>
> >> ssh_exchange_identification: Connection closed by remote host
> >
> > 
> > This would be obnoxious, but have you checked with your ADSL
> > provider, to see if they're blocking ssh traffic?
> >
> >   mark
> 
> Also. Could the server A have a firewall that had allow ranges for
>  your original ip range? Or denyhosts... something like that

>From memory the only time I've seen that error message was due to 
entries in the /etc/hosts.allow file specifying what IP addresses are 
allowed ssh in. Changing your ISP would change your address.

Tony
> 
> ___
> 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] Partition large disk

2012-09-14 Thread Tony Molloy
On Thursday 13 September 2012 21:16:33 Tony Molloy wrote:
> Hi,
> 
> I have a 24TB RAID6 disk with a GPT partition table on it. I need
>  to partition it into 2 partitions one of 16TB and 1 of 8TB to put
>  ext4 filesystems on both. But I really need to do this remotely. (
>  if I can get to the site I could use gparted )
> 
> Now fdisk doesn't understand GPT partition tables and pat
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


OOPS that was fat fingers. I didn't mean to send it.

I figured out parted can do the job for me but the interface is not the 
best. Can't use gparted as I said I have to do this remotely.

I'll certainly have a look at gdisk

Sorry for the noise. I'll let  people know how I get on after the 
weekend.

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


[CentOS] Partition large disk

2012-09-13 Thread Tony Molloy

Hi,

I have a 24TB RAID6 disk with a GPT partition table on it. I need to 
partition it into 2 partitions one of 16TB and 1 of 8TB to put ext4 
filesystems on both. But I really need to do this remotely. ( if I can 
get to the site I could use gparted )

Now fdisk doesn't understand GPT partition tables and pat
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Advice on partitioning a Dell MD1200 disk array

2012-09-05 Thread Tony Molloy
On Tuesday 04 September 2012 15:20:26 Paul Tader wrote:
> > The second MD1200 will be used to backup the first, using
> > BackupPC and for other storage purposes.
> >
> > As I won't know the storage requirements for the "backup
> > partition" and they will probably change over time anyway. I was
> > thinking of using LVM for it. So how to partition the MD1200 for
> > LVM. I don't want to put all 12 disks in  a RAID5 and put a LVM
> > volume on it. Can I split it into 2 RAID5 and have a LVM volume
> > spanning both.
> 
> Just a thought about the backup volume.
> 
> Because it going to be used for backups and your retirement
>  (congrats!) I would configure one partition and no volume
>  management on top.  Why? Because backups are like insurance
>  policies.  That are not fun and no one reviews them, but when you
>  need them, you really hope that everything is in order.  So you
>  don't want the next admin to find out several months or years down
>  the road that the backup software ran out of space and has been
>  failing to back anything up for the previous few months.
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


Thanks to Gotz, Blake, Paul and Nate for your advice.

I was pretty happy with the split RAID 5 for the NFS partitions on the 
first MD1200.

I think I'll go with the simple solution for the backup MD1200. A 
single RAID 5 encompassing all 12 disks probably with 2 hot spares. 
Put an ext4 on top of that without the complexity of LVM.

Thanks,

Tony

aside Paul, unfortunately my retirement is not voluntary. It's due to 
a spinal cord injury but such is life ;-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Advice on partitioning a Dell MD1200 disk array

2012-09-04 Thread Tony Molloy
On Tuesday 04 September 2012 19:25:05 Nate Duehr wrote:
> On Sep 4, 2012, at 5:10 AM, Tony Molloy  wrote:
> > Just remember I'm due to retire at the end of this month so this
> > will be my last big job for the Dept. And due to financial
> > constraints I will not be replaced. So I will be handing this
> > machine over to a co- worker who is basically a Windoze admin
> > with only a basic knowledge of Linux so nothing too fancy.  ;-)
> 
> Hand him the machine and tell him to load Windows on it or whatever
>  he wants to maintain for the next X years, relax for 30 days and
>  enjoy retirement.  It's his problem now.  :-) :-) ;-)
> 
> Nate


Sounds good but it's not the Linux way is it ;-)

Anyway I want to force him to become a better person, to grow and 
expand his knowledge and in the end maybe drag him away from the evil 
empire to the land of the free !

LOL

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


Re: [CentOS] Advice on partitioning a Dell MD1200 disk array

2012-09-04 Thread Tony Molloy
On Tuesday 04 September 2012 12:44:26 Götz Reinicke wrote:
> Hi Tony,
> 
> because I suggest just something very general I post off list :)
> 
> From my POV as I'm currently facing similar setups with different
> hardware rolling back from fine granular setups to simple 'bigger'
>  less complex configurations. (we do have 6 iscsi storages from 2TB
>  (sun ZFS) up to 32 TB)
> 
>   keep it small and simple! :)
> 
> I think you are very familiar with the general problems of big HW
>  raids and big filesystems like rebuild or check times, but
>  splitting up and adding more complex layers like multiple raids
>  joining in lvm etc. makes debugging and general handling very
>  hard.
> 
> On the other hand, I checked and read a lot about filesystems the
>  last days being faced with serving user windows samba profiles
>  with lot of small files and big video/audio data etc.
> 
> Long story short:
> 
> I usually do one raidvolume per hardware raid box; e.g. we use
>  16*1TB drives. Raid6 or Raid5 with spare. I did not notice big
>  performance differences.
> 
> I use LVM to make partitions or I prefer using just one big
>  partition.
> 
> I tried xfs and ext4 and will go with ext4 as some test went better
>  for my setup and from what I read it looks not bad :)
> 
> I think you can combine block level devices (like multiple raid
>  boxes) by LVM into one bigger LV.
> 
> And last but not least: The CPU/RAM/Network of the host serving the
> files is also very important! :)
> 
> I noticed, that the same iscsi storage got about 70MB/s on a new
>  server (xeon multicore), while on the old fileserver it just got
>  up to 40MB/s.
> 
> 
> 
>   my2cents :) regards . Götz
> 
> 
> 
> May be worth reading:
> 
> http://www.techforce.com.br/news/linux_blog/lvm_raid_xfs_ext3_tunin
> g_for_small_files_parallel_i_o_on_debian#.UEPSI1RqYso
> 
> http://monolight.cc/2011/02/linux-filesystems-small-file-performanc
> e-on-hdds/
> 
> http://unix.stackexchange.com/questions/28756/what-is-the-most-high
> -performance-linux-filesystem-for-storing-a-lot-of-small-fi
> 
> https://wiki.archlinux.org/index.php/Ext3
> 
> https://wiki.archlinux.org/index.php/Ext4#Tips_and_tricks
> 
> Am 04.09.12 13:10, schrieb Tony Molloy:
> > Hi,
> >
> > I've just got possession of a Dell PE R720 with 2 MD1200 disk
> > enclosures.
> >
> > Both MD1200 are fully populated with 12 x 3 TB disks
> >
> > The system will basically be a student file-server running CentOS
> > 6.x serving various size files from small c programs to multi
> > gigabyte audio and video files over GB ethernet.
> >
> > The first MD1200 will be configured as the NFS disk. The
> > requirements are for 6 fixed equally sized partitions, one for
> > each cohort of students. For this I was thinking of splitting the
> > MD1200 into 2 RAID5 arrays with a hot spare each. Then
> > partitioning each into 3 ext4 partitions.
> >
> > The second MD1200 will be used to backup the first, using
> > BackupPC and for other storage purposes.
> >
> > As I won't know the storage requirements for the "backup
> > partition" and they will probably change over time anyway. I was
> > thinking of using LVM for it. So how to partition the MD1200 for
> > LVM. I don't want to put all 12 disks in  a RAID5 and put a LVM
> > volume on it. Can I split it into 2 RAID5 and have a LVM volume
> > spanning both.
> >
> > Any suggestions.
> >
> > Just remember I'm due to retire at the end of this month so this
> > will be my last big job for the Dept. And due to financial
> > constraints I will not be replaced. So I will be handing this
> > machine over to a co- worker who is basically a Windoze admin
> > with only a basic knowledge of Linux so nothing too fancy.  ;-)
> >
> > Thanks,
> >
> > Tony
> >
> >
> > --
> >
> > Tony Molloy
> >
> > CTO, Dept. of Comp. Sci.
> > University of Limerick
> > Limerick.
> > Ireland
> > ___
> > 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


[CentOS] Advice on partitioning a Dell MD1200 disk array

2012-09-04 Thread Tony Molloy

Hi,

I've just got possession of a Dell PE R720 with 2 MD1200 disk 
enclosures.

Both MD1200 are fully populated with 12 x 3 TB disks

The system will basically be a student file-server running CentOS 6.x  
serving various size files from small c programs to multi gigabyte 
audio and video files over GB ethernet.

The first MD1200 will be configured as the NFS disk. The requirements 
are for 6 fixed equally sized partitions, one for each cohort of 
students. For this I was thinking of splitting the MD1200 into 2 RAID5 
arrays with a hot spare each. Then partitioning each into 3 ext4 
partitions.

The second MD1200 will be used to backup the first, using BackupPC and 
for other storage purposes.

As I won't know the storage requirements for the "backup partition" 
and they will probably change over time anyway. I was thinking of 
using LVM for it. So how to partition the MD1200 for LVM. I don't want 
to put all 12 disks in  a RAID5 and put a LVM volume on it. Can I 
split it into 2 RAID5 and have a LVM volume spanning both.

Any suggestions. 

Just remember I'm due to retire at the end of this month so this will 
be my last big job for the Dept. And due to financial constraints I 
will not be replaced. So I will be handing this machine over to a co-
worker who is basically a Windoze admin with only a basic knowledge of 
Linux so nothing too fancy.  ;-)

Thanks,

Tony


--

Tony Molloy

CTO, Dept. of Comp. Sci.
University of Limerick
Limerick.
Ireland 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Extract lines from text file

2012-08-15 Thread Tony Molloy
On Wednesday 15 August 2012 20:53:33 m.r...@5-cent.us wrote:
> Tony Molloy wrote:
> > On Wednesday 15 August 2012 19:46:42 Les Mikesell wrote:
> >> On Wed, Aug 15, 2012 at 1:26 PM, Tony Molloy 
> >
> > wrote:
> >> >> ]$ cat testcentoslist | egrep ^m.*:.*:.*:850:
> >> >> m9718308:pw:9301:850: Lynch  :/home/pgstud/m9718508:/bin/bash
> >> >
> >> > Exactly what I needed. I'll just drop the cat as a later
> >> > poster pointed out.
> >>
> >> sed -n -e '/pattern/p' can match anything grep would do and
> >> might be even more useful if you want substitutions for
> >> subsequent use. And of course perl can do anything sed can do,
> >> and then some...
> >
> > True true, and of course C could do anything and everything ;-)
> >
> > But all I need is a simple script which will be run once a year
> > to remove the graduated students from the password file.
> 
> Ah, but are you sure they're not just dropped out for a term, or
>  about to become indentured servants, er, grad students? In that
>  case, maybe just change their login shell to /bin/noLogin
> 
>   mark
> 

No these are 4th year graduated students. If they stay on as post 
graduate students they have to re-register. So clean them out I say 
;-)

Tony
> 
> 
> ___
> 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] Extract lines from text file

2012-08-15 Thread Tony Molloy
On Wednesday 15 August 2012 19:46:42 Les Mikesell wrote:
> On Wed, Aug 15, 2012 at 1:26 PM, Tony Molloy  
wrote:
> >> ]$ cat testcentoslist | egrep ^m.*:.*:.*:850:
> >> m9718308:pw:9301:850: Lynch  :/home/pgstud/m9718508:/bin/bash
> >
> > Exactly what I needed. I'll just drop the cat as a later poster
> > pointed out.
> 
> sed -n -e '/pattern/p' can match anything grep would do and might
>  be even more useful if you want substitutions for subsequent use. 
>  And of course perl can do anything sed can do, and then some...
> 

True true, and of course C could do anything and everything ;-)

But all I need is a simple script which will be run once a year to 
remove the graduated students from the password file.

Regards,

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


Re: [CentOS] Extract lines from text file

2012-08-15 Thread Tony Molloy
On Wednesday 15 August 2012 15:36:09 Marcelo Beckmann wrote:
> Em 15-08-2012 11:22, Tony Molloy escreveu:
> > Hi,
> >
> > I'm looking for a command to extract lines from a large text
> > file, a password file. A typical user has a username made from a
> > letter followed by their id-number.
> >
> > m9718508:pw:9301:840: Lynch  :/home/pgstud/m9718508:/bin/bash
> >
> > So for instance if I need to extract lines where;
> >
> > the 1st field, the username begins with an m
> > and
> > the 4th field, the group contains exactly 850
> >
> > cat passwdfile | grep ^m | grep 850 > output
> >
> > is close but fails if the value 850 appears outside the 4th
> > field. In the above example which should be ignored 850 appears
> > in the username and home directory and is therefore extracted.
> >
> > Any ideas.
> 
> ]$ cat testcentoslist
> m9718508:pw:9301:840: Lynch  :/home/pgstud/m9718508:/bin/bash
> m9718308:pw:9301:850: Lynch  :/home/pgstud/m9718508:/bin/bash
> m9718208:pw:9301:840: Lynch  :/home/pgstud/m9718508:/bin/bash
> m9718508:pw:9301:840: Lynch  :/home/pgstud/m9718908:/bin/bash
> 
> ]$ cat testcentoslist | egrep ^m.*:.*:.*:850:
> m9718308:pw:9301:850: Lynch  :/home/pgstud/m9718508:/bin/bash
> 

Exactly what I needed. I'll just drop the cat as a later poster 
pointed out.

Thanks to all who replied.

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


[CentOS] Extract lines from text file

2012-08-15 Thread Tony Molloy

Hi,

I'm looking for a command to extract lines from a large text file, a 
password file. A typical user has a username made from a letter 
followed by their id-number.

m9718508:pw:9301:840: Lynch  :/home/pgstud/m9718508:/bin/bash

So for instance if I need to extract lines where;

the 1st field, the username begins with an m
and
the 4th field, the group contains exactly 850

cat passwdfile | grep ^m | grep 850 > output

is close but fails if the value 850 appears outside the 4th field. In 
the above example which should be ignored 850 appears in the username 
and home directory and is therefore extracted.

Any ideas.

Thanks,

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


Re: [CentOS] SELinux and access across 'similar types'

2012-01-10 Thread Tony Molloy
On Tuesday 10 January 2012 04:05:43 Marko Vojinovic wrote:
> On Monday 09 January 2012 15:29:59 Daniel J Walsh wrote:
> > file_t means the file has no label, so the only way to create
> > this type of file would be to remove the security attributes on
> > the file. On an SELinux system, file_t should never be created,
> > they are only created on a disabled SELinux system.  I guess you
> > could try to use chcon -t file_t on a file, but I believe the
> > kernel will block that. Or you could attempt to delete the
> > SELinux label, but that might also be denied.
> 
> Ok, now I think I understand. The OP has stale files in /tmp which
> are not labelled, due to not purging /tmp on reboot. SELinux
> doesn't know how these files should be labelled, so it doesn't
> even try, and gives them the type file_t, which is a synonym for
> "this file doesn't have a type".
> 
> So the answer for the OP is to use chcon on this file to label it
> somehow. If that doesn't work, he should delete the file and
> recreate it (while SELinux is active), so that it gets properly
> labelled.
> 
> I learned something new today. :-) Thanks for the explanation!
> 
> Best, :-)
> Marko
> 
+1

I think I'm finally getting the hang of this SELinux.

Tony
> 
> ___
> 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] SELinux and access across 'similar types'

2012-01-09 Thread Tony Molloy
On Monday 09 January 2012 20:00:29 Marko Vojinovic wrote:
> On Monday 09 January 2012 11:45:26 Daniel J Walsh wrote:
> > SELinux has no idea what the labels are in /tmp, so restorecon
> > will not change the labels.  It would be best to just remove the
> > content from /tmp and allow new content to be created.  If you
> > want the content to be accessible from apache, you could change
> > it to httpd_tmp_t
> > 
> > chcon -t httpd_tmp_t /tmp/PATH
> 
> But isn't there a policy for default labelling of arbitrary files
> put in /tmp? I mean, when apache puts a file in /tmp, it should be
> labelled *somehow*, according to the rules for apache and/or the
> /tmp directory, right? This should happen in both enforcing and
> permissive modes.
> 
> So is the default type label for such a case file_t? If it is, it's
> a bug, since SELinux would deny subsequent access to that file,
> per policy, right?
> 
> If I understood the OP correctly, he enabled SELinux (into
> permissive mode), relabeled the whole filesystem, rebooted several
> times, and after all that apache creates a file in /tmp with a
> label file_t. AFAIK, this should *never* happen, with the default
> policy.
> 

Exactly as I thought. If I touch a file or cp a file into /tmp then it's 
labelled as tmp_t not file_t. On the other hand if I mv a file in it 
retains it's original type. So how could a file created in /tmp get a 
file_t type.

That's why I asked the OP to delete the file and run the script which 
creates the file by hand.

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


Re: [CentOS] SELinux and access across 'similar types'

2012-01-09 Thread Tony Molloy
On Monday 09 January 2012 12:06:04 Bennett Haselton wrote:
> On 1/9/2012 3:41 AM, Tony Molloy wrote:
> > First I'm no SELinux expert ;-( but I've ben following this
> > thread with interest. It apears to be going around in circles.
> > 
> > The only time I've come across a file_t type is when I have
> > something on a machine that SELinux doesn't know about. That is
> > SELinux has no policy for it. An example would be if I create a
> > new top level directory when I install a machine. SELinux knows
> > nothing about that directory name and has no preset type for it
> > so it gets a label of file_t or default_t. Doing a relabel in
> > that case will have no affect on the file label as SELinux still
> > doesn't have a policy for it.
> > 
> > So the question is how did your file get the file_t type in the
> > first place. You say it is generated from a cgi script run from
> > apache.
> > 
> > So is this the default apache which comes with CentOS
> > 
> > What is the context of the apache executable. It should be
> > -rwxr-xr-x  root root system_u:object_r:httpd_exec_t  
> > /usr/sbin/httpd
> 
> Yes that's what I've got.
> 

Ok so apache is corectly labelled.

> > Where in the filesystem is the cgi script located. How did it get
> > there.
> > 
> > What is the context of the cgi script
> > 
> > What is the context of the directory the cgi script is in.
> 
> [root@g6950-21025 ~]# ls -lZ /var/www/cgi-bin/capture.cgi
> -rwxr-xr-x  root root system_u:object_r:httpd_sys_script_exec_t
> /var/www/cgi-bin/capture.cgi
> [root@g6950-21025 ~]# ls -ldZ /var/www/cgi-bin/
> drwxr-xr-x  root root system_u:object_r:httpd_sys_script_exec_t
> /var/www/cgi-bin/
> 
> The script got there because I uploaded it there.

The reason I asked that was because how the script got there can 
determine it's context.

For instance:

cp:   gives it the correct context of the directory it was copied into
mv:  does not, it preserves the original context 

But the above context(s) look ok
> 
> > What is the context of /tmp. It should be
> > drwxrwxrwt  root root system_u:object_r:tmp_t  /tmp
> 
> Yep.
> [root@g6950-21025 ~]# ls -ldZ /tmp
> drwxrwxrwt  root root system_u:object_r:tmp_t  /tmp
> 

Ok that's fine.
> > Regards
> > 
> > Tony

Now try a little experiment

# touch /tmp/x.x

# ls -alZ /tmp/x.x

should have the following context

-rw-r--r--  root root root:object_r:tmp_t  x.x

You can also try copying and moving a file to /tmp and check the 
context after each to see the difference.
 
Then delete the file created by your script from /tmp and run your cgi 
script by hand.

What is the context of the file now created.

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


Re: [CentOS] SELinux and access across 'similar types'

2012-01-09 Thread Tony Molloy
On Sunday 08 January 2012 23:19:39 Bennett Haselton wrote:
> On 1/8/2012 7:28 AM, Ljubomir Ljubojevic wrote:
> > On 01/08/2012 03:15 PM, Bennett Haselton wrote:
> >> It's a file created by one of my CGI scripts.  (The web server
> >> is accessed by several hostnames which are dynamically assigned
> >> to it, and I need a quick way of determining all hostnames that
> >> were recently used to access the server.  So when someone
> >> accesses the server using HOSTNAME, the file
> >> /tmp/hostname_   is created.  Then another script
> >> just pulls the names of all of those files in order to find all
> >> recently used hostnames.)
> >> 
> >>> My suggestion:
> >>> 
> >>> stop apache
> >>> run relabeling again (if file continues to exists)
> >>> start apache
> >>> check
> >> 
> >> Well when I was doing the relabeling I was doing:
> >> # touch /.autorelabel
> >> # reboot
> >> 
> >> So when I'm rebooting apache stops and starts anyway, doesn't
> >> it? Doesn't the auto-relabel occur before other services are
> >> started up?  So I'm not sure what I would actually do
> >> differently to follow this suggestion...
> > 
> > Ah, you are write, sorry. Well you might need to apply proper
> > (httpd_) SELinux label for that file. At the time of creation? \
> > Maybe move it to another location where it will get automatic
> > label for what you want?
> 
> Well the warning messages say that file_t files should *never* get
> created if the filesystem is labeled properly.  So I didn't think
> it was just a matter of creating files where the default filetype
> would be different, because the default filetype should not be
> file_t anywhere.
> 
> I could create a world-writeable directory somewhere else and have
> all the scripts write to that but it would be a pain to re-write
> and re-test everything as a workaround for this one bug...
> 
> Well, one other theory: /tmp is a different partition, right?  So
> maybe when I do
> # touch /.autorelabel
> # reboot
> 
> it's only re-labeling the / partition and not the /tmp one?
> Unfortunately in that case I don't know how to make it re-label the
> /tmp filesystem as well.  I tried creating /tmp/.autorelabel and
> rebooting, but that didn't work; /tmp/hostname_SKYSLICE.INFO and
> other files still had type file_t.
> 
> Bennett
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

First I'm no SELinux expert ;-( but I've ben following this thread 
with interest. It apears to be going around in circles.

The only time I've come across a file_t type is when I have something 
on a machine that SELinux doesn't know about. That is SELinux has no 
policy for it. An example would be if I create a new top level 
directory when I install a machine. SELinux knows nothing about that 
directory name and has no preset type for it so it gets a label of 
file_t or default_t. Doing a relabel in that case will have no affect on 
the file label as SELinux still doesn't have a policy for it.

So the question is how did your file get the file_t type in the first 
place. You say it is generated from a cgi script run from apache.

So is this the default apache which comes with CentOS

What is the context of the apache executable. It should be
-rwxr-xr-x  root root system_u:object_r:httpd_exec_t   /usr/sbin/httpd

Where in the filesystem is the cgi script located. How did it get 
there.

What is the context of the cgi script

What is the context of the directory the cgi script is in.

What is the context of /tmp. It should be
drwxrwxrwt  root root system_u:object_r:tmp_t  /tmp

Regards 

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


Re: [CentOS] Applications on different deskops at startup

2011-11-25 Thread Tony Molloy
On Friday 25 November 2011 00:31:09 Ljubomir Ljubojevic wrote:
> Vreme: 11/24/2011 09:14 PM, Kahlil Hodgson piše:
> > On 24/11/11 22:27, Tony Molloy wrote:
> >> I have several desktops with applications running on them,
> >> mainly terminals. At login all the terminals start on desktop
> >> 1. How do I get them to start on the desktop they were running
> >> on at logoff. That's how it worked on Fedora 13/14 so it must
> >> be popssible ;-) just can't find the magic.
> > 
> > You might want to have a look at 'devilspie'.  That's what I use
> > on F14 to control startup windows.  Don't know if that's in C6
> > by default though.
> > 
> > Kal
> 
> RPMForge/Repoforge repository has devilspie package.

Thanks for the various suggestions I'll try them out today. I just 
thought that since CentOS 6 was based on Fedora 13 that it would just 
be some setting that I had missed.

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


[CentOS] Applications on different deskops at startup

2011-11-24 Thread Tony Molloy

Hi,

I've just converted my laptop to Centos 6 from Fedora ( gnome 3 made 
the latest fedora unusable ) and I have one problem.

I have several desktops with applications running on them, mainly 
terminals. At login all the terminals start on desktop 1. How do I get 
them to start on the desktop they were running on at logoff. That's how 
it worked on Fedora 13/14 so it must be popssible ;-) just can't find 
the magic.

Thanks,,

Tony

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


Re: [CentOS] nlockdmgr listen on privileged port

2011-03-31 Thread Tony Molloy
On Wednesday 30 March 2011 20:35:13 Tim Dunphy wrote:
> hey list!
> 
>  I am attempting to shore up some centos machines (ranging from centos
> 5 to centos 5.4) for pci compliance by changing the port that
> nlockdmgr listens on to function under a privileged port.
> 
>  So what I did was try to hardcode the port by editing  /etc/sysconfig/nfs
> 
> 
> # TCP port rpc.lockd should listen on.
> LOCKD_TCPPORT=1011
> # UDP port rpc.lockd should listen on.
> LOCKD_UDPPORT=1011
> #
> 
> 
> And /etc/modprobe.conf
> 
> 
> alias eth1 e1000e
> alias scsi_hostadapter 3w-9xxx
> alias scsi_hostadapter1 usb-storage
> alias eth0 e1000e
> options lockd nlm_udpport=1011
> options lockd nlm_tcpport=1011
> 
> 
> and then restarting the pormap service. I've even tried restarting the
> network service, but unfortunately nothing seems affected:
> 
> 
> 
> [root@stallion:/etc/init.d] $ rpcinfo -p
>program vers proto   port
> 102   tcp111  portmapper
> 102   udp111  portmapper
> 1000211   udp  55394  nlockmgr
> 1000213   udp  55394  nlockmgr
> 1000214   udp  55394  nlockmgr
> 1000211   tcp  33704  nlockmgr
> 1000213   tcp  33704  nlockmgr
> 1000214   tcp  33704  nlockmgr
> 1000241   udp786  status
> 1000241   tcp789  status
> 
> 
> Does anyone have any tips on how to get this to work the way I'm asking it
> to?
> 

How about trying to restart the nfs service ;-)

Tony
> regards
> ~
> 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] cobbler installation of CentOS-5.5

2011-03-29 Thread Tony Molloy
On Monday 28 March 2011 16:37:33 Timothy Murphy wrote:
> m.r...@5-cent.us wrote:
> >> 2. The CentOS OS seems to be available in 7 or 8 CDs.
> >> (I tried downloading the DVD ISO with ktorrent,
> >> but this was a complete failure.
> >> It started OK, but then created literally thousands of links
> >> to one file, which brought my server down,
> >> and left it in a state which was quite hard to clean up.)
> > 
> > Dunno. Last time I brought down the DVD iso, I had no trouble just doing
> > a straight d/l, no torrent.
> 
> Where did you find the DVD ISO?
> When I follow the download instructions at 
> I am only offered "local", ie west european, mirrors,
> and none of those I looked at had the DVD ISO;
> all of them just had 8 CD ISOs.
> 

You could try your local mirror ;-)

  ftp.heanet.ie:/pub/centos/5.5/isos/i386/CentOS-5.5-i386-bin-DVD.iso

or
  ftp.heanet.ie:/pub/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-bin-DVD-1of2.iso
and
  ftp.heanet.ie:/pub/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-bin-DVD-2of2.iso

Tony



> > Mount the CD isos using loopback (mount -o loop), and copy.
> > 
> 
> I didn't follow this.
> Do you mean mount each of the 8 CDs using loopback?
> And what exactly am I meant to copy?
> 
> I need to indicate where "cobbler import" should look, I assume.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos, Samba , WIN7

2011-01-15 Thread Tony Molloy
On Saturday 15 January 2011 04:41:01 Rob Kampen wrote:
> Ryan Wagoner wrote:
> > On Fri, Jan 14, 2011 at 8:52 AM, Timothy Kesten  wrote:
> >> Am Freitag, 14. Januar 2011, 11:27:22 schrieb John Doe:
> >>> Google for "samba windows.7" and click on first answer...
> >> 
> >> I knew, that samba > 3.3 is necessary.
> >> 
> >> I was more interessted in where can I get a suitable version from a
> >> centos-repo.
> > 
> > yum install samba3x
> > 
> > Samba 3.3.8 was included with CentOS 5.5.
> 
> ?? I just checked on my servers fully updated 5.5 and have only 3.0.33 -
> Am I missing something?
> 


There are two sets of samba packages included with Centos 5.5; Look in the 
source repo.

samba-3.0.33-3.28.el5.src.rpm  ( the default )  

and

samba3x-3.3.8-0.51.el5.src.rpm


You have to remove the samba packages to install the samba3x packages
which are required to work with windoze 7 clients.

Tony
> > Ryan
> > ___
> > 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, Samba , WIN7

2011-01-14 Thread Tony Molloy
On Friday 14 January 2011 07:56:16 Timothy Kesten wrote:
> Hi Folks,
> 
> I've fresh installed CentOS 5.5 and realized, that Samba is in version
> 3.0.33-3.
> Is it possible to conect WIN7 in a Samba-Domäne with this version?
> And I've read abaut RHEL 5.6 with samba 3.5.4.
> Can I expect, that  this version is included in CentOS 5.6?
> And can I get this version with yum-update?
> 
> Thx
> 
> Timothy

Not possible as far as I know ;-)

Remove the samba rpms and install the samba3x rpms from CentOS 5.5

This will give you samba3x-3.3.8-0.52.el5_5.2.x86_64 which works as a PDC with 
Windoze 7 clients.

Tony
> ___
> 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] difference between cron and shell invocation.

2010-12-07 Thread Tony Molloy
On Tuesday 07 December 2010 14:34:33 James B. Byrne wrote:
> I have a fairly involved root cron task that I moved verbatim from
> another server. On the original server, this task ran without
> problem.  On the new server, when this task runs via cron, which I
> confirm is happening by looking in the cron log, no files are
> transferred and no error is reported.  However, if I copy cron
> command from roots crontab and paste it into a terminal session on
> the new server then the task runs to completion and the files are
> transferred.
> 
> This task involves sshfs, fuse, and rsync and employs pki
> certificates for authentication.  The fact that it works from the
> shell without alteration and yet not from cron is the issue.
> 
> Does anyone have any idea where I would start to track down what is
> going on?

Check the paths in cron. They are not necessarly the same as the paths for the 
shell.

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


Re: [CentOS] Dell E6410

2010-10-26 Thread Tony Molloy
On Monday 25 October 2010 20:21:43 Bo Lynch wrote:
> On Mon, October 25, 2010 3:19 pm, Eero Volotinen wrote:
> > 2010/10/25 Bo Lynch :
> >> Just recently bought a Dell E6410 with a Intel® HD Graphics with
> >> ExpressCard with I7-640m processor. Having some issues getting a
> >> graphical
> >> env to work. By just the looks of lspci X is wanting to use the VGA
> >> Compatable controller: Intel Corp Core Processor Intergrated graphics
> >> controller.
> >> Everything else is using Intel Corp Series 5/3400 Series Chipset.
> >> 
> >> Has anyone else had any luck getting similar intel onboard grphics to
> >> work?
> > 
> > Centos is possibly too antique for that
> > 
> > --
> > Eero
> 
> WOW.I thought that at least a generic graphics driver would suit just
> fine??? Is it something pertaining to this particular intel chipset?
> 

I recently had major problems getting Fedora 13 to work on the E6410 ( worked 
fine on the E6510 ;-) )

See the thread "Fedora 13 on Dell E6410 screen resolution problem" on the 
Fedora Mailing list for a discussion and solution to the problem. 

The laptop had a NVidia graphics controller, unlike yours, and the solution 
involved using the propritory NVidia drivers.

Tony


 > ___
> 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 5.5 on optiplex 745

2010-06-29 Thread Tony Molloy
On Monday 28 June 2010 12:58:36 Janez Kosmrlj wrote:
> Hi,
> we have some old dell optiplex 745 machines which have the Intel 965q
> chipset. The problem is, that they freeze as soon as the system tries to
> start the X system. It happens even before any log is written. This happens
> almost every time (for some reason it sometimes work, but 99% it fails).
> When i change the graphic driver in xorg.conf from intel to vesa it mostly
> works, but still i sometimes get a flickering screen, but this can mostly
> be resolved using ctrl+alt+backspace (sometimes you have to try this
> twice). We use the 1024x768 and 24 bit colors, so this shouldn't be the
> problem.
> 
> Does anyone know a fix for this problem?
> 
> Janez

Janez,

I seem to remember having a similar problem with a lab full of those machines 
some years ago. They were running an earlier version of Fedora. What we had to 
do was upgrade the BIOS. They are now running Fedora-11 with BIOS ver 2.6.2

Hope this helps,

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


Re: [CentOS] 5.5 ISO size vs RHEL

2010-05-19 Thread Tony Molloy
On Wednesday 19 May 2010 17:24:49 Rudi Ahlers wrote:
> On Wed, May 19, 2010 at 6:21 PM, Tony Molloy  wrote:
> >  On Wednesday 19 May 2010 15:46:57 Anthony Caetano wrote:
> > > Hi
> > >
> > > We use CentOS and RHEL, the 5.5 RHEL ISO for x86_64 is 3.7GB (**), the
> > >  CentOS one is 4602MB (***) split over two DVDs.  Is this reasonable
> > > and correct?  Any ideas why would there be such a discrepancy if they
> > > are built from the same (or very similar) source?
> > >
> > > Regards
> > > Anthony Caetano
> > >
> > > **  the md5sum checks out, and RHN lists the size as 3,532 MB
> > >
> > > *** CentOS-5.5-x86_64-bin-DVD-1of2.iso +
> >
> > CentOS-5.5-x86_64-bin-DVD-2of2.iso
> >
> > > (according to ftp.heanet.ie:/pub/centos/5.5/isos/x86_64 )
> > > ___
> 
> As matter of interest, what is the 2nd DVD for?
> 


As far as I know it contains most of the OpenOffice language packs. It 
shouldn't 
be needed to do an install unless you are going to install some of the more 
unusual packs.

Regards,

Tony
> >  --
> > Kind Regards
> > Rudi Ahlers
> > SoftDux
> >
> > Website: http://www.SoftDux.com
> > Technical Blog: http://Blog.SoftDux.com
> > Office: 087 805 9573
> > Cell: 082 554 7532
> 

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] 5.5 ISO size vs RHEL

2010-05-19 Thread Tony Molloy
On Wednesday 19 May 2010 15:46:57 Anthony Caetano wrote:
> Hi
> 
> We use CentOS and RHEL, the 5.5 RHEL ISO for x86_64 is 3.7GB (**), the
>  CentOS one is 4602MB (***) split over two DVDs.  Is this reasonable and
>  correct?  Any ideas why would there be such a discrepancy if they are
>  built from the same (or very similar) source?
> 
> Regards
> Anthony Caetano
> 
> **  the md5sum checks out, and RHN lists the size as 3,532 MB
> 
> *** CentOS-5.5-x86_64-bin-DVD-1of2.iso + CentOS-5.5-x86_64-bin-DVD-2of2.iso
> (according to ftp.heanet.ie:/pub/centos/5.5/isos/x86_64 )
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


Not correct. From ftp.heanet.ie

/pub/centos/5.5/isos/i386>

4185118720 May 11 09:59 CentOS-5.5-i386-bin-DVD.iso
That's 4.1GB

/pub/centos/5.5/isos/x86_64> 

4393723904 May 13 23:37 CentOS-5.5-x86_64-bin-DVD-1of2.iso
That's 4.3 GB

432361472 May 13 23:42 CentOS-5.5-x86_64-bin-DVD-2of2.iso
That's 432Mb

So total is 4.7Gb approx

Maybe you downloaded CentOS-5.5-x86_64-bin-DVD-2of2.iso twice.

Tony

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] Not firewall, but what?

2010-05-07 Thread Tony Molloy
On Friday 07 May 2010 05:38:45 Jussi Hirvi wrote:
> Ok, thanks for ideas - many new things to test. So far no luck.
> 
> Too bad i don't have first-hand access to any of the client machines who
> *do* have this problem.
> 
> Next, I will go and switch the ethernet cable to a different slot on the
> router - kind of desperate, I know.
> 
> Some more details:
> - this web server is a xen virtual guest system, with CentOS 5.4
> - the problem surfaced yesterday morning (6th of May), after I had
> migrated all these web sites from an old Fedora box to this new CentOS
> system
> 
> Does the problem affect other xen systems on the same box? I haven't
> tested this yet (I cannot reproduce the error).
> 
> You could test yourself if you can see
>   http://62.236.221.71 (the problem system)
>   http://62.236.221.78 (another guest on the same xen host)
> 
> If someone *cannot* see the 1st one, then it would be interesting to
> know if (s)he can see the 2nd one or not.
> 
> - Jussi
> 

OK I can see the second one but not the first.

I can also ping the second one but not the first.

Tony

> On 6.5.2010 22.00, Benjamin Franz wrote:
> > On 05/06/2010 11:42 AM, Ryan Manikowski wrote:
> >> Notice the op posted they get timeouts even when going directly to a
> >> numerical address (if the apache server is configured to respond to
> >> *:80 it should at least display something)
> >>
> >> Try using telnet from a client machine that can not connect.
> >>
> >> e.g. telnet host.name.here 80
> >>
> >> or
> >>
> >> telnet xx.xxx.xxx.xxx 80
> >>
> >> Try a few times and see if you're getting a timeout or if it connects
> >> every time. Run tcpdump on the apache server while sending the
> >> connection requests and see if the connection attempts show up at all.
> >> If they do not, then it's a network problem.
> >
> > Try running 'ab' (the apache bench tool - see 'man ab' for how to use
> > it) against your server and see if you can provoke the timeouts. If you
> > can, then you are probably not configured to handle many quick
> > connections and should check (1) httpd.conf to make sure you don't have
> > an excessively low setting for 'MaxClients' or (2) a too low setting for
> > max open filehandles. Look in /etc/security/limits.conf - you should
> > have a line reading something similar to:
> >
> >
> > * - nofile 64000
> >
> >
> > somewhere in it to raise the max number of open files. Busy web servers
> > need lots of filehandles.
> >
> > --
> > Benjamin Franz
> >
> > --
> > Benjamin Franz
> >
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Tony Molloy
On Thursday 11 March 2010 16:17:13 Timothy Murphy wrote:
> Alexander Dalloz wrote:
> > let's take the case that you have a power failure or a scheduled
> > maintenance with your system for instance in the early morning hours,
> > from 03:00am - 05:00am. cron.daily is set by default to run at 04:02am.
> > So in this case cron could not perform tasks like logwatch. logwatch will
> > miss in such a case, *if* there wouldn't be anacron which takes over the
> > task to run after the machine is up again (i.e. at 05:00am).
> 
> Thanks for your response.
> 
> Actually, I wouldn't mind in the slightest if cron.daily failed to run
> because the machine was down at the nominated time.
> It is not as though my world depends on cron.daily running every day.
> I certainly would not run another program in case that happened.
> 

You're world may not depend on it but those of us who run 10's of servers need
a bit more reassurance.  ;-)

> > How anacron handles jobs is documentend in "man 8 anacron". It uses
> > timestamp files in /var/spool/anacron/ to control, when a job was last
> > performed and whether it is pending.
> 
> Actually, "man 8 anacron" does not say that.
> It says "Anacron records the date in a special timestamp file",
> but it doesn't say where that file is.
> 

They're in /var/spool/anacron. Three files cron.daily .weekly .monthly.

> I see that there are actually files /var/spool/anacron/cron.daily , etc,
> on my machine listing the last day anacron ran (20100311)
> But it seems that this information is not used, in my case,
> I don't know why.
> 

That's the date anacron was last run.

> As I said, this duplication seems to have started recently,
> and I have taken no action on this machine for months
> apart from running "sudo yum update",
> so I assume some update had this effect.
> 

Yum probaably updated anacron and set it to running

On my laptop

#  rpm -qa --last | grep anacron
gives
cronie-anacron-1.4.3-4.fc12   Sat Feb 27 11:05:52 2010

So it was updated last on 27th Feb.

> I have a second CentOS machine where this duplication does not occur,
> even though everything seems the same as on the first machine.
> 

Tony

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Tony Molloy
On Thursday 11 March 2010 16:00:49 Timothy Murphy wrote:
> Tony Molloy wrote:
> > anacron is for machines that are not up 24x7 so they could miss some of
> > the times when "cron jobs" were to be run. So anacron wakes up and checks
> > the /etc/anacrontab file. Then it runs any jobs after a certain delay
> > period ( not at a fixed time )
> 
> ...
> 
> > Hope this helps,
> 
> Sadly, no.
> 
> If "anacron is for machines that are not up 24x7"
> then why run it on machines that are up all the time
> (which I imagine is most CentOS machines)?
> 

It's only on if you have switched it on..
#  chkconfig --list | grep anacron

will tell you if it is switched on

#  chkconfig --level 35 anacon off

will switch it off. on next rebot

#  service anacron stop

will stop it immediatley.

You don't need it on a machine that's up 24x7. cron should handle all your 
scheduled jobs.

By the way I run centos on several of my laptops and they're not up 24x7

Tony


-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Tony Molloy
On Thursday 11 March 2010 12:50:13 Timothy Murphy wrote:
> Is one meant to have one or the other?
> If so, which is recommended?
> I have
> 
> [...@helen etc]$ cat anacrontab
> # /etc/anacrontab: configuration file for anacron
> 
> # See anacron(8) and anacrontab(5) for details.
> 
> SHELL=/bin/sh
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> 
> 1   65  cron.daily  run-parts /etc/cron.daily
> 7   70  cron.weekly run-parts /etc/cron.weekly
> 30  75  cron.monthlyrun-parts /etc/cron.monthly
> 
> [...@helen etc]$ cat crontab
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
> 
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 22 4 * * 0 root run-parts /etc/cron.weekly
> 42 4 1 * * root run-parts /etc/cron.monthly
> 
> I didn't write either of these,
> they must have been automatically installed.
> 
> My impression is that anacrontab was ignored until recently,
> but now as far as I can see both are being read and acted on.
> 
> Any enlightenment gratefully received.
> 

Both are typically installed as part of a CentOS install. But you only need 
one or the other. Generally cron on a 24x7 machine and anacron on a laptop.
One or the otrher is mormally disabled.

cron is a fixed time schedular. I wakes up every minute and checks if there are 
any jobs to be run. It checks /etc'/crontab for system crons to run and also 
in /var/spool/cron for individual crons to be run.

e.g  from my /etc/crontab file

22 4 * * 0 root run-parts /etc/cron.weekly

says

At 22 minutes past 4am run /etc/cron.weekly


anacron is for machines that are not up 24x7 so they could miss some of the 
times when "cron jobs" were to be run. So anacron wakes up and checks the 
/etc/anacrontab file. Then it runs any jobs after a certain delay period ( not 
at a fixed time )

e.g from my /etc/anacrontab file

7   20  cron.weekly nice run-parts /etc/cron.weekly

says

20 minutes after waking up every 7 days run /etc/cron.weekly


Hope this helps,

Tony


-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] NFS client firewall config?

2010-02-18 Thread Tony Molloy
On Thursday 18 February 2010 11:23:43 Rudi Ahlers wrote:
> On Thu, Feb 18, 2010 at 1:11 PM, Tony Molloy  wrote:
> > On Thursday 18 February 2010 11:00:53 Rudi Ahlers wrote:
> > > Hi all,
> > >
> > > Which ports do I need to have open on an NFS client's firewall to allow
> >
> > it
> >
> > > to connect to a remote NFS servers?
> > >
> > > When I disable iptables (using ConfigServerFirewall), it connects fine,
> >
> > but
> >
> > > as soon as I enable it, NFS gives me this error:
> > > r...@saturn:[~]$ mount master1.mydomain.co.za:/saturn /bck
> > > mount: mount to NFS server 'master1.mydomain.co.za' failed: RPC Error:
> > > Unable to send.
> > >
> > > I have added ports 111 & 2049 in both the TCP & UDP ingres & exgress
> > >  ranges, but that doesn't seem to help. portmap & nfs is running as
> > > well. But as I say, as soon as I disable the firewall, it mounts fine.
> > >
> > > Google search results reveal a lot of different ports, like 4000:4004,
> > > 83 (something, I forgot) but it still doesn't help.
> > >
> > >
> > > r...@saturn:[~]$ rpcinfo -p
> > >program vers proto   port
> > > 102   tcp111  portmapper
> > > 102   udp111  portmapper
> > > 1000211   udp  48996  nlockmgr
> > > 1000213   udp  48996  nlockmgr
> > > 1000214   udp  48996  nlockmgr
> > > 1000211   tcp  47195  nlockmgr
> > > 1000213   tcp  47195  nlockmgr
> > > 1000214   tcp  47195  nlockmgr
> > > 1000111   udp   4004  rquotad
> > > 1000112   udp   4004  rquotad
> > > 1000111   tcp   4004  rquotad
> > > 1000112   tcp   4004  rquotad
> > > 132   udp   2049  nfs
> > > 133   udp   2049  nfs
> > > 134   udp   2049  nfs
> > > 132   tcp   2049  nfs
> > > 133   tcp   2049  nfs
> > > 134   tcp   2049  nfs
> > > 151   udp   4003  mountd
> > > 151   tcp   4003  mountd
> > > 152   udp   4003  mountd
> > > 152   tcp   4003  mountd
> > > 153   udp   4003  mountd
> > > 153   tcp   4003  mountd
> >
> > Hi,
> >
> > NFS by default uses random high numbered ports. See "48996  nlockmgr"
> > above.
> > You need to tie them down to allow them through your firewall
> >
> > Create the following file /etc/sysconfig/nfs
> >
> > #/etc/sysconfig/nfs
> > # Created 05.07.05 by Tony Molloy
> >
> > # Number of NFS threads to run
> > RPCNFSDCOUNT=48
> >
> > # ports for statd daemon
> > STATD_PORT=4000
> > STATD_OUTGOING_PORT=4004
> >
> > # ports for lockd daemon
> > LOCKD_TCPPORT=4001
> > LOCKD_UDPPORT=4001
> >
> > # ports for mountd daemon
> > #MOUNTD_NFS_V2=no
> > #MOUNTD_NFS_V3=no
> > MOUNTD_PORT=4002
> >
> > # ports for rquota daemon
> > #RQUOTAD=no
> > RQUOTAD_PORT=4003
> >
> >
> > Then open ports 4000:4004 in you firewall as well as port 111 the
> > portmapper
> > and port 2049 for NFS
> >
> > Hope this helps,
> >
> > Tony
> >
> >
> > --
> >
> > Chief Technical Officer.   Tel: +353 061-202778
> > Dept. of Comp. Sci.
> > University of Limerick.
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> Hi Tony,
> 
> Where do I do this? On the NFS server, or the NSF client?
> 

Put the file on the NFS server and open the ports on the NFS server. Then 
restart NFS services

# service nfs start
# service nfslock start

To make these permanent

# chkconfig --level 35 nfs on
# chkconfig --level 35 nfslock on

Check with rpcinfo that NFS is using the specified ports.

Tony

> 4 other NFS clients have connected to this server successfully, and I used
> the same settings (i.e. opened port 111 & 4096) on the client's firewall
> 

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] NFS client firewall config?

2010-02-18 Thread Tony Molloy
On Thursday 18 February 2010 11:00:53 Rudi Ahlers wrote:
> Hi all,
> 
> Which ports do I need to have open on an NFS client's firewall to allow it
> to connect to a remote NFS servers?
> 
> When I disable iptables (using ConfigServerFirewall), it connects fine, but
> as soon as I enable it, NFS gives me this error:
> r...@saturn:[~]$ mount master1.mydomain.co.za:/saturn /bck
> mount: mount to NFS server 'master1.mydomain.co.za' failed: RPC Error:
> Unable to send.
> 
> I have added ports 111 & 2049 in both the TCP & UDP ingres & exgress
>  ranges, but that doesn't seem to help. portmap & nfs is running as well.
>  But as I say, as soon as I disable the firewall, it mounts fine.
> 
> Google search results reveal a lot of different ports, like 4000:4004,
> 83 (something, I forgot) but it still doesn't help.
> 
> 
> r...@saturn:[~]$ rpcinfo -p
>program vers proto   port
> 102   tcp111  portmapper
> 102   udp111  portmapper
> 1000211   udp  48996  nlockmgr
> 1000213   udp  48996  nlockmgr
> 1000214   udp  48996  nlockmgr
> 1000211   tcp  47195  nlockmgr
> 1000213   tcp  47195  nlockmgr
> 1000214   tcp  47195  nlockmgr
> 1000111   udp   4004  rquotad
> 1000112   udp   4004  rquotad
> 1000111   tcp   4004  rquotad
> 1000112   tcp   4004  rquotad
> 132   udp   2049  nfs
> 133   udp   2049  nfs
> 134   udp   2049  nfs
> 132   tcp   2049  nfs
> 133   tcp   2049  nfs
> 134   tcp   2049  nfs
> 151   udp   4003  mountd
> 151   tcp   4003  mountd
> 152   udp   4003  mountd
> 152   tcp   4003  mountd
> 153   udp   4003  mountd
> 153   tcp   4003  mountd
> 

Hi,

NFS by default uses random high numbered ports. See "48996  nlockmgr" above. 
You need to tie them down to allow them through your firewall

Create the following file /etc/sysconfig/nfs

#/etc/sysconfig/nfs
# Created 05.07.05 by Tony Molloy

# Number of NFS threads to run
RPCNFSDCOUNT=48

# ports for statd daemon
STATD_PORT=4000
STATD_OUTGOING_PORT=4004

# ports for lockd daemon
LOCKD_TCPPORT=4001
LOCKD_UDPPORT=4001

# ports for mountd daemon
#MOUNTD_NFS_V2=no
#MOUNTD_NFS_V3=no
MOUNTD_PORT=4002

# ports for rquota daemon
#RQUOTAD=no
RQUOTAD_PORT=4003


Then open ports 4000:4004 in you firewall as well as port 111 the portmapper 
and port 2049 for NFS

Hope this helps,

Tony

 
-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] An error message I don't recognize

2009-12-10 Thread Tony Molloy
On Thursday 10 December 2009 17:28:45 Bob McConnell wrote:
> I have recently been told I will have to maintain some CentOS servers at
> work. Since I have only been using Slackware for the last 16 years, I
> decided to install CentOS on one of my servers at home to get an idea of
> the differences. I installed CentOS 5.4 from CD with no problems, did a
> yum update, set up a couple of samba shares and started to copy over
> some files from one of my other servers.
>
> Everything looks ok, but I keep seeing this message on the active
> console. I have no idea where it comes from nor what it means.
>
> type=1400 audit(1260446462.444:9): avc:  denied  { getattr } for  pid=2200
> comm="smbd" path="/proc/sys/fs/binfmt_misc" dev=binfmt_misc ino=4348
> scontext=root:system_r:smbd_t:s0
> tcontext=system_u:object_r:binfmt_misc_fs_t:s0 tclass=dir
>
> What is it, what is triggering it and how do I fix it?
>

It's a selinux denial. Selinux is permissive/enforcing on the system.

# sestatus

will tell you which.

It's got something to do with samba "comm="smbd""
trying to access the file "path="/proc/sys/fs/binfmt_misc"" Don't know why it 
would want to do that.

Try this

# sealert -b

This will dispaly all the AVC's graphically. Look for one from smbd.  This 
will give you the full AVC and possibly suggest a way to fix it.

Tony



> Thanks,
>
> Bob McConnell
> N2SPP
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Amavisd and ClamAV

2009-11-27 Thread Tony Molloy
On Friday 27 November 2009 09:49:54 John Doe wrote:
> From: Tony Molloy 
>
> > Things work OK with the exception of clamav. When I start  clamav I get
> > the following error.
> > [r...@newgoext ~]# service clamd.amavisd start
> > Starting clamd.amavisd: ERROR: Missing argument for option at line 2
> > ERROR: Can't open/parse the config file /etc/clamd.avisd.conf
> >[FAILED]
> > As this is a test server I'v set selinux to permissive so it doesn't look
> > like a selinux problem.
>
> So, did you check the file /etc/clamd.d/amavisd.conf ?
>
> JD
>

Yep. It was a parse error in the installed file not an open error.

cat /etc/clamd.avisd.conf

# Use system logger.
#LogSyslog

# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
LogFacility LOG_MAIL

# This option allows you to save a process identifier of the listening
# daemon (main thread).
PidFile /var/run/amavisd/clamd.pid

# Remove stale socket after unclean shutdown.
# Default: disabled
#FixStaleSocket

# Run as a selected user (clamd must be started by root).
User amavis

# Path to a local socket file the daemon will listen on.
LocalSocket /var/spool/amavisd/clamd.sock


When I commented out LogSyslog and FixStaleSocket it started ok.

Thanks for stating the obvious sometimes that's the hardest thing to see ;-)

Tony


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



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Amavisd and ClamAV

2009-11-27 Thread Tony Molloy

Hi,

I want to move my mail server from sendmail to postfix over christmas. I've 
got a test server running with the following:

postfix dovecot postgrey amavisd-new clamav spamassassin

I've followed the howto's on the wiki  with the 
exception that I installed amavisd-new and clamav from the EPEL repo rather 
than rpmforge.

Things work OK with the exception of clamav. When I start  clamav I get the 
following error.

[r...@newgoext ~]# service clamd.amavisd start
Starting clamd.amavisd: ERROR: Missing argument for option at line 2
ERROR: Can't open/parse the config file /etc/clamd.d/amavisd.conf
   [FAILED]

As this is a test server I'v set selinux to permissive so it doesn't look like 
a selinux problem.

Thanks,

Tony

--

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsFTP Question

2009-11-05 Thread Tony Molloy
On Thursday 05 November 2009 19:44:55 Victor Subervi wrote:
> Hi;
> Now that it's installed, how do I start it and add a user? I can hardly
> believe there is *no* documentation!
> TIA,
> Victor


man vsftpd

/usr/share/doc/vsftp-*

Tony



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:iptables ?

2009-10-31 Thread Tony Molloy
On Saturday 31 October 2009 08:27:49 hadi motamedi wrote:
> Thank you for your reply . But it is returned "No such file" for
> /etc/sysconfig/iptables . Can you please correct me ?
> Thank you in advance
>

Is iptables installed

rpm -qa | grep iptables

Tony
> On Sat, Oct 31, 2009 at 8:10 AM, Tony Molloy  wrote:
> >  On Saturday 31 October 2009 07:48:05 hadi motamedi wrote:
> > > Dear All
> > > To open a port , I know that I need to go to "System -> Administration
> > > -> Security Level and Firewall" -> Other ports and then I can open
> > > port-5901 as tcp protocol . Can you please do me favor and let me know
> > > how it can
> >
> > be
> >
> > > done from the command line (if my CentOS is text-mode installed) ?
> >
> > (perhaps
> >
> > > via iptables?)
> > > Let me thank you in advance
> >
> > Edit /etc/sysconfig/iptables
> >
> > Restart iptables with service iptables restart
> >
> > Tony
> > --
> >
> > Dept. of Comp. Sci.
> > University of Limerick.
> >  ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:iptables ?

2009-10-31 Thread Tony Molloy
On Saturday 31 October 2009 07:48:05 hadi motamedi wrote:
> Dear All
> To open a port , I know that I need to go to "System -> Administration ->
> Security Level and Firewall" -> Other ports and then I can open port-5901
> as tcp protocol . Can you please do me favor and let me know how it can be
> done from the command line (if my CentOS is text-mode installed) ? (perhaps
> via iptables?)
> Let me thank you in advance


Edit /etc/sysconfig/iptables

Restart iptables with service iptables restart

Tony
-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing yum-priorities in 5.4?

2009-10-22 Thread Tony Molloy
On Thursday 22 October 2009 13:04:05 Sorin Srbu wrote:
> >-Original Message-
> >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
>
> Behalf
>
> >Of Morten Torstensen
> >Sent: Thursday, October 22, 2009 12:37 PM
> >To: CentOS mailing list
> >Subject: [CentOS] Missing yum-priorities in 5.4?
> >
> >Is this missing on purpose? Function merged with another yum package?
> >Or is it just missing as an oversight?
>
> I just upgraded a few systems with v5.4, rebooted and then ran an update
> again. The yum-priorities plugin is loaded and used with the regular "yum
> update" command.
>
> Or am *I* missing something here? I don't see anything wrong...
>
> To the CentOS-devs I'd like to extend a great thank you. The v5.4 upgrade
> went in w/o a hitch and seems to be working excellent.
Ditto.

The problem is not with updated systems but with newly installed systems. 
yum-priorities is missing from newly installed 5.4 systems. It's fine with 
updated systems.

Tony


-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Tony Molloy
On Wednesday 21 October 2009 16:31:13 Alan McKay wrote:
> > it will work when your mirror has 5.4
>
> ahhh, OK.   What if my mirror is the same box?   Will that work too?
> I cannot see any reason from here why it would not.
>
> I keep a local mirror on my desktop (the box in question) and am just
> bringing down 5.4 now, with rsync
>
> thanks,
> -Alan

When the rsync is finished check the contents of the centos/5 directory. There 
should be links there to the point release in use.

In my case although i've got the 5.4 rpms rsynced from my local mirroor the 
links in that directory still link to 5,3 

e.g.

[r...@thomond centos]# cd 5
[r...@thomond 5]# ls -al
total 44
drwxrwxr-x  2 1000 1000 4096 Apr  1  2009 .
drwxr-xr-x 11 1000 1000 4096 Sep 28 23:29 ..
lrwxrwxrwx  1 1000 1000   14 Oct 21 11:04 addons -> ../5.3/addons/

That means that the default Centos-Base.repo file in /etc/yum.repos.d will 
still use 5.3.

When 5.4 is finally released and all the mirrors have synced then the links 
will link to 5.4

Hope this helps,

Tony
-- 


Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LDAP howto using ds-base and ds-admin and related consoles

2009-07-31 Thread Tony Molloy
On Friday 31 July 2009 16:12:12 Craig White wrote:
> On Fri, 2009-07-31 at 16:00 +0100, Tony Molloy wrote:
> > > But this all would be virtually impossible without a decent
> >
> > knowledge of
> >
> > > how LDAP works and that is regardless of whether you use CentOS-DS
> >
> > or
> >
> > > OpenLDAP.
> > >
> > > Craig
> >
> > After reading Carter's book I think i've got some idea of how LDAP
> > works. Just
> > a pity that most books/documentation seem to be about OpenLDAP so it
> > takes a
> > while to convert to Centos-DS.
>
> 
> I agree that Gerald Carter's book makes LDAP understandable.
>
> The reality is that the LDAP API is pretty much the same and you
> actually use openldap-client and nss-ldap tools even with CentOS-DS. I
> haven't used CentOS-DS but I have used Fedora-DS and it is built from
> Fedora-DS. The difference between them is setup of schema, certificates,
> ACL's/ACI's and I found once I understood OpenLDAP, that Fedora-DS was
> easy enough to use with only a few questions.
>
> I think you might want to subscribe to
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
> Craig

Allready subscribed !!

Tony

-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LDAP howto using ds-base and ds-admin and related consoles

2009-07-31 Thread Tony Molloy
On Friday 31 July 2009 15:05:29 Craig White wrote:


> > I'm going through the Howto:Samba from  at
> > the moment and hopefully that will get me started.
> >
> > But what would be nice is:
> >
> > 1. Howto:migtate existing NIS to CentosDS
> > 2. Howto:migrate existing Samba to CentosDS
>
> 
> seriously...I don't think you are ever going to find such a beast.

True, it was a wish list after all ;-)

> There are some really good tools from padl to migrate nis to ldap (on
> Redhat/CentOS installed as part of openldap-servers package). This may
> require some amount of script-fu (perl, sed, awk, etc.) but not too
> much. Then to add the samba attributes/passwords/machine accounts will
> require a larger dose of script-fu.

I've got them and they are useful. As I said I'm going through the Howto:Samba 
now.

> But this all would be virtually impossible without a decent knowledge of
> how LDAP works and that is regardless of whether you use CentOS-DS or
> OpenLDAP.
>
> Craig

After reading Carter's book I think i've got some idea of how LDAP works. Just 
a pity that most books/documentation seem to be about OpenLDAP so it takes a 
while to convert to Centos-DS.

regards,
Tony


-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LDAP howto using ds-base and ds-admin and related consoles

2009-07-31 Thread Tony Molloy
On Thursday 30 July 2009 19:23:24 Kwan Lowe wrote:
> On Thu, Jul 30, 2009 at 1:03 PM, Rob Kampen
> wrote: [snip]
>
> > I have read many hundreds of pages, have purchased O'reilly's LDAP System
> > Administration but cannot seem to get my dirsrv based LDAP to function.
> > I do understand that ds uses LDIF files to store and set things up, but
> > seem unable to grasp the arcane entries that need to exist so I can
> > access it with a basic LDAP client to load my users etc.
> > Also I guess there are certain schemas that need to be used to allow
> > basic functions to work.
> > My wish list:
> > linux user authentication and authorization
> > windows user authentication and authorization (via samba?)
> > customer contact list (name, address, company, phone numbers, email
> > addresses)
> > - this last one to be used by Thunderbird and my SIP phone system - both
> > of which profess to speak LDAP
> > I'm sure there are many small business folk that would like something
> > like this, however I cannot find a template with all my searches, so for
> > those of you with better LDAP and or google skills - please point me in
> > the right direction.
>

I'm going through the same process as Rob ( the OP ) at the moment. I want to 
setup centos-directory server. initially I want it to replace a NIS and Samba 
system with about 1200 existing users. 

> There's a pretty straightforward guide at HowToForge.com (search for
> "CentOS LDAP"). It's a little dated, but works as advertised.  In a
> nutshell the installation requires installing the centos-ds packages
> (about 4), installing a Sun Java, and then populating the database.
> The client side is even simpler.

Installing centos-ds is not a problem. It's what you do after it. Especially 
for people like me who have no experience with OpenLDAP.

>
> Linux and Windows user authentication is straightforward, with GUI
> based setup and editing.
>

With 1200 existing users to be migrated then GUI based setup and editing is 
not very useful.

> The default schema I use doesn't include address, company, etc., but
> these are very easily added.  I tested with kaddressbook and a couple
> other LDAP browsers without any glitches.

I'm going through the Howto:Samba from  at the 
moment and hopefully that will get me started.

But what would be nice is:

1. Howto:migtate existing NIS to CentosDS
2. Howto:migrate existing Samba to CentosDS

Regards,

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



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade

2009-04-01 Thread Tony Molloy
On Wednesday 01 April 2009 02:36:36 Thomas Dukes wrote:
> Hello,
>
> Just did yum update.  There were numerous packages to be updated.  I get
> this is the newest release of Centos.
>
> The update bombed stating I need nss-3.12.2.0-2.el5.  I did a rpm -q nss
> and nss-3.12.2.0-4.el5 is install in Cento 5.2.
>
> What's up with that?
>
> TIA
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


Thomas,

If you're doing an update from 5.2 to 5.3 you need to have both the base and 
the updates repo enabled. This is because there are some packages that were 
released as updates for 5.2 and they are newer than the packages in the 5.3 
base such as nss. They have been released as updates to 5.3.

Regards,

Tony

-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade

2009-04-01 Thread Tony Molloy
On Wednesday 01 April 2009 03:34:03 Ned Slider wrote:
> Thomas Dukes wrote:
> > Hello,
> >
> > Just did yum update.  There were numerous packages to be updated.  I get
> > this is the newest release of Centos.
> >
> > The update bombed stating I need nss-3.12.2.0-2.el5.  I did a rpm -q nss
> > and nss-3.12.2.0-4.el5 is install in Cento 5.2.
> >
> > What's up with that?
> >
> > TIA
>
> You didn't wait for the official release announcement ;)
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

The version of nss you have installed is from the epel repo not base CentOS so 
it is conflicting with something from the 5.3 release. Remove the old version 
of nss, do the update and reinstall nss if required. I had a similar problem 
with one of the NetworkManager rpms from the epel repo.

Regards,

Tony

-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade

2009-04-01 Thread Tony Molloy
On Wednesday 01 April 2009 08:00:12 Tony Molloy wrote:
> On Wednesday 01 April 2009 03:34:03 Ned Slider wrote:
> > Thomas Dukes wrote:
> > > Hello,
> > >
> > > Just did yum update.  There were numerous packages to be updated.  I
> > > get this is the newest release of Centos.
> > >
> > > The update bombed stating I need nss-3.12.2.0-2.el5.  I did a rpm -q
> > > nss and nss-3.12.2.0-4.el5 is install in Cento 5.2.
> > >
> > > What's up with that?
> > >
> > > TIA
> >
> > You didn't wait for the official release announcement ;)
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
> The version of nss you have installed is from the epel repo not base CentOS
> so it is conflicting with something from the 5.3 release. Remove the old
> version of nss, do the update and reinstall nss if required. I had a
> similar problem with one of the NetworkManager rpms from the epel repo.
>
> Regards,
>
> Tony

Pleasse disregard this "piece of c**p".  I was assuming youir problem was 
similar to mine. Should read e-mails more carefully before replying. 

Regards,

Tony

-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   >