Linux-Misc Digest #514, Volume #27                Mon, 2 Apr 01 16:13:02 EDT

Contents:
  Re: Tar with multi-volumes (Olivier Colliot)
  Deleting core dumps (ImaLuzer)
  Re: ftp Login incorrect (Jeremiah DeWitt Weiner)
  Pilot Sync Problem (Charles Dombek)
  Re: Windows equiv (Jan Schaumann)
  Re: Deleting core dumps (Lew Pitcher)
  mkisofs -graft-points / multisession syntax (Cindy Huyser)
  CDR writing with SCSI emulation stops ppp transfers ("Eric Potter")
  Re: Deleting core dumps (Leonard Evens)
  Re: serious boot problem ("Andrew Smith")
  Re: WTD CD Set of mini/micro/smallish/<insert fave synonym) Linux distros ? 
("/dev/null")
  SHELL script question ("Christopher W. Aiken")
  Re: Console tool to resize jpegs? (Vilmos Soti)
  Re: how i want to make file runable under dos or windows?? (John Thompson)
  Re: PDF Writer (John Thompson)
  Re: Windows equiv (John Thompson)
  Re: Console tool to resize jpegs? (Doug Robbins)
  Re: system.map (Michael Heiming)
  RH6.2 Raid 1 setup ("Gerry")
  Re: Kernel parameters (Yvan Loranger)
  Re: SHELL script question (Michael Heiming)
  RPM packages file (David)
  Re: Kernel parameters ("Steve Wolfe")
  External modem problem.(HELP) (zak)

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

From: Olivier Colliot <[EMAIL PROTECTED]>
Subject: Re: Tar with multi-volumes
Date: Mon, 02 Apr 2001 17:10:00 +0200

Thank you very much for your precious help

Eric wrote:

> > > I'm not sure if this can be done.
> > > but you can cut an existing tar file in 650M pieces. (like the -L option
> > > does)
> >
> > Should I use 'split' to cut the file ? (which means i have to merge them
> > before untar, I guess)
>
> That's the kind of tool I had in mind, yes.
> And indeed, before untarring, they have to be merged (with cat eg.) first.
>
> Eric


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

From: ImaLuzer <[EMAIL PROTECTED]>
Subject: Deleting core dumps
Date: Mon, 02 Apr 2001 11:13:51 -0400

I've read that you can safely delete "core" files (aka core dumps) if you're
not going to do any debugging. Is the file "kcore" one of these "core"
files? (ie kcore=core)


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

From: Jeremiah DeWitt Weiner <[EMAIL PROTECTED]>
Subject: Re: ftp Login incorrect
Date: 2 Apr 2001 15:17:50 GMT

Utama Abdulwahid <[EMAIL PROTECTED]> wrote:
> I'm using a RedHat 7 server. Recently I can't ftp in from anywhere with 
> any username because of "Login incorrect". Can anyone point me to things 
> I should check for or if I need to reinstall anything?

        Did you change your shell?  This is one of the more common reasons
for suddenly not being able to ftp in.

It depends on what ftpd you're using, of course, but 'man ftpd' on my system 
lists 3 relevant conditions that must be satisfied for ftp access:
-you must be in /etc/passwd and you must not have a null password
-you must _not_ be in /etc/ftpusers
-your shell must be OK according to getusershell (which effectively means
it has to be in /etc/shells)

JDW



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

From: Charles Dombek <[EMAIL PROTECTED]>
Subject: Pilot Sync Problem
Date: Mon, 02 Apr 2001 10:22:32 -0500

I am running the 2.2.16 kernel with Gnome and I can't seem to get my 
PalmPilot to sync all the components with the Gnome desktop (e.g. 
Calendar, Address Book,...). The sync log shows that the first object 
synchronizes and then the conduit seems to break. Anyone heard of this? 
BTW, I am running this on an IBM Thinkpad 390X.
Many thanks
Chuck Dombek


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

From: [EMAIL PROTECTED] (Jan Schaumann)
Subject: Re: Windows equiv
Date: Mon, 02 Apr 2001 15:28:31 GMT

* Hugh Potter wrote:
> What Linux programs could I use to do what Sockcap,Httport, would do on a Win
> system.

If you told us what these programs do exactly, I'm sure we could tell
you which tools to use.

-Jan

-- 
Jan Schaumann <http://www.netmeister.org>

"Your either part of the problem, part of the solution, or part of the
landscape."     -Ronin


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

From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: Deleting core dumps
Reply-To: [EMAIL PROTECTED]
Date: Mon, 02 Apr 2001 15:44:04 GMT

On Mon, 02 Apr 2001 11:13:51 -0400, ImaLuzer <[EMAIL PROTECTED]>
wrote:

>I've read that you can safely delete "core" files (aka core dumps) if you're
>not going to do any debugging. Is the file "kcore" one of these "core"
>files? (ie kcore=core)

No. /proc/kcore is a phantom file, dynamically mapped to the kernel
memory. In other words, you shouldn't try to delete it, even if the
system would let you.




Lew Pitcher
Information Technology Consultant
Toronto Dominion Bank Financial Group

([EMAIL PROTECTED])


(Opinions expressed are my own, not my employer's.)

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

From: Cindy Huyser <[EMAIL PROTECTED]>
Crossposted-To: alt.cd-rom
Subject: mkisofs -graft-points / multisession syntax
Date: Mon, 02 Apr 2001 10:06:01 -0500

Hello all,

I am a relative newbie at using mkisofs/cdrecord to burn CDs, and I am
having some trouble getting mkisofs to do what I want it to do.  I am
setting up a script to automate multisession writes to CDR, based on
information found in a particular directory.  What I would like to do is
to write each session to a separate directory under the root of the CD.

My preference would be to create the directory names on the fly,
grafting them into the existing iso and then filling them with the
information from the directory I want to back up.  I have not been
successful in doing this.  I have also tried creating the iso with a
number of subdirectories.  When the directory /backup contains several
[empty] directories, the following has been successful in writing those
directories:

mkisofs -R -o [path]/isoimage.raw /backup
cdrecord -v speed=2 dev=0,1,0 -eject -multi [path]/isoimage.raw

Next, I tried to graft the backup files into one of the subdirectories
of /backup:

mkisofs -v-o [path]/$isoname -r -C $session -M 0,1,0 -graft-points
backup/$backname/*=/tmp/backup
cdrecord -v speed=2 dev=0,1,0 -eject -multi [path]/isoname

where $isoname is a unique name for the iso image, $session is the
output of cdrecord -msinfo -dev=0,1,0 and $backname is the name of the
subdirectory of the original iso image.  The above cdrecord command
appears (from the report from cdrecord) to write the data in /tmp/backup
to the CD, but that data is not visible either in the $backname
subdirectory or in the root of the CD.  I have also tried

mkisofs -v -o [path]/$isoname -r -C $session -M 0,1,0 -graft-points
backup/$backame=/tmp/backup

mkisofs -v -o [path]/$isoname -r -C $session -M 0,1,0 -graft-points
backup/$backname/*=/tmp/backup/*

with the same result, and

mkisofs -v -o [path]$isoname -r -C $session -M 0,1,0 /tmp/backup

fails to dump the contents of /tmp/backup into the root directory of the
CD.  This failure occurs both when the original iso consists of an empty
directory, and /tmp/backup contains a directory holding a data file, and
when the original iso has multiple subdirectories, and when /tmp/backup
has in it only a single file.

Now, suppose, I try making the initial iso that of /tmp/backup.  Then
the most recent mkisofs command (the one without the -graft-points),
with cdrecord, writes the contents of /tmp/backup to the disk.  If I
want to take advantage of the multisession feature, and make another iso
of the (changed) /tmp/backup and write it to the CDR, I can still only
see the initial contents of /tmp/backup.

I have read README.multi and the man pages for mkisofs and cdrecord, yet
I clearly do not understand the syntax for mksisofs (particularly with
respect to -graft-points and multisession writing). Any light shed would
be greatly appreciated! In particular, for a multisession CD that will
be reading from a particular directory that will be changing every day,

1) what kind of iso should I initially make?
2) how can I get mkisofs to write the changed contents of the directory
to the CD (multisession)?
3) what is the syntax of -graft-points with regard to creation of
directories?  what is its syntax with regard to grafting directories
onto the the initial iso?

BTW, I am using mkisofs 1.13 and cdrecord 1.9.

tia,
Cindy Huyser



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

From: "Eric Potter" <[EMAIL PROTECTED]>
Subject: CDR writing with SCSI emulation stops ppp transfers
Crossposted-To: alt.os.linux.mandrake
Date: Mon, 02 Apr 2001 15:58:38 GMT

This is a weird one, but whenever I write a disk with my IDE CDRW, any
downloads via my dial-up modem stop immediately.  If I stop writing the
CDR, then the download resumes.  I have tried this on two different
computers, and two different distributions, Mandrake 7.2 and Mandrake
8.0b2.  I have tried my own kernel builds also.  CD writer is set as
secondary master.  This only seems to occur when using the ide-scsi 
emulation for atapi CDR's.  If I don't load ide-scsi, I can run
"cat /dev/hdc > /dev/null" or another such heavy I/O operation without
this problem.




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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Deleting core dumps
Date: Mon, 02 Apr 2001 11:49:54 -0500

ImaLuzer wrote:
> 
> I've read that you can safely delete "core" files (aka core dumps) if you're
> not going to do any debugging. Is the file "kcore" one of these "core"
> files? (ie kcore=core)

kcore is a pseudofile representing the system memory.  Only files
with the explicit name 'core' may be core files.  If you have any
doubts use
file filename
If the file with name 'filename' is a core dump, the command will
tell you that.

There are a few files or directories on the system with the name 'core'
which are not core dumps.  Do 
locate core
to find them.  But don't remove any files which are parts of the
system without being sure they are core dumps.

-- 

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

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

From: "Andrew Smith" <[EMAIL PROTECTED]>
Subject: Re: serious boot problem
Date: Sun, 1 Apr 2001 20:04:16 +0100
Reply-To: "Andrew Smith" <[EMAIL PROTECTED]>

Hi

I can think of 3 reasons:

1. You arent doing something right, although it sounds like your pretty IT
literate, so that probally isnt the case.
2. The hdd may have gone bad.
3. You may have 'virus protection' turned on in the BIOS. If so, turn it
off, as it stops any programs from modifying the boot sector. If a setup
program cant write to the boot sector, the os will get installed, but the
boot loader (eg, lilo) wont. Also, just double check to make sure that you
hdd is in the boot sequence - sometimes it's the silly things that get
ovelooked that are the problem! :o)

I hope this helps,



Andrew :o)



"sven" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello
> I have a problem with the bootprocess in my pc.
> Whenever i try to boot from the hdd, i get an errormess. that there is no
o.s.
> installed.
> I saw it first when trying to boot win NT4.0 , i tried with an rescue
floppy,
> no succes, then i installed win2k on the first partition ( c:) an win2k
gave
> no errormess. when formatting the c: drive. Untill i had to boot from the
hdd
> to complete the install process of win2k, same error that there was no
o.s.
> installed. Looks to me that there must be something wrong with the MBR, I
> tried to setup the cmos with fail-safe defaults, no succes. I can only
boot
> from an fdd into linux, or from a cd-rom ( linux, NT, 2k ..) .. just the
hdd
> won't work.
> My linix partitions are far beyond the 1024's cil. ( they are above
> the 20'th gb..)so i can't even install lilo in the mbr..( suse 6.3..
kernel
> 2.2.13 ) Can anybody help me out ? i need NT or 2k badly because some
people
> here are affraid of anything wich doesn't look like a window, from ms..
and i
> don't want to boot from a floppy the rest of my life :-)
>
> greetings
> sven
>
> ( remove "REMOVETHIS." from adress please..)
>



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

From: "/dev/null" <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Re: WTD CD Set of mini/micro/smallish/<insert fave synonym) Linux distros ?
Date: Mon, 2 Apr 2001 18:23:15 +0100

"Darren Wyn Rees" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Is there anybody selling CDs with a collection of some of the smaller
> Linux distros ?  eg. Peanut Linux.  Preferably in the UK.
>
> It'll be easier for me to use a carrier pigeon than download with this
> modem.
>
>
> --
> "S+M is outta the question, have you got a better suggestion
> I'm fed up of waving my right hand" - rat salad www.ratsalad.co.uk

Zipslack was only 100Mb and I got thet down with a DialUP.. sure it was
painfull.. but I did it..
I dont muck like it.. but that is another storey.

--


Andy

Host/Webmaster to http://www.madh0use.net
ICQ - 68402991

***Remove NOSPAM to reply from news groups***



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

From: "Christopher W. Aiken" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: SHELL script question
Date: Mon, 2 Apr 2001 13:41:46 -0400


I'm debugging/re-writing a very large shell script ( /bin/sh ).
Does anyone know if "sh" has a "goto" statement?  It would be
quite helpful to "goto" a section of script ( bypassing code
that was already tested ) and pick up execution from there.

-- 
Christopher W. Aiken, Scenery Hill, Pa, USA
chris at cwaiken dot com,   www.cwaiken.com
:
A bus station is where a bus stops.
A train station is where a train stops.
On my desk, I have a work station........



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

Subject: Re: Console tool to resize jpegs?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Mon, 02 Apr 2001 18:20:07 GMT

Doug Robbins <[EMAIL PROTECTED]> writes:

> The libjpeg package with RedHat has a number of tools that together do 
> the job. For the record, here's what I came up with for the script: 
> 
> /usr/bin/djpeg -scale 1/4 picture.jpg > temp
> /usr/bin/cjpeg temp > thumbnail.jpg
> rm -f temp
> 
> djpeg decompresses and scales the jpeg to an image file.
> cjpeg compresses an image file to jpeg format.
> 
> Now eventually I might figure out how to do that in a single line, but 
> hey, it works for now. 

$ djpeg -scale 1/4 picture.jpg | cjpeg > thumbnail.jpg

However, as others said, check out the convert program from ImageMagick.

Vilmos

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

From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: how i want to make file runable under dos or windows??
Date: Mon, 02 Apr 2001 08:24:22 -0500

max wrote:

> is there any methods to make the program file that compiled under linux
> runable
> under dos or windows??
> if yes, how i want to do that??

You could try the gcc cross-compilers:

 http://download.sourceforge.net/crossgcc/gcc-win-1.1.i386.tar.gz 
 http://download.sourceforge.net/crossgcc/gcc-dos-1.0.i386.tar.gz 


-- 


-John ([EMAIL PROTECTED])

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

From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: PDF Writer
Date: Mon, 02 Apr 2001 08:47:54 -0500

Dave Brown wrote:

> In article <99p6es$jl$[EMAIL PROTECTED]>, Bill Unruh wrote:
> >In <[EMAIL PROTECTED]> Jon Rook <[EMAIL PROTECTED]> writes:
> >
> >]Can anyone direct me to an editor that can output  in PDF format.  If
> >]that's not available, a utility that can translate a text or word
> >]processing file into PDF would also work.   I've been looking all over
> >]with no luck thus far.
> >
> >Use any word processor. Have it output postscript ps. The run
> >ps2pdf on that file.
> >
> 
> I've had some luck with the using html -> netscape -> ps -> ps2pdf, but
> when I tried it with WP7 for Linux, the resulting ps file was rejected by
> ps2pdf.  ...not all ps files are created equal?

"LyX" has an "Export...PDF" option for documents.

-- 


-John ([EMAIL PROTECTED])

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

From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: Windows equiv
Date: Mon, 02 Apr 2001 08:50:32 -0500

Hugh Potter wrote:
 
> What Linux programs could I use to do what Sockcap,Httport, would do on a Win
> system.

It might help if you explained what these programs do as many
people here aren't completely familiar with Windows software.

-- 


-John ([EMAIL PROTECTED])

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

From: Doug Robbins <[EMAIL PROTECTED]>
Subject: Re: Console tool to resize jpegs?
Date: Mon, 02 Apr 2001 18:52:28 GMT

Vilmos Soti wrote:
> 
> Doug Robbins <[EMAIL PROTECTED]> writes:
> 
> > The libjpeg package with RedHat has a number of tools that together 
> > do the job. For the record, here's what I came up with for the 
> > script: 
> > 
> > /usr/bin/djpeg -scale 1/4 picture.jpg > temp
> > /usr/bin/cjpeg temp > thumbnail.jpg
> > rm -f temp
> > 
> > djpeg decompresses and scales the jpeg to an image file.
> > cjpeg compresses an image file to jpeg format.
> > 
> > Now eventually I might figure out how to do that in a single line, 
> > but hey, it works for now. 
> 
> $ djpeg -scale 1/4 picture.jpg | cjpeg > thumbnail.jpg
> 
> However, as others said, check out the convert program from 
ImageMagick.

Thanks for that. And will do.



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

Date: Mon, 02 Apr 2001 21:35:38 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: system.map

green wrote:
> 
> Yes but I was pointing out that users who are new to linux or to a problem
> can have a really hard time figuring out what to start looking at.
> I know from personal experience.

True, but I never claimed the opposite...

I don't want to offend you, but if you could read in your own header
something
different (news reader & OS) as:

Microsoft Outlook Express

You sure will become much more familiar with Linux much faster.

 
Michael Heiming

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

From: "Gerry" <[EMAIL PROTECTED]>
Subject: RH6.2 Raid 1 setup
Date: 02 Apr 2001 19:42:43 GMT

Does anyone know how to setup disk mirroring on RH 6.1
I need a step by step guide. I have 2 identical drives on 2 controllers
right now.



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

From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: Kernel parameters
Date: 2 Apr 2001 19:43:49 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)

"Bastiaan Schaap" ([EMAIL PROTECTED]) writes:
> I'm currently installing Oracle on a linux box with Red Hat 6.2 (kernel
> 2.2.14). My installation guide says I need to configure a set of kernel
> parameters. How/where can I set these parameters, and does it require kernel
> recompilation (not that that's a problem though....)?? I actually found one
> parameter: SHMMAX, which resides under /proc/sys/kernel as a 'file' called
> shmmax. I cannot change it with vi, but I found out that: echo 0x8000000 >
> shmmax works in my case. However, when I reboot this setting is lost. What
> do I need to do in order to get all parameters into the system correctly,
> and permanent?

There's a Bootprompt.HOWTO
There's append="list of kernel params" within etc/lilo.conf
 

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

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

Date: Mon, 02 Apr 2001 21:49:06 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: SHELL script question

"Christopher W. Aiken" wrote:
> 
> I'm debugging/re-writing a very large shell script ( /bin/sh ).
> Does anyone know if "sh" has a "goto" statement?  It would be
> quite helpful to "goto" a section of script ( bypassing code
> that was already tested ) and pick up execution from there.

Why should you need goto? 

There are other solutions available, post some real data, may be
someone knows what to do and is willing to share his knowledge
with you.

However, there is a ng comp.unix.shell, which may be better suited
for your needs.

MIchael Heiming

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

From: David <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,alt.os.linux
Subject: RPM packages file
Date: Mon, 02 Apr 2001 20:01:34 GMT


Ok I was messing around and corrupted the packages db in RPM-4.02 I am
able to install or upgrade packages but I have to use the --nodeps
switch because it doesn't find any of the installed packaes or
dependencies except files which I have installed since causing this
problem.

I have tried:  rpm --rebuilddb  to correct the problen but that doesn't
work.

The system still works without any problems other than not seeing the
packages that are installed.

Is there anyway to get the system to see all the packages that are
installed again without a fresh install?

Thanks

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.144% of seti users. +/- 0.01%

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

From: "Steve Wolfe" <[EMAIL PROTECTED]>
Subject: Re: Kernel parameters
Date: Mon, 2 Apr 2001 13:57:14 -0600

> Thanx! I've got that working!  However, I have other parameters/semaphores
> that I need to set, which are not shown in /proc/sys/kernel... Can I do an
> echo into them anyway? Or is there another place where I have to set
these?

  If you tell us what they are, we'll be able to help you a lot more. : )

steve




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

Date: Fri, 30 Mar 2001 16:42:23 -0500
From: zak <[EMAIL PROTECTED]>
Subject: External modem problem.(HELP)

Hi,
i had many difficulties on configuring my internal modem so i finally
bought an external modem(CNET Ambiant , 56k/V90, serial). I tried it on
windows and it works fine on com4 irq3 (with driver on floppy).
I understood before that linux supports all external modems, but using
the kppp i couldnt make it work, when i query the modem it gives a
message saying 'couldnt get a response from the modem. I could see the
RS and TR light go on when i press the query modem but no result...i
couldnt find much help in the how to in linux.org and many other sites
that only talk about internal modems and stating that external modems
have no problems...im using mandrake 7.2, and kppp 2.0...please help!!!
or refer me to any good site on internet...Thank.


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


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