Linux-Misc Digest #802, Volume #27                Mon, 7 May 01 13:13:01 EDT

Contents:
  Re: non-color xterm (SammyTheSnake)
  Re: kernel panic every night (SammyTheSnake)
  Re: not enough RAM during RH 7.1  install (Stefano Ghirlanda)
  Re: Failed to setup FTP Server in RedHat 7.1 ("Eric Chow")
  Re: apt-get on Redhat ("vodaz")
  Re: kppp problems... (Jonadab the Unsightly One)
  Re: kernel panic every night ("KW")
  Re: trick login/shell environmet issue -  (Kwan Lowe)
  Re: Sun Solaris IPC (Chuck Dillon)
  Re: cannot make initrd-ver.img (Kwan Lowe)
  Re: Sun Solaris IPC ([EMAIL PROTECTED])
  BIND 8.2.2-P5 DoS - Update to 9.1.2 or 8.2.3 ? (Jonathan Kemp)
  Re: modifying filesystems to accomodate files >2GB ("Jonathan Epstein")
  CVS pserver ? ("Eric Chow")
  Any tips on using mkisofs -hard-disk-boot? ("Robert Laing")
  Re: WordPerfect wouldn't start the graphical installation on RH 7.1 ("ThanhVu 
Nguyen")
  wie funktioniert apt-ftparchive ? ("Thomas Weidner")
  Can you run 2 different Os systems on one computer ("LP")

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

From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: non-color xterm
Date: Mon, 7 May 2001 09:41:41 +0100

In article <[EMAIL PROTECTED]>, Charles Herman wrote:
>Every xterm I open (wherther regular xterm, gnome terminal, color xterm)
>in RH 7.0 KDE, displays different colors for different types of files.
>How can I disable this feature, ie, I want only one color for all files.

if your system is anything like mine (debian so it might not be) then in one
of your shell startup files (eg ~/.bashrc) there will be an alias setting ls
to colourise, something like the following

alias ls='ls --color=auto '

comment it out. The effects will only take place when you next log in, but
you can type

unalias ls

to remove the alias from a running shell

HTH
Cheers & God bless
SammyTheSnake
-- 
Sam.Penny @ Ntlworld.com                  | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle.  | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\  & some 6 / 7 ball exercises

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

From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: kernel panic every night
Date: Mon, 7 May 2001 09:38:03 +0100

In article <9d38on$e4d$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>I had a setup that 'crashed' at night, when the HD powered down and
>'stuck' at the lower temperature.  The next day, the first attempted
>HD access gave a problem.  HD needed to be replaced.

did yio try using hdparm to tell the hdd not to power down?

Cheers & God bless
SammyTheSnake
-- 
Sam.Penny @ Ntlworld.com                  | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle.  | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\  & some 6 / 7 ball exercises

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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: not enough RAM during RH 7.1  install
Date: 07 May 2001 15:34:45 +0200

"Waldermar" <[EMAIL PROTECTED]> writes:

> I _DO_NOT_WANT_ TO BUY any extra STUFF just to get basic firewall
> with NAT working on a Linux box. What's the point? I somehow
> managed to install it and the services I run barely take 12M,

Then you could have done everything with something like freesco
(www.freesco.org), fitting in 1 floppy 1.

-- 
Stefano - Hodie Nonis Maiis MMI est

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

From: "Eric Chow" <[EMAIL PROTECTED]>
Subject: Re: Failed to setup FTP Server in RedHat 7.1
Date: Mon, 7 May 2001 21:11:51 +0800

I have done that to change "disable=no" and reboot. but still can't use FTP.

Eric

"Repo" <[EMAIL PROTECTED]> ?????
news:[EMAIL PROTECTED]...
> In article <9d3pub$7jq$[EMAIL PROTECTED]>, "Unknown"
> <[EMAIL PROTECTED]> wrote:
>
>
> > Stephen Johnson <[EMAIL PROTECTED]> wrote:
> >> Eric Chow wrote:
> >
> >>> I don't know what caused this. When I use RedHat 6.2, I just installed
> >>> everything, and it can use as a FTP server. But in RedHat 7.1, it
> >>> can't. Is there any config to to that ? Would you please to teach me
> >>> what should I do ?
> >
> >> I encountered the same problem.  RH changed to xinetd (which I gave up
> >> on) and just installed SuSE.
> > I encountered similar problems when I installed RH71. Apparnently the
> > people at Red Hat are getting more and more like Microsoft every day.
> > They assume you're an idiot and they know what you really want. They
> > assume you installed the ftp server because you don't know what you're
> > doing and you don't REALLY want it.  Here's how I solved the problem:
> > 1) As root, go to /etc/xinetd.d
> > 2) Open the ftpd (or wu-ftpd) file.
> > 3) The last line should say something like:
> > disable = yes
> > 4) Delete this line.
> > 5) Save the file.
> > 6) Reboot.
> > That did it for me.
> > Tom S.
>
> It is just a matter of security
> Everything is closed untill you open it.
> You don't need to delete the line, just do
> disable=no
> and you don't need to reboot,
> just
> /etc/rc.d/init.d/xinetd restart
>
>
> --
> Repo
>
> RedHat Linux release 7.1 Kernel 2.4.2-2
> http://beginnerslinux.org    http://www.preggers.easynet.be
>   5:38pm  up 1 day,  3:01,  5 users,  load average: 0.22, 0.16, 0.23



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

From: "vodaz" <[EMAIL PROTECTED]>
Subject: Re: apt-get on Redhat
Date: Mon, 7 May 2001 22:52:30 +0900

9503107 ??
"wroot" <[EMAIL PROTECTED]> wrote in message
news:9d5frv$3qa$[EMAIL PROTECTED]...
> Hi,
>
> Is it possible to use apt-get on Redhat?
> There's a certain ftp site that I check regularly for updates for my
RH6.2.
> When something new shows up, I install it with
> rpm -Fvh *.i386.rpm
>
> I'm wondering if there's an automated way of doing this (without being a
> subscribed and paying RH network customer of course). I've heard somewhere
> that one can use apt-get with RPMs or Redhat. It is true?
>
> Thanks



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

From: [EMAIL PROTECTED] (Jonadab the Unsightly One)
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: kppp problems...
Date: Mon, 07 May 2001 13:54:23 GMT

"Karim R. Sobhi" <[EMAIL PROTECTED]> wrote:

> Apr 24 21:52:38 Edgar pppd[927]: Connect: ppp0 <--> /dev/ttyS1
> Apr 24 21:52:46 Edgar pppd[927]: Peer is not authorized to use remote
> address 217.52.7.110

That line right there is the important one.  

Unfortunately, I'm not certain whether "peer" in this case is
you or your ISP.  Is your connection governed by DHCP?  Are
you trying to use 217.52.7.110 as your IP address?  Or is your
ISP using that address maybe and your system isn't accepting
that for some reason?  One of those two things is probably
your problem.

- jonadab

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

From: "KW" <[EMAIL PROTECTED]>
Subject: Re: kernel panic every night
Date: Mon, 07 May 2001 09:04:30 -0500

We had a 2.2.X kernel that would kernel panic everynight during a backup
because we were mounted to it on an NFS mount.




In article <N6MI6.25625$[EMAIL PROTECTED]>, "Cevat Ustun"
<[EMAIL PROTECTED]> wrote:

> I have a machine here that freezes almost every other night. Usually I
> don't know what went wrong (and I cannot telnet to it ) however once I
> caught it displaying a kernel panic message.  (It's running kernel
> 2.2.14-5.0). I've heard that memory problems can cause this but the
> bootup memory test does its thing without problems and I don't know of
> any other way to test the memory. Any ideas?
> 
> Cev.

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

From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: trick login/shell environmet issue - 
Date: Mon, 07 May 2001 14:30:00 GMT

DMcBee <[EMAIL PROTECTED]> wrote:
> Okay All -
>     I'm running RH 6.2 in a peer-to-peer network of about 50 windows
> machines . Originally, we ran one server ( it was RH 5.2 ) for both DHCP and
> our Pick(our database application). Pretty much everybody in the facility
> uses "Pick" all day.  Some use dumb terminals to access "Pick" and some use
> "Accuterm" to telnet into to "pick" server.  Those who would telnet into it,
> were automatically shot into thier "pick" login, and could work from that
> point on.
>     NOW - we've switched to running the 5.2 machine as just the DHCP server,
> and and a new (Dell PowerEdge 1400 - it kicks ass) 6.2 machine as our "PICK"
> server. HOWEVER - I'm having trouble duplcating the "autologin" process as
> it was before. As it is now - the users telnet into the pick server, login
> under linux, and start the pick process from the command prompt. I've looked
> in the inetd.conf file at the telnet line(in the old machine) and it points
> to a script that statrts the pick process. I've duplicated that in our new
> machine and I'm getting a " network connection reset " error.
>     My question IS : how do I set it up so that an application(pick) is run
> as soon as a user telnets into it?
>     We have NO external connectivity oter than an internet server that is
> separate.

>                     Thanks -
>                                 Drew M

You can start the application in the profile scripts. IIRC, Pick required some
environment variables to be set. Set these, launch the pick executable, and make
sure to put an exit as the last line of the profile. This prevents them from
returning to a shell when they exit the application.

A better way might be to use sudo and have sudo run the executable. 



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

From: Chuck Dillon <[EMAIL PROTECTED]>
Crossposted-To: 
comp.unix.questions,comp.unix.programmer,comp.os.linux.development.system,comp.unix.solaris
Subject: Re: Sun Solaris IPC
Date: Mon, 07 May 2001 09:32:59 -0500



vardhan wrote:
> 
> Hi,
> 
> I need to find information about the various UNIX
> implementations/standards(?) for IPCs (message Queues, pipes, shared
> memory), such as POSIX, ATT, SVR4, BSD etc. I need this for comparing
> and listing the adv/disadv of each for a particular project, to find the
> best IPC mechanism suitable for the project.
> 
> The project is based on a Solaris platform (version unknown) running a
> SunOS (probably 5.6). I assume that the particular SunOS itself will be
> using a specific Unix IPC standard. Please correct me if I am wrong. My
> question is, in this case (Sun on Solaris) what are the options I have
> for IPC, and where do I get the information to made a comparative study
> most suitable for me? Specifically, where do I begin to get the
> information I need? I am quite comfortable with basic UNIX IPC and sytem
> calls.
> 
> Any suggestions in the form of book titles/we links are welcome!

Try going to docs.sun.com and searching for IPC.  The 'System
Interface Guide' of the developer collection is probably a good
place to start.

-- ced

-- 
Chuck Dillon
Senior Software Engineer
Genetics Computer Group, a subsidiary of Pharmacopeia, Inc.

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

From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: cannot make initrd-ver.img
Date: Mon, 07 May 2001 14:41:04 GMT

Bluesky <[EMAIL PROTECTED]> wrote:


> Is (new) initrd not necessary to run/boot, I mean, just use the original one
> ?

A new initrd is not always necessary. The main reason to use it is to prevent a
"chicken and egg" scenario. For example, you need a particular module to be able
to use a SCSI device to be able to see your drives. You can't see your drives
unless you load that scsi module. 


> In the lilo.conf it is cited.  I do not have AIC7xxx (i guess it is built-in
> adaptor in
> some old motherboard ??), yet one thing that is not clear to me is kernel
> and modules.

> If the modules are like functions to be called when in need, then in what
> sense such
> modules should be built in kernel ?

Besides the above, there's also a small performance gain from building modules
directly into the kernel. For high usage networks the difference could be
substantial.
>From your posts it sounds like you are trying to load modules that are
unneccessary. Try using the --ifneeded option (look at "man mkinitrd")  or
-omit-scsi-modules parameter if you don't want to load the AIC modules.

I have some notes about this at:
  http://www.digitalhermit.com/linux/kernel.html
> I just reinstall RH 7.1, make some change in xconfig to support USB and NTFS
> filesystem.
> In test, using a spare hard disk with 2 partitions, one NTFS, one DOS, now I
> can mount
> the NTFS partition and read, copy files from there to linux partition.  But
> USB external MO
> is only recognized correctly with manufacturer, unable to mount it.

> Anyway, will try again as you suggested. I will post the result here once
> more.


> Thank you for your reply.

> SN








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

From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Crossposted-To: 
comp.unix.questions,comp.unix.programmer,comp.os.linux.development.system,comp.unix.solaris
Subject: Re: Sun Solaris IPC
Date: Mon, 07 May 2001 15:02:53 GMT


There are multiple methods of doing IPC, depending on what your requirements

are. Basic "UNIX" facilities include the use of pipes (half duplex) and
named
pipes (full duplex, aka FIFOs). There is also UNIX domain sockets for
full duplex communication between processes.

Traditional System V IPC consists of;
- Shared memory
- Message Queues
- Semaphores

POSIX came along and added;
- Shared Memory
- Message Queues
- Semaphores

[see a pattern? :^)]

Basically, you have 2 different and distinct sets of APIs for doing shared
memory,
messaging and/or semaphores. The POSIX and SysV interfaces are very
different,
and while they provide similar functionality, there are some important usage

differences. They are also implented very differently; Sys V IPC is
implemented
in the kernel, POSIX IPC is implemented using mmap'd files.

Solaris also provides an extremely poorly documented facility called Doors.

To learn how and when to use these facilities, please read;

UNIX Network Programming, Interprocess Communications, Volume 2,
Second Edition. by W. Richard Stevens. ISBN 0-13-081081-9.

To learn a bit about how they are implemented in Solaris, please read;

Solaris Internals. by Jim Mauro and Richard McDougall.
ISBN 0-13-022496-0

/jim


vardhan wrote:

> Hi,
>
> I need to find information about the various UNIX
> implementations/standards(?) for IPCs (message Queues, pipes, shared
> memory), such as POSIX, ATT, SVR4, BSD etc. I need this for comparing
> and listing the adv/disadv of each for a particular project, to find the
> best IPC mechanism suitable for the project.
>
> The project is based on a Solaris platform (version unknown) running a
> SunOS (probably 5.6). I assume that the particular SunOS itself will be
> using a specific Unix IPC standard. Please correct me if I am wrong. My
> question is, in this case (Sun on Solaris) what are the options I have
> for IPC, and where do I get the information to made a comparative study
> most suitable for me? Specifically, where do I begin to get the
> information I need? I am quite comfortable with basic UNIX IPC and sytem
> calls.
>
> Any suggestions in the form of book titles/we links are welcome!
>
> thanks,
> Vardhan
>
> PS:  Please pardon if the question has been incorrectly framed, since I
> am not yet quite comfortable with
> different flavors of Unix.
>
> --
>
> Vardhan Walavalkar
> email: [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Jonathan Kemp)
Subject: BIND 8.2.2-P5 DoS - Update to 9.1.2 or 8.2.3 ?
Date: Mon, 07 May 2001 15:22:31 GMT

Hi, 

We're running BIND 8.2.2-P5 on a RedHat 6.2 PC and since last friday,
we are getting regular denial-of-service attacks.  I've seen on
<http://www.isc.org/products/BIND/bind-security.html> that updating
could maybe help us.

Now, the question is, should I update to BIND 9.1.2 or BIND 8.2.3 ?  I
know that 9.1.2 has some major changes, so we would need to review our
config files.  Is it worth the effort ?  Maybe 8.2.3 would be just OK
to stop the DoS attacks ?

Thanks for your advices people !

Regards, 

Jonathan Kemp
[EMAIL PROTECTED]


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

From: "Jonathan Epstein" <[EMAIL PROTECTED]>
Subject: Re: modifying filesystems to accomodate files >2GB
Date: Mon, 7 May 2001 11:49:30 -0400

Thanks, Eric, an excellent suggestion.  It works fine:

sh-2.04$ ls -l a_testfile
-rw-r--r--    1 epstein  users    2203058176 May  7 09:38 a_testfile
sh-2.04$

Furthermore, the following works as well:

  gzip -d nt.Z >nt
sh-2.04$ ls -l nt*
-rw-r--r--    1 epstein  users    3293252235 May  3 22:46 nt


So now I have a workaround for my problem, but would still like to issue a
bug report and/or build and test a fix on my own system.  Any pointers for
doing this?  I have all the RedHat source code on CDs, but it's in a bunch
of RPM's and I don't know which RPM corresponds to zcat's source.

TIA,

-Jonathan

"Eric" <[EMAIL PROTECTED]> wrote in message
news:9d6160$ds7$[EMAIL PROTECTED]...
> > Yesterday I upgraded from Redhat 7.0 to 7.1, primarily so that I could
use
> > files >2GB.  E.g., I downloaded the file
>
> That should be able to handle larger files (I don't know for sure though)
>
> >   ftp://ncbi.nlm.nih.gov/blast/db/nt.Z
> > which is slightly less than 1GB, but will expand to >2GB on a system
which
> > handles this properly.  I then typed:
> >   zcat nt.Z >nt
> > and got the error:
> >
> > Filesize limit exceeded (core dumped)
>
> Might be the zcat program that can't handle the large files?
> try make a large testfile with dd to exceed the 2G limit.
> Just check if eg. dd/ls can handle these large files.
> (dd if=/dev/zero of=./a_testfile bs=1M seek=2100 count=1)
>
> If this works, you'll need a zcat that has support for this.
>
> Eric
>
>
>



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

From: "Eric Chow" <[EMAIL PROTECTED]>
Subject: CVS pserver ?
Date: Mon, 7 May 2001 23:28:43 +0800

Hello,

How to setup CVS pserver in xinet ?

Best regards,
Eric



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

From: "Robert Laing" <[EMAIL PROTECTED]>
Subject: Any tips on using mkisofs -hard-disk-boot?
Date: Mon, 07 May 2001 17:58:05 +0200

I'm trying to make a bootable CD using the mkisofs' -hard-disk-boot
switch.

I've got as far as getting it to make an ISO9660 image  by doing first 

dd if=/dev/hdc of=hd.img bs=1k

(where hdc is the hard disk image I want to put on CD) followed by 

mkisofs -b hd.img -hard-disk-boot -c boot.catalog -o bootcd.iso .

But when I try to boot from a CD with this image, after printing LILO all
my 'putter does is print a stream of numbers scrolling down the terminal.

Does anyone out there know the trick to making bootable hard-disk images
on CD?

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

From: "ThanhVu Nguyen" <[EMAIL PROTECTED]>
Subject: Re: WordPerfect wouldn't start the graphical installation on RH 7.1
Date: Mon, 07 May 2001 12:37:50 -0400

Hello there, thanks alot - got it working

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

From: "Thomas Weidner" <[EMAIL PROTECTED]>
Subject: wie funktioniert apt-ftparchive ?
Date: Mon, 7 May 2001 18:39:03 +0200

hi NG

ich hab mich dazu in den man pages erkundigt,bin aber nicht schlau
geworden,kann mir da jemand helfen ?



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

From: "LP" <[EMAIL PROTECTED]>
Subject: Can you run 2 different Os systems on one computer
Date: 7 May 2001 12:04:07 -0500

http://askearth.com/go/view_request?request=214&r=7




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


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

Reply via email to