Linux-Misc Digest #389, Volume #27               Sun, 18 Mar 01 09:13:02 EST

Contents:
  Re: What is the [] in ps -ef output ("Peter T. Breuer")
  Re: Trouble getting nntp running locally ("Peter T. Breuer")
  Re: PLPtools compile errors (again) (Keith Matthews)
  Thanks  [ was: Books on Unix Kernel for non-programmer ] ("J.Smith")
  Re: xinetd (telnet) problems with RHL7 ("Peter T. Breuer")
  Re: Eliminate "pops 'n' clicks" listening to MP3's? (Andreas Dietrich)
  TIFF file is corrupted!!!(HylaFax) ("Cityline")
  Re: How to check up-time ? (Robert Jones)
  Re: newbie- installation problems ("Frank Wood, Jr.")
  Re: How to check up-time ? (Jean-David Beyer)
  Poweroff still failes (Alex Fitterling)
  Re: How to check up-time ? (Lee Webb)
  Re: Beowulf cluster w/ virtual Linuxes in VMWare ? (Ian Northeast)
  HELP with gcc ("emi80")
  Backing up files with spaces in name ("David Quinn")
  Re: HELP with gcc (Michael Heiming)
  Re: Backing up files with spaces in name (Michael Heiming)
  Re: Backing up files with spaces in name ("David Quinn")
  Re: Trouble getting nntp running locally ([EMAIL PROTECTED])
  Re: partition blues (Yvan Loranger)

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: What is the [] in ps -ef output
Date: Sat, 17 Mar 2001 23:48:58 +0100

Jeff B <[EMAIL PROTECTED]> wrote:
> On Sat, 17 Mar 2001 17:55:29 -0000, [EMAIL PROTECTED]
> (William Burrow) wrote:
>>On Sat, 17 Mar 2001 16:12:00 GMT in comp.os.linux.misc,
>>Jeff B <[EMAIL PROTECTED]> wrote:
>>The answer *IS* in the man page. 
> Do you mean:
> "Programs  swapped out to disk will be shown without command line
> arguments, and unless the c option is given, in brackets."
> I took this to mean that the "c" option needed to be specified in
> brackets...guess I was a bit too literal...

It's missing a comma after the "and". In fact the comma before the "and"
should be the comma after it.

File a bug report with the author.

> Thanks for giving me a different way to look at it.

Peter

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Trouble getting nntp running locally
Date: Sat, 17 Mar 2001 23:55:48 +0100

In comp.os.linux.misc [EMAIL PROTECTED] wrote:
> I'm trying to setup leafnode and nntp so I can pull Usenet down locally
> and read it with tin (without tin having to reach out and touch the net
> so often).

Talk to the leafnode author (or newsgroup :-) about it.

> I think I've got leafnode setup properly, but I can't get my nntp server
> to run. The instructions with leafnode assume inetd, but with RH7, it's
> xinetd and a different configuration method.

I set up leafnode and innd and they just magically interacted right.
I don't see what inetd has to do with it! leafnode runs as a cronjob
ever 10 minutes or so, and innd is a standalone server. Were you
planning on trying to run it out of inetd instead?

> leafnode's instructions offer this inetd.conf example:
>   nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/sbin/leafnode

Oh, yeah, that's possible, I guess. But surely a news server hets a lot
of hits, so it0s hardly worth running from inetd.

> I've created an /etc/xinetd.d/nntp like this (all paths are valid):
>   service nntp
>   {
>           socket_type         = stream
>           protocol            = tcp
>           wait                = nowait
>   #        port                = 119   # I added this but it didnt' help
>           user                = news
>           server              = /usr/sbin/tcpd /usr/sbin/leafnode
>   }

Possibly.  See the man page for xinetd (I don't use it).  Do you really
want tcpd in there?  I thought xinetd took care of that itself.  I'd get
rid of the tcp wrapper first of all, and when everything is working,
reread xinetds manpage. What does xinetd's log have to say about your
efforts?

Peter

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

From: Keith Matthews <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Re: PLPtools compile errors (again)
Date: Sun, 18 Mar 2001 08:32:28 +0000

Raj Rijhwani wrote:
> 
> I have an odd problem - or at least odd as far as I can see.
> 
> PLPtools refuses to compile, citing an undefined symbol: socklet_t.
> It's quite correct - there's no reference to socklen_t in any of the
> system includes.  The reason this is odd is that I have, as far as
> I am aware, loaded all the includes and indeed everything that
> constitutes all the necessities of a full development system.
> (It was Slackware 3.5 which loaded a 2.0.3x kernel as a default,
> but now runs 2.2.18.)

3.5 was a libc5 system, have you upgraded libc ?

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

From: "J.Smith" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,comp.unix.admin,comp.unix.aix,comp.unix.bsd.openbsd.misc,comp.unix.misc,comp.unix.solaris,comp.unix.ultrix
Subject: Thanks  [ was: Books on Unix Kernel for non-programmer ]
Date: Sun, 18 Mar 2001 10:36:08 +0100


Dear all,

Thanks or all the response. I think ill start out with the following books:

The Design and Implementation of the 4.4BSD Operating System
Marshall Kirk McKusick, Keith Bostic, Michael J. Karels
Addison-Wesley Pub Co; ISBN: 0201549794

Design of the Unix Operating System
Marice J. Bach, Maurice Bach
Prentice Hall; ISBN: 0132017997

UNIX Internals: The New Frontiers
Uresh Vahalia
Prentice Hall; ISBN: 013021034X

And if I can find them, ill go for the following stuff in "The Bell System
Technical Journal".

M.D. McIlroy, E.N.Pinson, and B.A. Tague "Unix Time-Sharing System Forward"
The Bell System Technical Journal, July -Aug 1978
vol 57, number 6 part 2

Thompson, "Unix Implementation"
The Bell System Technical Journal, July-August 1978.
vol 57, No. 6



Thanks.



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: xinetd (telnet) problems with RHL7
Date: Sun, 18 Mar 2001 10:21:10 +0100

In comp.os.linux.misc Clint Laskowski <[EMAIL PROTECTED]> wrote:
> Peter, go screw yourself. Does it make you feel good to hang out in
> linux.redhat.install and flame newbies who ask a legitimate question? I said

Eh? What flame?

> clearly in my message that I searched for an answer and I apologized if it
> was a FAQ. The spirit of Usenet is to help those who politely ask for help.
> This isn't your newsgroup. Where do you get off telling me not to post

What are you talking about?

> again? If you don't want newbie questions, go hang out in alt.unix.wizards.
> Geez.

As far as I recall, you said you were an experienced unix user and
proved it by talking knowledgably about inetd and telnetd and so on.
Are you now saying that you were lying? Personally, I don't like that,
if that is the case. Pick a truth and stick to it ;-).

> That being said... where can I find telnetd and sshd rpm's compatible with
> RHL7. And, is there a HOWTO to help me.

Telnetd and sshd and so on all come with RH.  Why wouldn't they?  Are
you asking what is the name of the package they are in?  Read the
manifest!  I would guess "telnet-server" and so on.

> "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>> In comp.os.linux.misc Clint Laskowski <[EMAIL PROTECTED]> wrote:
>> > Hi. I'm kinda new to inetd, but have been using variants of *nix for
> years.
>>
>> > I installed RH7 from the RHL7 Bible book (workstation install with
> GNOME).
>> > Works fine. But, when I try to telnet to the system from another machine
> on
>> > my network, I can't. So, I did a port scan and found smtp, sun-rpc,
> spooler
>>
>> Is there something strange about that? Do you EXPECT telnet (the clear
>> text, unencrypted,  reference utility of tcp terminal sessions) to be
>> installed and running on a default install?
>>
>> > and motorola cable modem test ports open (25, 111, 515, and 1024). Seems
>> > kinda strange. No telnet (port 23).
>>
>> Install telnetd. Think about enabling it. Don't use it (you are clearly NOT
>> an administrator). When you find root logins over telnet are disabled,
>> don't post again. Man securettys.  Install sshd.

Oh! You think I am telling you not to post again about anything ever!
No. That's your sequence: 1) find root logins over telnet are disabled,
2) don't post about it, 3) instead "man securettys" and read about why
you should 4) install sshd.


Peter

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

From: [EMAIL PROTECTED] (Andreas Dietrich)
Crossposted-To: comp.os.linux.x
Subject: Re: Eliminate "pops 'n' clicks" listening to MP3's?
Date: Sun, 18 Mar 2001 10:54:43 +0100
Reply-To: [EMAIL PROTECTED]

On Sat, 17 Mar 2001 21:06:44 GMT, Flacco
<[EMAIL PROTECTED]> wrote:
>While listening to MP3's, I get pauses/pops/clicks when I do some things
>in X - like opening a browser window, etc.

Try to tune your harddisk, with e.g. hdparm -u 1 -d 1 /dev/hda. 
(man hdparm)

And increasing the buffersize of your mp3 player.

If you are in an experimental, kernel-patching, mood, try the low-latency
patches from <http://people.redhat.com/mingo/lowlatency-patches/>. I have
not tried those, but <http://www.gardena.net/benno/linux/audio/> claims they
are good for audio applications.

Andreas


-- 
"We've heard that a million monkeys at a million keyboards could produce the
complete works of Shakespeare. Now, thanks to the Internet, we know this is not
true."  -- Robert Wilensky


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

From: "Cityline" <[EMAIL PROTECTED]>
Subject: TIFF file is corrupted!!!(HylaFax)
Date: Sun, 18 Mar 2001 13:51:19 +0300

TIFF file is corrupted!!!(HylaFax)
I already wrote about this problem. I am using Red Hat 5.2 on my server and
HylaFax as fax-program. I have modem Zyxel U1496E+. When I am working in
Internet, the modem's  work  is fine. But when I want to receive or to send
the fax, modem do not work! Transfer is beginning, run,run, and ... error!!!
The connection is dead. It I told. What I made.  I run the programm
faxaddmodem, and set the parameter PercentGoodLines equal 0, the parameter
MaxConsequtiveBadLines   equal 100. So, I can to receive any fax! But! All
faxes,  received as TIFF files, is corrupted! Kodak Image Viewer can't to
read it. There is some error in process transferring the information.

Do You can help me? What I made incorrect?

Thanks! Dima.

P.S.  How I can to switch on my modem, which  work with Hylafax, the regime
pulse/tone?




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

From: Robert Jones <[EMAIL PROTECTED]>
Subject: Re: How to check up-time ?
Date: Sun, 18 Mar 2001 05:39:58 -0600

Juergen Heinzl wrote:

> In article <CMSs6.1870$[EMAIL PROTECTED]>, Arctic Storm wrote:
> >In RedHat 7, it's easy to check the up-time.
> >The "System Info" gives a lot of "vital stats", including the up-time since
> >last re-boot.
> >How do you check the up-time in Windows 2000 ?
> [-]
> 10 .. 9 .. 8 ..

ROTFLMAO

--
Minors in Kansas City, Missouri, are not allowed to purchase cap pistols;
they may buy shotguns freely, however.

  5:36am  up 19 days, 22:07,  3 users,  load average: 0.06, 0.05, 0.01



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

From: "Frank Wood, Jr." <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help
Subject: Re: newbie- installation problems
Date: Sun, 18 Mar 2001 12:00:15 GMT

I used Partition Magic 5.0 to create a "/boot", a "/", and a "<swap>" 
logical partition.  I do not think I bothered to format them in PM5.  
Then for installation, I used the RH7 "Boot Diskette" to start the CD.  
I use Boot Magic to start all of my operating systems. I do not have 
Windows 2000, so I do not know if this will work for you.

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: How to check up-time ?
Date: Sun, 18 Mar 2001 07:16:54 -0500

Arctic Storm wrote:
> 
> In RedHat 7, it's easy to check the up-time.
> The "System Info" gives a lot of "vital stats", including the up-time since
> last re-boot.
> How do you check the up-time in Windows 2000 ?

I do not know about Windows 2000, but for Windows 95, just go to
lunch. When you get back, it will probably be down.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey     http://counter.li.org 
^^-^^ 7:15am up 15 days, 14:19, 3 users, load average: 2.14, 2.10,
2.09

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

From: Alex Fitterling <[EMAIL PROTECTED]>
Subject: Poweroff still failes
Date: Sun, 18 Mar 2001 13:44:32 +0100

Hello the power-off feature is on my system still a no go feature,

I am using Kernel 2.4.2 which of course I compiled with the apm
feature. At shutdown, at anytime I get kernel panic as the only
result, but powering off the system will fail.

I tried so much, e.g. using to call power-off in real mode, also had
some changes on my apm bios settings, but still I didn't get this
special feature to work, which I think is regarded as to be standard..
mm...

I think as an result of the power-off behavior, and of one conclusion
made upon those, I think it is due a hardware failure, or conflict. I
am using K6XV3+ Main-board (VIA chip-set), with K6III-400.

Does anyone know a solution, it would be nice, and I very
appreciate...

For example if someone shows, how to call power-off in a C code, so I
could compile my own routine and use it instead, if there's so far no
other solution.

As standard things grow in quality, I think they must support users to
have more comfortability. Also in my case, as I was thinking to have
power-off triggered by one of my scripts which acts on special behavior
of lm_sensor package. My system is connected into LAN, and might run
sometime during days and weeks... actually hasn't the quality of doing
this without hazard, but in an emergency there would be no one at all,
if this special feature works..

Thank you, Alexander

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

From: [EMAIL PROTECTED] (Lee Webb)
Subject: Re: How to check up-time ?
Date: 18 Mar 2001 13:00:50 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 18 Mar 2001 00:06:54 GMT, Juergen Heinzl wrote:
>In article <CMSs6.1870$[EMAIL PROTECTED]>, Arctic Storm wrote:
>>In RedHat 7, it's easy to check the up-time.
>>The "System Info" gives a lot of "vital stats", including the up-time since 
>>last re-boot.
>>How do you check the up-time in Windows 2000 ?
>[-]
>10 .. 9 .. 8 .. 

Nah, unless those are milliseconds, you're a bit hopeful... ;-)

Anyway, here's a link that'll hopefully show you the errors of your (MS)
ways...

http://www.microsoft.com/TechNet/winnt/Winntas/tools/uptime.asp

(Disclaimer: Found via a search on Yahoo! I don't run 2000.)
Lee.

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

From: Ian Northeast <[EMAIL PROTECTED]>
Subject: Re: Beowulf cluster w/ virtual Linuxes in VMWare ?
Date: Sun, 18 Mar 2001 13:13:57 +0000

Steve wrote:
> 
> On Thu, 15 Mar 2001 23:43:07 GMT, Arctic Storm wrote:
> >With VMWare, of course it's possible to run multiple virtual Linuxes
> >simultaneously, but is it possible to create a Beawulf cluster among the
> >virtual machines?
> >If theoretically possible, has anyone successfully ran this virtual Beowulf?
> >
> 
> There may be some mention of this in the Beowulf HOWTO, and if not then maybe
> search for a newsgroup that deals with Beowulf systems, there are also
> Beowulf mailing lists if I remember correctly, (addresses in the HOWTO).

There are also some VMWare NGs accessible using the news.vmware.com
server. Vmware.guest.misc seems relevant but I don't recall ever seeing
anyone mentioning having tried Beowulf. 

VMWare gives you disks, one ethernet card, serial ports, parallel ports,
CD, floppy, keyboard, mouse and sound card (I doubt if this is useful in
the situation). These are all standard components which bahave like, or
are mapped to, real hardware. The virtual video card is proprietary and
requires VMWare's own driver which doesn't work on all platforms, but
it'll do VGA on all. If that's enough to run Beowulf then it may work.

Regards, Ian

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

From: "emi80" <[EMAIL PROTECTED]>
Subject: HELP with gcc
Date: Sun, 18 Mar 2001 13:04:58 GMT

When I compile a program in c with gcc (I use: "gcc -Wall -g filename.c"), I
obtain the file "a.out".
The problem is that when I launch a.out I obtain the message "command not
found"
Why?

thanks



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

From: "David Quinn" <[EMAIL PROTECTED]>
Subject: Backing up files with spaces in name
Date: Sun, 18 Mar 2001 13:39:59 -0000

I am attempting to backup to tape using afio and it works ok except that if
it encouters a file with spaces in the name it cannot back it up.  e.g.

shutdown with mapped drives.exe (created by a windows on a Samba share)

creates a file as seen by Linux of

shutdown\ with\ mapped\ drives.exe

But attempting to back it up gives me the message:

afio: "/shutdown": No such file or directory.


How do I get round this?


David Quinn



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

Date: Sun, 18 Mar 2001 14:39:55 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: HELP with gcc

emi80 wrote:
> 
> When I compile a program in c with gcc (I use: "gcc -Wall -g filename.c"), I
> obtain the file "a.out".
> The problem is that when I launch a.out I obtain the message "command not
> found"
> Why?

Do you try this as root?
. is for good reasons not in roots $PATH...

Try:
./a.out

Or/and use something like this and don't run as root if not really
necessary:

gcc -Wall -g filename.c" -o filename

Good luck

Michael Heiming

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

Date: Sun, 18 Mar 2001 14:50:04 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Backing up files with spaces in name

David Quinn wrote:
> 
> I am attempting to backup to tape using afio and it works ok except that if
> it encouters a file with spaces in the name it cannot back it up.  e.g.
> 
> shutdown with mapped drives.exe (created by a windows on a Samba share)
> 
> creates a file as seen by Linux of
> 
> shutdown\ with\ mapped\ drives.exe
> 
> But attempting to back it up gives me the message:
> 
> afio: "/shutdown": No such file or directory.
> 
> How do I get round this?

There are some options in smb.conf for this, check www.samba.org.

>From my personal experience, I would strongly recommend not to
use any spaces or any other Mickey Soft "enhancements" on samba
shares,
they somehow work, but you get from one trouble to another...:-(

Tell those users you couldn't warrant the recovery (of their data!)
from backups, if they
uses spaces etc. May be this helps, most times not, but at least you
told it to them...

Good luck

Michael Heiming

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

From: "David Quinn" <[EMAIL PROTECTED]>
Subject: Re: Backing up files with spaces in name
Date: Sun, 18 Mar 2001 13:56:33 -0000

Thanks for the quick reply Michael!

I'll check out the smb.conf options but I was already thinking that maybe
doing without spaces in the filenames would be a good idea anyway.  Maybe
I'll practice my scripting and write one to replace all spaces in filenames
with an underscore.  I could run it before a backup to avoid any errors.

Thanks

David Quinn

Michael Heiming <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> There are some options in smb.conf for this, check www.samba.org.
>
> From my personal experience, I would strongly recommend not to
> use any spaces or any other Mickey Soft "enhancements" on samba
> shares,
> they somehow work, but you get from one trouble to another...:-(
>
> Tell those users you couldn't warrant the recovery (of their data!)
> from backups, if they
> uses spaces etc. May be this helps, most times not, but at least you
> told it to them...
>
> Good luck
>
> Michael Heiming



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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking
Subject: Re: Trouble getting nntp running locally
Date: Sun, 18 Mar 2001 07:44:36 -0600

In comp.os.linux.networking Peter T. Breuer <[EMAIL PROTECTED]> wrote:
> In comp.os.linux.misc [EMAIL PROTECTED] wrote:
>> I'm trying to setup leafnode and nntp so I can pull Usenet down locally
>> and read it with tin (without tin having to reach out and touch the net
>> so often).
> 
> Talk to the leafnode author (or newsgroup :-) about it.
> 
I've got it working now - I had the configuration wrong in
xinetd.d/nntp. tin is a lot faster now, although that first article
download was a bit lllooonnnggg....  :)

Thanks to everyone who answered.

-- 

 -- Len Philpot -> [EMAIL PROTECTED]     (personal) <--
 ----------------> [EMAIL PROTECTED]   (work) <--
 ------ ><> -----> http://philpot.org/      (web) <--

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

From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: partition blues
Date: 18 Mar 2001 14:00:25 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)

William Staniewicz (Use-Author-Address-Header@[127.1]) writes:
> I just installed Debian Linux on my pc which is sharing space
> with Windows95, FreeBSD, and Plan9.
> I would like to mount my FreeBSD partition/slice from
> linux, but it doesn't seem to want to work entirely.
> I can mount root but nothing beyond that. I use the
> following to mount it:
>       mount -t ufs -o ufstype=44bsd /dev/hda7 /mnt

Seems to me [never used FreeBSD] that it should be /dev/hda3. 
Your extended partition hda4, 4th in the partition table, actually occurs
second on the disk (cyl 70). This is non-standard but might be no problem. 
 
> I presume something is corrupted. What is wrong and can
> it be repaired so that I can grab some files off it?
> Below is some info... I don't know how to interpret it.
> 
> Partition check:
>  hda: hda1 hda2 hda3! hda4 < hda5 hda6 > < hda7 hda8 hda9 hda10 >
> 
> Disk /dev/hda: 128 heads, 63 sectors, 782 cylinders
> Units = cylinders of 8064 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1        69    278176+   6  FAT16
> /dev/hda2           124       250    512064   39  Unknown
> /dev/hda3           251       782   2145024   a5  BSD/386
> /dev/hda4            70       123    217728    5  Extended
> /dev/hda5            70        85     64480+  82  Linux swap
> /dev/hda6            86       123    153184+  83  Linux
> 
> BSD disklabel command (m for help): p
> 
> 8 partitions:
> #       start       end      size     fstype   [fsize bsize   cpg]
>   a:      251       263*       12*    4.2BSD     1024  8192    16 
>   b:      263*      281*       17*      swap                    
>   c:      251       782       532     unused        0     0       
>   e:      281*      286*        5*    4.2BSD     1024  8192    16 
>   f:      286*      782       496*    4.2BSD     1024  8192    16 

I find c: strange BTW, or does it just duplicate hda3's intent.

--
Merci.........................Yvan     Pour le plein air: Club Vertige
 [EMAIL PROTECTED]     http://www.ncf.ca/vertige

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


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