Linux-Misc Digest #95, Volume #21                Tue, 20 Jul 99 05:13:09 EDT

Contents:
  Re: slack 4.0 installation problem... (Lindoze 2000)
  Trying to install FastCGI - problems. (Nico Zigouras)
  Re: AOL Instant Messenger? Anyone got the archive? (Gergo Barany)
  Re: Subject: Why all the symbolic links in linux (gus)
  Re: Question regarding syslogd and syslog.conf (Sitaram Chamarty)
  Linux on Macintosh Classic ("Andrea Hohendahl")
  Re: 3com / US robotics 56K (gATHIS)
  Re: printer not detected (Adrian Hands)
  module deps ("FTO")
  Re: library mess (Paul Kimoto)
  Re: anonymous ftp - permissions problem (Gord Baker)
  Re: Marx vs. Nozick (Peter Seebach)
  Re: RedHat 5.2 won't install on Abit BH6! ("Brad Ball")
  Re: dds-1 tape drive question ("Gene Heskett")
  Re: Permissions - why can a user delete a file not his own? (Rahul Tripathi)

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

From: Lindoze 2000 <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware,comp.os.linux.setup
Subject: Re: slack 4.0 installation problem...
Date: Tue, 20 Jul 1999 02:56:46 -0400



TecMaster wrote:
> 
> I am having a really hard time installing Slackware 4.0 on a machine...
> I have done it on a couple other machines successfully, but i dunno what
> the deal with this one is...
> 
> It is a Intel Pentium 60.  I have two hard drives --  one 550Meg(primary
> master - /dev/hda), and a 350Meg(primary slave - (/dev/hdb)...The 350
> Meg contains the slackware 4.0 installation files(downloaded from
> ftp.cdrom.com - have used these files for installation before).  The 550
> Meg drive is the one i want to install to.
> 
> Now when I have the 16 MB of RAM in the machine and try and install(all
> i do is type "setup") and I get some CPU errors or something like that..
> Something about "the kernel couldnt handle paging requests" or
> somethin.  When I take 8 MB of RAM out, and try to install again, I type
> "setup" and it gives me a whole bunch of "Bus Error"s... Thats all it
> says.
> 
> Is it something in  my motherboard?  I tried several things in there,
> such as, disabling 32-Bit IDE Transfer Mode, disabling internal/external
> cache memory, disabling IDE LBA Mode...
> Can anyone think of anything?
> 
> Any help would be greatly appreciated...
> TecMaster

you could add a swap after you boot.
just remove the /dev/hdaX swap 0 0  line from your /etc/fstab file
reboot
and run:
dd if=/dev/zero of=swapfile so=1024 count=1234
read the man pages.
man mkswap

now run
mkswap swapfile
sync
swapon swapfile

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

From: Nico Zigouras <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Trying to install FastCGI - problems.
Date: Tue, 20 Jul 1999 03:01:39 -0400

Desperate for help here.  Two questions.  Downloaded fastcgi from their
site, trying to install on Apache/1.3.3 (Red Hat/Linux).

OK first of all I am not sure what directory to install the stuff in.
Here are the directions:

2) Installing mod_fastcgi manually
==================================

  1. Copy or move the mod_fastcgi distribution directory to
  <apache_dir>/src/modules/fastcgi.

  2. Add the FastCGI module to <apache_dir>/src/Configuration.  Note
that
  modules are listed in reverse priority order --- the ones that come
  later can override the behavior of those that come earlier.  I put
mine
  just after mod_cgi entry.

    AddModule modules/fastcgi/libfastcgi.a
3. Copy the Makefile.sample to Makefile and edit if/as appropriate.

    <apache_dir>/src$ cd modules/fastcgi
    <apache_dir>/src$ cp Makefile.sample Makefile

  4. From the <apache_dir>/src directory, reconfigure and rebuild
Apache.

    <apache_dir>/src$ ./Configure
    <apache_dir>/src$ make

  Install the new httpd.

  5. Edit the httpd configuration files to enable your FastCGI
  application(s).  See docs/mod_fastcgi.html for details.

  6. Stop and start the server.
===================================

What is the apache dir?  Is it /etc/sbin ? Where httpd exec is?


Second question - I am running the makefile for these files and getting
this error: make: *** No rule to make target `/httpd.h', needed by
`mod_fastcgi.o'.  Stop.

Here is the Makefile
#
# Makefile.tmpl for the mod_fastcgi module
#
#   Apache v1.3's Configure uses this to create a Makefile
#
# $Id: Makefile.tmpl,v 1.3 1999/02/09 03:07:57 roberts Exp $

LIB=libfastcgi.$(LIBEXT)

OBJS=mod_fastcgi.o fcgi_buf.o fcgi_pm.o fcgi_protocol.o fcgi_config.o
fcgi_util$

# Build commands

all:  lib
lib: $(LIB)

$(LIB): $(OBJS)
        rm -f $@
        ar cr $@ $(OBJS)
        $(RANLIB) $@

.c.o:
        $(CC) -c $(INCLUDES) $(CFLAGS) $<

clean:
        rm -f $(LIB) $(OBJS)

distclean: clean
        rm -f Makefile


# NOT FOR END USERS!
depend:
        cp Makefile.tmpl Makefile.tmpl.bak \
            && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl >
Makefile.new \
            && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
            && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
            && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
                   -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
                > Makefile.tmpl \
            && rm Makefile.new
                 $(INCDIR)/util_script.h          \
                 $(INCDIR)/http_conf_globals.h    \
                 $(INCDIR)/util_md5.h
# Dependencies

$(OBJS): fcgi.h
fcgi.h: mod_fastcgi.h fcgi_protocol.h
fcgi_protocol.o: fcgi_protocol.h
mod_fastcgi.o:   $(INCDIR)/httpd.h                \
                 $(INCDIR)/http_config.h          \
                 $(INCDIR)/http_request.h         \
                 $(INCDIR)/http_core.h            \
                 $(INCDIR)/http_protocol.h        \
                 $(INCDIR)/http_main.h            \
                 $(INCDIR)/http_log.h             \

Thanks for your help.





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

From: [EMAIL PROTECTED] (Gergo Barany)
Subject: Re: AOL Instant Messenger? Anyone got the archive?
Date: 20 Jul 1999 07:51:37 GMT

In article <[EMAIL PROTECTED]>, Brian Savacool wrote:
>--------------B4226D92C62CA8841A5135DE
>Content-Type: application/octet-stream; name="tik-0.74.tar.gz"
>Content-Transfer-Encoding: base64
>Content-Disposition: attachment; filename="tik-0.74.tar.gz"
>
>H4sICPBTezcAA3Rpay0wLjc0LnRhcgDsmgk8lGvfx+8Zy1jCWCpbDlqMbZoxYwaFMfYxthCK
>sjVIlmxJ1NhC2aljIgdJCiFjKftStsHE4SFCSYikcuq08c5w3td53t7nnPfzPEfnPJ/H716u
>meuez9zLdX//1///vy5/d4+9wAYLgUAjsMrKjBKBQiLRzBKBUPqlXBOAwGBRGIwyEothfEYg
>kUglFKC80RfGVICfv6Mv45SOp9ydPf6F/1m9JyTil5tC/WHXt8HyZ7S/5zEXd8cNfAv+ifZX

Don't post binaries to non-binary groups. A lot of us live in areas
where bandwith is scarce and expensive. You just wasted a lot of
people's time and money.

Gergo

-- 
"What is wanted is not the will to believe, but the will to find out,
which is the exact opposite."
                -- Bertrand Russell, "Skeptical_Essays", 1928

GU d- s:+ a--- C++>$ UL+++ P>++ L+++ E>++ W+ N++ o? K- w--- !O !M !V
PS+ PE+ Y+ PGP+ t* 5+ X- R>+ tv++ b+>+++ DI+ D+ G>++ e* h! !r !y+

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

From: gus <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Subject: Why all the symbolic links in linux
Date: Tue, 20 Jul 1999 08:12:45 +0100

Norman Levin wrote:
> 
>         I'm browsing thru the /usr/bin directory and finding a million
> symbolic links to file IN THE SAME DIRECTORY!  Why are we wasting an inode?
> 
> Why aren't these regular links?  It is not like they are links to other
> directory's
> that might eventually become separate filesystems.  This are links in the same
> directory!
> --
> Norman Levin
> vm/dynAmIX inc.


The classic example is cdtools .... ;-)

A number of programs respond differently depending on how they are
called. In a script this is accessibe in the $0 environment variable.

With cdtools, if you create a link cdplay -> cdtools, and run cdplay, it
will play the cd, a link cdpause will pause, cdeject will ...... the
list goes on.

Another example is grep, with egrep, and fgrep all calling the same
program, but behaving differently with the different name links. A final
example I can think of is sendmail, with the mailq, and other links to
the same sendmail executable.

So, although there is a "wasted" inode, there is a huge saving on
executable space, because, for all these programs, there is only one
executable.

gus

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

From: [EMAIL PROTECTED] (Sitaram Chamarty)
Crossposted-To: comp.os.linux.networking,redhat.config
Subject: Re: Question regarding syslogd and syslog.conf
Date: 19 Jul 1999 22:34:34 -0700

On 19 Jul 1999 14:31:07 GMT, rob <[EMAIL PROTECTED]> wrote:
>How do i specify daemons?  Like i'd like to see all su messages.

All the gory details can be found in "man syslog.conf".  The short
answer to your question, meanwhile, is
    daemon.*    /var/log/messages

This will get you all messages logged with the facility code of
"daemon".  Note that a program that that you consider to be a
daemon (like sendmail) may not use this "facility" in its logging.
(sendmail for instance, may use the "mail" facility, since that
exists also).  The documentation for any program designed to run
as a daemon will usually tell you very clearly what facility it
uses to log messages to syslog.

HTH.  HAND.

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

From: "Andrea Hohendahl" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.questions,linux.redhat
Subject: Linux on Macintosh Classic
Date: Mon, 19 Jul 1999 11:30:15 +0200

Dear all,

is it possible to install a Linux version on a Macintosh Classic?

Thank you for your response.



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

From: gATHIS <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: 3com / US robotics 56K
Date: 20 Jul 1999 06:31:07 GMT


k96rk01 wrote:
> 
> 
> 
> 
> I'm trying to find a 56K modem that will work under linux.  I checked the
> "Linux modems list," aka "Winmodems are not modems," and discovered that
the
> 3com / USRobotics Sportster 56K, model 1785, allegedly works fine.
> 
> The problem is that I can't find any of these being sold anywhere.  The
> closest model number I can find is 1787, and I can't find any technical
> details that tell if this one would probably be compatible, too.  I'm
curious
> if anyone else out there has had any success with this model.
> 
> Also, if you know of another 56K modem that works well with linux, I
wouldn't
> mind hearing about that, either.
> 
> thanks in advance for any advice,
> rob kent
> 
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your
Own    


I got the same problem (which modem to buy) - now I have USR 56k external
faxmodem and it works great!
If you wan't or have any problems I can send you my mini-HOWTO file about
configuring modem and PPP connection onRedhat. Just mail me.

==================  Posted via SearchLinux  ==================
                  http://www.searchlinux.com

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

From: Adrian Hands <[EMAIL PROTECTED]>
Subject: Re: printer not detected
Date: Tue, 20 Jul 1999 01:48:48 -0400
Reply-To: [EMAIL PROTECTED]

John Garrison wrote:
> 
> I have parrellel port printer (canon bjc600) it works fine on my old
> linux computer. However I had the printer when I installed linux on that
> computer and let redhat set it up for me. Now I moved it to my new
> computer and used printtool to setup printcap and such.
> The problem is it will never print. A look a dmesg show something along
> the lines of
> "lp: driver loaded but no devices found"
> 
> If I try to do a MAKEDEV for lp I get this error
> "./MAKEDEV: device: unknown major number for lp"
> 
> The printer is connected fine, when the computer restarts so does the
> printer.  I couldn't tell you if it works in windows. Everytime I told a
> win98 program to print it opened up bitware fax for some strange and
> unknown reason.
> 
> Any suggestions?

# modprobe parport

$ grep parport /proc/ioports

By default, the system probes for parallel ports at 0x3bc, 0x378 and
0x278.
I believe you can specify a non-standard port with something like:

# modeprobe parport io=0x000

Check your docs to see what the address of your parallel port is.
If your printer works under ms-dos, take a look at 40:0:

C:> debug
-d 40:0 l 10

It lists the addresses of the serial and parallel ports.
If I remember right, the first two bytes are com1, next two are com2,
then lpt1, lpt2 and lpt3.
I don't know how to do this (examine these bios locations) under Linux.

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

From: "FTO" <[EMAIL PROTECTED]>
Subject: module deps
Date: Tue, 20 Jul 1999 11:42:49 +0400

I recompiled my kernel successfully but the boot up stops when it is looking
for module dependencies, I have to press enter and then it continues. I have
obviously missed a step after Make modules and make modules_install. How do
you get the dependencies right, make module dep?

Thanks

FTO


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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: library mess
Date: 20 Jul 1999 03:50:32 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
David Harvill wrote:
> System is RH5.2.  I removed X, downloaded source from xfree86.org and
> recompiled.  Some programs complained of library errors (emacs, netscape).
> Running ldconfig took care of these.  compiled AfterStep from source.
> AfterStep complains of library errors (libXpm.so.4, same one that at least
> one of the above [emacs??] complained on).  libXpm.so.4 /is/ in one of the
> directories specified in /etc/ld.so.conf .  If I set the LD_LIBRARY_PATH,
> AfterStep will run, but other apps (netscape, ssh) will not.  Unsetting
> LD_LIBRARY_PATH and starting X with LessTif will allow these apps to run.
> Can anyone point me in a direction 1)why AfterStep isn't playing nice.

I believe that Xpm comes separately from XFree, so you might try
recompiling that.  (Just to make sure: you are not mixing libc5
and libc6 binaries and libraries, are you?)

> 2)how I can get it to play nice. where 'play nice'=don't have to muck
> around with library settings on a program-by-program basis.

As a temporary workaround, you can put little shell scripts in
your PATH, of the form

#! /bin/sh
LD_LIBRARY_PATH=/whatever/directory/lib
export LD_LIBRARY_PATH
exec /usr/X11/bin/executable "$@"

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

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

From: Gord Baker <[EMAIL PROTECTED]>
Subject: Re: anonymous ftp - permissions problem
Date: Tue, 20 Jul 1999 06:10:00 GMT

Hi there Gerald.

Have a snoop at man ftpaccess.

Do a search for uploads and there will be an example of how to set it
up.
You will have to modify slightly for your system.

Been a while since I played with it so can't give you a step by step.

Hope Helps

Rgds Gord

Gerald Pollack wrote:
> 
> I'm trying to get anonymous ftp working (RedHat 5.2). I have the
> anonftp-2.5-1 package installed, and I can access the server and
> download files from ~/ftp/pub with no problem. But I'm unable to upload;
> I get a "permission denied" error. The permissions of ~/ftp/* are as
> follows (set up according to the suggestions in the ftpd man page):
> 
> dr-xr-xr-x   2 root     root         1024 Oct 20  1998 bin
> dr-xr-xr-x   2 root     root         1024 Jul 20 00:19 etc
> drwxr-xr-x   2 root     root         1024 Oct 20  1998 lib
> drwxrwxrwx   2 root     root         1024 Jul 20 00:41 pub
> 
> Can someone please tell me what's wrong?
> 
> Thanks,
> 
> --
> Gerald Pollack
> Dept. of Biology, McGill University

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

Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: Marx vs. Nozick
From: [EMAIL PROTECTED] (Peter Seebach)
Date: Mon, 19 Jul 1999 20:39:17 GMT

In article <[EMAIL PROTECTED]>,
Ashley Penney <[EMAIL PROTECTED]> wrote:
>Assuming Diabetes is passed down thru the genes, then it means that it
>will slowly spread until we all suffer from the same genetic weakness.

Not necessarily.  It may mean that it will not die out as fast.

The other question, though, is, why should we care?  For that matter, in
another 15 years, maybe we can fix it...

>My first solution would be forcing all teen mothers to give up their
>child for adoption, and then being thrown in jail, along with the
>father.  If a teenager is stupid enough to have sex illegally, and
>then bring a child into the world, they deserve to be punished and
>the child deserves to live in a home capable of raising them properly.

You're right.  Damn those rape victims; they were all asking for it.

-s
-- 
Copyright 1999, All rights reserved.  Peter Seebach / [EMAIL PROTECTED]
C/Unix wizard, Pro-commerce radical, Spam fighter.  Boycott Spamazon!
Will work for interesting hardware.  http://www.plethora.net/~seebs/
Visit my new ISP <URL:http://www.plethora.net/> --- More Net, Less Spam!

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

From: "Brad Ball" <[EMAIL PROTECTED]>
Subject: Re: RedHat 5.2 won't install on Abit BH6!
Date: Tue, 20 Jul 1999 07:22:07 GMT

Michel Catudal <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Brad Ball wrote:
> > The drive has Win98 using the first 8gigs. Then there is a 128mb linux
swap
> > partition, and the remaining 5G is Linux native.
>
> The 1024 is a bit below the 8.4G boundary. My 8.4G drive under LBA
> has 1027 cylinders.

But I have an identical hardware setup as my friend and my system works
fine. I have the first 10G dedicated to Win98 and the last 3G dedicated to
Linux. The RedHat 5.2 install let me create a boot floppy and everything
works fine. Not sure why his setup fails.

>
> It looks like you have made it impossible to boot anything but winblows.
> You will have to create a small partition somewhere in the lower 1024
> cylinder area (all in the lower 1024 area) of about 15M where you will
> put /boot then do whatever else you want with the rest.

Well, if I'm booting from a floppy it shouldn't matter where my Linux
partitions start/end should it? I thought this 1024 limit only applied if
you want to install LILO on the hard drive. I am just trying to create a
boot floppy during the install, ignoring LILO.

Just for further info, by pressing ALT-F4 and looking back through the error
messages during the RH52 install, I see the following 2 errors:

reset set in interrupt, calling 00168030
no floppy controllers found

Why does RH52 not detect the floppy controller on my friends BH6 but it
works fine on mine? I just flashed both boards to the newest BH6 BIOS. Mine
still works fine, his still fails with the errors above. As mentioned
before, the floppy works great in Win98. But RH52 doesn't like it. Linux
once again shows it's true colors. I'm about to throw it out the door and go
back to good old stable, supported, working SCO Openserver. Screw this Linux
crap! Call me when someone has a working distribution...

Brad.




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

Date: 17 Jul 99 11:01:39 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: dds-1 tape drive question
Crossposted-To: comp.os.linux.hardware

Unrot13 this;
Reply to: <[EMAIL PROTECTED]>

Gene Heskett sends Greetings to Robert Hunter;

That drive *I think* has the ability to do hardware compression, and if
so, its turned on/off with a dipswitch setting on the drive itself, or
possibly by one of the jumpers next to the addressing jumpers on the
back of the drive.

I suspect its turned off, and by the time the backup proggy gets done
adding its identifying marks and headers, it might be something less
than a gig in actual capacity.

Check your docs that came with it, or maybe goto the hp site andd  check
there.  While you are there, you may find that there is a flashrom
update thats newer than the version in yours. If so, get it, and the
installer instructions and utilities, and do it.

 RH> greetings,

 RH> i am trying to get to the bottom of an issue i am having with my tape
 RH> drive.

 RH> i am using 90 meter HP dds-1 tapes with an HP 35470A scsi tape drive.
 RH> i am runing redhat 6, and rpm dump-0.4b4-7.

 RH> i should be getting 2 GB per tape, natively (no compression), but am
 RH> only getting around 750 MB.

 RH> 'mt' says that my tape DENSITY  is 61000BPI, but this yields the
 RH> capacity i mentioned above.

 RH> i have not tried messing with LENGTH and BLOCKSIZE parameters.

 RH> i  really appreciate any suggestions about how i can get closer to the
 RH> rated capacity of these tapes.

 RH> tia,
 RH> rh

 RH> -----------------
 RH> [EMAIL PROTECTED]
 RH> -----------------



Cheers, Gene
-- 
  Gene Heskett, CET, UHK       |Amiga A2k Zeus040 50 megs fast/2 megs chip
    Ch. Eng. @ WDTV-5          |A2091,GuruRom,1g Seagate,CDROM,Multiface III
                               |Buddha + 4 gig WDC drive, 525 meg tape
                               |Stylus Pro, EnPrint, Picasso-II, 17" vga
         RC5-Moo! 690kkeys/sec isn't much, but it all helps
email gene underscore heskett at iolinc dot net
-- 


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

From: Rahul Tripathi <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.slackware,comp.os.linux.security
Subject: Re: Permissions - why can a user delete a file not his own?
Date: 20 Jul 1999 07:05:52 GMT

In comp.os.linux.misc W Canaday <[EMAIL PROTECTED]> wrote:

>> You can prevent users from deleting files in a directory by setting the
>> directory's "sticky bit" using chmod.  The command would be something
>> like:
>>
>>         chmod o+s dirname

Hang on. s is the setuid bit. The sticky bit is t. 
"chmod +s" on a directory wouldn't do anything. 


>>
>> Check man and info on chmod for details.
>>
>> --
>> Mike Bird
>> [EMAIL PROTECTED]

> Hey ... Mike ... thanks for clearing that up! I had not been able to sort that
> out in my own thinking until now. Cool.
> Bill

> --
> It took intelligence and training to write the first version of Linux but the
> illuminating spark of genius was in letting others paint on the same canvas.
> W. Canaday (July 10, 1999)




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


** 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 (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

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

Reply via email to