Re: rsync-backup

2003-10-09 Thread Ian Mortimer
> i am just trying to use rsync for backup , can anybody tell me how i can 
> do incremental backup ie only the new or modified files should go for backup

rsync does that by default.  If you want to save a backup history
using rsync see:  http://www.mikerubel.org/computers/rsync_snapshots/

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Legal Characters in DNS

2003-10-06 Thread Ian Mortimer

> I thought that DNS was getting "internationalized" and migrating towards
> unicode

Yes.  DNS is a general purpose distributed database.

There are restrictions on which characters are legal in hostnames but those
restrictions don't apply to other DNS record types.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Redhat Certification

2003-10-05 Thread Ian Mortimer

> I am testing for my RHCT in 3 weeks..with all of the latest developments, 
> should I even bother to do this?

I would say yes because:

   RedHat certification is now based on RHEL

   The certification is useful in itself.  Most of the RHCE course is not
   RedHat specific and much of not even Linux specific.  (Don't know about
   RHCT but I presume it's similar).


-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: LANG=?

2003-10-05 Thread Ian Mortimer

> Some questions: Why would Redhat choose an encoding for rh9 that breaks
> all manner of things? 

Because unicode is the future.  For English language speakers it might
seem unnecessary but for those of us who have to provide support for
other languages it's a benefit.

The main problem at the moment seems to be a bug in perl's unicode
handling.  Apparently that's fixed in rawhide (and presumably will
be fixed in Fedora).

The bad news is the disease seems to have spread from RH 9 to RH 8.0
following the latest perl errata updates.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Legal Characters in DNS

2003-10-02 Thread Ian Mortimer
> Is an underscore ' _ ' a legal character in a DNS name?  Is there an
> document that someone can point me to with a definitive answer as to which
> characters are legal and not?

Being strictly pedantic: underscores are allowed in DNS entries
but not in hostnames.  The relevant document is RFC 952.
-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Dumb Newbie question bout Tripwire

2003-09-30 Thread Ian Mortimer


>  I'm running RH9 with all the latest updates.  I have been noticeing in 
> mail to root about Tripwire.  Is Tripwire automaticly setup when 
> installing RH or do you have to set it up after installing? 

You have to set it up: 

   cd /etc/tripwire
   vi twpol.txt   # customize for your system, use your preferred editor
   ./twinstall.sh
   tripwire -m i

You'll probably have to tweak it a bit to eliminate error messages about 
missing files:

   cd /etc/tripwire
   vi twpol.txt
   tripwire -m p twpol.txt

See the man pages for more details.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: onstream out of business?

2003-09-30 Thread Ian Mortimer
> 
> does anybody know if onstream is out of business?  their website has not
> answered for the past month.

Sadly yes.  They went bankrupt early in the year.  There was some talk
of a revival (it's not the first time they've gone bankrupt apparently)
but no sign of that yet.

---
Ian  (searching for a reliable, moderate cost, tape backup system).


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Remote Keyboard and mouse

2003-09-28 Thread Ian Mortimer
 
> I am curious to know Is there a way I can run the GUI on my local
> machine pointed to the remote machine?

For individual GUI applications just turn on X11 forwarding and
X11 traffic will be tunneled through the ssh pipe.

If you want the full desktop you could use vnc tunneled through ssh.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fedora

2003-09-25 Thread Ian Mortimer

> It is in fact a very popular server OS, home users, small corporations
> and large intranets alike. If you've ever installed a Mandrake OS you
> would know why.

I didn't want to start a linux distro war, it's just that I've never
come across it on a server.  I know it's popular on desktops.

> Slackware and Mandrake are too.

Our first web server ran on slackware (many years ago).


-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fedora

2003-09-25 Thread Ian Mortimer

> Why not Mandrake on a server? I haven't used it for that (my only
> server runs OpenBSD), but are there any objective reasons not to?

I have to admit that my only experience with Mandrake is cleaning
up the mess after staff or students attempt to install it themselves.

My impression is that Mandrake is a desktop oriented distribution that 
likes to stay close to the bleeding edge and is not primarily targeted 
at the server market.  (But I could be wrong).

The linux distributions I've mostly seen on servers are RedHat, SuSe
and Debian.   (Debian seems to be especially popular with ISPs).

FreeBSD and OpenBSD are also popular.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fedora

2003-09-25 Thread Ian Mortimer

> > What options are left to the SOHO server user if not Fedora or SUSE? 

> How about Mandrake?

On a server?  Debian or FreeBSD are likely to be more stable.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fedora

2003-09-23 Thread Ian Mortimer
A large and potentially larger part of the Linux market is in the education 
sector.  Many schools/colleges/universities don't have budgets to pay for 
expensive software licenses (one reason many are moving from Windows).

Some software vendors offer unsupported non-commercial licenses at discounted 
rates or even free in recognition of the promotional advantages of having 
their products in the education sector.

It seems to me that unless RH do something similar admins in this sector 
(even those with an RHCE!) are likely to start looking at other distributions 
(debian is already popular - partly because of knoppix) or *bsd.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: RHCE (was Fedora)

2003-09-23 Thread Ian Mortimer

> >Could mean a move to debian or freebsd for servers.
> 
> Why? Personally, I see Fedora as being functionally equivalent to RHL 10, 
> and for small servers I would have run 10 without question. No reason on 
> Earth for me not to use Fedora for those, since I expect to see RH put as 
> much into Fedora as they did into RHL... so no loss in functionality or 
> reliability or trustworthiness.
> 
> What do you see differently?

Nothing yet, will have to wait and see.  

Stability is a prime concern with servers (one of the reasons we opted 
for RedHat in the first place).  (Most of our servers still run on 7.3 
with a few running on 9).

It would be nice to move all servers (or at least the most important ones)
to RHEL but cost is a problem for us.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Plea to Linux Users

2003-09-22 Thread Ian Mortimer
>  However, many of us work and exist in environments where
> carrying around a CD doesn't scale.

Not to mention the need to reboot every box to run off the CD and
then reboot again when done.  Several days work there.  

> My suggestion can be quickly and
> easily performed on remote systems.

The CD idea has merit though.  You could put the application and all the
utilities it uses on a CD, mount the CD on one host and export it over NFS 
to other hosts on the network.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: RHCE (was Fedora)

2003-09-22 Thread Ian Mortimer

> Thanks for digging that up.  I'm not sure whether to consider it good
> news or bad-  with all their changes, I've lost track.  :-P

I consider it both good and bad.  

Currently it's a lot of work building rpms for all the stuff we need that's 
not bundled with RedHat (or is out of date).  Fedora should lighten that load 
(who knows - I might be able contribute some of my rpms to the Fedora project).

On the other hand (from a University on a tight budget) I don't fancy forking 
out for large numbers of RHEL licenses and I'm not sure about running vital 
services on Fedora.

Could mean a move to debian or freebsd for servers.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: RHCE (was Fedora)

2003-09-22 Thread Ian Mortimer

> I wish I knew.  RH was very prompt about explaining to current RHCE's
> how the original numbering changes would affect our certification
> period.  I haven't heard anything from RH since they've issued the press
> release that signalled the end of the "retail" version.
> 
> Previously, my certification was due to expire around RH 12.  I have no
> idea now.

According to https://www.redhat.com/training/rhce/rhce_faq.html#current


   All RHCEs earned on Red Hat Linux 7.3 or prior will be considered current 
   until the release of Red Hat Enterprise Linux AS/ES/WS 4.

   All RHCEs and RHCTs earned on RedHat Linux 8.0 or 9 will remain current 
   until the release of Red Hat Enterprise Linux 5.


Sounds like yours is good until the release of RHEL 4.


-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Abiword 2.0.aaarrrrrghghghhghgh

2003-09-21 Thread Ian Mortimer

> Let's see: I see a report on slashdot that abiword 2.0 was released. I went 
> where that pointed, and it had the SuSE, the gnome, and the gtk versions of 
> the release. I *presume* that they all use and need the same libraries, yet 
> each one finds *different* libraries missing, and most of those libraries 
> are, in fact, installed on my system. 

If you want to install an rpm for a different Linux distribution or even
a different RedHat release (or rawhide) the safest way is to download
the src rpm and rebuild:

rpmbuild --rebuild ..src.rpm

That will link with the libraries installed on your system and (if the
rpm spec file is done correctly) will also adjust paths appropriately
for your system.

Still no guarantee that will work but it can solve some of the obvious
problems.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Congrats on rh9 distr...but questions remain about choices made re: Apache/Samba

2003-09-17 Thread Ian Mortimer

> Problem#1: Apache2 that you distribute doesn't seem to have apxs support
> enabled. For this reason I needed to get apache src and rebuild. Not a
> problem doing this, but for others it might be. Plus, given that production
> sites will probably build from source anyways...why wasn't this included?

It's included in the httpd-devel package.  It's standard RedHat (good)
practice to have separate devel packages. 

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Latest iptables init scripts, and "rmmod"

2003-09-16 Thread Ian Mortimer

> Be very surprised if this was always a problem with RH8 given its
> maturity.

I first started seeing it after the last errata update to iptables
for RH 8.0 (a few weeks ago).

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Latest iptables init scripts, and "rmmod"

2003-09-16 Thread Ian Mortimer

> > If it weren't for the fact that the output told me that it was trying to 
> > "rmmod", I'd have nto known what to comment out of the init script.

This is RedHat 8.0 right?  The RedHat 9 init script doesn't do it.

> So far, it's caused one of my systems to crash and reboot, and another to 
> lock up.

Another side effect is that it causes hosts to hang during shut down or
reboot at "stopping iptables".  A major pain if you're rebooting remotely.

Might be a good idea to post it on bugzilla along with the fix.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: creating multi volume tar files .tar1, .tar2 etc

2003-09-16 Thread Ian Mortimer

> >tar -cvlO /disk /disk2 | split -b 50 - file.tar.

The downside to doing this is that recovery becomes difficult if any of the
split files is lost or becomes corrupted.  If you want to stay below a 
certain size you could (if possible) tar up individual subdirectories.

If you've got directories larger than the size limit you can still break 
it up alphabetically.  Could get tedious though. 

> Last backup system i tried to set up 
> didnt work too well since the company who made the tape drive went out of 
> business about 2 weeks after i bought it. Anyone want a brand new onstream 
> drive? :)

Pity about that.  I've been using an onstream drive for backups for about
3 years now without a single failure.


-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: grub boot order question

2003-09-16 Thread Ian Mortimer
>   this is in my grub.conf file:
>   if i change default=0 that should boot with the 2.4.20-20.8 kernel yes?

Yes but that's not the approved way to do it.  It's safer to do:

   grubby --set-default=/boot/vmlinuz-$version

(replace $version but the version number 2.4.20-20.8 in your case).

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: How to use USB key drive with Red Hat 9

2003-09-14 Thread Ian Mortimer
> Hello again. I added the entry to /etc/fstab,
> rebooted, 

No need to reboot.

> inserted the key drive, then tried mounting
> /mnt/jumpdrive, but got the following:
> 
> mount: you must specify the filesystem type
> 
> I looked on the man page for mount, at the filesystem
> types, but didn't see usb. Is there a different name
> for it? Thanks again.

In most cases like this specifying the filesystem type doesn't work either
(the default is auto which should detect common types).

Some things you could try:

   o make sure you have the latest RedHat kernel (2.4.20-20.9) it has some
 fixes for certain types of USB memory cards

   o do `tail -f /var/log/messages' as you insert the card and see what
 it's recognized as.  Sometimes they show up as /dev/sdb or higher.

   o do `fdisk -ul /dev/sda' (or sdb or whatever it shows up as)

   o if there's no valuable data on it - run `fdisk /dev/sda' (or whatever),
 delete all existing partitions, create a new partition then format
 it as vfat with: `mkfs.vfat /dev/sda1' (or whatever).

Then try mounting the newly created partition.  If it doesn't work unplug
it and plug it in again watching /var/log/messages.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Net::SSLeay on Redhat 9

2003-09-11 Thread Ian Mortimer
>  This is one of
> those rare cases that I choose to use the RPM, rather than compile Perl
> modules from source, just for ease of use.  That's not to say that it's
> better than compiling from source, I was probably just being lazy.  ;-)

I always install an rpm even if I have to build it myself (using 
cpan2rpm at least as a starting point).

Makes it easier at upgrade time or when migrating to another server to
identify what software is installed and what the dependencies are.
You also win if you have to install the same module on more than one host.

(Some of the reasons package management was invented in the first place).

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: IMAP/POP server on Redhat Linux

2003-09-10 Thread Ian Mortimer
>
> I'm looking to implement IMAP/POP3 server on Redhat. I did a search on
> google but I could not get a correct answer.
> I'd appreciate if you gurus can let me know the software required for
> implementations on implementation of an IMAP/POP server for Redhat Linux
> 9.

# rpm -Uvh /mnt/cdrom/RedHat/RPMS/imap-2001a-18.i386.rpm

# chkconfig imap on

# chkconfig ipop3 on

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Linear "RAID"? (was: Two partitions as one?)

2003-09-10 Thread Ian Mortimer

> > Hm... The HOWTO isn't clear on whether those partitions can reside on
> > one single disk (which is what I'm after) - does anyone know more
> > about this?

They can be on the same disk.  Likewise for LVM volumes.  It's less efficient 
than a single large partition but it can save you the cost of repartitioning.

Other (better) ways you could do it:

   mount one partition under the other
   make a symbolic link from one partition into the other

Both of those are going to be simpler and more efficient than
RAIDing two partitions on the same disk.



-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: KVM Switch recommendation

2003-09-10 Thread Ian Mortimer

> Does anyone has recommendation for KVM switch? I plan to use it to run Linux 
> (Redhat 7.3) and Win2K with PS2 keyboard & mouse. The cheaper the better, but 
> trying to find the one with very minimal / no video degradation at 1400x1050, 
> as my linux runs on that resolution on 19 inc monitor.

I've been using cybex (now avocent: http://www.avocent.com) for many years
without a single problem.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: end of line at bash

2003-09-03 Thread Ian Mortimer

> Oh.  That's where my problem was.  The manpage didn't say I needed to put quotes 
> around the text.  The above command 
> does work on my system.

You don't need to put quotes around the text but you do need to escape
the \ to stop the shell removing it before echo sees it.  This also works:

   echo -e  first line\\nsecond line
-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: end of line at bash

2003-09-03 Thread Ian Mortimer

> What I really want to do is the following:
> 
> msg=$(msg)\n"new message"
> msg=$(msg)\n"new message"
> msg=$(msg)\n"new message"
> msg=$(msg)\n"new message"

Put it all in quotes:

   msg="$(msg)\nnew message" 

> cat msg |mail -s REPORT [EMAIL PROTECTED]

cat is for files not variables and you need a $ before msg:

   echo -e $msg | mail -s REPORT [EMAIL PROTECTED]



-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: getting dhcpd started

2003-09-02 Thread Ian Mortimer
> I'm running RH7.1 and now need to get DHCP running over the 2nd NIC (internal
> network).  I tried installing the dhcpd RPM, but was told it was already
> installed, yet there are no man pages, no way to start dhcp in init.d and
> chkconfig doesn't list it either.
> 
> Anyone know what gives?

The dhcp server rpm is called dhcp.  What you possibly have installed is
dhcpcd the dhcp client daemon.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: RPM dead?

2003-08-18 Thread Ian Mortimer
> Doh! after like 3 mins I get this error message:
> 
> error: db4 error(16) from dbenv->remove: Device or
> resource busy

It would be worth checking for any running rpm processes:

   ps -ef | grep rpm

You need to kill them (probably with -KILL if they're hung).

When there are no running rpm processes do as before: rm the
__ lock files and run `rpm -vv --rebuilddb'.

> > while? Cause think its working but its going on for
> > some time and the __somefile i moved were put back
> > in.
> > That suppose to happen?

Yes.  Running with -vv helps because you can tell if it's
doing something or if it's hung.

Is this RedHat 8.0 by any chance?

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: nfs newbie

2003-08-14 Thread Ian Mortimer
> I think / you can not export and can not mount..

You can (at your own risk - especially rw).

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: NIS on RH9

2003-08-14 Thread Ian Mortimer

>   I have updated all our servers to redhat 9 and now I get several strange 
> errors in my /var/log/messages file.
> first every 30 seconds or so I see :
> ServerA ypserv[1718]: refused connect from server.a.ip.here:967 to 
> procedure ypproc_match (our.domain.com,netgroup;-4)

Probably means your NIS server was temporarily overloaded with requests. 



-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: chkconfig doesn't work!!!

2003-08-14 Thread Ian Mortimer

> reboots. i used "chkconfig --add xd" and it still

   chkconfig xd on

To check the run levels it will run in:

   chkconfig --list xd

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: nfs newbie

2003-08-14 Thread Ian Mortimer

> things i did
> 1) on serverA, enabled nfs and in exports file put in / serverA.domain.com
> 2)on serverB, enabled nfs too(not sure right way or not), tried mount -t nfs
> serverA:/ /mnt/local (there is a local dir in there)
> 
> i got mount: serverA.domain.com:/ failed reason given by server: Permission
> denied

Did you run `exportfs -av' (or similar) after adding the entry to
/etc/exports?

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Trouble extending file system with LVM

2003-08-14 Thread Ian Mortimer
> I am running a RedHat 8 with lvm package 1.0.3-9 Anyway I have run out of
> space in one of my filesystems. I attempted to extend it using the command:
> 
> /sbin/lvextend -L +100 /dev/Volume00/LogVol01
> 
> The lvextend command does not report an error, in fact it reports that it
> has extended the filesystem. The df command however does not show that the
> filesystem size has been changed, and I can not use the additional space. I
> conclude that df reports the true state of the system.
> 
> If I run the lvdisplay command on the logical volume, it shows the logical
> size has increased.
> 
> I used rpm to verify the packed, and no discrepancies were reported.
> 
> I have done this before without trouble, I don't know why it won't work now?
> Any ideas?

lvextend extends the lvm partition but it doesn't change the size of the
filesystem.  For ext[23] file systems the recommended way to resize
a partition is to unmount the partition and use e2fsadm.

You don't say what your filesystem type is but if it's ext[23] you need
to unmount the partition, run e2fsck on the partition and then resize it
with resize2fs (you could also use ext2resize or even ext2online but
you probably don't have those tools).

If the filesystem type is not ext[23] you need to use the appropriate
resizing tool.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: metamail missing from Red Hat 9

2003-08-14 Thread Ian Mortimer
> I found on post that mentioned that metamail has been dropped from
> Red Hat 9 (possibly earlier?) 

It was dropped from 8.0 but no reason is given in the release-notes.

> but the poster could not recall what
> the replacement package was called.
> 
> Is there a package in RH 9 that does a similar job? I grep'd the
> comps.xml file on the CD's for mime or meta and even mail, but
> that turned up nothing usefull.

I rebuilt the 7.3 rpm - that works fine.  Still it would be nice to know
why it was dropped and if there's an alternative.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: boot without keyboard

2003-08-07 Thread Ian Mortimer
> coulld linux boot up without keyboard? 

Sure.  We've got dozens of headless, mouseless, keyboardless boxes
here that boot without problems.

(One old box with a dead cmos battery needs a keyboard so I can
press F1 to get it to boot).

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: vsftpd warning message???

2003-08-03 Thread Ian Mortimer
> I just installed vsftpd and it seems to be working ok except that I'm 
> seeing these warning messages in the syslog.  Any idea what's causing 
> these?  I'm just logging on from the same host as the ftp server.
> 
> Aug  1 19:31:51 tiger vsftpd: warning: can't get client address: 
> Bad file descriptor

It's because vsftpd doesn't call tcp_wrappers correctly.  You can either
ignore it or turn off use of tcp_wrappers in /etc/vsftpd/vsftpd.conf 
(assuming RH 9).

See bugzilla: #89765 #88768 #89766

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: How to remove file name call "-i" in Linux??

2003-07-24 Thread Ian Mortimer
> How can I remove the -i file?

rm -- -i
-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: building RPMs from SRPMs as non-root user

2003-07-23 Thread Ian Mortimer

> I've created .rpmmacros in my "/home/" containing "%_topdir 
> %HOME/rpm" as instructed. Is it something to do with the build root, or 
> file/dir permissions, maybe?

Replace %HOME with the actual directory path /home/ and it
should work.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: dig behavior

2003-07-20 Thread Ian Mortimer
> We have experienced this behavior on rh 9.0, rh 8.0, and AS 2.1
> 
> We can use nslookup to resolve internal addresses by the shortnames and by
> the fully qualified names.
> However, we get a connection timeout; unable to connect to server when
> "digging" on the shortname.
> The fqn works fine.
> 
> I am trying to make sure that this is the expected behavior.

By default dig doesn't refer to the search list in /etc/resolv.conf.
To get it to resolve short names use:

   dig +search hostname

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Ian Mortimer
> You're missing something crucial, the _user_ to run
> the cron command as. Should be something like:
> 
> * * * * * root /home/alumil/alumil_daily.sh

Not in a crontab.  Possibly you're thinking of an entry in /etc/cron.d
In a crontab the user who owns the crontab determines who the cron 
job runs as.  See crontab(5).
-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Ian Mortimer

> * * * * * /home/alumil/alumil_daily.sh

Do you really want this to run every minute?

> When I run alumil_daily.sh from command line it creates the output file
> properly.
> Running it from crontab the generated output file is empty, as if the
> database dump program
> would not provide any output.

What is the path to the database dump program?  If it's not in a standard
location it might not be in the execution PATH for cron.  Try entering the
full path in the script.
-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Automated Backups Between Remote Redhat Boxes

2003-07-15 Thread Ian Mortimer
> What's a good method to do automated backups between two Redhat8.0 boxes 
> located remotely from each other?

rsync over ssh.

For a neat way to maintain multiple backups:

   http://www.mikerubel.org/computers/rsync_snapshots/

   

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: named

2003-07-15 Thread Ian Mortimer
> > OS: Redhat 7.3
>
> These are actually threads of named rather than seperate copies of the
> binary. Only one copy is actuallt taking up memory

Is named threaded in RH 7.3?  

RH 7.3:

   # ps -ef | grep named | grep -v grep
   named23131 1  0 Jun20 ?00:00:00 named -u named
   named23133 23131  0 Jun20 ?00:00:00 named -u named
   named23134 23133  0 Jun20 ?00:31:13 named -u named
   named23135 23133  0 Jun20 ?00:00:04 named -u named
   named23136 23133  0 Jun20 ?00:03:22 named -u named

RH 9:

   # ps -ef | grep named | grep -v grep
   named  775 1  0 Jun06 ?00:04:53 /usr/sbin/named -u named

To see all threads on RH 9 you need to run `ps -emf'.  Running that on
7.3 gets:

   ps: error: Thread display not implemented.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: variables within an alias command

2003-07-14 Thread Ian Mortimer

> I'll take 10 floggings for not knowing this... but...
> 
> Where do I define that?

posix shell and ksh have a nice feature called autoloading functions.
You define an FPATH variable pointing to a directory and any files
in that directory will be loaded as functions on demand.

bash doesn't seem to have that feature so I guess you'll have to
put it in your .bashrc or .bash_profile (depending on where and
when you want to use the function).

(In other words: the same place you define aliases).

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: variables within an alias command

2003-07-14 Thread Ian Mortimer

> The alias would look something like this (as I imagine it in my head):
> 
> $ alias ald='ls -la $1|egrep ^d'

You'll have to define it as a function:

function ald { ls -la $1 | grep -E ^d; }

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Dependancies and RPM's

2003-07-14 Thread Ian Mortimer

> [EMAIL PROTECTED] upload]# rpm -Uvh gd-2.0.12-2.i386.rpm
> warning: gd-2.0.12-2.i386.rpm: V3 DSA signature: NOKEY, key ID 897da07a
> error: Failed dependencies:
> libgd.so.1.8 is needed by (installed) php-4.2.2-17.2
> libgd.so.1.8 is needed by (installed) webalizer-2.01_10-11
> 
> Im not sure how to interpret that...what needs what and what is the 
> (installed) part?

It means you have gd-1.8.4 installed (standard RH9 package) and
the installed php and webalizer depend on that version of gd.

If you do need the later version of gd you could try:

   rpm -ivh gd-2.0.12-2.i386.rpm

That will install both versions (as long as there are no conflicting files).


-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Am I using grub or lilo?

2003-07-10 Thread Ian Mortimer

> #!/bin/bash
> #Attention: this didn't work for me!!
> dd if=/dev/hda bs=1024 count=1 | grep GRUB
> if [ $? = 0 ]; then
>   echo "GRUB"
> else
>   echo "not GRUB"
> fi
> 
> I noticed it doesn't work since i ran it in a system wich I'm shure is
> installed with grub and I ran it on the correct boot device, /dev/sda1 in my
> case, and it didn't find any GRUB string.

Does it work if you try /dev/sda (rather than sda1)?


-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: grub and raid1

2003-07-03 Thread Ian Mortimer
>   You make it sound simple.  Have you even tried it from the installed 
> system.  If so please tell us how it can be done?

> >   install grub in the MBR of each disk (before)

# grub
   root (hd0,0)
   setup (hd0)

and repeat for hd1, hd2 and so on.

> >   make a boot floppy (or two) (before)

mkbootdisk $(uname -r)

> >   boot off the CD or a rescue disk and install grub (after)

run grub in the rescue environment and do as above or chroot into
the mounted system and run grub-install.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Redhat Squirrelmail install

2003-07-03 Thread Ian Mortimer
> I installed Squirrelmail through the standard Redhat package manager in
> KDE.
> 
> So it should be installed with all the standard RPM defaults.  How do I
> access the web interface to check mail?  I have searched Redhat's site
> and they have nothing.  Redhat linux Bible has nothing.
> www.squirrelmail.org does not address the Redhat install.

The RedHat install handles the apache configuration (by dropping a
configuration file into /etc/httpd/conf.d) but it doesn't configure
the mail server.

Either edit /etc/squirrelmail/config.php or run the configuration script
(as someone else suggested).


-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: How do I generate a korn shell for Linux?

2003-07-02 Thread Ian Mortimer
> RH 8

rpm -Uvh /mnt/cdrom/RedHat/RPMS/pdksh-5.2.14-19.i386.rpm

> I guess I may need to be a little more clear.  The application is creating a
> file mfgempty.ksh.  This is failing in the bash shell.  I wnet to change the
> users shell and I did not see ksh as a choice.

You will after you install pdksh.

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: How do I generate a korn shell for Linux?

2003-07-02 Thread Ian Mortimer
> I have a application that creates a ksh script, but I don't have /bin/ksh.
> I would like to get ksh on my Linux server.  The app is for Linux, so I
> gotta believe that I missed it somewhere in the install that it isn't on my
> system.

You don't say which version of RH.  Most versions come with pdksh.
It was dropped from one of the 7.x releases (can't remember which one).


-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: grub and raid1

2003-07-02 Thread Ian Mortimer

>   And what occurs if hda dies.  You can't boot!!! 

Either:

   install grub in the MBR of each disk (before)
   make a boot floppy (or two) (before)
   boot off the CD or a rescue disk and install grub (after)

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: grub and raid1

2003-07-02 Thread Ian Mortimer
> [EMAIL PROTECTED] /]# /sbin/grub-install /dev/md2
> /dev/md2 does not have any corresponding BIOS drive.
> [EMAIL PROTECTED] /]# /sbin/grub-install --recheck /dev/md2
> Probing devices to guess BIOS drives. This may take a long time.
> /dev/md2 does not have any corresponding BIOS drive.

Grub gets installed in the MBR of a physical drive (there are
other ways but that's the most common).  You can't install it in
a raid partition.  Do:

   /sbin/grub-install /dev/hda

(or whatever is your primary hard disk - the one the BIOS boots from).


---
Ian


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Firewall proxies and ssh, cvs

2003-07-01 Thread Ian Mortimer
> I am trying to get ports opened for both ssh and cvs so that I can get code
> from external sites, but our firewall uses proxies and proxies do not exist
> for these two protocols. Does anyone know if any other proxy will work for
> these two systems. For example, will an ssl proxy work for ssh and telnet
> for cvs?

You should be able to get cvs through a http proxy (squid for example).

fwtk has a ssh proxy but it's designed for incoming not outgoing
connections which means it's not suitable for your purpose (traffic
on the outside won't be encrypted).

I've used fwtk's plug-gw for this.  It only allows you to set up
a many (on the inside) to one (on the outside) connection but if you
need to connect to more than one external host you can configure more
plug-gw's on different ports.


---
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: how to accomplish this with vsftpd, or ...?

2003-06-30 Thread Ian Mortimer

> We use nis for authentication.
> Do you know how can one  go about setting up a vsftpd
> server to which users can secure ftp to but  not
> be able to login (i.e. login shell)?

First you need to change the NIS configuration to compat mode.
Edit /etc/nsswitch.conf and change the passwd line to:

   passwd: files compat

Then add this line to the end of /etc/passwd:

   +::/sbin/nologin

and make sure /sbin/nologin is listed in /etc/shells.

(You can use /bin/false instead of /sbin/nologin).


---
Ian

-- 
Ian
 [EMAIL PROTECTED]Ian Mortimer
 Tel: +61 7 3365 3436 Physics
 Fax: +61 7 3365 1242 University of Queensland



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Upgrade from 7.2 to 9 performace loss

2003-06-29 Thread Ian Mortimer
> Hello, we recently upgrade a quad processor apache web server from 7.2 =
> to 9. since we have noticed a significant loss of performance. Pages =
> that were taking 1-2 seconds to generate are now taking 2-4 seconds. =20

You don't say how the pages are being generated.  It could be unicode
related.  You could test that by removing the .UTF-8 from the LANG
setting in /etc/sysconfig/i18n.


---
Ian


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: best way to allow uploading of files to webserver

2003-06-26 Thread Ian Mortimer

> I have to admit that since digging a bit into the various chrooted ftp
> servers out there, I really like that idea.  I think it is a shame that
> the openssh team apparently does not see this sort of functionality as
> part of the scope of the project.  

Possibly because the OpenBSD philosophy is that if the system is configured
properly with correct file and directory permissions you don't need a
chroot jail.


---
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: running mail command on very large mailbox causes segmentation fault, rh73

2003-06-24 Thread Ian Mortimer
> Are you sure this is on the RedHat CD?  Which one?  I checked the ftp and didn't see 
> it.

Let's see.  RH 7.3 you said ...

It's on CD 2:  /mnt/cdrom/RedHat/RPMS/nmh-1.0.4-9.i386.rpm

Checking for updates: ...   None.

If you've never used mh or nmh before you might want to read nmh(1)
and take a look at:

   http://www.ics.uci.edu/~mh/book/


---
Ian


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: running mail command on very large mailbox causes segmentation fault, rh73

2003-06-24 Thread Ian Mortimer
> http://at.rpmfind.net/opsys/linux/RPM/contrib/libc6/i386/mh-6.8.4-7.i386.=
> html
> =20
> Anyone know of a newer rpm or source?

mh is not a command it's a suite of commands.  Install nmh from the
RedHat CD and type `man mhmail'.


---
Ian


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: cannot start x server HELP!

2003-06-24 Thread Ian Mortimer
> X server wont start says:
> 
> could not init font path element unix/:7100, removing from list!
> 
> fatal server error:
> could not open default font 'fixed'

Could be the font server isn't running.  Boot into runlevel 3 and try:

   service xfs status

If it's not running try:

   service xfs start

and if that works try: startx

Some KDE upgrades have been known to cause problems like this.  Quick fix is 
to reinstall XFree86 or XFree86-base-fonts depending on the RH version.


---
Ian




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: *extremely slow* text processing on Redhat 9

2003-06-23 Thread Ian Mortimer
> Am I the only one who noticed this ?

No.  See:  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=69900
and related bugzilla entries.

> Since awk, sed, grep all run extremely slow on both of my Redhat 9 boxes,
> I can't think of any reason other than the text processing library or kernel
> has some serious performance bug.

Unicode is the culprit.  The cure is to do one of:

   export LC_ALL=C
   export LANG=c
   edit /etc/sysconfig/i18n and remove .UTF-8 from the LANG setting

I'm adding 'export LC_ALL=C' at the top of every shell script and in
root's .bashrc on every box I administer.


---
Ian


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: How come I'm missing entries from the dhcpd.leases file?

2003-06-23 Thread Ian Mortimer

> Yet I don't. :( In fact, it seems that ANY devices that I assign an IP using
> the MAC (such as TiVo, Replay, other servers), don't have entries in the
> dhcpd.leases file?! Why is that? Is this a bug or by design?

By design.  dhcpd.leases only records dynamically allocated leases.

> This was also an extreme amount of work just to simply see the active leases
> and 'client-hostname' associated with an IP/MAC?! Seems to me there should
> have been a tool included with dhcpd that does this at the command line.
> *sigh*

There are some useful scripts at:

   http://www.andrew.cmu.edu/~kevinm/dhcp/failover.html

> Try adding: update-static-leases to your dhcpd.conf file.

I don't think this will do what you want.  See dhcpd.conf(5).


---
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Quota Issue

2003-06-23 Thread Ian Mortimer

> Since a long time ago I've been trying to configure Quota on my RedHat 7.2 
> ...
> /dev/md0/home   ext2  
> defaults,usrquota,grpquota 1 1
> ...
> #touch /home/aquota.user
> #touch /home/aquota.group
> #chmod 600 /home/aquota.user
> #chmod 600 /home/aquota.group

Try:

quotacheck /home
quotaon /home


---
Ian





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: LVM and software raid

2003-06-19 Thread Ian Mortimer
> What about existing systems that have RH already installed -- is it
> possible to add RAID afterwards if I just get the extra disks? If it
> possible, has anyone documented this procoess

It's possible but messy:

create the RAID system on the new disk(s)
configure the RAID system to run in degraded mode (one disk short)
copy data from the existing disk to the RAID system
boot the RAID system (from a floppy if necessary)
repartition the old disk and add it to the RAID array

See the Software-RAID HOWTO and the Boot+Root+Raid+LILO mini HOWTO 
for examples.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: AOL Now Bouncing DHCP Addresses, Residential Addresses[May Be OT]: Solved

2003-06-18 Thread Ian Mortimer
> Someone in this thread had asked whether there was a (simple?)
> sendmail configuration that would specify to send Email via one's ISP
> for destinations like aol, while going direct to others who might not
> be so "picky". 

You need to use a mailertable.  Something like:

   .aol.com esmtp:your.isp.com 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: LVM and software raid

2003-06-18 Thread Ian Mortimer
> The guy wants to use software raid0 to mirror the drives and
> I like to use LVM on stuff that might grow.

There'd be no point in having lvm and raid0 on the same drives.
To get mirroring you'd want raid1 or raid5.

You can do this from the installer (in graphical mode).  Set up your
raid array first - then create the lvm on top of that - then partition
the lvm.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: bonding 2 DSL lines.

2003-06-17 Thread Ian Mortimer
> /usr/src/linux/Documentation/networking/bonding.txt
> Among other things (on my RH8 system). I have no idea how well this
> works or how much PITA.

It works very well and is simple to setup.  But it only works for
ethernet and requires a corresponding configuration on the switch.

It has to be a single switch and it has to support etherchannel,
link aggregation, port trunking, channel bonding (or whatever other 
name the switch manufacturer decided to call it).

The alternative, if you have intel cards, is Intel's Advanced Networking 
Software (possibly you only need one intel card to get this to work).

Hard to see how bonding could work for 2 DSL lines (but I've never tried
it).  Might be possible with the intel software depending on the DSL setup.


-- 
Ian
 [EMAIL PROTECTED]Ian Mortimer
 Tel: +61 7 3365 3436 Physics
 Fax: +61 7 3365 1242 University of Queensland



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list