Linux-Setup Digest #507, Volume #20              Fri, 26 Jan 01 12:13:11 EST

Contents:
  Help!!! I wrote the boot record onto the wrong partition ("Jens F Vega")
  Re: RH7: network can't restart : ifup not found ??? (Eric)
  Re: Help!!! I wrote the boot record onto the wrong partition (Eric)
  Re: Log rotating errors (Noble Pepper)
  How to Install XWIN in RedHat ("Bill")
  Re: Log rotating errors ("Peter T. Breuer")
  Crash - what happened? ("Davide")
  ipchains log question - what is? ("Davide")
  Re: Linux on an eTower 600 is ("ne...")
  Re: Storm bootdisk (David)
  Re: Unusually slow g77 code on Katmai (Massimo Boninsegni)
  Re: iptables & 2.4.0 ("Christopher C. Stump")
  Re: 2.2.18 kernel fails to load (Michael Perry)
  Re: Clock problem. (Michael Perry)
  KDE 2 questions (Alan Claunch)
  Re: How to Install X (NOT XWIN) in RedHat (Eric)
  Re: Newbie question: SoundBlaster AWE64 Gold ("Matt Ng")
  Re: Help!!! I wrote the boot record onto the wrong partition ("Jens F Vega")
  Help on folder creation with permissions , apache ([EMAIL PROTECTED])
  Re: Log rotating errors (Wesley)
  can't partition HD (Ron Sussman)

----------------------------------------------------------------------------

From: "Jens F Vega" <[EMAIL PROTECTED]>
Subject: Help!!! I wrote the boot record onto the wrong partition
Date: Fri, 26 Jan 2001 10:58:43 -0000

Hi...

Well, I have a very BIG problem.
I installed RH7 in my computer one week ago and I was booting from a floppy.
Yesterday I was trying to set up a dual boot, but by mistake LILO wrote the
boot sector on the wrong partition... my fault.

The disk that I ruined was a vfat filesystem, with only one partition and I
have important data there.
Now WinMe says that the disk is not formatted. Linux gives me an error when
I try to mount the filesystem 'Wrong fs type, bad option, bad superblock on
/dev/hdb1 or too many mounted filesystems' of course.
I ran fdisk to have a look and it was printing out a lot of errors of
different partitions, that didn't exist in that disk.

Well, the question is: Is there something that I can do abaut? Is my data
lost forever?

Any help would be very apreciated.
Thanks.

Jens




------------------------------

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: RH7: network can't restart : ifup not found ???
Date: Fri, 26 Jan 2001 12:20:13 +0100
Reply-To: [EMAIL PROTECTED]

> >anyhow, after editing the file  /etc/sysctl.conf to add some
> >safety features (e.g. tcp_syncookies), I tried restarting the network via
> >               /etc/rc.d/init.d/network restart
> >
> >and got the following
> >
> >>/etc/rc.d/init.d/network restart
> >Shutting down interface eth0:                              [  OK  ]
> >Disabling IPv4 packet forwarding:                          [  OK  ]
> >Setting network parameters:                                [  OK  ]
> >Bringing up interface lo:  ./ifup: ./ifup: No such file or directory
> >                                                           [FAILED]
> >Bringing up interface eth0:  ./ifup: ./ifup: No such file or directory
> >
> >The very WEIRD thing is, ifup EXISTS with correct permissions
> [...]
> >>ls -lG /sbin/if*
> >-rwxr-xr-x    1 root         2966 Jul 25  2000 /sbin/ifcfg
> >-rwxr-xr-x    1 root        47644 Jul 12  2000 /sbin/ifconfig
> >-rwxr-xr-x    1 root         1363 Aug 15 13:01 /sbin/ifdown
> >-rwxr-xr-x    1 root        12336 Oct 10 13:18 /sbin/ifenslave
> >-rwxr-xr-x    1 root         3725 Aug  3 07:21 /sbin/ifup
> Looking at the failed line, U'll see that the script is setup to
> be called from the /sbin directory ( the ./ifup bit). Therefore
> you need to called /etc/rc.d/init.d/network script from the
> /sbin directory or else hardcode all the directories in the
> script.
> 

Ehhhhh....
I've never done this from /sbin, (RH6.X) and it never failed.

To the OP:

run `file /sbin/ifup`
You'll see it's a script.
Make sure the shell called exists where it is expected.

And echo the path just before the scripts are called in the
network-script
to see if they are called from where you think they are.
(ie. add some `pwd` commands to /etc/rc.d/init.d/network)

Eric

------------------------------

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Help!!! I wrote the boot record onto the wrong partition
Date: Fri, 26 Jan 2001 12:23:44 +0100
Reply-To: [EMAIL PROTECTED]

> Well, I have a very BIG problem.
> I installed RH7 in my computer one week ago and I was booting from a floppy.
> Yesterday I was trying to set up a dual boot, but by mistake LILO wrote the
> boot sector on the wrong partition... my fault.
>
> The disk that I ruined was a vfat filesystem, with only one partition and I
> have important data there.
> Now WinMe says that the disk is not formatted. Linux gives me an error when
> I try to mount the filesystem 'Wrong fs type, bad option, bad superblock on
> /dev/hdb1 or too many mounted filesystems' of course.
> I ran fdisk to have a look and it was printing out a lot of errors of
> different partitions, that didn't exist in that disk.

bad news, this is not suppose to happen.
Was the table correct to start with?
Where did you put it?

> Well, the question is: Is there something that I can do abaut? Is my data
> lost forever?
> 

lilo has the -u option
(Yes it's in the manpages....)

It will restore what you destroyed.

Eric

------------------------------

From: Noble Pepper <[EMAIL PROTECTED]>
Subject: Re: Log rotating errors
Date: Fri, 26 Jan 2001 06:16:47 -0600

Mike wrote:

> Hi,
> 
> I get this error daily:
> 
> errors occured while rotating /var/log/sudo.log
> 
> stat of /var/log/sudo.log failed: No such file or directory
> 
> Which program is doing it ?
> 
> TIA
> 
> Mike
> 
> 
> 
that would be cron I imagine, two things seem obvious:

Go through your crontabs, find the script that rotates your log and 
eliminate sudo.log from it. 

Give it a file, touch /var/log/sudo.log

------------------------------

Reply-To: "Bill" <[EMAIL PROTECTED]>
From: "Bill" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.x
Subject: How to Install XWIN in RedHat
Date: Fri, 26 Jan 2001 21:31:53 +0800

Dear All,

I just installed RedHat 7.0 with Server mode selected. However, it can't run
the Xwin and looks missing the required program (I tried XF86Config).

Can anyone help me to install Xwin for further configuration?

Regards,
Bill
[EMAIL PROTECTED]





------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Log rotating errors
Date: Fri, 26 Jan 2001 13:35:58 GMT

Mike <[EMAIL PROTECTED]> wrote:
> errors occured while rotating /var/log/sudo.log

> stat of /var/log/sudo.log failed: No such file or directory

> Which program is doing it ?

logrotate, obviously.

Peter

------------------------------

From: "Davide" <[EMAIL PROTECTED]>
Subject: Crash - what happened?
Date: Fri, 26 Jan 2001 13:43:16 GMT

I have linux rh 6.0 with software raid 1

Suddendly the hard disk began to flash in a crazy manner and on the console
monitor appeared:
device 03:01 only 512-char blocks implemented

I had to switch the computer off

In the log files:

Jan 23 10:31:27 server kernel: ll_rw_block: device 03:01: only 512-char
blocks implemented (4096)
Jan 23 10:32:44 server last message repeated 24 times
Jan 23 10:32:44 server last message repeated 5 times
Jan 23 10:32:44 server xinetd[20884]: {general_handler} (20884) Unexpected
signal: 11 (Segmentation fault)
Jan 23 10:32:44 server last message repeated 9 times

What does it mean?
Hardware or software problem?

Thank you.




------------------------------

From: "Davide" <[EMAIL PROTECTED]>
Subject: ipchains log question - what is?
Date: Fri, 26 Jan 2001 13:43:17 GMT

I have tons of this in my log files:

Packet log: input DENY ppp0 PROTO=2 xxx.xxx.xxx.xxx:65535 224.0.0.1:65535
L=28 S=0xC0 I=0 F=0x0000 T=1 (#18)
Packet log: input DENY ppp0 PROTO=103 xxx.xxx.xxx.xxx:65535 224.0.0.13:65535
L=30 S=0xC0 I=0 F=0x0000 T=1 (#18)

NOTE: xxx.xxx.xxx.xxx = peer ip address.
NOTE: 224.0.0.1 = it is not my ip address

What is this junk?




------------------------------

From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: Linux on an eTower 600 is
Date: Fri, 26 Jan 2001 13:55:15 GMT

On Jan 26, 2001 at 04:51, Phillip Lineburg eloquently wrote:

>I'm currently using an etower 600is.  I've been able to load SuSe 6.1
>and Mandrake 7.0.  The problem is getting it to recognize the video
>and sound "card."  Also, I'm having trouble getting it to recognize
>the PCI 10/100 card.
>
>I made the necessary directory and copied files and even compiled the
>driver tulip.c and got errors.  I spoke to a few people and may be
>near fixing that problem.
>
>If anyone has any constructive advice on the hardware problem, please
>let me know.
You have to be a little bit more explicit. We need to know the
hardware you have ie what graf card, sound "card" and nic. We
also need to know what you copies etc and what changes you may
have made.

-- 
Registered Linux User # 125653 (http://counter.li.org)
The story you are about to hear is true.  Only the names have been
changed to protect the innocent.
  8:52am  up 15 days, 11:50,  2 users,  load average: 2.31, 2.16, 1.41


------------------------------

From: David <[EMAIL PROTECTED]>
Subject: Re: Storm bootdisk
Date: Fri, 26 Jan 2001 14:53:10 GMT

Nick wrote:
> 
> This is so sad.  I can make bootdisks with rawrite under SuSE and RH but I
> can't seem to find what to use as the boot image for Storm Linux.  If anyone
> can tell me what the file is that I should point rawrite2 to, I would
> greatly appreciate.  Sorry for cluttering up the newsgroup with this message
> but the documentation on the website doesn't cover it.
> 
> Thanks,
> Nick

There are links for the bootdisk at this link.

http://www.stormix.com/products/download/boot_disk_html

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.018% of seti users. +/- 0.01%

------------------------------

From: Massimo Boninsegni <[EMAIL PROTECTED]>
Crossposted-To: gnu.gcc.help,linux.redhat.misc
Subject: Re: Unusually slow g77 code on Katmai
Date: Fri, 26 Jan 2001 14:54:16 GMT

In article <[EMAIL PROTECTED]>,
  "Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
> In comp.os.linux.setup Massimo Boninsegni <[EMAIL PROTECTED]>
wrote:
> > In article <[EMAIL PROTECTED]>,
> > as I said in my previous message, on a Pentium II I get excellent
> > performance (and actually, -march=pentium has no ``disastrous''
effect,
> > in fact it seems to have hardly any effect).
>
> Then perhaps you are not doing what you think you are doing.
> arch=pentium will be at least a 30% hit. Your code must be
> unoptimizable. Is it generated code?
>
> Peter

I can only state once again what I wrote in my first posting; it does
seem clear enough to me.

Sat, 20 Jan 2001 17:20:40 GMT:

``I cannot figure out why *any* fortran code that I generate using
g77 is unusually (ridiculously) slow on a Pentium III.
I am talking 5-6 times *slower* on a 550 Mhz Pentium III (Katmai) than
on a 400 Mhz Pentium II (Deschutes).''

So, I am not talking about *a* code, I am talking *any* fortran code,
written by me or others, and I am not talking 30% but 600%. Hope this
makes it finally clear what the problem is.

Thanks,

Massimo

--
Massimo Boninsegni
Department of Physics
San Diego State University
http://www.physics.sdsu.edu/~boninsegni


Sent via Deja.com
http://www.deja.com/

------------------------------

From: "Christopher C. Stump" <[EMAIL PROTECTED]>
Subject: Re: iptables & 2.4.0
Date: Fri, 26 Jan 2001 09:02:42 -0600

Thanks for the reply, but I'm positive I had those options selected during
kernel compilation...any other ideas?


"michael.fengler" wrote:

> On Thu, 25 Jan 2001, Christopher C. Stump wrote:
>
> -- snip --
> >One interesting thing to note is that when I run the 'lsmod' command, I
> >see no modules loaded that seem to relate to packet filtering.   Are
> >there modules that I need to manually install in order to get iptables
> >to work? If so, what are they? The error message seems to indicate that
> >some modules need to be loaded, but I thought the modules made for the
> >kernel were "loaded on demand" and that I didn't need to do anything.
>
> Loadable module support
> [*] Enable loadable module support
> [*] Set version information on all module symbols
> [*] Kernel module loader
>
> - mike

--
Christopher C. Stump
E-mail: [EMAIL PROTECTED]
Homepage: http://www.thestump.net
Registered with the Linux counter, ID#183377

"Computers are like air conditioners...Once you open
 Windows, they stop working correctly" -Unknown Linux User



------------------------------

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: 2.2.18 kernel fails to load
Date: Fri, 26 Jan 2001 06:05:16 -0800

On Fri, 26 Jan 2001 04:52:46 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>In article <1J5c6.19688$[EMAIL PROTECTED]>,
>  Bob Reinkemeyer <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>>
>> > Hi All,
>> >
>> > I just recompiled and installed the 2.2.18 kernel.  Everything went
>> > smoothly, but after I restart my system, I get the LILO: prompt as
>> > expected and then request the new kernel. I get the characterstic
>> > message on the display
>> >
>> > Linux Loading.........
>> >
>> > the dots only continue halfway across my display, then the machine
>> > hangs.
>> >
>> > Any ideas?  I have RAM disk support enable.
>> >
>> > Thanks in advance!
>> >
>> >
>> > Sent via Deja.com
>> > http://www.deja.com/
>>
>> Did you run lilo before rebooting?
>
>YES.
>
>
>Sent via Deja.com
>http://www.deja.com/

Can you go over the sequence of events after you compiled the kernel?  You
copied the bzImage to /boot?  That may help us track down what went wrong.

-- 
Michael Perry
[EMAIL PROTECTED]
==================

------------------------------

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Clock problem.
Date: Fri, 26 Jan 2001 06:08:23 -0800

On 22 Jan 2001 02:28:05 -0000, Bob Camp <[EMAIL PROTECTED]> wrote:
>
>Bob Camp <[EMAIL PROTECTED]> writes:
>
>---- snip ----
>> 
>> If I do a soft reboot after:
>> 
>>    /sbin/clock -u -w
>> 
>> The hardware clock is reset to 1st Jan 1996 00:00:00
>> 
>
>---- snip ----
>
>
>OK, got it sussed:
>
>Both /sbin/clock and /sbin/hwclock clobbered the clock somehow; so it
>forgot its setting on rebot.  Fortunately hwclock-2.10 fixes it, good.
>
>Now I just need to fix /dev/rtc which is apparently broken....
>
>
>--
>
>Bob

Did you recompile a kernel recently?  There is realtime clock support
available as a kernel compile option.

-- 
Michael Perry
[EMAIL PROTECTED]
==================

------------------------------

From: Alan Claunch <[EMAIL PROTECTED]>
Subject: KDE 2 questions
Date: Fri, 26 Jan 2001 10:29:54 -0500


I'm running SuSE Linux 7.0 kernel 2.4; I just upgraded KDE to KDE2 using 
the rpms from the SuSE ftp site. Everything seemed to install OK (using 
YAST as per instructions). However-multiple things don't work.

1) Although KOffice is reported as installed and there is a panel menu item 
for the various KOffice components, nothing works. When Kword, Kchart or K 
illustrator are clicked nothing happens. Kpresenter and Kspread give error 
messages "Couldnt launch Kspread/Kpresenter".

2) kscd (the KDE 2 version on the panel menu) opens but does not recognize 
that there is a CD present or play the CD. I can go to a terminal window 
and type "kscd" and the original KDE1 version will open and play the CD.

3) my CD player is a Ricoh CD-R/RW (MP7040A) and is recognized during boot 
up and kernel loading. However when I run KOnCD in the setup section only 
the "Reader" is identified, the "Writer" is blank.

4) several other applications on the panel menu bar do not open when 
clicked.

                                                Any Thoughts?
                                                Alan Claunch



------------------------------

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.x
Subject: Re: How to Install X (NOT XWIN) in RedHat
Date: Fri, 26 Jan 2001 16:35:09 +0100
Reply-To: [EMAIL PROTECTED]

Bill wrote:
> 
> Dear All,
> 
> I just installed RedHat 7.0 with Server mode selected. However, it can't run
> the Xwin and looks missing the required program (I tried XF86Config).

You tried the wrong thing. linux is case sensitive.
try xf86config instead.

BTW. It's X, not Xwin, XWIN, Xwindows or anything like that.

> Can anyone help me to install Xwin for further configuration?
> 

put the CD in again.
install all the rpm's that have Xfree86 in them?

Eric

------------------------------

From: "Matt Ng" <[EMAIL PROTECTED]>
Subject: Re: Newbie question: SoundBlaster AWE64 Gold
Date: Fri, 26 Jan 2001 10:21:59 +0500

Hi, I was in a similar situation, maybe this will help?

> My problem is... if I install version 7.1 I can configure my
> SoundBlaster AWE64 Gold to use IO 220, IRQ 5 DMA 1 and 3 etc. and the
> card works fine.
> 
> However, if I install version 7.2 the sound card will NOT work... cant
> configure it to work... Ive tried almost every suggestion I could find.

Quick question did you do an upgrade or was it a complete re-install?

> Anybody have any tips ?

A couple of things I would suggest, run cat /proc/interrupts to make sure
IRQ 5 is either not used, or used by the sound card. Then check to see if
all the modules (sb, sound etc) are loaded by running lsmod. Give
isapnptools a try, (pnpdump and isapnp) and then sndconfig.

Hope that helps. If not try posting the results and errors of what I
suggested.

------------------------------

From: "Jens F Vega" <[EMAIL PROTECTED]>
Subject: Re: Help!!! I wrote the boot record onto the wrong partition
Date: Fri, 26 Jan 2001 15:35:11 -0000

Thanks Eric, I'll try it
Jens

"Eric" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> > Well, I have a very BIG problem.
> > I installed RH7 in my computer one week ago and I was booting from a
floppy.
> > Yesterday I was trying to set up a dual boot, but by mistake LILO wrote
the
> > boot sector on the wrong partition... my fault.
> >
> > The disk that I ruined was a vfat filesystem, with only one partition
and I
> > have important data there.
> > Now WinMe says that the disk is not formatted. Linux gives me an error
when
> > I try to mount the filesystem 'Wrong fs type, bad option, bad superblock
on
> > /dev/hdb1 or too many mounted filesystems' of course.
> > I ran fdisk to have a look and it was printing out a lot of errors of
> > different partitions, that didn't exist in that disk.
>
> bad news, this is not suppose to happen.
> Was the table correct to start with?
> Where did you put it?
>
> > Well, the question is: Is there something that I can do abaut? Is my
data
> > lost forever?
> >
>
> lilo has the -u option
> (Yes it's in the manpages....)
>
> It will restore what you destroyed.
>
> Eric



------------------------------

From: [EMAIL PROTECTED]
Subject: Help on folder creation with permissions , apache
Date: Fri, 26 Jan 2001 16:00:09 GMT

Hi,

Once I make a new user in Linux can i Have it automaticaly make a
PUBLIC_HTML directory in the users home directory chmod'd with 755.

Ultimatley I want to make it so when i create a user , he/she is ready
to go to FTP into it and start posting files.

Also I guess i will need to have the USER directory chmoded to 755 upon
creation.

Help


thanks in advance,
Nick


Sent via Deja.com
http://www.deja.com/

------------------------------

From: Wesley <[EMAIL PROTECTED]>
Subject: Re: Log rotating errors
Date: Fri, 26 Jan 2001 11:21:25 -0500
Reply-To: [EMAIL PROTECTED]

"Peter T. Breuer" wrote:
> 
> Mike <[EMAIL PROTECTED]> wrote:
> > errors occured while rotating /var/log/sudo.log
> 
> > stat of /var/log/sudo.log failed: No such file or directory
> 
> > Which program is doing it ?
> 
> logrotate, obviously.
> 
> Peter

Perhaps the easiest way to fix the problem would be:

# touch /var/log/sudo.log

Then the file will exist, and logrotate will be able to rotate it.  A
better option may be to edit your /etc/logrotate.conf file and find the
entry for /var/log/sudo.log.  Check the man page, but I believe that
there's a "missingok" option or something similar that will keep
logrotate from complaining about a missing log file.

-- 
Wes Sheldahl
[EMAIL PROTECTED]

------------------------------

From: Ron Sussman <[EMAIL PROTECTED]>
Subject: can't partition HD
Date: Fri, 26 Jan 2001 16:47:42 GMT

 I'm trying to install Mandrake 7.2 onto a 30 gig IBM HD.  The entire disk 
is one big "C" drive containing win 98SE.  I want to resize the "C" partition
& carve out a few gigs for linux.  Both DiskDrake & Partition Magic fail.  DD
says "can't resize hard drive"; PM says that it can't partition the drive
because it's full (PM lies; actually 27-28 gigs are free).  Any ideas? 
Thanks

--


Sent via Deja.com
http://www.deja.com/

------------------------------


** 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
******************************

Reply via email to