Linux-Misc Digest #638, Volume #20               Tue, 15 Jun 99 00:13:13 EDT

Contents:
  Re: Killing processes (Leonard Evens)
  SuSE 6.1 ok to buy ? (Raghu Yedatore)
  backup with tar (peter)
  no x11-server but x11-clients (peter)
  Re: making linux go away ("Chitla Sudhir")
  Re: Multi-OS machine (Linux, Solaris, NT) ("parkercj")
  Re: Redhat 5.1 webserver problems (Duncan Simpson)
  Re: No sound for my Realplayer G2 on Redhat 6.0 (Matt Willis)
  Re: script (Scott Lanning)
  Re: Fortran on Linux (Matt Willis)
  Re: Commercially speaking....? (mlw)
  Re: a simple question for a newbie ([EMAIL PROTECTED])
  Re: SuSE vs Red Hat? ([EMAIL PROTECTED])
  Re: HELP! MORE strange Telnet and FTP issues (Andre Kostur)
  Re: sendmail hang, cant mail ("Michael Faurot")

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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Killing processes
Date: Mon, 14 Jun 1999 10:11:21 -0500

Andreas Kyek wrote:

> Hey Eric,
>
> Eric Yousey wrote:
>
> > Does anyone know how to kill a process that just won't be killed.  I'll
> > already tried 'kill -9 PID' and 'kill PID', but neither of them work.  I
> > know that 'kill -9' is supposed to be the kill anything, but it's not
> > working for me.
> >
> > I have also tried going down to runlevel 1 and back to runlevel 3, but
> > this doesn't work either.
> >
> > I know that rebooting will work, but I'm going for Linux uptime here,
> > and this is a server and I really can't be shutting it down.  My
> > connectees don't like that.
> >
> > So any help would be greatly appreciated.
>
> On each Unix system I have ever worked with (HP, IBM, SUN, Linux) there were
> some processes which could not be killed.
>
> If 'kill -9' does not kill the process, the only thing you can try is 'kill
> -9 PID_PARENT_PROCESS'. This may help, if there is still a valid parent
> process. But if your PPID is already the init-process (PID 1), the only
> thing is to wait for the next reboot.
>
> Sorry for that
>
> Andreas

Such processes are called zombies.  On our old Suns, we had a command
which would kill zombies, but it usually didn't work.   I haven't seen
zombies on Linux systems very often.   Probably the simplest solution
is to reboot.


--

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208




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

From: Raghu Yedatore <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: SuSE 6.1 ok to buy ?
Date: Mon, 14 Jun 1999 19:29:11 -0700


I am new to the Linux world. When I assembled my PC, I set a 2Gig
partition
aside for Linux.

I can buy SuSE 6.1 for $30.00. I missed the thread on the same topic by
Dave Brown because
those articles had expired. RH6.0 costs about 70 bucks.

With SuSE, I'll also get CDs for StarOffice5.0.


Is it ok to use install SuSE ? or Should I go RH6.0 way ?

Thanks for any suggestions.

Raghu



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

From: [EMAIL PROTECTED] (peter)
Subject: backup with tar
Date: Mon, 14 Jun 1999 15:17:35 GMT



I used to backup my system-files/homedirs ... with tar to another 
machine. a few days ago I had a diskfailure and had to reinstall my linux 
and save back the tar-files.

I ran into two major problems:

* tar didnt restore the file-permissions
* I ran into a ^M-problem in every configuration-file.
(a problem with the LF/CR or such thing. All tools said, that there is an 
error in its configuration-file and when I openend it and replaced all 
newlines with 'new' newlines all was running fine)

my question :

is this a common thing or is this a special problem of my way of taring:

for tar I use:
tar czvhf tarfile ...

for untar I used winzip (which can handle .tar.gz-files) on a nt-machine 
and burned the whole thing on cd, cause I didnt had enough space on the 
remaining harddisk to put the whole tar-file there.



peter

=================
pilsl@
ANTISPAM
goldfisch.atat.at

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

From: [EMAIL PROTECTED] (peter)
Subject: no x11-server but x11-clients
Date: Mon, 14 Jun 1999 15:27:55 GMT


I had to install redhat5.2 again and didnt install any x-stuff cause I 
dont need to run a x-server on a pure text-terminal.

but I still want to ssh-forward my x-sessions to another machine (where a 
x-server is installed). but now I cant even run x-clients (netscape etc.) 
and ssh tells me that it cant support x11-forward.

so what stuff do I have to install to run x-clients without installing 
all the stuff I need for running a x-server. (my harddisk is not as big 
as should be ...)


peter

=================
pilsl@
ANTISPAM
goldfisch.atat.at

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

From: "Chitla Sudhir" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: making linux go away
Date: Tue, 15 Jun 1999 08:07:52 +0530

use fdisk /mbr (in dos)

John Sowden wrote in message <7k3p9g$3s5$[EMAIL PROTECTED]>...
>I read the responses, just flames.  The problem is you are asking a valid
>question.  I also need to know how to remove Linux from a hard drive, as I
>am installing a new copy (caldera) and it doen't discuss in the newbie part
>about installing over an existing linux os.
>
>Can someone please take our requests seriously.
>
>
>
>adam howard wrote in message <7iv13k$[EMAIL PROTECTED]>...
>>talk about a waste of bandwidth....do we really need a few dozen people to
>>give the same answer?
>>
>>
>>> How do I get rid of Linux in the boot sector (I guess that's where it
>>> is) once and for all?
>>
>>
>>
>
>





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

From: "parkercj" <[EMAIL PROTECTED]>
Subject: Re: Multi-OS machine (Linux, Solaris, NT)
Date: Mon, 14 Jun 1999 20:02:17 -0700

Howdy,

It can all be done using lilo! I'm sending you a listing of my lilo.conf and
fdisk from the boot drive. The trick is that the Solaris partition is seen
as Linux swap and it MUST be the active boot partition for the drive
otherwise it's a no-go!


I have DOS, <giggle> W98, NT4.0 Server SP5, Linux 6.0, and Solaris 7
cooperating on the same system. Not at the same time mind you but still
cooperating.  Remember to install DOS or W98 first, since 98 or 95 will wipe
out the MBR for Linux later. Then install NT, Linux  and after the install
of linux create another swap partition using fdisk and install Solaris on
that.

Why did I do this ... to see if it could be done!!!! :) So far up and
runnign for the part 18 months using all of them!

HTH

Cheers,

CJ

<attachments>  lilo.conf & a quick fdisk output

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.2.5-15
        label=linux
        root=/dev/hdb5
        read-only
other=/dev/hda1
        label=dos
        table=/dev/hda
other=/dev/hda4
        label=sol
        table=/dev/hda


fdisk of the boot drive:

<root@kira>/root/>fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 790 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1       261   2096451    6  FAT16
/dev/hda2           262       522   2096482+   5  Extended
/dev/hda3           523       529     56227+  83  Linux
/dev/hda4   *       530       786   2064352+  82  Linux swap
/dev/hda5           262       392   1052226    6  FAT16
/dev/hda6           393       522   1044193+   6  FAT16



Edward J. Smiley Jr. <[EMAIL PROTECTED]> wrote in message
news:7j6emc$l79$[EMAIL PROTECTED]...
> I am trying to boot the following OS's on one machine: NT 4.0 SP3,
> Solaris 7, and Mandrake Linux (Red Hat w/ KDE).  Here is what I have
> found so far.
>
> Here are my disks:
> Master: 2.0G Maxtor
> Slave: 6.5G Seagate
>
> I read that this works: Partition the 2G into two 1G partitions.  Load
> NT onto a FAT partition and load Solaris on the other partition.
> Then put Mandrake on the 6.5G and make sure that the swap stays with
> this disk and not over on the Solaris partition.
>
> Has anyone done this or any variation using these three operating
> systems?  I was told that I am going to need Randish Boot Manager and
> Bootpart to do this.  Has anyone ever used these before?  Can you give
> me any experiences.
>
> Any suggestions appreciated!!
>
> Thanks for reading!
>
>
>
> --
> Ed Smiley
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.



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

From: [EMAIL PROTECTED] (Duncan Simpson)
Subject: Re: Redhat 5.1 webserver problems
Date: 14 Jun 1999 15:30:59 GMT

In <7jqvkd$kv3$[EMAIL PROTECTED]> Rick Lim <[EMAIL PROTECTED]> writes:

>Can anyone steer me in the right direction to look?
>A customer of mine has a RH5.1 running on a P2 with
>64meg 8g hd, it has crashed 3 times in the last
>3-4 weeks (nothing new loaded) and everytime it is
>rebooted a fsck has to be done manually, Just a short
>time before this all started I saw it limping along,
>you could login remotely, when i tried a shutdown -r now
>from the console it just basicly said ok and then did
>nothing.

One machine I know with which had this problem had a hard disc subject
to hardware failure. It now runs 24/7 without any problems for
months---and as a web proxy and print server failure would be obvious
to lots of people.


--
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."

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

From: Matt Willis <[EMAIL PROTECTED]>
Subject: Re: No sound for my Realplayer G2 on Redhat 6.0
Date: Mon, 14 Jun 1999 16:16:45 +0000

coffee wrote:
> 
> Tian Chi wrote:
> >
> >      I just installed Realplayer G2 on my RedHat 6.0. I can see the
> > video,
> > but no sound.
> > -Tian
> 
> If its any consolation I have the same problem. I think its broke. ANyways, Have
> you tired uninstalling it? I found that i cannot uninstall the darn thing too.
> RH 6.0 Gnome desktop.
> 
> --
> [EMAIL PROTECTED]
> ICQ 1614986
>                 "Quick Robin! To the Linux Workstation!"

Gnome? I don't know for sure, but esd might be your problem. Does your
gnome desktop have sounds enabled? Do a dejanews search on esd if you're
interested.

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

From: [EMAIL PROTECTED] (Scott Lanning)
Subject: Re: script
Date: 14 Jun 1999 16:14:27 GMT

[snipped]
Charly ([EMAIL PROTECTED]) wrote:
: Morten wrote:
: > I would like a simple script which will automatically telnet to a
: > server and log me on. I've been surfing around but I haven't been
: > able to find such a script. Has anybody made one or a suggestion
: > to where I can find one??
: If it exists, is would not be a simple script : it would need a
: private clear passwd database I think wich implies a big security
: hole in your system ! Sorry for the answer but sincerly, I think
: that if a such script exists, it's not a ggod idea to use it !

Puh-lease... If someone can get into your system, what use is it
to have your password encrypted? Besides, they could intercept the
password being sent to telnet. You should use ssh, instead, because
it encrypts the password being sent; but your server needs to have
it (they should.....) It's even simpler than the following telnet
script, because you only need to enter the password.

Assuming you have expect/tcl, just put the following script into a
file which only you have permission to read/execute:

-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-=-

#/usr/local/bin/expect -f
#
#(the above path may be different, so "which expect")


#change these
set USERNAME username
set PASSWORD password
set HOST your.host.edu

spawn telnet $HOST

#may have to change these, depending on what your server emits
expect ogin:
exp_send "$USERNAME\r"
expect assword:
exp_send "$PASSWORD\r"

interact
exit

-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

If you're paranoid someone will see your password, you can modify
that to get user password (but then why automate login..?).
'man expect', and it tells you exactly how to do that.

--
Scott Lanning: [EMAIL PROTECTED], http://physics.bu.edu/~slanning
"I do believe God gave me a spark of genius, but he quenched it
in misery." --Edgar Allan Poe

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

From: Matt Willis <[EMAIL PROTECTED]>
Subject: Re: Fortran on Linux
Date: Mon, 14 Jun 1999 16:14:32 +0000

Thomas Ruedas wrote:
> 
> Look for something like g77, fort77 or f2c. These are Fortran compilers
> resp. scripts which invoke Fortran->C translation before compilation.

Actually, g77 is the real compiler, and fort77/f2c are the fortran-to-c
script tools. In general, fort77 has more goodies, but can be less fun
to debug. As an example, the -r8 option is available on f2c (i.e.
fort77) but not g77. 

I have heard that fort77 can generate faster code than g77 but I haven't
seen this with my own codes. I use g77 for most stuff. 

There is a "free-ish" f90 compiler (converts f90 to f77) available from
www.psrv.com -- which uses g77 to compile stuff. It has restrictions on
use, though, so read the agreement carefully.

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

From: mlw <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,uk.comp.os.linux
Subject: Re: Commercially speaking....?
Date: Tue, 15 Jun 1999 04:03:33 +0000

Bill Unruh wrote:
> 
> In <[EMAIL PROTECTED]> mlw <[EMAIL PROTECTED]> writes:
> >>
> >> My point exactly - Microsoft should have put multitasking (and a lot of
> >> the other things that windows does) in DOS, instead of in Windows.
> 
> >They did, in a way. The Windows virtual machine manager is the beast
> >that does the DOS multitasking, virtual memory management, etc. I'm not
> >sure if it can be done in '95, but, in 3.1 one could copy command.com in
> >place of win.com and have a full DPMI version of DOS with VxD drivers.
> 
> DOS is not reentrant. Ie if one program is using an operating system
> call, no other program can use that call. There is no space set aside to
> store the variables.
> DOS was a primative single user Disk Operating System. It was primarily
> there to interface a single program with the screen/disks/etc. It was
> never intended as a multitasking OS.

No, not as such, but early on there was a simple OS lock that could be
tested. If MSDOS was doing something that could not be interrupted, it
would set the "InDOS" flag.

Also, the Multiplex interrupt, in 2F, used for the old print spool
command "multitasked" a bit. The multiplex interrupt became a way for
TSR programs to get system time. When activated, they would check the
InDOS flag, if it wasn't set, they could make DOS calls. Cool.

It should be noted, once more in the category of Windows is still DOS,
the InDOS flag and the int 2F multiplex interrupt are still alive and
well doing what they have always done.

BTW most of the original UNIX implementations were not reentrant.
However, that did not mean they could not multitask. It just means that
a call into an OS service could switch you away. Win16 was also
non-reentrant, calls to getMessage and PeekMessage would switch you away
too, and they were multitasked (cooperatively, but did multitask)

Where is this going? Well, the virtual machine multitasking (DOS boxes
and the system VM) are handled by a very DOS like creature named the
Virtual Machine Manager. VMM provides a DPMI environment in which
Windows (3.0,3.1,95,98) resides. DPMI stands for DOS Protected Mode
Interface.

So, in a way, Microsoft did add the multitasking stuff to DOS. They just
hide it very well. In Windows 95 and 98, however, preemptive
multitasking and threading amongst 32 bit Windows apps is managed by
Windows, while multitasking virtual machines is done by the VMM.



-- 
Mohawk Software
Windows 95, Windows NT, UNIX, Linux. Applications, drivers, support. 
Visit http://www.mohawksoft.com

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

From: [EMAIL PROTECTED]
Subject: Re: a simple question for a newbie
Date: Mon, 14 Jun 1999 16:32:32 GMT

In article <7k216m$t6v$[EMAIL PROTECTED]>,
news.jaring.my <[EMAIL PROTECTED]> wrote:
>I am so new in linux, i just get lost in this os.
>
>I just managed to install Redhat ver6  on my pc, with the cd booting method.
>
>How then, do I install any software on Linux,  let say, from a downloaded
>software at all. Eg, on window, I just need to double click the setup.exe
>file.  But how about in Linux?
>
>thank you for any help at all.
>
>
>chuan
>
>
        When you download something, it usually comes in one of two forms,
a tar file (or compressed tar file), or an rpm file.  (rpm is something
developed by redhat but open sourced and used by other distributions.
Other people can tell you more about than I can.)  If you get a tar file,
it should end with the suffix '.tar' (i.e. xv-3.10.tar) where tar stands
for 'tape archive'.  There is a program called tar that can list the
contents, create a tar file or extract files (do a 'man tar' to learn about
it).  More often, though the suffix will be '.tar.gz' or '.tgz' this
means besides being archived it was compressed with gzip (do a 'man gzip').
You can extract files with something like 'tar xvf xv-3.10.tar' or if
compressed 'tar xvfz xv-3.10.tar.gz'), but it's usually a good idea to
see what's inside first with 'tar tvfz xv-3.10.tar.gz'), see if it's
going to create a directory tree with everything under some directory
name or scatter files around in the current directory.  Until you get
used to doing it, I'd take the precaution of doing something like:
'mkdir xperi; cd xperi; tar xvfz abc.tar.gz'.  With rpm it's much more
automated, I think 'rpm -i xyz.rpm' is all you need, but see if you
even have rpm on your system and do a 'man rpm' if you do.
        Once you've extracted the files, they may be binary but more
typically they are source files that need to be compiled.  Usually there
are some help files with names like README and INSTALL that you should
read.  Very often these days, there is a file called configure, and
often all you have to do is run the following sequence:
../configure
make
make install

to get the stuff installed.  There's a lot more to it, options one can
give to the configure command for instance, but hopefully
that will get you started.  Understand that these packages are often
done by people who have created something for themselves and are just
being nice in sharing them with others, they are under no obligation
to follow the conventions implied in what I've just described, sometimes
they are actually more comfortable in other operating systems and just
port to linux and don't know all the details of how to create a configure
script, they are, as I said, just being nice, so you'll get a lot of
variation in what you download, but there is usually some kind of README
to help you along, inform you of bugs, whatever.


-- 
Praeterea censeo Micromolle non esse utendum. 
("Moreover, I maintain that Microsoft should not be used."  A toned down
adaptation of a sig from Cato the Elder regarding the city of Carthage.
       ---- Remove "UhUh" and "Spam" to get my real email address -----

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,comp.os.linux.portable
Subject: Re: SuSE vs Red Hat?
Date: 14 Jun 1999 15:59:17 GMT

In the sacred domain of comp.os.linux.misc didst Stephen E. Halpin <[EMAIL PROTECTED]> 
eloquently scribe:
: As I recall, Redhat was different.  Partitioning was still worse (why
: Linux cant allocate a single BIOS partition and provide the usual 8
: slices that other UNIX systems provide is beyond me) but the rest of
: the installation was smoother, you had more control over which services
: ran, and the LILO configuration allowed me to reference the nextstep
: partition from the installation routine instead of hand editing the
: lilo.conf file and reloading it (something a novice would have to
: dig to find out about with SuSE.)  

??????

During install, YaST asks if you want the machine to start using LILO. If
you answer yes, you are placed on a simple screen that allows you to add new
operating systems do LILO and so on.

I haven't touched lilo.conf once manually, and I've been using SuSE for well
over 6 months (and recompiled the kernel several times, modifying LILO to
point to several kernel versions to be safe).

: I havent configured this card with SuSE yet,
: so I dont know if thats going to be easier or not.  

Quite possibly...

I got the extra
: stuff like the PowerTools, only to find that when I wanted to install
: a package I got errors about missing packages, and had to fish them
: out of the same disc by hand rather than being allowed to select an
: "install all dependencies as well" button.  The commercial X server
: should also be avoided at all costs if you have a Matrox Millenium
: card.  I couldnt select valid display modes for my monitor and when
: the screen saver activates the server trashes itself.  The XFree86
: stuff worked flawlessly, though the configuration is still not well
: setup for a novice.

SuSe has something called SaX (SuSE Advanced X configurator... Much easier
to use than the old xf86Setup and xf86config).


-- 
______________________________________________________________________________
|[EMAIL PROTECTED]|                                                 |
|   Andrew Halliwell Bsc   | "ARSE! GERLS!! DRINK! DRINK! DRINK!!!"          |
|            in            | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
|     Computer Science     | - Father Jack in "Father Ted"                   |
==============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+  w-- M+/++ |
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!|  Space for hire  |
==============================================================================

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

Crossposted-To: alt.uu.comp.os.linux.questions,comp.os.linux.help,linux.redhat.misc
From: [EMAIL PROTECTED] (Andre Kostur)
Subject: Re: HELP! MORE strange Telnet and FTP issues
Date: Mon, 14 Jun 1999 16:46:23 GMT

In article <[EMAIL PROTECTED]>, Gio <[EMAIL PROTECTED]> wrote:
>
>Seems when I try to telnet or ftp to the linux box from my Windows 95 PC
>then there is a massive 2-5 minute time wait before any login prompt
>comes 
>up for connections.
>
>Does anyone know what is causing this????? Any suggestions would help.

This is a FAQ (Frequently Asked Question)... please try to read the FAQ lists 
first before posting.  Having said that....

The most common reason that there is a large delay between connecting and the 
login prompt is that your Linux machine is attempting to do a reverse-name 
lookup on the Win95 machine's IP address, and you either:
  a) Don't have a DNS configured for your Linux machine (unlikely)
  b) Your Linux box is unable to contact the DNS (possible if, for example, 
your Linux machine and Win95 are a home network, and you haven't dialled up to 
your ISP)

Usually what fixes this problem is if you change your /etc/hosts file so that 
it lists your Win95 machine in it.  Example:

# Sample hosts file
127.0.0.1 localhost
192.168.0.1 linuxbox.somewhere.com linuxbox
192.168.0.2 win95box.somewhere.com win95box

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

From: "Michael Faurot" <[EMAIL PROTECTED]>
Subject: Re: sendmail hang, cant mail
Date: 14 Jun 1999 15:01:04 GMT

Samuel Bridgeland <[EMAIL PROTECTED]> wrote:
: I have two problems that I am assuming are related. First, when linux
: (rh6.0) tries to start sendmail I get about a two minute hang before it does
: anything. Next, when I try to send mail (I tried more than one e-mail
: client so I don't think that is the problem) it starts to send, but hangs
: there. Any help is appreciated. Thanks. 

It sounds like sendmail is getting stuck trying to do DNS resolution.
You'll likely need to go through and disable DNS lookups and perhaps
define a smarthost which you can punt your mail to.  Take a look at
www.sendmail.org for tips on configuring sendmail.

-- 
==============================================================================
 Michael | mfaurot  | All that glitters is not gold; all that wander are
 Faurot  | atww.org | not lost.

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


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