Re: [CentOS] 'initrd' image of CentOS (domU) on Ubuntu (dom0)

2008-08-02 Thread Kai Schaetzl
Admin Admin wrote on Fri, 1 Aug 2008 14:27:52 -0700 (PDT):

> Could I do it on any system or a system with similar
> architecture?

I don't know.

Is it possible to generate the initrd
> using a live CD?

Probably.
You may want to have a look at the jailtime.org images. They should have a 
complete CentOS 5.2 or 5.1 image.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Load Average ~0.40 when idle

2008-08-02 Thread Johnny Hughes

listmail wrote:

On Sat, 19 Jul 2008 13:48:55 -0700, I wrote

I am running CentOS 5 on a dual-dual-core Intel machine, and I am seeing
a load average of between 0.35 and 0.50 while the machine is idle, i.e.
no processes appear to be running.

Both top and uptime report the same thing. Looking at top, I cannot 
see any processes that are using CPU time except for top and init, 
and they are not using enough cycles to push up the load average.


According to top, there are occasional tiny (like 0.5%) bumps in the
system usage occasionally, and almost no user space usage. Again, not
enough to account for the load average I am seeing.

I have tried a couple of kernel updates, and upgraded from CentOS 
5.0 to 5.2, none of which make any difference.


Has anyone else seen this? And can anyone recommend a way to figure out
what is causing the load average to be this high when the machine is 
idle?



A follow-up now that this issue is resolved. Thanks to the help of some
kind souls on this list, I was able to determine that the problem was only
manifested when the Ethernet drivers were running. This led me to update
the drivers, which solved the problem.

Details for others who will probably encounter this issue:

1. The problem occurs with the 2.6.18-92.1.6.el5 kernels that come with
CentOS 5.2, and the supplied Intel e1000e Ethernet drivers v0.2.0 that
ship with 5.2.

2. The fix is to update the e1000e drivers, which are available from the
Intel web site. I installed e1000e version 0.4.1.7-NAPI. Instructions
for installation come with the driver; the package I found was
e1000e-0.4.1.7.tar.gz

3. You have to compile the drivers from source. They require the kernel-devel
package to be installed in order to compile, of course. But if you are
running the PAE kernel, you need to install kernel-PAE-devel to compile
against. News to me, the naming convention makes it hard to figure out
which name you need until you browse the available kernel packages. Simply
doing yum install kernel-devel does not get you what you need.

I hope this saves someone else the time I wasted figuring this out. :-)


I think I am going to file this as a bug on the RH site to inform them 
of this issue so that they can choose to upgrade their driver if they want.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Load Average ~0.40 when idle

2008-08-02 Thread Akemi Yagi
On Fri, Aug 1, 2008 at 5:28 PM, listmail <[EMAIL PROTECTED]> wrote:
>
> 3. You have to compile the drivers from source. They require the kernel-devel
> package to be installed in order to compile, of course. But if you are
> running the PAE kernel, you need to install kernel-PAE-devel to compile
> against. News to me, the naming convention makes it hard to figure out
> which name you need until you browse the available kernel packages. Simply
> doing yum install kernel-devel does not get you what you need.

Just to extend on this subject... somewhat detailed description on
obtaining the kernel-devel package can be found in this CentOS wiki
article:

http://wiki.centos.org/HowTos/I_need_the_Kernel_Source#head-7cb967afe95d0c9be0f9f1e1b874ecad494cb6ba

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


Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Johnny Hughes

Matt wrote:

I have a 500GB Sata drive about 15% used I would like to make an exact
copy of too another Sata 500GB drive as a spare.  That way if
something happens to the one in service I can plug in the spare
quickly and restore one of the weekly backups without reinstalling the
entire OS and all the little tweaks of setup on this mail/web server.

How do I do this?  That is make an exact bootable copy of a linux
drive.  Its running Centos 4.6 if that matters.



stupid question ... why not just put it in the machine and make it a 
raid1 mirror


then, if the first one dies, you just use the second one :D



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 'initrd' image of CentOS (domU) on Ubuntu (dom0)

2008-08-02 Thread S.A.

> > Could I do it on any system or a system with
> similar
> > architecture?
> 
> I don't know.
> 
> Is it possible to generate the initrd
> > using a live CD?
> 
> Probably.
> You may want to have a look at the jailtime.org
> images. They should have a 
> complete CentOS 5.2 or 5.1 image.
> 
> Kai
> 


I did look at jailtime.org. Their image file seems
to contain everything excepting for vmlinuz and 
initrd. You may need to generate 'initrd' image on
the machine itself, but vmlinuz could have been
packaged with the rest, but they didn't. I am
sure there is a reason for it.

I tried to go thru a different route to accomplish
the above. I tried to use instructions from:
http://www.virtuatopia.com/index.php/Building_a_Xen_Guest_Root_Filesystem_using_yum_and_rpm

I was trying: "yum --installroot=/xen -y groupinstall
Base"
and I got the error:
==
(373/375): openldap-2.3.2 100%
|=| 294 kB00:05 
(374/375): dhcdbd-2.2-1.e 100%
|=|  61 kB00:00 
(375/375): python-2.4.3-2 100%
|=| 5.9 MB00:12 
warning: rpmts_HdrFromFdno: Header V3 DSA signature:
NOKEY, key ID e8562897
Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5
Official Signing Key) <[EMAIL PROTECTED]>" from
http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in 
yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 236, in
user_main
errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 188, in
main
base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 364, in
doTransaction
if self.gpgsigcheck(downloadpkgs) != 0:
  File "/usr/share/yum-cli/cli.py", line 464, in
gpgsigcheck
self.getKeyForPackage(po, lambda x, y, z:
self.userconfirm())
  File
"/var/lib/python-support/python2.5/yum/__init__.py",
line 2571, in getKeyForPackage
misc.import_key_to_pubring(rawkey,
po.repo.cachedir)
  File
"/var/lib/python-support/python2.5/yum/misc.py", line
278, in import_key_to_pubring
ctx = gpgme.Context()
NameError: global name 'gpgme' is not defined

I am using version 3.2.12-1.1.

Any suggestions on what could be causing the above.
Is it possible to start from where it left off
(ie it already downloaded the required packages)?

Thanks


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


Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Matt
>> I have a 500GB Sata drive about 15% used I would like to make an exact
>> copy of too another Sata 500GB drive as a spare.  That way if
>> something happens to the one in service I can plug in the spare
>> quickly and restore one of the weekly backups without reinstalling the
>> entire OS and all the little tweaks of setup on this mail/web server.
>>
>> How do I do this?  That is make an exact bootable copy of a linux
>> drive.  Its running Centos 4.6 if that matters.
>>
>
> stupid question ... why not just put it in the machine and make it a raid1
> mirror
>
> then, if the first one dies, you just use the second one :D

How do you do that?

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


Re: [CentOS] Using CentOS 5 as server; best way to setup NFSv4?

2008-08-02 Thread Craig White
On Fri, 2008-08-01 at 21:09 -0700, nate wrote:

> It's quite possible that my information about LDAP is out
> of date, I admit I haven't been on the cutting edge of
> that technology recently, though I still interface with
> my home installation on a regular basis(just added some
> new mail aliases into my LDAP config today actually), I
> haven't changed the way I go about things in LDAP in
> quite some time. Maybe I'm just gettin' old.

it is...syncrepl has been available for quite some time (master <->
master)

the way to deal with ssl/multiple LDAP servers is to use TLS_CACERTDIR
on the clients so you can have multiple certs for the clients to use

migration from openldap 2.2 to 2.3 doesn't require any reconfiguration
that I'm aware of.

Craig

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


Re: [CentOS] Using CentOS 5 as server; best way to setup NFSv4?

2008-08-02 Thread nate
Craig White wrote:

> it is...syncrepl has been available for quite some time (master <->
> master)
>
> the way to deal with ssl/multiple LDAP servers is to use TLS_CACERTDIR
> on the clients so you can have multiple certs for the clients to use
>
> migration from openldap 2.2 to 2.3 doesn't require any reconfiguration
> that I'm aware of.

good to know, thanks.

As for 2.2 to 2.3, the configs themselves didn't change but I had
to change a ton of my data, took at least a couple of hours to clean
up my data  so that it would import into 2.3. I'm fairly sure it's
just leftover cruft from OpenLDAP 2.0 when it wasn't as compliant
as 2.2/2.3, and 2.2 was more lenient on what it would accept for
schema layouts, and 2.3 was very strict by comparison.

I don't recall the exact errors I got when I upgraded, it was
about a year ago. Fortunately I tested it a bunch of times and
fixed the schema in my 2.2 production system before upgrading
it, so that it went smoothly.

I'm hoping future version updates will be smoother for me.

nate

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


Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Paul R. Ganci

Matt wrote:

why not just put it in the machine and make it a raid1
mirror

then, if the first one dies, you just use the second one :D


How do you do that?
  

Detailed step by step instructions easily modified for CentOS:

http://www.howtoforge.com/software-raid1-grub-boot-debian-etch

I haven't tried this myself ... yet but plan on it in the next few weeks.

--
Paul ([EMAIL PROTECTED])
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Bent Terp
On Sat, Aug 2, 2008 at 4:00 PM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
> stupid question ... why not just put it in the machine and make it a raid1
> mirror

cuz it's not an md volume to begin with?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 'initrd' image of CentOS (domU) on Ubuntu (dom0)

2008-08-02 Thread Kai Schaetzl
S.A. wrote on Sat, 2 Aug 2008 07:04:42 -0700 (PDT):

> Their image file seems
> to contain everything excepting for vmlinuz and 
> initrd.

Ah, well, could be so. I forgot about that. That's a dead end, then ;-)

> tried to go thru a different route to accomplish
> the above. I tried to use instructions from:
> http://www.virtuatopia.com/index.php/Building_a_Xen_Guest_Root_Filesystem_using_yum_and_rpm

Make it easier. Get the jailtime image. Mount it, chroot to it, install the xenU
kernel, mkinitrd, boot with pygrub. Now that I'm reminded of that I know that it
works, I did it with CentOS 4 jailtime images.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] 64bit vs 32bit

2008-08-02 Thread Matt
I am upgrading a server that mounts in a rack.  Its going on the
cheapest socket 775 CPU I can buy and in a 1u rack case.  All its for
is keeping some log files and doing some simple MYSQL/PHP database
stuff.  Not a work horse at all.  Anyway, is it better to go 64bit or
32bit for the CentOS 5.x install?  I do not see needing huge amounts
of RAM or anything like that on this box.  Would the 32bit version be
more tried, proven and stable?

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


Re: [CentOS] 64bit vs 32bit

2008-08-02 Thread nate
Matt wrote:
> I am upgrading a server that mounts in a rack.  Its going on the
> cheapest socket 775 CPU I can buy and in a 1u rack case.  All its for
> is keeping some log files and doing some simple MYSQL/PHP database
> stuff.  Not a work horse at all.  Anyway, is it better to go 64bit or
> 32bit for the CentOS 5.x install?  I do not see needing huge amounts
> of RAM or anything like that on this box.  Would the 32bit version be
> more tried, proven and stable?

Stick to 32-bit unless there's an explicit need to go to 64-bit.
64-bit requires a lot more memory.

64-bit should be perfectly fine from a stability perspective but
it's too much of a memory hog.

Sample memory usage(32-bit):
root  4059  0.0  0.2 11616 4532 ?S04:02   0:01
/usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a
root 10721  0.0  0.0  4516 1048 ?Ss   Jun23   0:00 /usr/sbin/sshd
postfix  20038  0.0  0.0  5560 1720 ?S09:49   0:00 pickup -l -t
fifo -u
root 22302  0.0  0.1  7488 2480 ?Ss   11:21   0:00 sshd: [EMAIL 
PROTECTED]/1
root 29154  0.0  0.0  6780 1692 ?Ss   Jul30   0:01
/usr/libexec/postfix/master
postfix  29158  0.0  0.0  6024 1868 ?SJul30   0:00 qmgr -l -t
fifo -u

64-bit:
root  2792  0.0  0.0 88028 5700 ?S04:02   0:02
/usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a
root 22946  0.0  0.0 26224 2108 ?Ss   Jul30   0:00
/usr/libexec/postfix/master
postfix  22950  0.0  0.0 26336 2200 ?SJul30   0:00 qmgr -l -t
fifo -u
root 26090  0.0  0.0 37100 2656 ?Ss   11:23   0:00 sshd: [EMAIL 
PROTECTED]/0
postfix  30228  0.0  0.0 26284 2104 ?S10:34   0:00 pickup -l -t
fifo -u
root 31734  0.0  0.0 21924 1180 ?Ss   Jun23   0:00 /usr/sbin/sshd
---

snmpd - from 11M to 88M
postfix/master - from 6.7M to 26M
sshd - from 7.4M to 37M
postfix/pickup - from 5.5M to 26M

Unless you have gobs of ram and don't care about the extra memory
usage. For me unless I have processes that need more than 2GB
per process, or overall memory on the system is higher than 8GB
I stick to a 32-bit OS. If I have more than 8GB, that implies that
I actually plan to use more than 8GB at which point I believe 64-bit
starts making more sense as PAE can get pretty expensive for memory
intensive things. The above 64-bit system has 16G, the 32-bit
system above has 2G.

nate

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


[CentOS] Isolinux disk error 20; AX=4280, drive EF

2008-08-02 Thread Ed Westphal
I thought I'd be clever and buy a DVD for 5.2 from LinuxOnline.biz.
Well, just got around to trying it with the above results. Does the
error mean I have a 'bad' DVD disk image? Please advise. Thanks.

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


[CentOS] Fetchmail pop server and clean spam messages

2008-08-02 Thread nightduke
Hi i want to fetchmail from a pop server and check every email to any
rbl spamhaus,spamcop,etc and if match at any rbl the email will be
deleted.

It's possible to do this?

Thanks

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


Re: [CentOS] Fetchmail pop server and clean spam messages

2008-08-02 Thread Jay Leafey

nightduke wrote:

Hi i want to fetchmail from a pop server and check every email to any
rbl spamhaus,spamcop,etc and if match at any rbl the email will be
deleted.

It's possible to do this?

Thanks

Nightduke


If you've got fetchmail configured to retrieve messages from a remote 
MTA and deliver to a local MTA, say your local Sendmail instance, then 
put the RBL-matching stuff in your Sendmail configuration.  The mail 
will still be fetched but will be discarded by your local MTA before 
dumping it in you local mailbox.


In principle, it would be better to have the system you are fetching the 
mail from do the RBL operations, but if you don't have control over it 
then you really don't get much choice.  I'm using this setup myself and 
it works, but it offends my aesthetic sense.  OTOH, I'm easily offended!


Your mileage may vary.
--
Jay Leafey - Memphis, TN
[EMAIL PROTECTED]


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: ****[CentOS] Fetchmail pop server and clean spam messages

2008-08-02 Thread Craig White
On Sat, 2008-08-02 at 20:55 +0200, nightduke wrote:
> Hi i want to fetchmail from a pop server and check every email to any
> rbl spamhaus,spamcop,etc and if match at any rbl the email will be
> deleted.
> 
> It's possible to do this?

sure...

fetchmail => smtp server

smtp server configured with MailScanner

MailScanner 'tags' e-mail

procmail or sieve identifies tags and deletes tagged e-mail (procmail or
sieve choice determined by your choice of IMAP server -
cyrus-imapd/sieve, dovecot/procmail, dovecot/sieve)

Craig

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


Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Robert



Paul R. Ganci wrote:

Matt wrote:

why not just put it in the machine and make it a raid1
mirror

then, if the first one dies, you just use the second one :D


How do you do that?
  

Detailed step by step instructions easily modified for CentOS:

http://www.howtoforge.com/software-raid1-grub-boot-debian-etch

I haven't tried this myself ... yet but plan on it in the next few weeks.

I haven't tried it either...yet... but there is also a version of the 
HOWTO for Fedora 8, which might require less interpolation. 
http://www.howtoforge.com/software-raid1-grub-boot-fedora-8


Thanks for the URL





--
POLITICS n. Strife of interests masquerading as a contest of principles
   --Ambrose Bierce
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: ****[CentOS] Fetchmail pop server and clean spam messages

2008-08-02 Thread nightduke
But i want to leave clean messages on the server

2008/8/2 Craig White <[EMAIL PROTECTED]>:
> On Sat, 2008-08-02 at 20:55 +0200, nightduke wrote:
>> Hi i want to fetchmail from a pop server and check every email to any
>> rbl spamhaus,spamcop,etc and if match at any rbl the email will be
>> deleted.
>>
>> It's possible to do this?
> 
> sure...
>
> fetchmail => smtp server
>
> smtp server configured with MailScanner
>
> MailScanner 'tags' e-mail
>
> procmail or sieve identifies tags and deletes tagged e-mail (procmail or
> sieve choice determined by your choice of IMAP server -
> cyrus-imapd/sieve, dovecot/procmail, dovecot/sieve)
>
> Craig
>
> ___
> 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] Mirroring Hard Drive

2008-08-02 Thread John R Pierce

Bent Terp wrote:

On Sat, Aug 2, 2008 at 4:00 PM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
  

stupid question ... why not just put it in the machine and make it a raid1
mirror



cuz it's not an md volume to begin with?
  



one method is to make the 2nd disk a 'half' mirror, with all the same 
partitions, then use dump|restore to copy your file systems over to it, 
fix up the grub boot on it, edit teh fstab on this new volume to refer 
to the md sets, then swap it and make it the primary drive, and add the 
original drive as the mirror.



if uptime is your goal, don't forget to mirror the swap too.  too many 
people seem to think thats uneccessary, but if a drive containing 
unmirrored swap dies, the system can only crash and burn (eg, panic).


now, do note, a mirror is ONLY good for protecting against physical 
drive failure, and maintaining uptime, its /NOT/ a substitute for 
backups, as a software glitch, or user error can wipe the mirror out 
just as quick as can be.



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


[CentOS] Darwin Calendar Server on Centos 5

2008-08-02 Thread dnk
Has anyone had any luck getting Darwin Calendar Server installed onto  
centos 5? Any tutorials anywhere?


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


Re: [CentOS] Isolinux disk error 20; AX=4280, drive EF

2008-08-02 Thread Lanny Marcus
On Sat, Aug 2, 2008 at 1:37 PM, Ed Westphal <[EMAIL PROTECTED]>
wrote:
> I thought I'd be clever and buy a DVD for 5.2 from LinuxOnline.biz.
> Well, just got around to trying it with the above results. Does the
> error mean I have a 'bad' DVD disk image? Please advise. Thanks.

Boot from the DVD and at the boot prompt, type "linux mediacheck" (without
the quote marks).
That will check the DVD, to see if it checks out OK. That said, a few days
ago, I installed from a
DVD that did not pass "linux mediacheck" and that box is running OK. YMMV.
HTH
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Isolinux disk error 20; AX=4280, drive EF

2008-08-02 Thread Ed Westphal
Thanks Larry. Not even getting to a boot prompt. First time, it was 
saying: 'Press any key to try again'. - gives same results.
I've been Googling the above. It seems that there are some 
incompatibilities that others have reported with Isolinux? I'm wondering 
if others here have seen the problem here? I know about the checksum 
error thing. I've done other installs from CD's without a problem. 
Thought a DVD would be a better install medium. Perhaps with my Intel 
D875PBZ motherboard, there is a conflict loading ISO images? Don't know. 
Haven't found any workarounds if that is indeed the case. I have the 
latest Intel bios. Is there one install medium provider that most 
prefer? To be sure to get good disks. I'd prefer getting a disk(s) from 
someone rather than trying to burn my own. Thoughts, advice appreciated. 
Thanks.


Lanny Marcus wrote:
On Sat, Aug 2, 2008 at 1:37 PM, Ed Westphal <[EMAIL PROTECTED] 
> wrote:

> I thought I'd be clever and buy a DVD for 5.2 from LinuxOnline.biz.
> Well, just got around to trying it with the above results. Does the
> error mean I have a 'bad' DVD disk image? Please advise. Thanks.

Boot from the DVD and at the boot prompt, type "linux mediacheck" 
(without the quote marks).
That will check the DVD, to see if it checks out OK. That said, a few 
days ago, I installed from a
DVD that did not pass "linux mediacheck" and that box is running OK. 
YMMV. HTH




___
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] Using CentOS 5 as server; best way to setup NFSv4?

2008-08-02 Thread Ryan Dunn
On Sat, Aug 2, 2008 at 12:44 AM, MJT <[EMAIL PROTECTED]> wrote:

> If you are running your lan as a lab to learn, I would suggest one thing.
> From
> what I have read, it seems you just want to have everything work together
> in
> a simple manor.
>
> Since you have windows involved, you might consider having everything run
> with
> samba. With samba, every system would be able to share and use shares on
> every other computer.
>
> You could set up a samba server as a domain controller and use something
> like
> pam_smb, pam_ntdom or libpam-smbpass (i've used libpam-smbpass on other
> systems, but do know if centos makes it available anywhere, it is the only
> one that I know of that allows for update of the password from Linux) to
> allow the Linux boxes to authenticate against the samba server.
>
> http://www.freebooks.by.ru/view/SambaIn24h/ch16-03.htm
>
> In this case, you would not need to set up LDAP which I think is a bit much
> for what it sounds like you are trying to do. Because you would be mounting
> Linux to Linux using Samba, you would not need to worry about NFS at all.
>
> If it were just a Linux home network, I would do NFS3 with (probably a bad
> word here) NIS. Yes, NIS is insecure, but so is NFS3. If you use a firewall
> that would block outgoing NIS packets, it should do good enough for a home
> network.
>
> How this simplifies everything:
>
> 1: Only one network file system for both windows and Linux, not NFS for
> Linux,
> samba for windows.
>
> 2: Allows Linux access to windows shares and printers.
>
> 3: If you are using libpam-smbpass you do not need to use a something like
> LDAP, but rather passdb backend = tdbsam .
>
> Your needs may be more complex than what I assumed, but I wanted to put
> forward one way to consider...
>
>
Thanks MJT.  I kinda thought in the back of my head that I would end up with
a solution similar to what you describe (I know I'll need to learn all about
samba anyways).

In the meantime, I still want to play around with the ldap to see what all
it can do.  So the nscd is what will copy the account info to the local
drive so in the absence of the server, the laptop is still usable?  In my
setup, I would want the $HOME drives to all be local, with a folder inside
that would be the network share.

One thing that I've been somewhat confused on is how to tell the NFS server
to only use v4 or v3?  Right now I've only got tcp 2049 open in the centos
firewall, so I'm assuming that it is NFSv4, but other than that, I don't
know how to tell the difference.  I've look around for this and haven't
found anything.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Isolinux disk error 20; AX=4280, drive EF

2008-08-02 Thread Dag Wieers

On Sat, 2 Aug 2008, Ed Westphal wrote:


Lanny Marcus wrote:

 On Sat, Aug 2, 2008 at 1:37 PM, Ed Westphal <[EMAIL PROTECTED]
 > wrote:
>  I thought I'd be clever and buy a DVD for 5.2 from LinuxOnline.biz.
>  Well, just got around to trying it with the above results. Does the
>  error mean I have a 'bad' DVD disk image? Please advise. Thanks.

 Boot from the DVD and at the boot prompt, type "linux mediacheck" (without
 the quote marks).
 That will check the DVD, to see if it checks out OK. That said, a few days
 ago, I installed from a
 DVD that did not pass "linux mediacheck" and that box is running OK. YMMV. 


Thanks Larry. Not even getting to a boot prompt. First time, it was saying: 
'Press any key to try again'. - gives same results.
I've been Googling the above. It seems that there are some incompatibilities 
that others have reported with Isolinux? I'm wondering if others here have 
seen the problem here? I know about the checksum error thing. I've done other 
installs from CD's without a problem. Thought a DVD would be a better install 
medium. Perhaps with my Intel D875PBZ motherboard, there is a conflict 
loading ISO images? Don't know. Haven't found any workarounds if that is 
indeed the case. I have the latest Intel bios. Is there one install medium 
provider that most prefer? To be sure to get good disks. I'd prefer getting a 
disk(s) from someone rather than trying to burn my own. Thoughts, advice 
appreciated. Thanks.


I suspect it is not a medium problem but rather an incompatibility (or 
bug) with isolinux and your DVD drive. So most likely the same would 
happen with any other provided media (or own-written media).


I would suggest comparing the MD5 or SHA1 from the DVD with the online 
provided checksum to make sure the image is intact. But the chances are 
really slim that the isolinux bootloader got corrupted, so I doubt it will 
make a difference...


--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Isolinux disk error 20; AX=4280, drive EF

2008-08-02 Thread Lanny Marcus
On Sat, Aug 2, 2008 at 1:37 PM, Ed Westphal <[EMAIL PROTECTED]> wrote:
> I thought I'd be clever and buy a DVD for 5.2 from LinuxOnline.biz.
> Well, just got around to trying it with the above results. Does the
> error mean I have a 'bad' DVD disk image? Please advise. Thanks.

Do you have another DVD (MS Windows or something else) that you can boot off of?
I wonder if you can boot the Live CD for CentOS 5.2 and run from
that.. That would show you whether or
not this OS will run on your HW. Do you have any Diagnostics you can
run on your DVD
Reader/Burner, to see it working properly? If not, possibly you can
get the Diagnostics from the
manufacturer of the drive or if it was installed in your PC when you
bought it, from the manufacturer
of the PC.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using CentOS 5 as server; best way to setup NFSv4?

2008-08-02 Thread MJT
On Saturday 02 August 2008 6:25:07 pm Ryan Dunn wrote:
> One thing that I've been somewhat confused on is how to tell the NFS server
> to only use v4 or v3?  Right now I've only got tcp 2049 open in the centos
> firewall, so I'm assuming that it is NFSv4, but other than that, I don't
> know how to tell the difference.  I've look around for this and haven't
> found anything.

/etc/sysconfig/nfs 

is where you say which versions are mounted. 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: ****Re: [CentOS] Using CentOS 5 as server; best way to setup NFSv4?

2008-08-02 Thread Craig White
On Sat, 2008-08-02 at 20:25 -0400, Ryan Dunn wrote:
> On Sat, Aug 2, 2008 at 12:44 AM, MJT <[EMAIL PROTECTED]> wrote:
> If you are running your lan as a lab to learn, I would suggest
> one thing. From
> what I have read, it seems you just want to have everything
> work together in
> a simple manor.
> 
> Since you have windows involved, you might consider having
> everything run with
> samba. With samba, every system would be able to share and use
> shares on
> every other computer.
> 
> You could set up a samba server as a domain controller and use
> something like
> pam_smb, pam_ntdom or libpam-smbpass (i've used libpam-smbpass
> on other
> systems, but do know if centos makes it available anywhere, it
> is the only
> one that I know of that allows for update of the password from
> Linux) to
> allow the Linux boxes to authenticate against the samba
> server.
> 
> http://www.freebooks.by.ru/view/SambaIn24h/ch16-03.htm
> 
> In this case, you would not need to set up LDAP which I think
> is a bit much
> for what it sounds like you are trying to do. Because you
> would be mounting
> Linux to Linux using Samba, you would not need to worry about
> NFS at all.
> 
> If it were just a Linux home network, I would do NFS3 with
> (probably a bad
> word here) NIS. Yes, NIS is insecure, but so is NFS3. If you
> use a firewall
> that would block outgoing NIS packets, it should do good
> enough for a home
> network.
> 
> How this simplifies everything:
> 
> 1: Only one network file system for both windows and Linux,
> not NFS for Linux,
> samba for windows.
> 
> 2: Allows Linux access to windows shares and printers.
> 
> 3: If you are using libpam-smbpass you do not need to use a
> something like
> LDAP, but rather passdb backend = tdbsam .
> 
> Your needs may be more complex than what I assumed, but I
> wanted to put
> forward one way to consider...
> 
> 
> Thanks MJT.  I kinda thought in the back of my head that I would end
> up with a solution similar to what you describe (I know I'll need to
> learn all about samba anyways).  
> 
> In the meantime, I still want to play around with the ldap to see what
> all it can do.  So the nscd is what will copy the account info to the
> local drive so in the absence of the server, the laptop is still
> usable?  In my setup, I would want the $HOME drives to all be local,
> with a folder inside that would be the network share.
> 
> One thing that I've been somewhat confused on is how to tell the NFS
> server to only use v4 or v3?  Right now I've only got tcp 2049 open in
> the centos firewall, so I'm assuming that it is NFSv4, but other than
> that, I don't know how to tell the difference.  I've look around for
> this and haven't found anything.

I am of the opinion that nscd causes far more problems than it solves
and wouldn't recommend usage.

For laptop purposes, you create the same user, same uid, same home
directory both as a local account and as an LDAP account so the laptop
will function either connected to LAN or not...it's tacky but it will
work.

This is a good clean recommendation for NFS/Firewall...

https://www.redhat.com/archives/fedora-list/2008-January/msg00076.html

Craig

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