Linux-Misc Digest #527, Volume #27 Wed, 4 Apr 01 11:13:04 EDT
Contents:
etc/fstab in Suse 7.1: location changed? (Marian Heddesheimer)
apache as proxy server (Marian Heddesheimer)
rquota question (Mohd-Hanafiah Abdullah)
Re: Root cannot login (Jacob Kristensen)
Re: commandline based article download tools (Christopher Albert)
Re: Memory pb : 384M real, 64M effective (Stephen Rank)
add config (lmc83)
Problems installing qmail ("Stephane Bourdeaud")
Re: FAT CR/LF conversion ("Chris West")
Re: mail reader ("Jay Hickman")
File transfer apps (Vasilis Serghi)
Re: Problems installing qmail ("Stephane Bourdeaud")
Re: etc/fstab in Suse 7.1: location changed? (Juan Meneses)
Re: difference between ext2fs and reiserfs (Rod Smith)
Re: PLEASE HELP!, MY LINUX have been HACKED~ (Hal Burgiss)
Re: missing initab file.......enter runlevel? ("Steven J. Hathaway")
Re: File transfer apps ([EMAIL PROTECTED])
Re: Linux games ("Bastiaan Schaap")
why doesn't fdisk -l work? (Pumpkinhead)
Re: why doesn't fdisk -l work? ("Eric")
Re: Linux games (Cray Drygu)
Re: Problems installing qmail ("Stephane Bourdeaud")
Re: Problems installing qmail (Grant Edwards)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Marian Heddesheimer)
Subject: etc/fstab in Suse 7.1: location changed?
Date: Wed, 04 Apr 2001 12:16:47 GMT
Hi,
after installing SuSE 7.1 I found that the etc/fstab is not longer
used for mounting devices at startup. In SuSE 6.4 I could change the
lines in fstab to add or remove a device. If I do it now in YaSt, I
cannot read my fstab with F7 as I could in 6.4
Also when I change a mount point in YaSt, it tells me that I have to
reboot the machine (reminds me to old Windows times :-) ) and I do not
find the changes in /etc/fstab
Can anybody tell me what SuSE have done to the old fstab location?
Where is the information stored now?
Marian
------------------------------
From: [EMAIL PROTECTED] (Marian Heddesheimer)
Subject: apache as proxy server
Date: Wed, 04 Apr 2001 12:16:48 GMT
Hi,
I want to set up a Linux SuSE 7.1 machine with apache server and want
to use apache as proxy. It works so far for http access but if I try
to use an ftp-Adress the browser tells me that this is switched off
for security reasons.
Can anybody point me to a tutorial or text where I can see how to use
apache as proxy for ftp connections too? Is this possible with apache
or do I have to use squid?
Marian
------------------------------
From: [EMAIL PROTECTED] (Mohd-Hanafiah Abdullah)
Crossposted-To: comp.os.linux.setup
Subject: rquota question
Date: 4 Apr 2001 20:26:29 +0800
Can anyone please point to me where I could get complete documentation
on setting up "remote quota" (rquota). I have diskless Linux workstations
sharing diskspace located on a server by means of NFS, and would like to set
user quota for each of the diskless workstations.
Thanks.
Napi
------------------------------
From: Jacob Kristensen <[EMAIL PROTECTED]>
Subject: Re: Root cannot login
Date: Wed, 04 Apr 2001 14:27:07 +0200
Dennis wrote:
>
> Hi
> I have come across a RedHat 6.0 server with the following problem:
>
> Root or any user can't login.
>
> At the prompt, I get this error message after putting the username :
>
> "/usr/bin/tklogin : No such file or directory"
>
> It does not even prompt for the password
>
> Web & Mail services are functioning
>
> How can I solve this?
>
> Thanks
>
> Rgds
>
> Dennis
Boot the box. Give lilo an argument like:
linux S
linux init=/bin/bash
linux init=/sbin/bash
linux init/bin/sh
then get hold of the missing file somehow and put it in the appropriate
place..
Jacob
--
There he goes... One of Gods own prototypes.
A high-powered mutant of some kind,
never even considered for mass production.
Too weird to live, and too rare to die.
Jacob Kristensen -- [EMAIL PROTECTED]
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.questions
Subject: Re: commandline based article download tools
Date: Wed, 04 Apr 2001 14:28:39 +0200
* Tong * wrote:
>
> Hi,
>
> Speaking of commandline based download tools, wget is the best.
> But there is a problem for it to download articles like:
>
> http://www.informit.com/newsletter.asp?link=159
>
lynx -source http://www.informit.com/newsletter.asp?link=159 > 159.html
Chris
------------------------------
From: Stephen Rank <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Memory pb : 384M real, 64M effective
Date: 04 Apr 2001 13:23:28 +0100
"Peter T. Breuer" <[EMAIL PROTECTED]> writes:
> In comp.os.linux.hardware Pantalacci Christophe
<[EMAIL PROTECTED]> wrote:
> > I've got this kind of problem : Linux only sees 64M of RAM. When I
> > modify lilo.conf by adding
>
> There's no problem with that.
>
> > append="mem=384M" and executing lilo, my whole system crashes at
> > reboot with segmentation faults everywhere, and i must reinstall.
[ replying to a reply, as the parent post has gone AWOL ]
You don't need to reinstall: just pass the `mem=xxxM' to the kernel
via the Lilo prompt when you boot (e.g., ``Linux mem=300M''). Once
your system boots, you can adjust your lilo.conf appropriately and
then run lilo.
HTH,
Stephen
------------------------------
From: lmc83 <[EMAIL PROTECTED]>
Subject: add config
Date: Wed, 04 Apr 2001 20:50:09 +0800
hi,
We can type "make menuconfig" to config kernel configuration before we build
kernel.
If I want to add a new config item, how to do that?
I tried to add a new config item by modify arch/xxx/config.in,
and can saw the new item when I configuring kernel,
but when I building kernel, it seems that the new item CONFIG_xxx is not
take effect.
Does I just need to modify arch/xxx/config.in?
or are there something I miss?
Where can I found information about how to modify configuration?
Thanks in advance for your help!
Liang Ming-Chung
------------------------------
From: "Stephane Bourdeaud" <[EMAIL PROTECTED]>
Subject: Problems installing qmail
Date: Wed, 4 Apr 2001 14:08:35 +0100
Hello,
After following all the instructions on the following page:
http://web.infoave.net/~dsill/lwq.html#introduction
to install qmail, I am getting the following error message when trying to
start qmail:
/usr/local/sbin/qmail start
Starting qmail: svscan.
env: svscan: No such file or directory
The error message is pretty explicit (I am missing a file or directory), but
I am clueless as to what I have done wrong...
Thank you for your input.
Cheers,
Stephane B.
------------------------------
From: "Chris West" <[EMAIL PROTECTED]>
Subject: Re: FAT CR/LF conversion
Date: Wed, 4 Apr 2001 14:15:11 +0100
I've tried with and without a space and get the same behaviour.
<[EMAIL PROTECTED]> wrote in message
news:9af25e$4un05$[EMAIL PROTECTED]...
> Chris West <[EMAIL PROTECTED]> wrote:
> > I have a floppy disk wich I mount using:
> > mount -tvfat /dev/fd0 /mnt/floppy -oconv=auto
>
> wasn't -o conv=auto (with space in between) ?
>
> > Am I right in thinking this conversion should be performed for cp?
>
> Teorically yes
>
> > If so, any ideas what I'm doing wrong?
>
> only the 'space' thing (if it isn't a mistype).
>
> Davide
------------------------------
From: "Jay Hickman" <[EMAIL PROTECTED]>
Subject: Re: mail reader
Date: Wed, 04 Apr 2001 08:29:03 +0500
In article <[EMAIL PROTECTED]>, "Charles Herman"
<[EMAIL PROTECTED]> wrote:
> I am looking for a mail reader for Linux, any suggestions.
>
> -charles
>
If you arelooking for a Gnome based MUA that can handle multiple accounts
and has a look and feel of the popular windows readers like Outlook and
Eudora.. try CronosII( I am using ver 0.2.1) which is stable and I haven't
run into any problems with it as of yet. Docs state it works well under
KDE as well.
------------------------------
From: Vasilis Serghi <[EMAIL PROTECTED]>
Subject: File transfer apps
Date: Wed, 04 Apr 2001 13:27:17 +0100
Is there an application out there, like laplink, that can be used for
transferring files over parallel or serial cables? Something that is
transparent to the OS type would be good.
------------------------------
From: "Stephane Bourdeaud" <[EMAIL PROTECTED]>
Subject: Re: Problems installing qmail
Date: Wed, 4 Apr 2001 14:29:03 +0100
I have had a look at the /usr/local/sbin/qmail script. Here it is:
#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
case "$1" in
start)
echo -n "Starting qmail: svscan"
cd /var/qmail/supervise
env - PATH="$PATH" svscan &
echo $! > /var/run/svscan.pid
echo "."
;;
stop)
echo -n "Stopping qmail: svscan"
kill `cat /var/run/svscan.pid`
echo -n " qmail"
svc -dx /var/qmail/supervise/*
echo -n " logging"
svc -dx /var/qmail/supervise/*/log
echo "."
;;
stat)
cd /var/qmail/supervise
svstat * */log
;;
doqueue|alrm)
echo "Sending ALRM signal to qmail-send."
svc -a /var/qmail/supervise/qmail-send
;;
queue)
qmail-qstat
qmail-qread
;;
reload|hup)
echo "Sending HUP signal to qmail-send."
svc -h /var/qmail/supervise/qmail-send
;;
pause)
echo "Pausing qmail-send"
svc -p /var/qmail/supervise/qmail-send
echo "Pausing qmail-smtpd"
svc -p /var/qmail/supervise/qmail-smtpd
;;
cont)
echo "Continuing qmail-send"
svc -c /var/qmail/supervise/qmail-send
echo "Continuing qmail-smtpd"
svc -c /var/qmail/supervise/qmail-smtpd
;;
restart)
echo "Restarting qmail:"
echo "* Stopping qmail-smtpd."
svc -d /var/qmail/supervise/qmail-smtpd
echo "* Sending qmail-send SIGTERM and restarting."
svc -t /var/qmail/supervise/qmail-send
echo "* Restarting qmail-smtpd."
svc -u /var/qmail/supervise/qmail-smtpd
;;
cdb)
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
echo "Reloaded /etc/tcp.smtp."
;;
help)
cat <<HELP
stop -- stops mail service (smtp connections refused, nothing goes out)
start -- starts mail service (smtp connection accepted, mail can go out)
pause -- temporarily stops mail service (connections accepted, nothing
leaves)
cont -- continues paused mail service
stat -- displays status of mail service
cdb -- rebuild the tcpserver cdb file for smtp
restart -- stops and restarts smtp, sends qmail-send a TERM & restarts it
doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery
reload -- sends qmail-send HUP, rereading locals and virtualdomains
queue -- shows status of queue
alrm -- same as doqueue
hup -- same as reload
HELP
;;
*)
echo "Usage: $0
{start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue
|help}"
exit 1
;;
esac
exit 0
Of course, svcscan is nowhere to be found on my system...
Is anyone running qmail out there that could help me?
Cheers,
Stephane B.
------------------------------
From: [EMAIL PROTECTED] (Juan Meneses)
Subject: Re: etc/fstab in Suse 7.1: location changed?
Date: 4 Apr 2001 13:40:26 GMT
Marian Heddesheimer <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>:
>
>after installing SuSE 7.1 I found that the etc/fstab is not longer
>used for mounting devices at startup.
Umm... In my system, it certainly is.
>Also when I change a mount point in YaSt, it tells me that I have to
>reboot the machine (reminds me to old Windows times :-) ) and I do not
>find the changes in /etc/fstab
I never have edited fstab from YaST, so I can't help you there. Anyway, I'm
running SuSE 7.1 and I just alteded the partition table using fdisk and
configured the new mountpoints to /etc/fstab with a text editor.
Maybe YaST is broken, I don't know. Try editing /etc/fstab with your
favorite text editor instead.
--
Juan Meneses \ "Ford, you're turning into a penguin.
�Ay ay ay, la polic�a! \ Stop it." -- Arthur Dent
[EMAIL PROTECTED] \ (Douglas Adams, "Hitchhiker's Guide
http://www.iki.fi/juan/ \ to the Galaxy")
------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: difference between ext2fs and reiserfs
Date: Wed, 04 Apr 2001 13:50:03 -0000
Reply-To: [EMAIL PROTECTED]
In article <w3my6.122397$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
>
>> Unfortunately, both ReiserFS and ext3fs suffer from the same file-
>> and partition-size limits as ext2fs. These are starting to become
>> issues for some people -- particularly the 4GB file-size
>> limit. Therefore, unless those limits are raised, neither of these
>> filesystems will really do as more than a stop-gap measure.
>
> Hum? "The same file-size limits as ext2fs" would indicate something
> slightly over 4TB.
>
> With 4KB blocks, the limit on filesize is 4TB + 4GB + 4MB + 12 * 4KB.
Nope. Check this out, from /usr/src/linux/include/linux/ext2_fs.h:
struct ext2_inode {
__u16 i_mode; /* File mode */
__u16 i_uid; /* Owner Uid */
__u32 i_size; /* Size in bytes */
Note the file size variable (i_size) is a 32-bit unsigned integer,
interpreted as number of bytes, meaning the file size is limited to
4,294,967,296 bytes -- 4GB. This limit is something that's recorded on
the disk structures, so it's not easily changed without making
substantial changes to the filesystem itself.
The limit on the TOTAL FILESYSTEM size is substantially higher:
struct ext2_super_block {
__u32 s_inodes_count; /* Inodes count */
__u32 s_blocks_count; /* Blocks count */
This gives a maximum of 4,294,967,296 blocks, each of which can be up to
4KB in size (IIRC), hence a 16TB filesystem size limit. Again, this
limit is encoded in the filesystem's on-disk data structures.
My understanding is that ReiserFS has precisely the same limits as
ext2fs for these two critical values. XFS and JFS both use 64-bit file
size and total blocks pointers, although they use them in somewhat
different ways, so exact limits are different. My understanding is that
XFS's limits are 8,192PB (8,388,608TB) file size and 16,384PB partition
size, with JFS at 4PB file size and 32PB partition size. (With those
limits, presumably JFS isn't using the full 64 bits, or has some other
factor limiting file and filesystem sizes.) My figures on XFS and JFS
are based on sketchier data than my ext2fs or even ReiserFS figures. (I
just checked the reiserfs_fs.h header and found a 32-bit file size
value [presumably in bytes, although the comment didn't make this
explicit] and a 32-bit "offset" value [presumably in blocks] for the
start of the file. If the latter is the only ReiserFS partition size
limit, that'd make its maximum partition size just over 16TB.)
Now, all this said, I'm not a filesystem developer, so perhaps my
understanding is in error. For instance, the i_size variable in the
ext2fs code might be purely cosmetic; something else might impose the
real file size limits. Every piece of evidence I've seen, though,
points to this being correct -- a 4GB file size limit in both ext2fs
and ReiserFS, along with a 16TB fileSYSTEM size limit. Because they use
64-bit pointers, JFS and XFS have substantially higher limits.
> The _essential_ problem leading to the 2GB (not 4GB) limit you're
> thinking of is not with the kernel, but rather with the fact that the
> file offset fseek()/ftell() has been treated as a 32 bit signed value.
Actually, the VFS layer in the 2.2.x kernels imposes a 2GB file size
limit. I've heard that's been lifted in the 2.4.x kernels (or with
patches to the 2.2.x kernels), but I've not tried to confirm this. As
you say, there are various libraries, utilities, and even individual
programs that impose their own limits, as well. Before lifting those
limits will do any good, though, the limits inherent to the
filesystems' data structures must be lifted.
> You might want to look to Alexander Viro's responses to this; should
> be readily found by search engines, or at the URL below...
I found a couple of posts of his, like the following:
http://groups.google.com/groups?q=alexander+and+viro+and+filesystem+and+%22file+size%22&lr=&safe=off&rnum=1&seld=987407376&ic=1
These posts do not give specific limits; they just state that the
ext2fs file size limit is not 2GB. I never said it was 2GB.
If you've got more substantive evidence that the ext2fs file size limit
is 4TB, as you claim, please post it; I'd be very interested in seeing
it.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Crossposted-To: comp.os.linux.help,comp.os.linux
Subject: Re: PLEASE HELP!, MY LINUX have been HACKED~
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: 4 Apr 2001 09:57:46 -0400
On Wed, 04 Apr 2001 18:38:49 +0800, Leo <[EMAIL PROTECTED]> wrote:
>
> Today I turn on my linux and I recieved a mail from sendmail regarding
>a failed message posted to someone in @sina.com . SO i check it out and
>it basically it says the following:
[...]
>If anyone have any idea what's going wrong , please let me know and how
>am i getting the file. I know that sina provide freemail service but it
>has an extension of sinaman.com or sinagirl.com, but NOT sina.com is
>that why i am getting the mail bounced back???
You've been cracked by a new worm, because you did not apply the updates
to fix security holes. I beleive these are the exact same holes that are
used by Ramen and Lion worms: wu-ftp, rpc, LPRng (IIRC).
Why the mail can't be delivered, is the least of your worries, and I
would consider deleting it ASAP!
--
Hal B
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Spamtrap: [EMAIL PROTECTED] and [EMAIL PROTECTED]
--
------------------------------
Date: Wed, 04 Apr 2001 06:05:25 -0800
From: "Steven J. Hathaway" <[EMAIL PROTECTED]>
Subject: Re: missing initab file.......enter runlevel?
Have you tried looking for /etc/inittab (not initab) sp.
Steve Hathaway
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: File transfer apps
Date: 4 Apr 2001 14:05:41 GMT
Vasilis Serghi <[EMAIL PROTECTED]> wrote:
> Is there an application out there, like laplink, that can be used for
> transferring files over parallel or serial cables? Something that is
> transparent to the OS type would be good.
PLIP and SLIP are used to connect machines trought the serial line
or the parallel one.
Davide
------------------------------
From: "Bastiaan Schaap" <[EMAIL PROTECTED]>
Subject: Re: Linux games
Date: Wed, 4 Apr 2001 16:37:31 +0200
I found some a little while ago on www.linuxberg.com (the Tucows for Linux),
however they're not as good as Quake though.... Did you check this site?
HTH,
--
Bastiaan Schaap
Desyde BV
[EMAIL PROTECTED]
Tel 06 - 51998277
Fax 035 - 5430547
http://www.desyde.nl
________________________________
make love not war... or get married and do both.
"Bart Friederichs" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> Are there any good rocking games on Linux, that are free? Loki has a lot
> of cool games, but they are not free. Almost everything is totally free
> on the Linux system, including pretty large projects such as Office
> suites (not to mention the OS itself), but no games. Yeah, there are
> some, but I haven't found Quake-like games or some racing games.
>
> Anybody has a thought on this?
>
> Bart
> --
> -----------------------------------------------------------------------
> The internet is a too slow way of doing things you'd never do without
> it.
> Bart Friederichs, 1998
> -------------------------------------------------------------------------
------------------------------
From: [EMAIL PROTECTED] (Pumpkinhead)
Subject: why doesn't fdisk -l work?
Date: Wed, 04 Apr 2001 14:36:38 GMT
quick one,
when trying to check my partition scheme i always use " fdisk -l " but
on all my rh7.0 machines i don't receive any output at all. just get
the prompt back. any ideas?
df -h is my alternative but...
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: why doesn't fdisk -l work?
Date: Wed, 4 Apr 2001 16:43:07 +0200
> when trying to check my partition scheme i always use " fdisk -l " but
> on all my rh7.0 machines i don't receive any output at all. just get
> the prompt back. any ideas?
`/sbin/fdisk -l /dev/[hs]d[a-z]`
> df -h is my alternative but...
It's not equivalent, therefor not an alternative
Eric
------------------------------
Subject: Re: Linux games
From: [EMAIL PROTECTED] (Cray Drygu)
Date: Wed, 04 Apr 2001 15:01:16 GMT
[EMAIL PROTECTED] (Bart Friederichs) wrote in
<[EMAIL PROTECTED]>:
>Are there any good rocking games on Linux, that are free? Loki has a lot
>of cool games, but they are not free. Almost everything is totally free
>on the Linux system, including pretty large projects such as Office
>suites (not to mention the OS itself), but no games. Yeah, there are
>some, but I haven't found Quake-like games or some racing games.
>
>Anybody has a thought on this?
Yes...and a pretty good explanation, IMHO.
Games are, aside from an OS maybe, the most expensive and time-consuming
software to try and develop. Note I'm talking about Quake-type games here,
not the endless minesweeper and solitaire clones.
You need more than just competent programmers for a 3D game. You need one
who's extremely good with 3D math *and* Assembly if you want to have a 3D
engine with a decent framerate. You'll need at least one other programmer,
if for no better reason than to have another set of eyes on the code,
though more likely there's things that your 3D guru just can't do as well.
Then you need someone to come up with music for the game. Coming up with
good video game music isn't easy, especially if you're working with MIDI.
Then you need someone to do the graphics. The hundreds upon hundreds of
graphics. Floor, wall, and ceiling textures. Character skins. UI icons.
Menus. Everything.
And you'll need someone to design the levels. This takes a *lot* of talent
if you want the player to keep playing level after level.
Oh, and someone to design the models for the players and enemies. This,
while still involving 3D modelling, is a different game than level design.
Of course, nothing says these all have to be *different* people...but most
of them will be.
The last thing you need is time. The kind of time that people who have
other jobs, and families, won't have. You need to be able to lock
yourselves away, preferably *together* for hours and hours each day, for
months at a time. Look how long it takes to develop a game like Quake 3.
Then keep in mind that, for one, the people at id Software are game design
gurus, and two, they spent *all* their time developing that game.
And *that's* why you don't see quality, free 3D games very often.
--
cray [at] org
silverlight [dot]
------------------------------
From: "Stephane Bourdeaud" <[EMAIL PROTECTED]>
Subject: Re: Problems installing qmail
Date: Wed, 4 Apr 2001 16:04:56 +0100
Searching the qmail mailing list archive I found out that svscan was part of
the daemontools package and I was running an older version.
qmail now start fine.
Cheers,
Stephane B.
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Problems installing qmail
Date: Wed, 04 Apr 2001 15:01:41 GMT
In article <9af78r$[EMAIL PROTECTED]>, Stephane Bourdeaud wrote:
>I have had a look at the /usr/local/sbin/qmail script. Here it is:
I run qmail on three or four systems. I've never seen any of
that svc/svscan stuff before. Where did you get that script
from?
>Of course, svcscan is nowhere to be found on my system...
I would guess you're using a script that was written for a
different Linux distro. What distro are you running?
--
Grant Edwards grante Yow! I like the IMPUDENT
at NOSE on that car... Are you
visi.com a TEEN-AGER?
------------------------------
** 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.misc.
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
******************************