Linux-Setup Digest #680, Volume #20 Wed, 21 Feb 01 14:13:05 EST
Contents:
Re: PAM Question (Dragan Colak)
Re: Compile problems (Koushik Banerjee)
Re: Help: apache access denied...problems (Koushik Banerjee)
Re: Linux 2.4 kernel ("Patrick Tavares")
problems installing rh7.0: error reading partition table ("Anthony B. Wong")
*** Change standard file permissions *** ("Werner Hofer")
** How to create an FTP Account ** ("Werner Hofer")
LILO, boot problems (Vlar Schreidlocke)
Re: Transferring OSes (OS/2, Linux, Windows XX, etc.) to another disk: (Felix Miata)
Re: *** Change standard file permissions *** (H.Bruijn)
Linux on second Hardrive (Andreas Walli)
Re: Re: Power Management Problems (David Cecere)
Re: RH 7.0 kernel compile error (David Cecere)
Re: ** How to create an FTP Account ** ("Peter T. Breuer")
Re: how to set up a network printer (David Cecere)
----------------------------------------------------------------------------
From: Dragan Colak <[EMAIL PROTECTED]>
Subject: Re: PAM Question
Date: Wed, 21 Feb 2001 17:16:04 +0100
Luke Stephens wrote:
> I use to be able to be logged in as a non-root user and when I started
> an application that required root, would get a password prompt for root
> access. Now that no longer happens. I have poked around with PAM, it
> looks like the pam.d files are sufficient (although I may be wrong), but
> worse yet, changes to the pam.d files do not have any affect.
>
> Is there a way that PAM is turned on and off? Could I have mistakenly
> turned it off?
>
> I am running RH 7.0, Gnome 1.2, PAM .72. Any help is appreciated.
>
I'm no expert about pam, but I would say pam is no service or daemon
(there at least is no start/stop script),
I'd say it's more like a database that tells applications where to find
modules that have authentication functionality.
Just my opinion, as I said I'm no expert.
Dragan
------------------------------
From: Koushik Banerjee <[EMAIL PROTECTED]>
Subject: Re: Compile problems
Date: Wed, 21 Feb 2001 22:21:15 +0530
Reply-To: [EMAIL PROTECTED]
Eric Ho wrote:
>
> Hi,
>
> I have just installed Slackware 7.1 (actually Slackware-current),
> and also upgraded the kernel to 2.4.1.
> Everything is ok, except my Sound Blaster 16 doesn't work anymore,
> and all of my K programs don't compile anymore. For example,
> when try to compile my favorite ICQ program (KICQ), it gives the
> following errors :
> bash-2.04# make
> make all-recursive
> make[1]: Entering directory `/usr/src/kicq-0.3.0'
> Making all in kicq
> make[2]: Entering directory `/usr/src/kicq-0.3.0/kicq'
> Making all in pics
> make[3]: Entering directory `/usr/src/kicq-0.3.0/kicq/pics'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/usr/src/kicq-0.3.0/kicq/pics'
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/kde/include -I/usr/
> lib/qt/include -O2 -Wall -c main.cpp
> In file included from main.cpp:8:
> mainwindow.h:8: ktopwidget.h: No such file or directory
> In file included from preferences.h:12,
> from mainwindow.h:21,
> from main.cpp:8:
> prefuser.h:8: kintegerline.h: No such file or directory
> In file included from preferences.h:13,
> from mainwindow.h:21,
> from main.cpp:8:
> prefserver.h:8: kintegerline.h: No such file or directory
> In file included from preferences.h:16,
> from mainwindow.h:21,
> from main.cpp:8:
> prefproxy.h:8: kintegerline.h: No such file or directory
> In file included from mainwindow.h:22,
> from main.cpp:8:
> findwindow.h:9: ktablistbox.h: No such file or directory
> In file included from findwindow.h:16,
> from mainwindow.h:22,
> from main.cpp:8:
> uinwidget.h:9: kintegerline.h: No such file or directory
> make[2]: *** [main.o] Error 1
> make[2]: Leaving directory `/usr/src/kicq-0.3.0/kicq'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/kicq-0.3.0'
> make: *** [all-recursive-am] Error 2
> bash-2.04#
>
> Can someone tell me what I did wrong or what I can do to fix the
> problem ?
>
> Best Regards,
> Eric Ho
The simplest solution I can think of is to locate the files which are
not found , and include the path in your makefile. If you are not able
to locate the files, then comment out the #include statement. but that
would be an overkill, since it would mean that you have wrong set of
files.
------------------------------
From: Koushik Banerjee <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.networking,alt.linux
Subject: Re: Help: apache access denied...problems
Date: Wed, 21 Feb 2001 22:25:46 +0530
Reply-To: [EMAIL PROTECTED]
"moonie;)" wrote:
>
> On Tue, 20 Feb 2001, Oliver Wiegand wrote:
> >"David. E. Goble" wrote:
> >>
> >> Hi all;
> >>
> >> I need help. Iam running redhat 6.2. For some reason my www server
> >> (apache) will not let me have access rights.
> >>
> >> Oh and I have just installed netatalk-1_4b2+asun2_1_4-0_i386.rpm.
> >>
> >> here are some of the config files...;
> >> [ snip ]
> >
> >Has the user under which apache runs,access to /home/httpd/html ?
> >
> >Oli
>
> I noticed in his config file that he is using document root: /etc/httpd.
>
> This may be his problem.
> --
> moonie ;)
>
> Registered Linux User #175104
> (Registered at: http://counter.li.org)
>
> KDE2
> Kernel 2.4.0-test5
> XFree86 4.0 Nvidia .94 drivers
> RAID 0 Striped
> Test-Pilots-R-Us ;)
> ICQ #83003404
> AIM mooniesdl3
> MSN [EMAIL PROTECTED]
what you can do is to do a " ps -ef | grep httpd", which should list out
the httpd process running. If you see that the process is post-fixed
with module names as SSL and other stuff. you can kill all the httpd
process, and then restart them with hand by typing "httpd" and then try
. if this works , fine but can be a security related issue. it is better
to properly configure the file. command as follows.
bash% killall httpd
bash% <path>/httpd
------------------------------
From: "Patrick Tavares" <[EMAIL PROTECTED]>
Subject: Re: Linux 2.4 kernel
Date: 21 Feb 2001 16:43:13 GMT
If you have upgraded all of the utils/software that needs to be
upgraded (check src/linux-2.4.x/Documentation/Changes) then
when you run a "make modules" and "make modules install"
everything will work afterwards.
-Patrick
Pankaj Chhabra <[EMAIL PROTECTED]> wrote in message
news:03Lk6.6494$[EMAIL PROTECTED]...
> Hi,
>
> Linux 2.2 kernel's have the module directory /lib/modules/2.2.x/ structure
> different then the lib/modules/2.4.x/kernel/drivers/net.
> What is needed to be done so that my Red Hat 6.2 finds the modules when
> loading from 2.4 kernel?. On my system when I
> boot from the Linux 2.4, modules don't get loaded.
>
> Thanks in advance.
> Pankaj
>
>
------------------------------
From: "Anthony B. Wong" <[EMAIL PROTECTED]>
Subject: problems installing rh7.0: error reading partition table
Date: Wed, 21 Feb 2001 11:01:53 -0600
Hello
I am installing RH 7.0 (standard boxed set) on a PIII with 512 MB RAM. The
machine has a Seagate Cheetah 18 GB SCSI hard disk and the SCSI card is an
Adaptec Ultra160 29160N. I wiped out the OS that came installed on it and
only want to install Linux. I have the latest aic7xxxx drivers from the
redhat site but I am getting the following error message:
"An error occurred reading the partition table for the block device
/tmp/sda. The error was: Device not configured".
I can't seem to find this error message anyplace and no one from redhat has
gotten back to me. Does anyone out there have any clues for me or had
anything like this before? This SCSI card is supported as far as I know and
searches on deja reveal that other people have been able to make this work.
Sorry if this is a newbie question.
Thanks,
Tony
------------------------------
From: "Werner Hofer" <[EMAIL PROTECTED]>
Subject: *** Change standard file permissions ***
Date: Wed, 21 Feb 2001 18:44:33 -0000
Hi
how can i change the standard file permission ( 644 ). I would not
use every time the chmod command....
I would like to generate files automaticly with the permisssions 666.
How can i do that ? ( I have root permissions )
Thanks a lot
Werner Hofer
------------------------------
From: "Werner Hofer" <[EMAIL PROTECTED]>
Subject: ** How to create an FTP Account **
Date: Wed, 21 Feb 2001 18:52:45 -0000
Hi
how can i create an FTP Account ? I use Suse Linux 7.0 as Ftp Server.
I have root permissions.
Thanks a lot in advance
Werner Hofer
------------------------------
From: Vlar Schreidlocke <[EMAIL PROTECTED]>
Subject: LILO, boot problems
Date: Wed, 21 Feb 2001 17:55:07 GMT
I recently recompiled a kernel and after running LILO my computer can
no longer find the hard disk. I am running Mandrake 7.2. When I do an
install/upgrade it can find my hard drive again. What do I need to do
to avoid problems like this in the future? I have a 20GB Western
Digital drive on an older Dell P90 with an updated BIOS that allow
the drive to be seen. It is set up as LBA I believe.
I was able to boot from the floppy bootdisk. I looked at my lilo.conf
and it looks like it should work. It got to the lilo screen a few
times and allowed me to choose to boot to linux. When I rebooted again
with no changes it wouldn't find the hard disk again.
Please help me. I have been working on this for several days.
As an alternative, how can I make a boot floppy that has my "append"
parameters? I have to ne2000 cards that need to get loaded on boot.
------------------------------
From: Felix Miata <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.os2.setup.storage,comp.os.os2.setup.misc
Subject: Re: Transferring OSes (OS/2, Linux, Windows XX, etc.) to another disk:
Date: Wed, 21 Feb 2001 13:15:33 -0500
Jean Castonguay wrote:
> OS/2 can be transferred to another disk (on which partitions have been
> created and formatted) by XCOPYING it with the HOTSERV switches, or by
> copying it with File Commander/2.
> Are there as elegant procedures for transferring other OSes, namely
> Linux, Windows XX, and Windows NT?
Dunno about NT. For windoze XX there is a freeware utility called XXCOPY
that works with doze booted into the GUI. For Linux I'm sure there's a
DD or other howto that explains the procedure. I use Partition Magic for
doze and OS/2. PM with Linux is tricky but doable.
--
Train a child in the way he should go, and when he is old he will not
turn from it. Proverbs 22:6 NKJV
Team OS/2
Felix Miata *** http://mrmazda.members.atlantic.net/
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: *** Change standard file permissions ***
Date: 21 Feb 2001 18:20:51 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 21 Feb 2001 18:44:33 -0000, Werner Hofer allegedly wrote:
>Hi
>how can i change the standard file permission ( 644 ). I would not
>use every time the chmod command....
>I would like to generate files automaticly with the permisssions 666.
>
>How can i do that ? ( I have root permissions )
You don't need root permissions for that. Simply set the umask to 000
(see "man umask") in the defaults for your login shell, by ading a line
"umask 000" to your ~/.bashrc or ~/.cshrc or ~/.bash_profile, whatever
is read at each login.
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands website: http://hermanbruijn.com
------------------------------
From: Andreas Walli <[EMAIL PROTECTED]>
Subject: Linux on second Hardrive
Date: Wed, 21 Feb 2001 10:13:34 -0800
Hi guys,
slight problem: I have a NT box with an 18 Gb hardrive full of Windows
based GIS data which I cannot afford to lose; I am trying to install
Linux to run an analysis program off a second Hardrive (18Gb)because the
data needs so much space; I am installing RH 6.2 from Cd's; in
the Disc Partitioning phase in the Disc Druid partitioning window it
reads:
<not set> sda1 15M 15M Oxde
<not set> sda2 17343M 17343M OS/2 HPFS
<not set> sdb1 23M 23M Linux native
<not set> sdb5 17414M 17343M Linux native
<not set> sdb6 70M 70M Linux swap
How do I set the mont points for a Lilo Dual boot ?
I read through all the Linux documentation but it does not say how to
deal with two hardrives !?
I hope somebody will help me because I am a little bit under pressure
here.
Thanks,
Andreas
------------------------------
From: David Cecere <[EMAIL PROTECTED]>
Subject: Re: Re: Power Management Problems
Date: Wed, 21 Feb 2001 12:33:27 -0500
Reply-To: [EMAIL PROTECTED]
Your BIOS probably has a series of setting that define when the screen
blanks and when the HDD spins down during idle times as separate from the
APM settings.
David
On Tue, 20 Feb 2001 16:39:44 -0600, jeff <[EMAIL PROTECTED]> wrote:
}I checked the BIOS again and power management is disabled. Also, I double
checked
}that APM is not started during boot.....any ideas?
}
}
}David Cecere wrote:
}
}> Check you BIOS settings again, my hunch is that you don't have APM
}> disabled.
}>
}> On Mon, 19 Feb 2001 02:13:52 -0600, jeff <[EMAIL PROTECTED]> wrote:
}>
}> }I'm running RH7 on a Dell Optiplex GX1. I'm having a problem with it
}> }auto suspending the system. If it's left alone for a while, the drive
}> }powers down. I started to notice that the first time I try to POP in
and
}> }
}> }check my mail, or initiate SSH, it hangs for 30-40 seconds - I assume
to
}> }
}> }"wake up" the drive.
}> }
}> }I do not have X-Windows installed, the apmd is disabled, and I have
}> }disabled power management in the BIOS. Any help would be greatly
}> }appreciated!!!
}> }
}> }
}> }Thanks,
}> }
}> }
}> }Jeff
}>
}>
_____________________________________________________________________________
}> "Thinking is, or ought to be, a coolness and a calmness; and our poor
hearts
}> throb, and our poor brains beat too much for that."--Herman Melville
}>
}> My r�sum� and etc.: http://4.34.161.50/
}
}--
} jeff x
} www.workingtitle.net
_____________________________________________________________________________
"Thinking is, or ought to be, a coolness and a calmness; and our poor hearts
throb, and our poor brains beat too much for that."--Herman Melville
My r�sum� and etc.: http://4.34.161.50/
------------------------------
From: David Cecere <[EMAIL PROTECTED]>
Subject: Re: RH 7.0 kernel compile error
Date: Wed, 21 Feb 2001 12:44:13 -0500
Reply-To: [EMAIL PROTECTED]
This looks like the error I have gotten when I forgot to do a 'make clean'
after 'make dep'.
On Tue, 20 Feb 2001 15:23:24 -0500, Henry Leparskas <[EMAIL PROTECTED]> wrote:
}Hi,
} I've done a 'make xconfig' to add a couple of drivers.
}
}Now, I've done, as per usual, a 'make dev', and then 'make bzImage'.
}This bombs with;
}
}[hlepar@ibis linux]# make bzImage
}kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
}-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
}-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
}-DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
}make -C kernel
}make[1]: Entering directory `/usr/src/linux-2.2.16/kernel'
}make all_targets
}make[2]: Entering directory `/usr/src/linux-2.2.16/kernel'
}kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
}-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
}-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
}-DEXPORT_SYMTAB -c ksyms.c
}In file included from /usr/src/linux/include/linux/modversions.h:50,
} from /usr/src/linux/include/linux/module.h:19,
} from ksyms.c:14:
}/usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning:
}`cpu_data' redefined
}/usr/src/linux/include/asm/processor.h:96: warning: this is the location
}of the previous definition
}/usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning:
}`smp_num_cpus' redefined
}/usr/src/linux/include/linux/smp.h:77: warning: this is the location of
}the previous definition
}/usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning:
}`smp_call_function' redefined
}/usr/src/linux/include/linux/smp.h:83: warning: this is the location of
}the previous definition
}In file included from /usr/src/linux/include/linux/interrupt.h:51,
} from ksyms.c:21:
}/usr/src/linux/include/asm/hardirq.h:23: warning: `synchronize_irq'
}redefined
}/usr/src/linux/include/linux/modules/i386_ksyms.ver:138: warning: this
}is the location of the previous definition
}In file included from /usr/src/linux/include/linux/interrupt.h:52,
} from ksyms.c:21:
}/usr/src/linux/include/asm/softirq.h:75: warning: `synchronize_bh'
}redefined
}/usr/src/linux/include/linux/modules/i386_ksyms.ver:142: warning: this
}is the location of the previous definition
}/usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
}In file included from ksyms.c:17:
}/usr/src/linux/include/linux/kernel_stat.h:47: `smp_num_cpus' undeclared
}(first use in this function)
}/usr/src/linux/include/linux/kernel_stat.h:47: (Each undeclared
}identifier is reported only once
}/usr/src/linux/include/linux/kernel_stat.h:47: for each function it
}appears in.)
}make[2]: *** [ksyms.o] Error 1
}make[2]: Leaving directory `/usr/src/linux-2.2.16/kernel'
}make[1]: *** [first_rule] Error 2
}make[1]: Leaving directory `/usr/src/linux-2.2.16/kernel'
}make: *** [_dir_kernel] Error 2
}
}
}--------------
}
}I've never had trouble compiling the kernel in 6.0, 6.1, and 6.2.
}
}I know that I'd like to throw 7.0 out the window. I won't mention that I
}can't print to my external
}printers anymore either!!!
}
} Henry Leparskas
} UWO Physics and Astronomy
} [EMAIL PROTECTED]
_____________________________________________________________________________
"Thinking is, or ought to be, a coolness and a calmness; and our poor hearts
throb, and our poor brains beat too much for that."--Herman Melville
My r�sum� and etc.: http://4.34.161.50/
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: ** How to create an FTP Account **
Date: Wed, 21 Feb 2001 19:11:04 +0100
Werner Hofer <[EMAIL PROTECTED]> wrote:
> how can i create an FTP Account ? I use Suse Linux 7.0 as Ftp Server.
You read the manual page for your server (wu-ftpd?) and do what it
says.
> I have root permissions.
Useful.
Peter
------------------------------
From: David Cecere <[EMAIL PROTECTED]>
Subject: Re: how to set up a network printer
Date: Wed, 21 Feb 2001 13:06:13 -0500
Reply-To: [EMAIL PROTECTED]
It appears that the HP isn't willing to talk to your PC: "connection
refused". There could be firewall issues or config issues with the printer.
On Tue, 20 Feb 2001 10:25:29 -0800, Yongsheng Wu <[EMAIL PROTECTED]> wrote:
}
}Hi,
}
}I set up a network printer by using control-panel tool. Later on when I
}checked /etc/printcap, it appeared as following:
}
} ##PRINTTOOL3## REMOTE ljet4 300x300 letter {} LaserJet4 Default {}
}is01:\
} :sd=/var/spool/lpd/is01:\
} :mx#0:\
} :sh:\
} :rm=XXX.XXX.XXX.XXX:\
} :rp=raw:\
} :if=/var/spool/lpd/is01/filter:
}
}XXX.XXX.XXX.XXX is the ip address for the printer.
}
}As I tried to print by lpr -Pis01 <file name>, error message appeared as
}following:
}
} lpr: connect: Connection refused
} jobs queued, but cannot start daemon.
}
}what could possibly be wrong here?
}
}Thanks.
}
}Yongsheng
}
}
}
_____________________________________________________________________________
"Thinking is, or ought to be, a coolness and a calmness; and our poor hearts
throb, and our poor brains beat too much for that."--Herman Melville
My r�sum� and etc.: http://4.34.161.50/
------------------------------
** 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
******************************