[gentoo-user] logrotate

2008-09-26 Thread Kaushal Shriyan
Hi,

I am using logrotate utility on gentoo to compress catalina.out file. when i
run it using debug mode, I get

#/usr/sbin/logrotate -dv /usr/local/bin/scripts/logrotate-tomcat5-catalina.conf

reading config file /usr/local/bin/scripts/logrotate-tomcat5-catalina.conf
reading config info for /var/log/tomcat5/catalina.out
compress_prog is now /bin/gzip

Handling 1 logs

rotating pattern: /var/log/tomcat5/catalina.out  after 1 days (7 rotations)

empty log files are not rotated, old logs are removed
considering log /var/log/tomcat5/catalina.out
  log needs rotating
rotating log /var/log/tomcat5/catalina.out, log->rotateCount is 7
renaming /var/log/tomcat5/catalina.out.7.gz to
/var/log/tomcat5/catalina.out.8.gz (rotatecount 7, logstart 1, i 7),

renaming /var/log/tomcat5/catalina.out.6.gz to
/var/log/tomcat5/catalina.out.7.gz (rotatecount 7, logstart 1, i 6),
renaming /var/log/tomcat5/catalina.out.5.gz to
/var/log/tomcat5/catalina.out.6.gz (rotatecount 7, logstart 1, i 5),

renaming /var/log/tomcat5/catalina.out.4.gz to
/var/log/tomcat5/catalina.out.5.gz (rotatecount 7, logstart 1, i 4),
renaming /var/log/tomcat5/catalina.out.3.gz to
/var/log/tomcat5/catalina.out.4.gz (rotatecount 7, logstart 1, i 3),

renaming /var/log/tomcat5/catalina.out.2.gz to
/var/log/tomcat5/catalina.out.3.gz (rotatecount 7, logstart 1, i 2),
renaming /var/log/tomcat5/catalina.out.1.gz to
/var/log/tomcat5/catalina.out.2.gz (rotatecount 7, logstart 1, i 1),

renaming /var/log/tomcat5/catalina.out.0.gz to
/var/log/tomcat5/catalina.out.1.gz (rotatecount 7, logstart 1, i 0),
copying /var/log/tomcat5/catalina.out to /var/log/tomcat5/catalina.out.1
truncating /var/log/tomcat5/catalina.out

error: unable to open /var/log/tomcat5/catalina.out.1 for compression
#
#cat /usr/local/bin/scripts/logrotate-tomcat5-catalina.conf

/var/log/tomcat5/catalina.out {
daily

missingok
copytruncate
rotate 7
compress
compresscmd /bin/gzip
notifempty
}
#df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda2 112G   27G   85G  24% /

udev  7.9G  156K  7.9G   1% /dev
shm   7.9G 0  7.9G   0% /dev/shm
/dev/sda1 479M   44M  411M  10% /boot
# ls -l /var/log/tomcat5/catalina.out*
-rw-r--r-- 1 tomcat tomcat 325519875 Sep 26 00:24 /var/log/tomcat5/catalina.out
#

Any ideas as what is going wrong

Thanks and Regards

Kaushal


[gentoo-user] unofficial ebuilds - how to find

2008-09-26 Thread Helmut Jarausch
Hi,

is there some repository or similar thing to find unofficial ebuilds.
Currently I'm looking for an ebuild for gcc svn version or a recent
gcc-4.4.0 snapshot.

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] unofficial ebuilds - how to find

2008-09-26 Thread Daniel Pielmeier
2008/9/26 Helmut Jarausch <[EMAIL PROTECTED]>:
> is there some repository or similar thing to find unofficial ebuilds.
> Currently I'm looking for an ebuild for gcc svn version or a recent
> gcc-4.4.0 snapshot.

google "gcc svn ebuild" -> http://gentoo-overlays.zugaina.org/ ->
http://overlays.gentoo.org/dev/dirtyepic :-)



Re: [gentoo-user] unofficial ebuilds - how to find

2008-09-26 Thread Justin

Helmut Jarausch schrieb:

Hi,

is there some repository or similar thing to find unofficial ebuilds.
Currently I'm looking for an ebuild for gcc svn version or a recent
gcc-4.4.0 snapshot.

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

  

Or simple:

update-eix-remote update && eix -e gcc



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] unofficial ebuilds - how to find

2008-09-26 Thread David Sveningsson
Daniel Pielmeier skrev:
> 2008/9/26 Helmut Jarausch <[EMAIL PROTECTED]>:
>> is there some repository or similar thing to find unofficial ebuilds.
>> Currently I'm looking for an ebuild for gcc svn version or a recent
>> gcc-4.4.0 snapshot.
> 
> google "gcc svn ebuild" -> http://gentoo-overlays.zugaina.org/ ->
> http://overlays.gentoo.org/dev/dirtyepic :-)
> 
> 

Also take a look at layman which has an overlay called toolchain which
includes gcc-4.4 ebuilds but also many other related ebuilds you might
be interested in.

-- 


//*David Sveningsson [eXt]*

Freelance coder | Game Development Student
http://sidvind.com

Thou shalt make thy program's purpose and structure clear to thy fellow
man by using the One True Brace Style, even if thou likest it not, for
thy creativity is better used in solving problems than in creating
beautiful new impediments to understanding.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] unofficial ebuilds - how to find

2008-09-26 Thread Neil Bothwick
On Fri, 26 Sep 2008 10:36:11 +0200 (CEST), Helmut Jarausch wrote:

> is there some repository or similar thing to find unofficial ebuilds.

There are various overlays, install layman and run layman -L to see them
all. You can also find ebuilds on Bugzilla.


-- 
Neil Bothwick

"Have you lived in this village all your life?"
"No, not yet."


signature.asc
Description: PGP signature


Re: [gentoo-user] Tool for monitoring what's using the hard drive

2008-09-26 Thread Johann Schmitz

Try sys-process/iotop:
   Iotop has a top-like UI used to show which process is using the I/O.
--
Johann Schmitz
http://www.j-schmitz.net




Re: [gentoo-user] Tool for monitoring what's using the hard drive

2008-09-26 Thread zhen

Michael Sullivan пишет:

Is there a tool similar to `top` that will tell me what's using my hard
drive?  My hard drive clicks a lot when I don't think it should, and I'd
really like to know what program is using it.  Sometimes it's so bad
that I have to manually power down the machine and restart it...


  
At first look at your swap consumption with help of utility 'free'. May 
be you have not enough memory...


best regards,
Zhen



Re: [gentoo-user] Tool for monitoring what's using the hard drive

2008-09-26 Thread Justin

Michael Sullivan schrieb:

Is there a tool similar to `top` that will tell me what's using my hard
drive?  My hard drive clicks a lot when I don't think it should, and I'd
really like to know what program is using it.  Sometimes it's so bad
that I have to manually power down the machine and restart it...


  

sys-process/iotop

or

sys-process/latencytop, but I would suggestion the first, because it its 
more your needs.




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Tool for monitoring what's using the hard drive

2008-09-26 Thread Michael Sullivan
Is there a tool similar to `top` that will tell me what's using my hard
drive?  My hard drive clicks a lot when I don't think it should, and I'd
really like to know what program is using it.  Sometimes it's so bad
that I have to manually power down the machine and restart it...




[gentoo-user] [OT] suggest not-net-hungry Linux

2008-09-26 Thread Andrew Gaydenko
No, no, no!... I was, is and am going to be on Gentoo. Just want to install 
Linux to my friend's PC. I can download installation CD iso (or two), but 
the main problem is, that PC during next few months will have dialup 
connection (33600) only. As a result, I need to choose Linux with minimal 
net traffic in mind (just security updates will be sufficient). There are 
no any special demands (OOo, images and PDF viewer, Firefox, Thunderbird 
and Krusader (or other two panel file manager) will be a sufficient apps 
set for beginning, + booting to level 5).

Suggestions?

P.S. You see, there is a little sense to address this question to, say, suse 
or ubuntu or other candidate's community :-) - so, excuse please for OT.


Andrew



Re: [gentoo-user] hduitil for linux

2008-09-26 Thread Andrey Vul
On Fri, Sep 26, 2008 at 2:34 AM, Sebastian Günther
<[EMAIL PROTECTED]> wrote:
> * Andrey Vul ([EMAIL PROTECTED]) [26.09.08 04:45]:
>> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
>> <[EMAIL PROTECTED]> wrote:
>> > "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>> >
>> >> Also, AFAIK UDF doesn't support embedded control characters in files
>> >> (i.e. Icon\r).
>> >
>> > This claim is of course wrong.
>> I beg to differ.
>> Output of ls -Alh in the Installer.app dir is supposed to show
>> "Icon?". UDF image shows "Icon_" instead.
>   ^
> Are completely sure that this is a question mark?
ls converts control characters into question  marks unless -b is specified.
>
-- 
Andrey Vul



Re: [gentoo-user] Absolutely no sound whatsoever after latest emerge update

2008-09-26 Thread Willie Wong
On Fri, Sep 26, 2008 at 02:14:48AM -0400, Penguin Lover Walter Dnes squawked:
> [AO_ALSA] alsa-lib: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
> [AO_ALSA] Playback open error: Device or resource busy
> DVB card number must be between 1 and 4
> AO: [null] 22050Hz 2ch s16le (2 bytes per sample)

This points to an issue with your alsa configuration/installation.

>   mpg123 doesn't work
> 
> [d530][waltdnes][~] mpg123 
> /home/misc/music/pop_standards/Tennessee_Waltz_-_Patti_Page.mp3
> ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
> [alsa.c:146] error: cannot open device default
> [audio.c:517] error: failed to open audio device
> [mpg123.c:709] error: Failed to initialize output, goodbye.

Same error as above, a problem with alsa. 

>   neither does mpg321
> 
> [d530][waltdnes][~] mpg321 
> /home/misc/music/pop_standards/Tennessee_Waltz_-_Patti_Page.mp3
> No default libao driver available.

Not quite sure what the error is, perhaps you need to run mpg321
verbosely. 
>   my make.conf contains the following lines of interest
> 
> USE="-* X a52 aac bzip2 dga doc dri exif ffmpeg flac gif jpeg mmx mng mp3 
> mpeg nptl nptlonly nsplugin offensive ogg opengl png posix sse sse2 theora 
> threads tiff truetype vim-syntax vorbis win32codecs wmf xcomposite xpm xv 
> xvid zlib"
> ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
> hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate 
> route share shm softvol"

So it seems you have all the plugins for ALSA enabled. 

> 
>   and uname says...
> 
> [d530][waltdnes][~] uname -a
> Linux d530 2.6.25-gentoo-r7 #1 SMP Wed Aug 13 02:42:40 EDT 2008 i686
> Genuine Intel(R) CPU 2140 @ 1.60GHz GenuineIntel GNU/Linux
> 

Just shooting randomly in the dark here:
  * Did you update alsa recently? Do you have old alsa pcm
configurations files from before? Maybe those files are screwing
things up.
  * Kernel module for your sound card?

W
-- 
(aikamuotojen k?ytt? aikamatkustuksessa)
"You can arrive (mayan arivan on-when) for any sitting you 
like without prior (late fore-when) reservation because you 
can book retrospectively, as it were when you return to 
your own time. (you can have on-book haventa forewhen 
presooning returningwenta retrohome.) "
Sortir en Pantoufles: up 658 days, 12:57



Re: [gentoo-user] [OT] suggest not-net-hungry Linux

2008-09-26 Thread Erik Hahn
I think Suse would be suitable. AFAIK they have a updates-only policy
(you might even be able to choose only to use security updates but I'm
not sure - I used it only a short time) and use delta packages.

-Erik

-- 
hackerkey://v4sw5hw2ln3pr5ck0ma2u7LwXm4l7Gi2e2t4b7Ken4/7a16s0r1p-5.62/-6.56g5OR



Re: [gentoo-user] [OT] suggest not-net-hungry Linux

2008-09-26 Thread Philip Webb
080926 Andrew Gaydenko wrote:
> I want to install Linux to my friend's PC.
> I can download installation CD iso (or two), but the main problem is
> that PC during next few months will have dialup connection (33600) only.

Mandriva is what I used before Gentoo (2000-3)
& it seems to remain the best all-purpose binary distro.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] [OT] suggest not-net-hungry Linux

2008-09-26 Thread Anthony Metcalf
Andrew Gaydenko wrote:
> No, no, no!... I was, is and am going to be on Gentoo. Just want to install 
> Linux to my friend's PC. I can download installation CD iso (or two), but 
> the main problem is, that PC during next few months will have dialup 
> connection (33600) only. As a result, I need to choose Linux with minimal 
> net traffic in mind (just security updates will be sufficient). There are 
> no any special demands (OOo, images and PDF viewer, Firefox, Thunderbird 
> and Krusader (or other two panel file manager) will be a sufficient apps 
> set for beginning, + booting to level 5).
>
> Suggestions?
>
> P.S. You see, there is a little sense to address this question to, say, suse 
> or ubuntu or other candidate's community :-) - so, excuse please for OT.
>
>
> Andrew
>
>   
Gentoo is only net-hungry on the install and on updates.If you can
do the install before he goes net-free, then your fine, glsa-check
should cover you for the updates

I would assume that in most cases source tarballs will be smaller than
binaries to download too :)

-- 
Please consider encrypting private mails - PGP Key ID 0x91F57667
http://pgp.mit.edu:11371/pks/lookup?search=0x91F57667&op=index




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hduitil for linux

2008-09-26 Thread Joerg Schilling
"Andrey Vul" <[EMAIL PROTECTED]> wrote:

> On Fri, Sep 26, 2008 at 2:34 AM, Sebastian Günther
> <[EMAIL PROTECTED]> wrote:
> > * Andrey Vul ([EMAIL PROTECTED]) [26.09.08 04:45]:
> >> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
> >> <[EMAIL PROTECTED]> wrote:
> >> > "Andrey Vul" <[EMAIL PROTECTED]> wrote:
> >> >
> >> >> Also, AFAIK UDF doesn't support embedded control characters in files
> >> >> (i.e. Icon\r).
> >> >
> >> > This claim is of course wrong.
> >> I beg to differ.
> >> Output of ls -Alh in the Installer.app dir is supposed to show
> >> "Icon?". UDF image shows "Icon_" instead.
> >   ^
> > Are completely sure that this is a question mark?
> ls converts control characters into question  marks unless -b is specified.

ls does not mark \r this way, gls may do.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Tool for monitoring what's using the hard drive

2008-09-26 Thread Paul Hartman
On Fri, Sep 26, 2008 at 7:16 AM, Michael Sullivan
<[EMAIL PROTECTED]> wrote:
> Is there a tool similar to `top` that will tell me what's using my hard
> drive?  My hard drive clicks a lot when I don't think it should, and I'd
> really like to know what program is using it.  Sometimes it's so bad
> that I have to manually power down the machine and restart it...

In addition to the suggestions from the others, 'lsof' will show you
which files are open by what programs at any given time.



Re: [gentoo-user] hduitil for linux

2008-09-26 Thread Joerg Schilling
"Andrey Vul" <[EMAIL PROTECTED]> wrote:

> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
> <[EMAIL PROTECTED]> wrote:
> > "Andrey Vul" <[EMAIL PROTECTED]> wrote:
> >
> >> Also, AFAIK UDF doesn't support embedded control characters in files
> >> (i.e. Icon\r).
> >
> > This claim is of course wrong.
> I beg to differ.
> Output of ls -Alh in the Installer.app dir is supposed to show
> "Icon?". UDF image shows "Icon_" instead.
> This is enough for me to lose trust in UDF for hybrid CD/DVDs :(
>
> mkisofs command: mkisofs -o fin2k9.iso -udf -iso-level 4 -V "Finale
> 2009" /mnt/iso0
> /mnt/iso0 is an hfs+ mountpoint from fin2k9.dmg
> mkisofs version: mkisofs 2.01.01a42 (i686-pc-linux-gnu) Copyright (C)
> 1993-1997 Eric Youngdale (C) 1997-2008 JÃ?rg Schilling

Use cdrtools-2.01.01a50

ftp://ftp.berlios.de/pub/cdrecord/alpha/

The current version no longer enforces silly Microsoft rules on UDF in case
that the image does not contain Joliet too.

Note that in order to get Apple extensions, you of course need to specify the 
related options to mkisofs.



Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Tool for monitoring what's using the hard drive

2008-09-26 Thread Liviu Andronic
On Fri, Sep 26, 2008 at 2:16 PM, Michael Sullivan
<[EMAIL PROTECTED]> wrote:
> Is there a tool similar to `top` that will tell me what's using my hard
> drive?  My hard drive clicks a lot when I don't think it should, and I'd
> really like to know what program is using it.  Sometimes it's so bad
> that I have to manually power down the machine and restart it...
>
# emerge app-laptop/laptop-mode-tools
# lm-profiler

Liviu



Re: [gentoo-user] webdav + foxmarks

2008-09-26 Thread James
Any other thoughts? :)

-j

2008/9/24 James <[EMAIL PROTECTED]>:
> Rafal,
>
> The Allow from all statement is already in the webdav directive. :)
>
> Other thoughts?
>
> -j
>
> On Wed, Sep 24, 2008 at 11:20 AM, ert256 <[EMAIL PROTECTED]> wrote:
>>
>> [ 24.09.2008 15:58 ], James :
>>> All,
>>>
>>> I am trying to set up Foxmarks to use my Apache webdav implementation
>>> to store my Firefox bookmarks. Unfortunately when Foxmarks tries to
>>> upload the appropriate files to the webserver it fails and I then see
>>> the following message in my Apache error_log:
>>>
>>> [Tue Sep 23 21:38:23 2008] [error] [client 10.2.6.2] client denied by
>>> server configuration: /var/webdav
>>>
>>> My Apache webdav configuration is shown below:
>>>
>>>
>>> 
>>>
>>> Alias /dav /var/webdav
>>> DavMinTimeout 600
>>> 
>>> Options None
>>> Dav On
>>>
>>> AllowOverride None
>>> Order allow,deny
>>> Allow from all
>>>
>>> >> COPY MOVE LOCK UNLOCK>
>>> AuthType Basic
>>> AuthName "WebDav Restricted Repository"
>>> AuthUserFile /var/webdav/.davpasswd
>>> Require valid-user
>>> 
>>> 
>>>
>>> 
>> Maybe You need
>> 
>>Allow from all
>> 
>> --
>> Rafał (ert16) Trójniak
>> [EMAIL PROTECTED] : [EMAIL PROTECTED]
>> Jid : [EMAIL PROTECTED] [EMAIL PROTECTED]
>> GPG  key-ID : DD681D47
>> 749F E1DC A58F 9084 BBC0
>> 797A 0691 53D6 DD68 1D47
>>
>>
>


Re: [gentoo-user] hduitil for linux

2008-09-26 Thread Andrey Vul
On Fri, Sep 26, 2008 at 11:18 AM, Joerg Schilling
<[EMAIL PROTECTED]> wrote:
> "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>
>> On Fri, Sep 26, 2008 at 2:34 AM, Sebastian Günther
>> <[EMAIL PROTECTED]> wrote:
>> > * Andrey Vul ([EMAIL PROTECTED]) [26.09.08 04:45]:
>> >> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
>> >> <[EMAIL PROTECTED]> wrote:
>> >> > "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> >> Also, AFAIK UDF doesn't support embedded control characters in files
>> >> >> (i.e. Icon\r).
>> >> >
>> >> > This claim is of course wrong.
>> >> I beg to differ.
>> >> Output of ls -Alh in the Installer.app dir is supposed to show
>> >> "Icon?". UDF image shows "Icon_" instead.
>> >   ^
>> > Are completely sure that this is a question mark?
>> ls converts control characters into question  marks unless -b is specified.
>
> ls does not mark \r this way, gls may do.
Still, "ls -Ab" on the dmg file does not match "ls -Ab" on the remastered ISO.
I.e.:
[EMAIL PROTECTED] ~ $ ls -b /mnt/iso0/InstallFinale.app/
Contents  Icon\r
[EMAIL PROTECTED] ~ $ ls -b /mnt/iso1/InstallFinale.app/
Contents  Icon_
, where /mnt/iso1 is the folowing: mkisofs -o fin2k9.iso -udf
-iso-level 4 -V "Finale 2009" /mnt/iso0 && sudo mount fin2k9.iso
/mnt/iso1 -o loop

Unless there's a mkisofs option that does not convert "low ASCII" to
_, I'm stuck to using HFS+ (since I have paths > 31 characters).



-- 
Andrey Vul



[gentoo-user] Re: Tool for monitoring what's using the hard drive

2008-09-26 Thread James
Michael Sullivan  espersunited.com> writes:


> Is there a tool similar to `top` that will tell me what's using my hard
> drive?  My hard drive clicks a lot when I don't think it should, and I'd
> really like to know what program is using it.  Sometimes it's so bad
> that I have to manually power down the machine and restart it...


Using a variety of tools will help you discover the offending processes.
Here are my suggestions, all in portage

hddtemp, to see if the drive is overheating.
pstree   to see a simple graphical representation of your processes
hdparm   to see check your hard drive (ide) settings

You have many good suggestions from others. Keep looking until you
find what is curious and then post back, if you cannot find a solution.


hth,
James




[gentoo-user] Re: CF and Gentoo

2008-09-26 Thread James
Neil Bothwick  digimed.co.uk> writes:


> Bear in mind the limited write lifetime of flash memory. Don't put /var
> or /tmp on such a card if you can avoid it.

Well, I'm not sure any other alternatives are attractive? Unless
I find a way to mount those partitions off of a usb stick, or
some other idea?

Since they are not frequently updated and have minimal installed software
(iptables on firewalls and DNS on DNS servers) accompanied by the
fact that most devices have internal wear leveling; it should take
many years to reach the write cycle limits?


> http://linitx.com/viewproduct.php?prodid=10448

very cool! exactly what I could not find.



> > Issue 4. Cloning or Duplicating.
> > As many of you know, installations can be quite time consuming,
> > and challenging on old PCs. So what I intend to do is take
> > and currently running machine and stream the contents to
> > another machine with a CF burner or pull the CF card from
> > a machine that is in good shape but shutdown and duplicate it.
 
> Why not copy the contents of a card to a hard disk somewhere? That way
> you don't have to disturb a running machine to make a copy.

> > DD, cpio, scp (example syntax) in a step by step)?

> You could dd the card to a file and use the same file every time you need
> a new card.

Um I do not mean to be a pain, but could you provide a little bit
of pseudo-syntax? Assume I have shutdown a 4 GB CF firewall card
and moved it to a reader/writer on another machine. First I need
to format the raw (new) 4GB CF card from a reader.

/media/sdb1 shows up, but when I run 'fdisk /media/sdb1' I get:

last_lba(): I don't know how to handle files with mode 40755
You will not be able to write the partition table.


In the past I have formated the CF cards on the new machine being built,
but I need help figuring out how to do this, from a CF reader/writer
on another machine (thus avoiding a traditional install) ?


James






Re: [gentoo-user] hduitil for linux

2008-09-26 Thread Andrey Vul
On Fri, Sep 26, 2008 at 12:10 PM, Andrey Vul <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 26, 2008 at 11:18 AM, Joerg Schilling
> <[EMAIL PROTECTED]> wrote:
>> "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>>
>>> On Fri, Sep 26, 2008 at 2:34 AM, Sebastian Günther
>>> <[EMAIL PROTECTED]> wrote:
>>> > * Andrey Vul ([EMAIL PROTECTED]) [26.09.08 04:45]:
>>> >> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
>>> >> <[EMAIL PROTECTED]> wrote:
>>> >> > "Andrey Vul" <[EMAIL PROTECTED]> wrote:
>>> >> >
>>> >> >> Also, AFAIK UDF doesn't support embedded control characters in files
>>> >> >> (i.e. Icon\r).
>>> >> >
>>> >> > This claim is of course wrong.
>>> >> I beg to differ.
>>> >> Output of ls -Alh in the Installer.app dir is supposed to show
>>> >> "Icon?". UDF image shows "Icon_" instead.
>>> >   ^
>>> > Are completely sure that this is a question mark?
>>> ls converts control characters into question  marks unless -b is specified.
>>
>> ls does not mark \r this way, gls may do.
> Still, "ls -Ab" on the dmg file does not match "ls -Ab" on the remastered ISO.
Ignore what I said.
However, I raise a new question: is it
a) -a50 vs. -a42
b) -no-hfs
that allows control chars / Apple extensions to be used in UDF?
> --
> Andrey Vul
>



-- 
Andrey Vul



Re: [gentoo-user] webdav + foxmarks

2008-09-26 Thread Mick
On Friday 26 September 2008, James wrote:
> Any other thoughts? :)

> > On Wed, Sep 24, 2008 at 11:20 AM, ert256 <[EMAIL PROTECTED]> wrote:
> >> [ 24.09.2008 15:58 ], James :
[snip...]
> >>> My Apache webdav configuration is shown below:
> >>>
> >>>
> >>> 
> >>>
> >>> Alias /dav /var/webdav
> >>> DavMinTimeout 600
> >>> 
> >>> Options None
> >>> Dav On
> >>>
> >>> AllowOverride None
> >>> Order allow,deny
> >>> Allow from all

As long as Foxmarks are not using iCal format, change the AllowOverride above 
from None to All and try again.

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] webdav + foxmarks

2008-09-26 Thread Xav'

James a écrit :

Rafal,

The Allow from all statement is already in the webdav directive. :)


Yes maybe you have to listen to Rafal... Your directory statement is 
related to de /dav directory, if you want to apply to the Alias /dav, 
you have to write ... Just try to replace /dav> with  and just look... and apologize :)


HTH.

Xav'


Other thoughts?

-j

On Wed, Sep 24, 2008 at 11:20 AM, ert256 <[EMAIL PROTECTED]> wrote:

[ 24.09.2008 15:58 ], James :

All,

I am trying to set up Foxmarks to use my Apache webdav implementation
to store my Firefox bookmarks. Unfortunately when Foxmarks tries to
upload the appropriate files to the webserver it fails and I then see
the following message in my Apache error_log:

[Tue Sep 23 21:38:23 2008] [error] [client 10.2.6.2] client denied by
server configuration: /var/webdav

My Apache webdav configuration is shown below:




Alias /dav /var/webdav
DavMinTimeout 600

Options None
Dav On

AllowOverride None
Order allow,deny
Allow from all


AuthType Basic
AuthName "WebDav Restricted Repository"
AuthUserFile /var/webdav/.davpasswd
Require valid-user





Maybe You need

   Allow from all

--
Rafał (ert16) Trójniak
[EMAIL PROTECTED] : [EMAIL PROTECTED]
Jid : [EMAIL PROTECTED] [EMAIL PROTECTED]
GPG  key-ID : DD681D47
749F E1DC A58F 9084 BBC0
797A 0691 53D6 DD68 1D47







[gentoo-user] Re: epiphany & flash

2008-09-26 Thread james
Erik Hahn  gmx.de> writes:


> Whether flash works or not seems to be pretty random. I once could
> improve the issue by reinstalling flash although everything was - 
> actually - exactly the same as before reinstalling.

Yes, I've seen this behavior too.

It's working pretty sporty right now with seamonkey.

hth,
James









[gentoo-user] openoffice-2.4.1 complaining about Java Runtime Environment

2008-09-26 Thread Denis
The Open Office seems to run ok, but at start-up, I get the following message:

javaldx: Could not find a Java Runtime Environment!

I tried putting JRE in my PATH, just in case, but that didn't seem to
help...  Anyone know a resolution to this?



Re: [gentoo-user] hduitil for linux

2008-09-26 Thread Joerg Schilling
"Andrey Vul" <[EMAIL PROTECTED]> wrote:


> >> ls does not mark \r this way, gls may do.
> > Still, "ls -Ab" on the dmg file does not match "ls -Ab" on the remastered 
> > ISO.
> Ignore what I said.
> However, I raise a new question: is it
> a) -a50 vs. -a42
> b) -no-hfs
> that allows control chars / Apple extensions to be used in UDF?

As I did previously write, use -UDF and -no-hfs together with the other Apple
specific options you use when creating HFS hybrid disks.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] openoffice-2.4.1 complaining about Java Runtime Environment

2008-09-26 Thread Canek Peláez Valdés
Open OpenOffice.org, go to Tools -> Options -> Java and select an installed JDK.

Presto.

On Fri, Sep 26, 2008 at 3:30 PM, Denis <[EMAIL PROTECTED]> wrote:
> The Open Office seems to run ok, but at start-up, I get the following message:
>
> javaldx: Could not find a Java Runtime Environment!
>
> I tried putting JRE in my PATH, just in case, but that didn't seem to
> help...  Anyone know a resolution to this?
>
>



-- 
Canek Peláez Valdés
Facultad de Ciencias, UNAM


Re: [gentoo-user] openoffice-2.4.1 complaining about Java Runtime Environment

2008-09-26 Thread Denis
> Open OpenOffice.org, go to Tools -> Options -> Java and select an installed 
> JDK.

I tried selecting /opt/sun-jdk-1.5.0.16/jre/bin but it will not take
it!  Where is JRE installed then?



Re: [gentoo-user] webdav + foxmarks

2008-09-26 Thread James
Then what is the "Alias" directive for?

This was copied and pasted from the Wiki.

-j

2008/9/26 Xav' <[EMAIL PROTECTED]>:
> James a écrit :
>>
>> Rafal,
>>
>> The Allow from all statement is already in the webdav directive. :)
>
> Yes maybe you have to listen to Rafal... Your directory statement is related
> to de /dav directory, if you want to apply to the Alias /dav, you have to
> write ... Just try to replace  with
>  and just look... and apologize :)
>
> HTH.
>
> Xav'
>
>> Other thoughts?
>>
>> -j
>>
>> On Wed, Sep 24, 2008 at 11:20 AM, ert256 <[EMAIL PROTECTED]> wrote:
>>>
>>> [ 24.09.2008 15:58 ], James :

 All,

 I am trying to set up Foxmarks to use my Apache webdav implementation
 to store my Firefox bookmarks. Unfortunately when Foxmarks tries to
 upload the appropriate files to the webserver it fails and I then see
 the following message in my Apache error_log:

 [Tue Sep 23 21:38:23 2008] [error] [client 10.2.6.2] client denied by
 server configuration: /var/webdav

 My Apache webdav configuration is shown below:


 

Alias /dav /var/webdav
DavMinTimeout 600

Options None
Dav On

AllowOverride None
Order allow,deny
Allow from all

>>> COPY MOVE LOCK UNLOCK>
AuthType Basic
AuthName "WebDav Restricted Repository"
AuthUserFile /var/webdav/.davpasswd
Require valid-user



 
>>>
>>> Maybe You need
>>> 
>>>   Allow from all
>>> 
>>> --
>>> Rafał (ert16) Trójniak
>>> [EMAIL PROTECTED] : [EMAIL PROTECTED]
>>> Jid : [EMAIL PROTECTED] [EMAIL PROTECTED]
>>> GPG  key-ID : DD681D47
>>> 749F E1DC A58F 9084 BBC0
>>> 797A 0691 53D6 DD68 1D47
>>>
>>>
>
>
>



-- 
"Do not meddle in the affairs of wizards, for they are subtle and
quick to anger."
   -Tolkien


Re: [gentoo-user] [OT] suggest not-net-hungry Linux

2008-09-26 Thread Steven Lembark



Gentoo is only net-hungry on the install and on updates.If you can
do the install before he goes net-free, then your fine, glsa-check
should cover you for the updates

I would assume that in most cases source tarballs will be smaller than
binaries to download too :)


If you can download the runtime image
+ portage beforehand onto a thumb drive
or DVD's the Gentoo install isn't even
all that net hungry.

You might find that Damn Small Linux is,
well, damn small and doesn't take that
much bandwidth to download.

--
Steven Lembark85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
[EMAIL PROTECTED]  +1 888 359 3508



Re: [gentoo-user] [OT] suggest not-net-hungry Linux

2008-09-26 Thread Volker Armin Hemmann
On Friday 26 September 2008, Andrew Gaydenko wrote:
> No, no, no!... I was, is and am going to be on Gentoo. Just want to install
> Linux to my friend's PC. I can download installation CD iso (or two), but
> the main problem is, that PC during next few months will have dialup
> connection (33600) only. As a result, I need to choose Linux with minimal
> net traffic in mind (just security updates will be sufficient). There are
> no any special demands (OOo, images and PDF viewer, Firefox, Thunderbird
> and Krusader (or other two panel file manager) will be a sufficient apps
> set for beginning, + booting to level 5).
>
> Suggestions?

opensuse or slackware



Re: [gentoo-user] openoffice-2.4.1 complaining about Java Runtime Environment

2008-09-26 Thread David Relson
On Fri, 26 Sep 2008 16:43:09 -0400
Denis wrote:

> > Open OpenOffice.org, go to Tools -> Options -> Java and select an
> > installed JDK.
> 
> I tried selecting /opt/sun-jdk-1.5.0.16/jre/bin but it will not take
> it!  Where is JRE installed then?

My machine has it at /opt/sun-jdk-1.6.0.07/jre/bin

HTH,

David



Re: [gentoo-user] Re: CF and Gentoo

2008-09-26 Thread Neil Bothwick
On Fri, 26 Sep 2008 18:21:06 + (UTC), James wrote:

> > Bear in mind the limited write lifetime of flash memory. Don't
> > put /var or /tmp on such a card if you can avoid it.
> 
> Well, I'm not sure any other alternatives are attractive? Unless
> I find a way to mount those partitions off of a usb stick, or
> some other idea?
> 
> Since they are not frequently updated and have minimal installed
> software (iptables on firewalls and DNS on DNS servers) accompanied by
> the fact that most devices have internal wear leveling; it should take
> many years to reach the write cycle limits?

What about /var/log? The various logfiles are written very frequently.
Could you NFS mount this from somewhere else? I wouldn't rely on wear
levelling in a CF card, only on an SSDdrive.

> > http://linitx.com/viewproduct.php?prodid=10448
> 
> very cool! exactly what I could not find.

I used one of their adaptors to run a MythTV frontend from CF, although
it netboots now. I used a variation on a live CD setup, so the card was
not written to.

> > You could dd the card to a file and use the same file every time you
> > need a new card.
> 
> Um I do not mean to be a pain, but could you provide a little bit
> of pseudo-syntax? Assume I have shutdown a 4 GB CF firewall card
> and moved it to a reader/writer on another machine. First I need
> to format the raw (new) 4GB CF card from a reader.
> 
> /media/sdb1 shows up, but when I run 'fdisk /media/sdb1' I get:
> 
> last_lba(): I don't know how to handle files with mode 40755
> You will not be able to write the partition table.

/media/sdb1 is the mount point, not the device node. Use

dd if=/dev/sdb of=CF.img bs=4096

to read the card, switch of and if to write a new one. Of course, all the
cards have to be the same size.

> In the past I have formated the CF cards on the new machine being built,
> but I need help figuring out how to do this, from a CF reader/writer
> on another machine (thus avoiding a traditional install) ?

You don't need to format at all if you dd the whole drive, as that
includes the partition table, MBR and the kitchen sink.


-- 
Neil Bothwick

Rude alert, rude alert! A fire has knocked out my voice recognition
unicycle. Many wurlitzers are missing from my database. Abandon shop,
abandon shop! This is not a daffodil, repeat, this is not a daffodil!


signature.asc
Description: PGP signature


Re: [gentoo-user] Tool for monitoring what's using the hard drive

2008-09-26 Thread Neil Bothwick
On Fri, 26 Sep 2008 07:16:49 -0500, Michael Sullivan wrote:

> Is there a tool similar to `top` that will tell me what's using my hard
> drive?  My hard drive clicks a lot when I don't think it should, and I'd
> really like to know what program is using it.  Sometimes it's so bad
> that I have to manually power down the machine and restart it...

I'd check it with smartmontools.


-- 
Neil Bothwick

"Give me Liberty, fries, and two cokes to go!" "*CUT!*"


signature.asc
Description: PGP signature


Re: [gentoo-user] Tool for monitoring what's using the hard drive

2008-09-26 Thread Christophe LEFEBVRE

Hi,

sys-process/iotop is like top but process are classified by disk activity.

Regards.

Neil Bothwick a écrit :

On Fri, 26 Sep 2008 07:16:49 -0500, Michael Sullivan wrote:

  

Is there a tool similar to `top` that will tell me what's using my hard
drive?  My hard drive clicks a lot when I don't think it should, and I'd
really like to know what program is using it.  Sometimes it's so bad
that I have to manually power down the machine and restart it...



I'd check it with smartmontools.


  





Re: [gentoo-user] [OT] suggest not-net-hungry Linux

2008-09-26 Thread jaeyoung lee
On Sat, Sep 27, 2008 at 5:03 AM, Steven Lembark <[EMAIL PROTECTED]> wrote:

>
> Gentoo is only net-hungry on the install and on updates.If you can
>> do the install before he goes net-free, then your fine, glsa-check
>> should cover you for the updates
>>
>> I would assume that in most cases source tarballs will be smaller than
>> binaries to download too :)
>>
>
> If you can download the runtime image
> + portage beforehand onto a thumb drive
> or DVD's the Gentoo install isn't even
> all that net hungry.
>
> You might find that Damn Small Linux is,
> well, damn small and doesn't take that
> much bandwidth to download.
>
> --
> Steven Lembark85-09 90th St.
> Workhorse Computing Woodhaven, NY, 11421
> [EMAIL PROTECTED]  +1 888 359 3508
>
>

you can use ArchLinux it's also good:)
-- 
Only freebsd openbsd gentoo-linux windows2008