Linux-Setup Digest #246, Volume #20 Mon, 18 Dec 00 13:13:10 EST
Contents:
mail warning msgs (Art Werschulz)
Re: Dual boot help needed. (Michael Radocha)
Linux disk blocksize ([EMAIL PROTECTED])
Re: Help- Setup of Network Parameters (Silviu Minut)
SUSE7 on Win98 (Tiefenbacher)
Re: install error with Redhat 7.0 ("S. Umar")
Re: screen freezes on "LI" when I try to start linux ("S. Umar")
/var/log/messages is constantly empty (Elmar)
Re: which LINUX to choose (HP Staber)
Re: Corel linux install problem, screen flashes? ("Kurt R. Rahlfs")
Re: /var/log/messages is constantly empty (Bill Unruh)
Re: /var/log/messages is constantly empty (Vilmos Soti)
Re: Can you install Corel 2 over Mandrake 7.2 ? (Don Hinds)
Re: SUSE7 on Win98 (Eggert Ehmke)
Re: Windows ME and Linux (Don Hinds)
dual boot/boot from windows98 ("telus")
Re: /var/log/messages is constantly empty ("J.O. Williams")
----------------------------------------------------------------------------
Crossposted-To: comp.mail.sendmail,comp.unix.admin
Subject: mail warning msgs
From: Art Werschulz <[EMAIL PROTECTED]>
Date: Mon, 18 Dec 2000 16:25:29 GMT
Hi.
We are running RedHat Linux 6.2 on various Intel boxes. As far as I
can tell, We are running the latest sendmail rpm for this version of
Linux, which is sendmail-8.9.3-20.
People seem to be getting their mail OK. However, we are getting
numerous msgs of the form
Dec 17 08:27:46 dsm kernel: fh_verify: mail/joeuser permission
failure, acc=4, error=13
in /var/log/messages. (Of course, this is really one rather-long
line, not two lines.) By "numerous", I mean somewhere around 500 msgs
a week (perhaps more, perhaps fewer).
msgs.
Note that /var/spool/mail is owned by root, and has "mail" group
ownership, with 775 protection.
Any ideas as to what's going on here? Thanks.
--
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y?
Net: [EMAIL PROTECTED] <a href="http://www.dsm.fordham.edu/~agw/">WWW</a>
Phone: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061
------------------------------
From: Michael Radocha <[EMAIL PROTECTED]>
Subject: Re: Dual boot help needed.
Date: Mon, 18 Dec 2000 16:30:04 -0000
Hi, me again,
I think I may have found a somewhat easy solution to my problem by the
means of Partition Commander 6.0 It is around 40 bucks and from the
reviews I've gathered, it seems to work a little better than Partition
Magic. I will still watch for an answer but will try this too and submit a
reply soon.
~The only thing we have to fear is a furby loose in your house.
F.J.Weezelsneeze 1943
Michael Radocha wrote:
>
> Hi,
> I am currently running WinMe on my machine and I want to add SuSE Linux
> 7.0 I need to know the correct and simple way to dual boot/partition my
> hard drive so I can comfortably use both Lin & Win. I have tried a
product
> called BootIt, but it's more for people who have several OS on their
> machine. (I always seem to have someone suggest BootIt but I really
don't
> like it so don't bother). Partition magic for WinMe is too $$$. I'm
using
> a 533Mhz Athlon processor, a 13 gig Western Digital EIDE hard drive and
> 196 Mb of ram. I have used Linux before and am familiar with Lilo and
> basicially getting Linux up and running, I actually dualbooted before,
but
> with much trouble and reading. But I have recently run into the same
> trouble again with partitioning. I just can't seem to break everything
> down properly. The 1023 cylinder thing always stumps me. The SuSE hand
> book was and is not exactly the easiest thing to understand. But I like
> SuSE the best, although Red Hat 7.0 seems pretty good, so far. I also am
> not a linux expert (obviously) so I need a *simple* way to do this. I
just
> plan to go online and listen to some tunes, nothing major here. I would
> love and have yet to see a step by step example on how to partition a
> Lin/Win box. Are there any sites out there that anyone can recommend to
> do this? Any help would be greatly appriciated. Thanks in advance. ~m
>
> DID YOU KNOW?~~ Butterball recalled over 3 million of their turkeys this
> past thanksgiving. Someone forgot to butter their balls.
>
>
> --
> Posted via CNET Help.com
> http://www.help.com/
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.misc,comp.os.linux.networking
Subject: Linux disk blocksize
Date: Mon, 18 Dec 2000 16:33:04 GMT
HI Everyone,
We are running:
Linux someservername 2.2.14-VA.5.1smp #1 SMP
Tue Sep 12 21:26:21 PDT 2000 i686 unknown
On Solaris, I can find the blocksize used on the disks with:
df -g
What is the command to show the same thing in Linux?
Thanks
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Silviu Minut <[EMAIL PROTECTED]>
Subject: Re: Help- Setup of Network Parameters
Date: Mon, 18 Dec 2000 11:53:18 -0500
You're in luck, I have the exact setup, except that I only use RH7 on both
computers, not Win98.
Linux refers to the ethernet cards it knows about, as eth0, eth1, etc. Your
computer A (the gateway to the world) has two cards: eth0 and eth1. For the
sake of the argument, suppose the cable modem is plugged into eth0, and the
local network into eth1. Your network topology looks like this:
===========
================= ============
|
|eth0 eth1|
|eth0 |
24.114.26.1------24.116.116.130
192.168.0.1-----192.168.0.2 |
|
| |
| |
===========
================ ============
Internet Gateway
(machine A) machine B
There are a few steps you must take to configure the network.
1) Set up the interfaces.
2) Write the routing tables.
3) Configure IP masquarading on A.
1) First you set up the interfaces manually, and if all is well, you automatize
this process by entering the right parameters in the right system files.
First run
ifconfig -a
to see if your cards are detected. On computer A you should see an entry for
eth0, eth1 and lo. If you don't, then the kernel has not seen your card. This
means you didn't load the right modules. Go to http://lhd.zdnet.com and see
what drivers you need for your cards. For instance, my eth1 needs the tulip
driver. To load it,
modprobe tulip
and to load it automatically at boot, in /etc/modules.conf
alias eth1 tulip
With the right drivers loaded, your cards should be seen.
To set the IP address and the net mask on an interface you use ifconfig. On
computer A
ifconfig eth0 24.116.116.130 -broadcast 255.255.254.0 up # sets the addres
to eth0 and brings it up. "up"may be ommited
ifconfig eth1
192.168.0.1 #
assigns the address to eth1 and brings it up.
You should see this:
eth0 Link encap:Ethernet HWaddr 00:E0:29:52:E8:75 # your HW
address will be different
inet addr:24.116.116.130 Bcast:24.116.117.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:458995 errors:2 dropped:4777 overruns:0 frame:2
TX packets:243231 errors:2 dropped:0 overruns:0 carrier:0
collisions:172 txqueuelen:100
Interrupt:7 Base address:0x3000
eth1 Link encap:Ethernet HWaddr 00:03:6D:13:71:91
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:419615 errors:0 dropped:0 overruns:0 frame:0
TX packets:1012120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x5000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:185 errors:0 dropped:0 overruns:0 frame:0
TX packets:185 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
On machine B
ifconfig eth0 192.168.0.2
If you need to bring an interface down, just do ifconfig eth0 down
2) The routing table:
On machine A:
route -n #
displays the routing table
route add default gw 24.114.26.1 eth0 # the default route: by
default, packets will be sent to 24.114.26.1, via eth0.
route add -net 192.168.0.0 eth1 # add a route to the
local network; packets for B will be put to eth1
On B:
route add default gw 192.168.0.1 # by default, packets
originating from B will be sent to A
If you need to delete a route,
route del -net aa.bb.cc.dd eth0 # replace the obvious
So far, you should be able to:
On A:
ping 24.114.26.1 #
communicate with the external network
ping 192.168.0.2 #
communicate with B
On B:
ping 192.168.0.1 # talk to
the INTERNAL address of A
ping 24.116.116.1 # talk to
the external address of A
You cannot ping the external network from B at this point. You need IP
masquarading on A.
If all is well, you configure the scripts, to have everyting done at boot:
On machine A:
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME="whatever_you_want"
GATEWAY="24.114.26.1" # default gateway. On B,
this should be 192.168.0.1
GATEWAYDEV="eth0"
/etc/sysconfig/network-scripts/ifcfg-eth0 # or ifcfg-eth1
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPADDR=24.116.116.130
NETMASK=255.255.254.0 # by the way, are you sure
it's 255.255.254.0 and not 255.255.255.0 ?
GATEWAY=" # leave this
empty
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
BROADCAST=24.116.117.255 # if I'm not mistaken!
NETWORK=24.116.116.0
USERCTL=no
/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.0.1
NETMASK=255.255.255.0
GATEWAY=""
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
USERCTL=no
On B:
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME="orion"
GATEWAY="192.168.1.1"
GATEWAYDEV="eth0"
FORWARD_IPV4="no"
and finally, /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
IPADDR="192.168.0.2"
NETMASK="255.255.255.0"
ONBOOT="yes"
GATEWAY=
BOOTPROTO="none"
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
NOTE: linuxconf supposedly fills in the values in these files. I don't trust
it, because I do think I entered the right values, but the files were
misconfigured. I may be wrong though. At any rate, I prefer configuring the
files by hand, because "what I see is what I get".
If you care to see what you should have entered in linuxconf to configure
networking, open linuxconf after you've written the above files.
3) IP masquarading. It is only necessary if you want to use A under Linux. If
you have other means to do this from Win98, then you don't need it, obviously.
Use the rc.firewall provided in the IP masquarading HOWTO from
http://www.linuxdoc.org.
Gee, this message has turned into a mini-HOWTO! Hope it isn't too boring
though.
Sorenson2743 wrote:
> I have spent 2 days trying to set up the parameters in RH7 linuxconfig for
> Computer "B" below, and am getting nowhere. So any help would be greatly
> appreciated! Here's what has been operating fine for me in the past 11
> months:
>
> Computer A: Win98SE, as a gateway to a cable modem, using ICS to provide
> file/print/internet access services to two ("client") computers behind, one
> of which is Computer B (mine). The 98SE machine has two adapters (one for
> cable modem, one for mini-LAN here). Computer name is CR196307-a and
> 192.168.0.1/255.255.255.0 is its IPaddress on the mini-LAN. In 98SE Network
> Control Panel the ICS/TCP (shared) entries are: Obtain IP Addr Auto,
> WINS=Disable, Gateway=Blank, DNS=Disable. The ICS/TCP (home, e.g.,
> mini-LAN) entries are: IP=192.168.0.1/255.255.255.0, WINS/Gateway/DNS=no or
> disabled. BTW, my real IP address assigned by the cable company is
> 24.116.116.130/255.255.254.0, its DNS servers are at 24.2.9.33 & 34, DHCP
> server is at 24.2.9.70, and Gateway is 24.114.26.1
>
> Computer B (mine, tryining to set up for mini-LAN access, for print sharing
> at Computer A, and for internet access via Computer A's ICS functionality):
> In Windows Network Control Panel, parameters are: IP address of
> 192.168.0.2/255.255.255.0, WINS=disable, Gateway=192.168.0.1, DNS=enable
> with Host of CR196307-a (my computer name is George), DNS SSO of
> 192.168.0.1, and DSSO of danforth1.on.wave.home.com.
>
> My question is: what do I feed into the various fields in RH7's linuxconfig
> program, starting with Basic Host Information, for Pete's sake. I've tried
> just about every combination I can think of, and no go yet. Besides, I also
> get cryptic messages like "lockdsvc ..." and (I think) "NFSiocd ...." not
> started, or unavailable, etc.
>
> Please help me. I'd dearly like to get rid of Windoze (second step is to
> get a Linux-based router/gateway to the internet), but if I can't even get
> the mini-LAN and internet access working on my machine, I don't think I
> stand much chance.
>
> Thanks in advance.
------------------------------
From: Tiefenbacher <[EMAIL PROTECTED]>
Subject: SUSE7 on Win98
Date: Mon, 18 Dec 2000 16:41:58 +0100
To me as an absolute beginner in linux it seems that, getting started
physically with linux, one of the most important things is the way you
organize your hard disk, especially if you want to use various OS.
So, therefore i�d love to know what "real experts" think about the
following: (the partitioning and formatting was done by partition magic
under win)
What do you think of my way of partitioning:
10GB hard disk partitioned in
one primary: 4GB Fat32 for win,
one extended partition of 6GB with:
one logical 50MB root Linux,
one logical 150MB swap Linux and
one logical 3.5GB linux, and
two logical each 1GB Fat for win data?
Do i have to expect serious problems for my harddisk, system??
Any replies greatfully aknowledged
------------------------------
From: "S. Umar" <[EMAIL PROTECTED]>
Subject: Re: install error with Redhat 7.0
Date: Mon, 18 Dec 2000 10:49:47 +0000
OLD problem...are you using official RH CD's? After this they put out
iso images
that contain the work "respin". They fix the problem. If you bought the
CD;s they
may be able to help you. ALSO. If you go to www.redhat.com on the main
page there
is a UPDATE info under RH7.0 announcement. There you can do the same
thing by
creating a update diskette, does not sound too hard. Good luck,.
--
Prof. S. Umar
Dept. of Physics & Astronomy
Vanderbilt University
Nashville, TN 37235
Tel : (615) 322-2459
Fax : (615) 343-7263
[EMAIL PROTECTED]
http://compsci.cas.vanderbilt.edu/~umar/resu.htm
------------------------------
From: "S. Umar" <[EMAIL PROTECTED]>
Subject: Re: screen freezes on "LI" when I try to start linux
Date: Mon, 18 Dec 2000 10:57:51 +0000
NO....this means you upgraded something with kernel but forgot to do
"lilo -v"
command. I use RedHat and figured out my procedure to fix this. It
should be
pretty much the same for any distro:
LILO RESCUE:
When the system is rebooted prematurely after an upgrade (forgetting to
do lilo -v) the boot hangs at the LILO prompt (L, LI, LIL, etc).
1. Reboot from RedHat 6.2 CD
2. Chooese "linux rescue" option to get to a ramdisk prompt. You are
now at a system created in the ram with very limited capabilities.
3. Have a copy of your "df" output to know what partitions are what
filesystems.
BELOW REPLACE DISK DEVICES WITH ONES CORRESPONDING TO YOUR SYSTEM
(IF YOU DON'T HAVE THIS INFO YOU CAN TRY MOUNTING /dev/hda? TO SOME
/junk (mkdir /junk before). IF IT MOUNTS IT EXISTS! THAN cd INTO
/junk AND SEE WHAT DIRECTORY IT IS)
4. mkdir /boot
5. mount /dev/hda1 /boot - /dev/hda1 is the /boot filesystem on
the system disk
6. mkdir /s2
7. mount /dev/hda9 /s2 - /dev/hda9 is / filesystem on disk
8. cp /s2/etc/lilo.conf /etc
9. cd /dev
10. ln -s /s2/dev/hda hda - link the device file for entire disk
to /dev directory (to trick
lilo.conf)
11. ln -s /s2/dev/hda9 hda9 - ditto
12. /s2/sbin/lilo -v
NOTE: Steps 8, 10, and 11 are done so that device file names in
lilo.conf
remain as they are, which they
should.
--
Prof. S. Umar
Dept. of Physics & Astronomy
Vanderbilt University
Nashville, TN 37235
Tel : (615) 322-2459
Fax : (615) 343-7263
[EMAIL PROTECTED]
http://compsci.cas.vanderbilt.edu/~umar/resu.htm
------------------------------
From: Elmar <[EMAIL PROTECTED]>
Subject: /var/log/messages is constantly empty
Date: Mon, 18 Dec 2000 17:51:37 +0100
Hi all,
I have deleted /var/log/messages and made a new one. Now the new one is
constantly empty. Mode is 100666 (regarding to MCs advanced chown) owner
is root, group root.
What is wrong and how to change that?
TIA
Elmar
------------------------------
From: HP Staber <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,at.linux
Subject: Re: which LINUX to choose
Date: Mon, 18 Dec 2000 18:16:16 +0100
Graham Wilson wrote:
> Most of the advice you got so far is pretty good. I got Debian potato
> on 3 CDs from CheapBytes for about $10. If you are careful with the
> installation (i.e. read ALL the notes on the screen) everything should
> go smoothly. Go to the Linux Documentation Project for your
> informational needs, and get ready to start having "fun". Debian is a
> wonderful distribution, IMHO. G.
Yes, thenks. looks as if DEBIAN is a favorite. Will continue to monitor
the replies for a while and then make my selection.
HP Staber/Salzburg
------------------------------
From: "Kurt R. Rahlfs" <[EMAIL PROTECTED]>
Subject: Re: Corel linux install problem, screen flashes?
Date: Mon, 18 Dec 2000 11:17:42 -0600
I had this when trying to change the resolution of a GUI login for one of my
boxes. I reinstalled Linux.
I have since foud that entering a "1" (without the quotes) after my OS
name in LILO boots me in a non-graphical that can let you change your
graphical interface to something that works or change /etc/inittab (the line
with initdefault) to an init level that does not use the graphical
interface.
Kurt
Reynold Tung wrote:
> I installed Core Linux on D: drive of a Win98 machine, when I start Linux
> it goes thru boot sequence OK, but when it get to root login the screen
> starts flashing, so much that I'm unable to login, has anyhone else seen
> this and is there a resolution?
>
> thanks,
> Reynold tung
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: /var/log/messages is constantly empty
Date: 18 Dec 2000 17:28:27 GMT
In <[EMAIL PROTECTED]> Elmar <[EMAIL PROTECTED]> writes:
]Hi all,
]I have deleted /var/log/messages and made a new one. Now the new one is
]constantly empty. Mode is 100666 (regarding to MCs advanced chown) owner
]is root, group root.
]What is wrong and how to change that?
You forgot to let syslog know. thus syslogd still has the old file open
and is dumping stuff there(even though it has no name).
killall -1 syslogd
This will release the old file and start it using the new one.
iDo you really want any user to be able to write to it?
------------------------------
Subject: Re: /var/log/messages is constantly empty
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Mon, 18 Dec 2000 17:35:24 GMT
Elmar <[EMAIL PROTECTED]> writes:
> I have deleted /var/log/messages and made a new one. Now the new one is
> constantly empty. Mode is 100666 (regarding to MCs advanced chown) owner
> is root, group root.
> What is wrong and how to change that?
Don't delete /var/log/messages while your logger is up.
Just restart syslog.
Vilmos
------------------------------
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: Re: Can you install Corel 2 over Mandrake 7.2 ?
From: [EMAIL PROTECTED] (Don Hinds)
Date: Mon, 18 Dec 2000 17:36:57 GMT
I'm sure my shared video is the problem. It installed all the way through just
fine, and it boots into the gui, but then the video gets messed up.
Don
>PS: I have Linux running on a K6/2 3D machine. But my video card
>doesn't use system
>memory. The problem you may be having may be related to your video
>card...
------------------------------
From: Eggert Ehmke <[EMAIL PROTECTED]>
Subject: Re: SUSE7 on Win98
Date: Mon, 18 Dec 2000 18:50:28 +0100
Reply-To: [EMAIL PROTECTED]
On Mon, 18 Dec 2000 16:41:58 +0100, Tiefenbacher <[EMAIL PROTECTED]>
wrote:
>To me as an absolute beginner in linux it seems that, getting started
>physically with linux, one of the most important things is the way you
>organize your hard disk, especially if you want to use various OS.
>So, therefore i�d love to know what "real experts" think about the
>following: (the partitioning and formatting was done by partition magic
>under win)
>
>What do you think of my way of partitioning:
>
>10GB hard disk partitioned in
> one primary: 4GB Fat32 for win,
> one extended partition of 6GB with:
> one logical 50MB root Linux,
> one logical 150MB swap Linux and
> one logical 3.5GB linux, and
> two logical each 1GB Fat for win data?
>Do i have to expect serious problems for my harddisk, system??
>Any replies greatfully aknowledged
I can see no problem. 50MB for root is plenty, 20 would be enough, but no
problems. You can setup Lilo to boot both systems. I guess you are on the
right path.
Have Fun !
Eggert
--
Eggert Ehmke
Email: [EMAIL PROTECTED]
------------------------------
Subject: Re: Windows ME and Linux
From: [EMAIL PROTECTED] (Don Hinds)
Date: Mon, 18 Dec 2000 17:53:02 GMT
Mandrake 7.2 installs fine, and lets you set your partition size.
Don
>Is there a way to install Linux on my system if I already have and want to
>keep Windows ME? I tried going through the setup with a Susse distribution
>and it didn't recognize that I already have an operating system installed
>and wanted to erase my existing partition.
>
>
------------------------------
From: "telus" <[EMAIL PROTECTED]>
Subject: dual boot/boot from windows98
Date: Mon, 18 Dec 2000 17:46:20 GMT
Hi
forgive me if this topic has been covered.
I've recently downloaded the RH7, I have Windows 98. On my journey trying to
find out how to dual boot with win98 already installed I found a article
about booting Linux from inside windows. (I'm kicking my self for not
printing it) Can anyone help me with this I've been reading the readme's and
help files that comes with RH also I've put all the RH files in their
respecitve directory location. I have also tried to setup Linux from the
directions but I think I am missing something. I am really really new with
Linux and would Like to keep my current OS mostly for some of the games I
like playing..~G~ So any help or being pointed in the right direction woul
be appreciated..
Vic
------------------------------
From: "J.O. Williams" <[EMAIL PROTECTED]>
Subject: Re: /var/log/messages is constantly empty
Date: Mon, 18 Dec 2000 11:04:34 -0700
Elmar wrote:
> Hi all,
> I have deleted /var/log/messages and made a new one. Now the new one is
> constantly empty. Mode is 100666 (regarding to MCs advanced chown) owner
> is root, group root.
> What is wrong and how to change that?
>
> TIA
> Elmar
Don't use rm on this file
Use:
cp /dev/null /var/log/messages.
As I remember this file is opened by its inode, not by the filename. The
cp on /dev/null
truncates the file to zero length ( and you don't have to tell syslog what
you did).
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.setup.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************