[SOLVED] Re: [LONG] Trouble using debmirror on Lenny (certain public keysnot found)

2010-06-25 Thread Holger Rauch
Hi Mirko,

thanks for your suggestion. It worked. Must have been overlooking that
hint in the manpage. Sorry.

Greetings,

  Holger

On Thu, 24 Jun 2010, Mirko Parthey wrote:

 [...]
 By default, gpg stores new public keys in ~/.gnupg/pubring.gpg,
 while gpgv expects them in ~/.gnupg/trustedkeys.gpg.
 
 The following command should import keys straight into trustedkeys.gpg:
   gpg --no-default-keyring --keyring trustedkeys.gpg --import
 At least, that's what the debmirror(1) manpage suggests.
 [...]

signature.asc
Description: Digital signature


Setting Up a CVSup Mirror for FreeBSD on a Debian Lenny system

2010-06-25 Thread Holger Rauch
Hi to everybody,

I would like to set up a FreeBSD mirror using CVSup on a Debian Lenny
system. I know there's the sup package containing both CVSup server
and client.

However, I'm currently sort of stuck converting FreeBSD's cvsupd
config to supfilesrv's config.

Has anybody done something similar already and is willing to share a
sample config?

I would like to mirror the following collections

FreeBSD.cvs   stored in /freebsd/cvs
FreeBSD-www.current   stored in /freebsd/www
FreeBSD-gnats.current stored in /freebsd/gnats
FreeBSD-mail.current  stored in /freebsd/mail

from host

cvsup-master.freebsd.org

Thanks in advance for any info  kind regards,

Holger


signature.asc
Description: Digital signature


[LONG] Trouble using debmirror on Lenny (certain public keys not found)

2010-06-24 Thread Holger Rauch
Hi to everybody,

I want to create a partial mirror for both the stable (Lenny) and
testing (Squeeze) distributions of Debian. The mirror is supposed to
contain the amd64 arch only (all binary packages of all sections).
Here's how I invoke debmirror from within a shell script:

===

debmirror -a amd64 -s all -e rsync --rsync-options -aIL --partial 
--bwlimit=2048 -r :debian -h ftp2.de.debian.org \
-d lenny /debstable --nosource \
--progress

===

In the output, it complains about certain pgp keys that are not found
(I apologize for the bad formatting that happened during
copyingpasting):

===

Mirroring to /debstable from
rsync://anonym...@ftp2.de.debian.org/:debian/
Arches: amd64
Dists: lenny
Sections: all
Will clean up AFTER mirroring.
Download at most 200 files per rsync call.
Pdiff mode: use.
Attempting to get lock, this might take 2 minutes before it fails.
Get Release files.
remote_get rsync dists/lenny/Release
receiving incremental file list
./
dists/lenny/Release
   73845 100%   70.42MB/s0:00:00 (xfer#1, to-check=0/4)
   
   sent 750 bytes  received 584 bytes  889.33 bytes/sec
   total size is 73845  speedup is 55.36
   remote_get rsync dists/lenny/Release.gpg
   receiving incremental file list
   dists/lenny/Release.gpg
   1033 100% 1008.79kB/s0:00:00 (xfer#1, to-check=0/4)
   
   sent 127 bytes  received 169 bytes  197.33 bytes/sec
   total size is 1033  speedup is 3.49
   gpgv: keyblock resource /root/.gnupg/trustedkeys.gpg':
general error
gpgv: Signature made Sa 30 Jan 2010 00:18:35 CET using RSA key ID 55BE302B
[GNUPG:] ERRSIG 9AA38DCD55BE302B 1 2 00 1264807115 9
[GNUPG:] NO_PUBKEY 9AA38DCD55BE302B
gpgv: Can't check signature: public key not found
gpgv: Signature made Sa 30 Jan 2010 00:25:01 CET using DSA key ID F42584E6
[GNUPG:] ERRSIG 4D270D06F42584E6 17 2 00 1264807501 9
[GNUPG:] NO_PUBKEY 4D270D06F42584E6
gpgv: Can't check signature: public key not found
Release signature does not verify.
Errors:
 Release signature does not verify.
 Failed to download some Release or Release.gpg files!
 WARNING: releasing 1 pending lock...

===

So, I tried to obtain all keys like this:

===

gpg --keyring /usr/share/keyrings/debian-role-keys.gpg --export | gpg --import
gpg --keyring /usr/share/keyrings/debian-keyring.gpg --export | gpg --import
gpg --keyring /usr/share/keyrings/debian-archive-keyring.gpg --export | gpg 
--import

===

Furthermore, I tried to explicitly obtain the keys mentioned in the
error messages:

===

gpg --keyserver keyring.debian.org --recv-keys 55BE302B
gpg: requesting key 55BE302B from hkp server keyring.debian.org
gpgkeys: key 55BE302B not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

gpg --keyserver keyring.debian.org --recv-keys F42584E6
gpg: requesting key F42584E6 from hkp server keyring.debian.org
gpgkeys: key F42584E6 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

===

=== Obviously, the keys are not found.

How am I supposed to proceed from this point?

Thanks in advance  kind regards,

   Holger
   

signature.asc
Description: Digital signature


Re: On Access Virus Scanner Recommendation

2009-12-11 Thread Holger Rauch
Hi Berni

On Mon, 30 Nov 2009, Berni Elbourn wrote:

 
 Or look at it the other way round
 
 Linux is not vulnerable to windows virus. Note the careful wording
 ;-) So don't waste valuable server cpu cycles on-access scanning on
 a Linux server. 

The problem is that I can't rely on all client PCs having up-to-date
virus scanner software, so this measure would be some kind of safety
net.

Instead protect your Linux with things like
 rkhunter.

Thanks for that hint. I will take it into account.

 
 Also all your windows PCs already have to run on-access scanners
 anyway - right.

Yes, but one can never rely that all local virus scanner databases are
up-to-date. Some people might disable automatic updates...
(You can always have some kind of policy, but that's just a piece of
paper).
 
 So a virus should never get near the server anyway at least in theory...

Right, but theory is more often than not contradicted by practice... ;-)

 In practice virus do often get through simply because the virus
 profiles available for both server and clients PCs are always one
 step behind the crooks. 

Yes, exactly, that's what I'm worried about and that's the reason why
I want to add some kind of safety net to the central file server
since I don't want it to turn into some kind of central virus
distributor.

 Best you can do is have have regular full
 virus scans on the Windows PCs hard disks to fix once the anti-virus
 companies catch up.

Yes, I'm aware of that.

 
 You could be very sociable and scan the files at quiet times on the
 server and quarantine...clamav does a nice job at no cost. You can
 also use it as a quality check on your commercial scanner.

Yes, I know about clamav. Nevertheless, I'm still interested in
getting NOD32 to run on that server and that requires Dazuko. Since
there are quite a few Dazuko versions floating around on the net,
which one is recommended for Debian Lenny amd64?

Thanks  kind regards,

   Holger
   

signature.asc
Description: Digital signature


Re: On Access Virus Scanner Recommendation

2009-11-29 Thread Holger Rauch
Hi,

On Fri, 27 Nov 2009, Paul Johnson wrote:

 Holger Rauch wrote:
 
  I'm thinking about using NOD32 on a Debian system for on access virus
  scanning (i.e. scan a file when it's created or its contents are
  modified in some way).
 
 Why, when it's so much easier to not allow connections from insecure
 operating systems prone to virus infection to start with?

Because disallowing these connections (unfortunately) is not an option
since Windows clients are used in my company and they too need to be
able to both access and modify files on our file server.

What's even more interesting though is: Which is the right Dazuko
version to choose? There are several of them around.

Kind regards,

 Holger
 

signature.asc
Description: Digital signature


Re: On Access Virus Scanner Recommendation

2009-11-25 Thread Holger Rauch
Hi,

On Tue, 24 Nov 2009, Tzafrir Cohen wrote:

 [...]
 Why is that a problem? Do you have Windows clients accessing the system
 through NFS?

Not necessarily, but I'd like to be on the safe side. Furthermore,
there seem to be many Dazuko versions around:

- dazuko-source_2.3.3-1_all.deb
- dazuko-2.3.4.tar.gz
- dazuko-3.0.0-birthday.tar.gz
- dazuko-2.3.5-pre1.tar.gz
- dazukofs-3.1.1.tar.gz
- dazuko-2.3.7.tar.gz

So, which is the best one, especially when compiling the module for
a 64bit Linux kernel???

Thanks in advance  kind regards,

   Holger

signature.asc
Description: Digital signature


Re: On Access Virus Scanner Recommendation

2009-11-25 Thread Holger Rauch
Rehi,

please see my answers below.

On Wed, 25 Nov 2009, Tzafrir Cohen wrote:

   [...]
   Why is that a problem? Do you have Windows clients accessing the system
   through NFS?
  
  Not necessarily, but I'd like to be on the safe side. 
 
 On what safe side?
 
 Can you give an example of a threat you wish to mitigate with such a
 scan?

A Windows client using WinSCP to a directory that's both NFS and CIFS
exported, perhaps? Furthermore, free NFS v3/v4 clients for Windows can
become available and then this threat can become real...

 
 Are you aware of the overhead?

No, can't judge it, to be honest.

 Are you aware of the potential threat that someone might trigger a
 security hole in either the module or the (omnipotent) scanner by
 reading a specially-crafted file?

Yes, but that can always be the problem, regardless of the underlying
file system.

Greetings,

  Holger
  

signature.asc
Description: Digital signature


On Access Virus Scanner Recommendation

2009-11-24 Thread Holger Rauch
Hi to everybody,

I'm thinking about using NOD32 on a Debian Lenny system for on
access virus scanning (i.e. scan a file when it's created and/or its
contents are modified in some way).

I'm aware that there's the Dazuko module, but allegedly it doesn't
seem to support NFSv3 or NFSv4 file systems since NFS uses socket
communication to write files not ordinary file system calls and
Dazuko can only intercept these.

So, my questions are:

- Which virus scanner capable of performing on acces scanning would
  you recommend for a central file server running Debian Lenny
  offering FTP, OpenAFS, NFSv4 and SSH/SCP access?
  
- Is Dazuko a recommended solution? If so, which version? (I ask this
  because there are several available by now)

- If not, what would be possible and practical alternatives for
  Dazuko and/or NOD32?
  
Thanks in advance for any hints  kind regards,
  
   Holger
   

signature.asc
Description: Digital signature


On Access Virus Scanner Recommendation

2009-11-22 Thread Holger Rauch
Hi to everybody,

I'm thinking about using NOD32 on a Debian system for on access virus
scanning (i.e. scan a file when it's created or its contents are
modified in some way).

I'm aware that there's the Dazuko module, but allegedly it doesn't
seem to support NFSv3 or NFSv4 file systems since NFS uses socket
communication to write files not ordinary file system calls and
Dazuko can only handle these.

So, my questions are:

- Which virus scanner would you recommend for a central file server
  running Debian Lenny offering FTP, OpenAFS, NFSv4 and SSH/SCP access?
  
- Is Dazuko a recommended solution? If so, which version? (I ask this
  because there are several available by now)
  
- If not, what would be possible and practical alternatives for Dazuko
  and/or NOD32?
  
Thanks in advance for any hints  kind regards,

   Holger
   

signature.asc
Description: Digital signature


Re: Recommended Debian package for hard disk cloning

2009-10-27 Thread Holger Rauch
Hi Javier,

On Mon, 26 Oct 2009, Javier Barroso wrote:

 Hi,
[...]
 
 If you have another machine with disks availables:
 cat raw devices to other machine throw ssh/nc and vgchange -u and vgrename

thanks a lot for mentioning this hint, but I was talking about the
senario when both disks are connected to the same machine.

Any recommendations for that?

Thanks in advance  kind regards,

   Holger
   

signature.asc
Description: Digital signature


Recommended Debian package for hard disk cloning

2009-10-26 Thread Holger Rauch
Hi,

which Debian package would you recommend for hard disk cloning,
provided that UUIDs related to both file systems and/or the LVM (PVs,
LVs, VGs) should be changed in order to be unique?

Is there a package around that's able to take care of this or would
you recommend writing a custom shell/Perl/Python/Ruby, etc. script?

It would be useful if the package is included in/backported to Debian
stable (Lenny).

Thanks in advance for any hints!

Kind regards,

 Holger


signature.asc
Description: Digital signature


Re: Recommended Debian package for hard disk cloning

2009-10-26 Thread Holger Rauch
Hi Johannes,

first of all, thanks for your quick reply. Do you know of any reliable
way to clone (concerning the LV+VG parameters) and changing the VG
name (though I admit that this question is more appropriate for the
LVM mailing lists)?

Thanks in advance  kind regards,

   Holger

Johannes Wiedersich schrieb am Monday, den 26. October 2009:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Holger Rauch wrote:
  which Debian package would you recommend for hard disk cloning,
  provided that UUIDs related to both file systems and/or the LVM (PVs,
  LVs, VGs) should be changed in order to be unique?
  
  Is there a package around that's able to take care of this or would
  you recommend writing a custom shell/Perl/Python/Ruby, etc. script?
 
 I would probably do it by hand (one off case) or with a script:
 - - create partition(s)
 - - create LVMs
 - - use rsync for cloning
 
 In the past I also used to use partimage. I don't think it could clone
 LVMs, though.
 
 - --
 Johannes
 
 Three nations have not officially adopted the International System
 of Units as their primary or sole system of measurement: Burma,
 Liberia, and the United States.
 
 http://en.wikipedia.org/wiki/Si_units
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 
 iEYEARECAAYFAkrllUIACgkQC1NzPRl9qEUKPACdHwMJGnNMSVkAgNcUkmWOD7Jn
 dScAn1WENfOo6vL15cbRyhsMzRdRSOfz
 =zoMU
 -END PGP SIGNATURE-
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
--
=
Holger Rauch
Entwicklung Anwendungs-Software
Systemadministration UNIX

Tel.: +49 / 9131 / 877 - 141
Fax: +49 / 9131 / 877 - 266
Email: holger.ra...@empic.de
=


signature.asc
Description: Digital signature


Kerberized NFSv4: rpc.idmapd only sees root principal

2009-10-21 Thread Holger Rauch
Hi everybody,

I've got an autofs5, OpenLDAP, MIT Kerberos, and NFSv4 setup running
on Debian Lenny. All required principals are present in the
krb5.keytab files on both client and server. PAM has been configured
accordingly for krb5.

Generally speaking, everything (kinit, passwordless ssh logins,
manually mounting the NFSv4 file system, automatically mounting and
unmounting the file system) works *except* for UID/GID mapping, i. e.
the mounted file system always belongs to root and I get permission
denied whenever I try to access files below the mounted home
directory. From the log I inferred that rpc.idmapd only sees the
root principal, even though the regular user principal is processed,
including determination of supplementary groups.

Also, getent passwd and getent group list all entries, both local
and LDAP ones.

Creating new files e.g. below /tmp is no problem, including group
changing using newgrp. Every newly created file below /tmp has
correct ownerships and permissions.

Ok, I did the following in order to get clean (without references to
purely local uids except for root) NFS client and server logs:

- logged out as user and waited for /export/home/user to be
  automatically unmounted by autofs5.
  
  on the client (named client in the log files):
  - stopped autofs5: /etc/init.d/autofs stop
  - stopped nfs-common: /etc/init.d/nfs-common stop
  
  on the server (named server in the log files):
  - stopped nfs-kernel-server: /etc/init.d/nfs-kernel-server stop
  - stopped nfs-common: /etc/init.d/nfs-common stop
  
  - Became root and manually removed all /tmp/krb5* files (looked for
these on both client and server; though I only found them on the
client).
  
  on the server (named server in the log files):
- started nfs-common: /etc/init.d/nfs-common start
- started nfs-kernel-server: /etc/init.d/nfs-kernel-server start
  
  on the client (named client in the log files):
- started nfs-common: /etc/init.d/nfs-common start
- started autofs5: /etc/init.d/autofs start
  
- Switched to a serial console on the client host (ttyS0)
  
- logged in as user directly from the login: prompt on ttyS0
  
  === Unfortunately, the problem persists even though there' no
   error displayed anymore in /var/log/daemon.log on
   the client host

The interesting thing to note is that there seem to be no obvious
errors in the log files (the string ERROR doesn't appear).

Any idea what's going on? (I can provide config and/or log files if
requested; I just don't want this email to become too long without
asking for permission in advance).

Thanks in advance  kind regards,

   Holger
   


signature.asc
Description: Digital signature


Etch: non-breaking space in HTML-Doku wird als 2-Byte-Zeichen dargestellt

2006-11-06 Thread Holger Rauch
Hallo zusammen,

ich habe hier den interessanten Fall, daß ein non-breaking space in einer
HTML-Doku vom Apache 2.2.3 offensichtlich als 2-Byte-Zeichen an den web
browser zurückgeliefert wird. Im Firefox erscheint dann unter Windows ein ?,
unter Linux F0 FD in einem Rahmen drin (die genaue Hex-Kombination müßte ich
noch mal nachschauen).

Die HTML-Doku wurde aus DocBook XML sources mit den XSL stylesheets erzeugt.
Das Problem tritt unabhändig von der Version der XSL stylesheets auf (nicht
nur mit der aktuellen V 1.71.1 sondern auch mit älteren Versionen). In den
erzeugten HTML pages steht als encoding ISO8859-1 drinnen. Andere Zeichen
wie z. B. Umlaute werden richtig dargestellt. Gerade in HTML-Doku, die
mittels der XSL stylesheets erzeugt wurde, wird an verschiedenen Stellen
massiv Gebrauch von non-breaking spaces gemacht (u. a. in den
Naviagions-Links am Anfang und am Ende der web pages).

Legt man die generierte HTML-Doku lokal auf dem Rechner ab und surft
mit einer file://-URL drauf, wird der non-breaking space KORREKT
dargestellt. Folglich bleibt eigentlich nur noch der Apache übrig,
der die HTML-Doku verhunzt.

Der der Apache ja als user www-data läuft, habe ich diesen account mal
unlocked (ein passwd verpaßt), und dann als user www-data die LANG und
LC_ Variablen kontrolliert. LANG steht auf [EMAIL PROTECTED] und LC_MESSAGES
auf C, die übrigen LC_ Variablen sind nicht gesetzt. Die [EMAIL PROTECTED]
locale ist auf dem System auch generiert worden und somit vorhanden.

Habe auch nach debian etch apache non-breaking space 2 bytes gegoogled,
aber leider nix zu dem Problem gefunden.

Naheliegende Fragen: Hat jmd. von Euch schon mal so ein (oder ein Ähnliches)
Problem gehabt? Falls ja, gibt es für den Apache eine Konfigurations-Option,
mit der man die o.g. Unschönheit beheben könnte?

Schon mal vielen Dank für die Info im Voraus!

Viele Grüße,

Holger
--
GPG key: 0x965D2902
GPG key fingerprint: 3FE8 7472 2637 2993 6BD7  015E 6E25 6D5A 965D 2902


signature.asc
Description: Digital signature


Re: Testing/Etch: .bash_ profile/.bashrc nach ssh login NICHT ausgeführt

2006-10-24 Thread Holger Rauch
Nein, ganz so einfach ist es nicht. Denn:

a) die shell ist klar eine login shell
b) ich habe die --noprofile option NICHT angegeben
c) ~/.bash_profile ist definitiv da und wird aber trotzdem
   bei ssh logins NICHT gesourced (~/.bashrc ist auch da und wird
   explizit von der ~/.bash_profile aus gesourced)
d) Wie gesagt, gibt es einen Unterschied zwischen
   d1) logins mittels su - user_name und
   d2) den ssh logins

   Bei d1) funktioniert's wie gehabt (und erwuenscht), bei d2) NICHT

Was soll dieses Verhalten mit der bash man page (bzw. dem, was da drin
steht) zu tun haben??? Ich vermute mal, GAR NIX!


On Tue, 24 Oct 2006, Marc Schröder wrote:

 man bash
 
 When bash is invoked as an interactive login shell, or as a
 non-interactive shell with the --login option, it  first reads  and
 executes commands from the file /etc/profile, if that file exists.
 After reading that file, it looks for ~/.bash_profile, ~/.bash_login,
 and ~/.profile, in that order, and reads and executes commands from  the
  first  one that exists and is readable.  The --noprofile option may be
 used when the shell is started to inhibit this behavior.
 
 When a login shell exits, bash reads and executes commands from the file
 ~/.bash_logout, if it exists.
 
 When an interactive  shell  that  is  not  a  login  shell  is  started,
  bash  reads  and  executes  commands  from /etc/bash.bashrc  and
 ~/.bashrc,  if  these  files  exist. This may be inhibited by using the
 --norc option.  The --rcfile file option will force bash to read  and
 execute  commands  from  file  instead  of  /etc/bash.bashrc  and ~/.bashrc.
 
 
 [EMAIL PROTECTED]:~$ cat .profile
 # ~/.profile: executed by Bourne-compatible login shells.
 
 if [ -f ~/.bashrc ]; then
   . ~/.bashrc
 fi
 
 #PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
 #export PATH
 
 mesg n
 
 
 
 cu mb
 
 
 Holger Rauch wrote:
  Hallo,
  
  ich habe bei einem neu aufgesetzten Testing (Etch) System das Problem, daß
  nach einem ssh login die .bash_profile und die .bashrc im HOME-Verzeichnis
  eines Benutzers nicht mehr gesourced werden.
  
  Wenn ich auf diesem neu installierten System von einem user mittels
  su - user_name auf einen anderen user wechsle, werden .bash_profile und
  .bashrc wie erwartet gesourced.
  
  Bei einem System, das ich seit geraumer Zeit von Sarge auf Etch upgedated
  habe, gibt es dieses Problem interessanterweise NICHT (zumindest hab ich es
  bis jetzt noch nicht bemerkt).
  
  Meine ersten Verdächtigen waren die SSH-Konfiguration (server- und
  client-seitig) bzw. die PAM-Konfiguration. Allerdings konnte ich da erstmal
  nix feststellen. In den README.Debian files zu den PAM packages konnte ich
  ebenfalls nix finden.
  
  Offensichtliche Fragen:
  
  - Woran liegt es, daß nach ssh logins auf einem neu hochgezogenen
Etch-/Testing-System die .bash_profile/.bashrc im HOME-Verzeichnis eines
Benutzers nicht mehr gesourced werden?
  
  - Was muß man an welchen config files ändern, um das alte Verhalten
(Berücksichtigung von benutzer-spezifischen .bash_profile/.bashrc files)
wieder herzustellen?
  
  Vielen Dank im Voraus für die Info!
  
  Gruß,
  
  Holger
  --
  GPG key: 0x965D2902
  GPG key fingerprint: 3FE8 7472 2637 2993 6BD7  015E 6E25 6D5A 965D 2902
 
 
 -- 
 Haeufig gestellte Fragen und Antworten (FAQ): 
 http://www.de.debian.org/debian-user-german-FAQ/
 
 Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
 mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
 
--
GPG key: 0x965D2902
GPG key fingerprint: 3FE8 7472 2637 2993 6BD7  015E 6E25 6D5A 965D 2902


signature.asc
Description: Digital signature


Re: Testing/Etch: .bash_ profile/.bashrc nach ssh login NICHT ausgeführt

2006-10-24 Thread Holger Rauch
Hallo Marc (und auch an die anderen),

mittlerweile hab ich das eigentliche Problem entdeckt:

Ich vergaß beim Anlegen der accounts mit useradd, den switch -s
für die login shell mitzugeben und nahm fälschlicherweise an, daß auch in
diesem Fall /bin/bash als login shell in die /etc/passwd eingetragen wird
(weil die bash ja unter Linux sowieso default ist; als Ausnahme fällt mir
als Distro da spontan nur grml ein).

Dem ist aber NICHT so (es stand /bin/sh drin). Wird die bash als /bin/sh
aufgerufen, verhält sie sich meines Wissens auch so und will dann im HOME
dir die ~/.profile (und NICHT ~/.bash_profile) sourcen. Die war aber NICHT da
und deswegen wurde AUSSCHLIEßLICH /etc/profile gesourced.

Fazit:

Nach Abändern von /bin/sh in /bin/bash für die betroffenen accounts
funktionierte alles wieder wie von vornherein gewünscht.

Sorry für den unnötigen mailing list traffic (aber vielleicht helfen meine
Ausführungen ja jmd., der ein ähnliches Problem hat).

Gruß,

Holger
--
GPG key: 0x965D2902
GPG key fingerprint: 3FE8 7472 2637 2993 6BD7  015E 6E25 6D5A 965D 2902


signature.asc
Description: Digital signature


Testing/Etch: .bash_pro file/.bashrc nach ssh login NICHT ausgeführt

2006-10-23 Thread Holger Rauch
Hallo,

ich habe bei einem neu aufgesetzten Testing (Etch) System das Problem, daß
nach einem ssh login die .bash_profile und die .bashrc im HOME-Verzeichnis
eines Benutzers nicht mehr gesourced werden.

Wenn ich auf diesem neu installierten System von einem user mittels
su - user_name auf einen anderen user wechsle, werden .bash_profile und
.bashrc wie erwartet gesourced.

Bei einem System, das ich seit geraumer Zeit von Sarge auf Etch upgedated
habe, gibt es dieses Problem interessanterweise NICHT (zumindest hab ich es
bis jetzt noch nicht bemerkt).

Meine ersten Verdächtigen waren die SSH-Konfiguration (server- und
client-seitig) bzw. die PAM-Konfiguration. Allerdings konnte ich da erstmal
nix feststellen. In den README.Debian files zu den PAM packages konnte ich
ebenfalls nix finden.

Offensichtliche Fragen:

- Woran liegt es, daß nach ssh logins auf einem neu hochgezogenen
  Etch-/Testing-System die .bash_profile/.bashrc im HOME-Verzeichnis eines
  Benutzers nicht mehr gesourced werden?

- Was muß man an welchen config files ändern, um das alte Verhalten
  (Berücksichtigung von benutzer-spezifischen .bash_profile/.bashrc files)
  wieder herzustellen?

Vielen Dank im Voraus für die Info!

Gruß,

Holger
--
GPG key: 0x965D2902
GPG key fingerprint: 3FE8 7472 2637 2993 6BD7  015E 6E25 6D5A 965D 2902


signature.asc
Description: Digital signature


Re: Alternativen zu partimage?

2006-10-23 Thread Holger Rauch
Hallo Ulf!

Erstmal vielen Dank für Deine reply! (Natürlich auch an die anderen für die
weiteren replies ;-) )

Allerdings hätte ich da noch eine Frage zu Deinem Vorschlag, speziell in
bezug auf den LVM.

On Thu, 19 Oct 2006, Ulf Volmer wrote:

 [...] 
 Jedes Linux- System läßt sich trivial mit cp, tar und Verwandten
 sichern. Das einzige, das bleibt, ist die Sicherung des MBR mittels dd.
 [...] 

Ok, aber das liefert mir nur die Nutzdaten und das Partitions-Layout, aber
nicht die logical volumes bzw. Dateisysteme auf den Partitionen bzw. in den
logical volumes. Das heißt, ich muß die volume groups, logical volumes und
die Dateisysteme manuell anlegen.

Oder läßt sich das auch irgendwie gezielt backuppen (analog zum MBR backup
mittels dd)?

Danke für die Info!

Gruß,

Holger
--
GPG key: 0x965D2902
GPG key fingerprint: 3FE8 7472 2637 2993 6BD7  015E 6E25 6D5A 965D 2902


signature.asc
Description: Digital signature


Re: Alternativen zu partimage?

2006-10-23 Thread Holger Rauch
Hab gerade vgcfgbackup/vgcfgrestore gefunden, bin mir aber nicht sicher, ob
das alles erwischt??? Oder reicht es einfach aus, als root mittels tar
(inkl. -p für ownerships/permissions) ausgehend von / alles zu sichern (wo
dann ja zwangsläufig auch /etc/lvm mit dabei wäre?

Wie gesagt, ich bin mir unsicher, ob in /etc/lvm wirklich alles zu allen
VGs/LVs drin ist. Aber selbst wenn dem so wäre, bliebe ja noch das manuelle
Anlegen der Dateisysteme in den LVs, oder???

On Mon, 23 Oct 2006, Holger Rauch wrote:

 Hallo Ulf!
 
 Erstmal vielen Dank für Deine reply! (Natürlich auch an die anderen für die
 weiteren replies ;-) )
 
 Allerdings hätte ich da noch eine Frage zu Deinem Vorschlag, speziell in
 bezug auf den LVM.
 
 On Thu, 19 Oct 2006, Ulf Volmer wrote:
 
  [...] 
  Jedes Linux- System läßt sich trivial mit cp, tar und Verwandten
  sichern. Das einzige, das bleibt, ist die Sicherung des MBR mittels dd.
  [...] 
 
 Ok, aber das liefert mir nur die Nutzdaten und das Partitions-Layout, aber
 nicht die logical volumes bzw. Dateisysteme auf den Partitionen bzw. in den
 logical volumes. Das heißt, ich muß die volume groups, logical volumes und
 die Dateisysteme manuell anlegen.
 
 Oder läßt sich das auch irgendwie gezielt backuppen (analog zum MBR backup
 mittels dd)?
 
 Danke für die Info!
 
 Gruß,
 
   Holger
 --
 GPG key: 0x965D2902
 GPG key fingerprint: 3FE8 7472 2637 2993 6BD7  015E 6E25 6D5A 965D 2902


signature.asc
Description: Digital signature


Alternativen zu partimage?

2006-10-18 Thread Holger Rauch
Hallo,

gibt es Alternativen zu partimage? Falls ja, welche? Ich möchte die
Partitionen so in ein image sichern, daß jeweils nur die reinen Nutzdaten
dort eingehen, d. h. wenn von einer 5 GB Partition nur 2 GB verbraucht sind
(lt. df -k output), sollte das entstehende image auch nur max. 2 GB haben
(unkomprimiert) und nicht die komplette Partitions-Größe von 5 GB.

Ist jmd. von Euch schon mal über so was gestolpert und hat Tips bzw. links
für mich parat?

Schon mal vielen Dank für die Infos im Voraus!

Gruß,

Holger
--
GPG key: 0x965D2902
GPG key fingerprint: 3FE8 7472 2637 2993 6BD7  015E 6E25 6D5A 965D 2902


signature.asc
Description: Digital signature


Sarge/Etch: Debian installer: neueren kernel einbauen, aber wie???

2006-10-16 Thread Holger Rauch
Hallo zusammen,

ich möchte Debian Sarge auf einem neueren System installieren, habe dabei
aber das Problem, das mit dem Standard 2.6er kernel, der mit dem installer
gebundled ist, der SATA controller nicht unterstützt wird. Das bedeutet, ich
bin darauf angewiesen, mir ein eigenes installer image zurechtzubasteln,
in dem der 2.6.8er kernel durch einen neueren ersetzt ist (z. B. 2.6.18).

Hat jmd. von Euch sowas schon mal gemacht und kann mit Hinweisen dienen, wie
man das am Vernünftigsten bewerkstelligt? (Ich möchte lediglich den kernel
ersetzen und das image ansonsten möglichst unverändert lassen).

(Ich habe bereits im Debian installer wiki und auch im installer FAQ
nachgeschaut, aber was dort unter modify bzw. custom CD beschrieben ist,
scheint mir ein bißchen zu weit zu gehen, wenn man bedenkt, daß
ausschließlich der kernel getauscht werden soll).

Vielen Dank für Eure Hilfe!

Gruß,

Holger
--
GPG key: 0x965D2902
GPG key fingerprint: 3FE8 7472 2637 2993 6BD7  015E 6E25 6D5A 965D 2902


signature.asc
Description: Digital signature


LVM auf Software-RAID1-Installation mit Sarge (kernel 2.6)

2005-08-25 Thread Holger Rauch
Hi!

Ich möchte mit Sarge auf Basis von kernel 2.6 ein System hochziehen,
wobei ich bereits bei der Installation (also im Debian Installer) das

- RAID1 auf Software-RAID-Basis (mdadm) mit 2 gleichen SATA-Platten
- den LVM auf dem erzeugten RAID (also /dev/md/0 als PV für den LVM)
- die VG bestehend aus dem PV und innerhalb der VG die LVs
- den bootloader (LILO bzw. GRUB)

einrichten kann, so daß nach Abschluß der Installation das System gleich vom
sich auf dem RAID1 befindlichen root bzw. boot LV booted. Ist dies direkt
(also ohne Umweg der Installation von Debian auf einer Platte und
nachträgliches Aufnehmen der Platte in den RAID-Verbund) möglich?

Falls ja, gibt es dazu detaillierte Anleitungen, die sich direkt auf Sarge
und kernel 2.6 beziehen?

Ich habe bisher mit Google nur 2 gefunden, die sich auf Woody beziehen und
nicht wirklich auf Sarge eingehen, und zwar:

http://www.open-organizations.org/view/Socialtools/RaidLvmHowto

sowie

http://www.midhgard.it/docs/lvm/html/index.html

Ein ähnlich geartetes Problem: Ich habe auf einem anderen System mit 4
gleichen SCSI-Platten versucht ein RAID10 (je 2 Platten gespiegelt (RAID1)
und dann beide RAID1 array gestriped (RAID0) ) mit LVM hochzuziehen. Das PV
befand sich auf dem md device für das RAID0 array. Allerdings konnte ich im
Debian Installer für Sarge keine VG (und damit auch keine LVs) anlegen, da
das device file beim Anlegen der PV-Partition (Typ: 8e) nicht automatisch
mit angelegt wurde. Hat jemand für dieses Verhalten eine Erklärung?

Anmerkung: Ich habe für beide beschriebenen Szenarien die Installation mit
expert26 gestartet.

Vielen Dank für Infos bzw. links!

Gruß,

Holger


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: LVM auf Software-RAID1-Installation mit Sarge (kernel 2.6)

2005-08-25 Thread Holger Rauch
Hallo Ralf!

On Fri, 26 Aug 2005, Ralf Schmidt wrote:

 [...]
 Ich habe vor ein paar Tagen ein Softraid auf einem laufendem System mit
 LVM  installiert. An dem miniHowto schreibe ich noch gerade.
 Ich kann es Dir gerne nach Fertigstellung zukommen lassen.
 Meine Partionen für /boot und / sind allerdings nicht auf LVM.

Vielen Dank für Dein Angebot! Ich habe (natürlich) Interesse an dem
miniHowto ;-) Bitte schicke es mir oder nenne mir den entsprechenden link
unter dem es zu finden ist.

Gruß,

Holger


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Sarge: Adaptec 7901 wird bei Installation nicht erkannt

2005-08-01 Thread Holger Rauch
Hallo!

Ich bin mit dem Problem konfrontiert, daß ein onboard RAID controller
(Adaptec 7901) auf einem Asus PSCH-RS mainboard während der Sarge-
Installation mit einem 2.6er kernel nicht richtig eingebunden wird.
D. h. das Kernel-Modul aic79xx wird zwar geladen; wenn es dann aber
um die Partitionierung der Platten geht, kommt ein popup No
partitionable media found. Ich habe in diesem Zusammenhang folgenden
link gefunden:

http://lists.debian.org/debian-boot/2005/03/msg00690.html

Anmerkung: Ein aktuelles Knoppix (kernel: 2.6.11) erkennt diesen controller
ohne Probleme.

Meine Fragen zu dem geschilderten Problem:

- Hat bzw. hatte jemand ein ähnliches Problem?
- Gibt es einen workaround? Falls ja, welchen?

Schon mal vielen Dank im Voraus für die Infos!

Viele Grüße,

Holger


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Debian testing: Problem mit Mozilla-Installation

2005-04-21 Thread Holger Rauch
Hallo Andreas!

On Wed, 20 Apr 2005, Andreas Pakulat wrote:

 [...] 
 Hmm, wäre mal interessant, welche Datei das ist, ansonsten kann man dir
 nämlich nicht helfen - fd 18 könnte alles mögliche sein (ist kein fester
 fd, wie 0, 1, 2).

Sorry, hätte auch gleich drandenken können, nach einem dazu passenden open()
zu suchen, der fd 18 zurück gibt ;-)

Mittlerweile hab ich rausgefunden, daß es sich offensichtlich um ein lock
file handelt, welches allerdings erst *während* des Aufrufs von
/usr/sbin/update-mozilla-chrome erzeugt wird:

/tmp/gconfd-root/lock/ior

Bei einem read() von diesem file bleibt /usr/sbin/update-mozilla-chrome
während der Ausführung des regchrome-Kommandos hängen. Der read() call
versucht von fd 18 zu lesen und dahinter verbirgt sich offensichtlich die
genannte Datei.

Löschen hilft leider nicht; das file wird wieder neu erzeugt.

Ich kann mir allerdings nicht erklären, welches Kommando innerhalb von
/usr/sbin/update-mozilla-chrome dieses lock file erzeugt. Kann es sein, daß
der Mozilla noch das alte gconf bzw. die dazu passende lib braucht, obwohl
sie in den dependencies nirgends aufgeführt ist?

Danke für die Info!

Gruß,

Holger


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Debian testing: Problem mit Mozilla-Installation

2005-04-20 Thread Holger Rauch
Hallo Andreas!

Erst mal vielen Dank für Deine schnelle Antwort!

Andreas Pakulat schrieb am Montag, den 18. April 2005:

 [...] 
 Die Alternatives-Datenbank fuer gconftool hat nen Fehler - hast du da
 selbst drin rumgewerkelt? (ohne update-alternatives zu nutzen)

Nein. hab ich nicht.
 
 Achja, gconf wurde doch mittlerweile von gconf2 abgeloest, vielleicht
 mal das installieren und gconf entfernen...

Das konnte ich machen, nachdem ich das gconftool händisch entfernt habe.

Allerdings bleibt das Problem mit dem regchrome-Hänger bestehen. Mit einem
strace vor dem regchrome-Aufruf in /usb/sbin/update-mozilla-chrome hab ich
herausgefunden, daß er von einem file descriptor mit der Nr. 18 was lesen
will. Hab aber keine Ahnung, wie's dazu kommt. Vielleicht ist irgendeine
Datei, die eingelesen werden soll, unvollständig?

Gruß,

Holger


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Debian testing: Problem mit Mozilla-Installation

2005-04-18 Thread Holger Rauch
Hi!

Seit ich kürzlich mein Debian testing aktualisiert hatte, ließen sich auf
einmal die postinstall scripts von packages wie libtiff4-dev und gconf nicht
mehr vernünftig ausführen. Seitdem hängt auch die Installation vom Mozilla
bei Updating Mozilla chrome registry

Ich bekomme folgende Ausgaben von apt-get install mozilla:

-

Unpacking mozilla-browser (from .../mozilla-browser_2%3a1.7.6-1_i386.deb)
...
Selecting previously deselected package mozilla-mailnews.
Unpacking mozilla-mailnews (from .../mozilla-mailnews_2%3a1.7.6-1_i386.deb)
...
Selecting previously deselected package mozilla-psm.
Unpacking mozilla-psm (from .../mozilla-psm_2%3a1.7.6-1_i386.deb) ...
Selecting previously deselected package mozilla.
Unpacking mozilla (from .../mozilla_2%3a1.7.6-1_i386.deb) ...
Setting up gconf (1.0.9-7) ...
update-alternatives: internal error: /var/lib/dpkg/alternatives/gconftool
corrupt: missing newline after manflag
dpkg: error processing gconf (--configure):
 subprocess post-installation script returned error exit status 2
Setting up libtiff4-dev (3.7.2-2) ...
syntax error in status file:  at /usr/sbin/install-docs line 362, S line
4.
dpkg: error processing libtiff4-dev (--configure):
 subprocess post-installation script returned error exit status 255
Setting up mozilla-browser (1.7.6-1) ...
Updating mozilla chrome registry...

---

Hat jemand ähnliche Probleme gehabt und einen workaround gefunden?

Vielen Dank für die Info!

Gruß,

Holger


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Debian testing: Problem mit Mozilla-Installation

2005-04-18 Thread Holger Rauch
Noch ein Nachtrag zu meiner mail:

Ich habe in /usr/sbin/update-mozilla-chrome set -x eingebaut und dabei hat
es sich ergeben, daß das regchrome-Kommando hängt.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Empfehlung aktuelle Digicam fr Debian Testing m. 2.6er kernel

2004-12-20 Thread Holger Rauch
Hallo an alle Listen-Teilnehmer!

Ich weiß ja, daß das Thema schon des Öfteren angesprochen wurde. Ich habe
auch gegoogled und dabei u. a.

http://www.teaser.fr/~hfiguiere/linux/digicam.html

gefunden. Allerdings veralten solche Listen meist recht schnell und mir ist
ein persönlicher Erfahrungsbericht in bezug auf Debian Testing mit einem
aktuellen 2.6er kernel wichtiger.

Deshalb meine Frage:

Mit welchen aktuellen Digicams (Auflösung: ab 4.3 Mio Pixel; Preis: max. ca.
300 EUR) habt Ihr gute bis sehr gute Erfahrungen gemacht? Hiermit meine ich
auch solche Dinge wie Verarbeitung, display und allg. Handhabung der Kamera.

Schon mal vielen Dank für die Info(s)!

Gruß,

Holger


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



gdb 6.0 (unofficial) backport from unstable to testing available?

2004-02-15 Thread Holger Rauch
Hello!

I'm running Debian testing with kernel 2.6.2. When debugging programs with
gdb 5.3, I get the following error messages:

(gdb) r
Starting program:
/home/holgi/sara4-stuff/sas/xmlmodule/test-progs/sqltok+xqueryconv-test/tam_select-test_mg
Error while reading shared library symbols:
Cannot find new threads: capability not available
Cannot find user-level thread for LWP 1377: capability not available

This seems to be a known problem (googled for the error message) in
conjunction with kernel 2.6.x and the advice is to use gdb 6.0.
Since gdb 6.0 has not yet officially made it into testing due to some
dependency problems, where can I find a backported version of gdb 6,0 to
Debian testing so that I can debug my program using gdb 6.0?

Thanks in advance for any info!

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Panasonic DMC-LC33E digital camera USB mass storage

2004-01-19 Thread Holger Rauch
Hi!

I'm running Debian testing with a 2.6.1 kernel with USB EHCI, OHCI, UHCI,
mass storage drivers, and SCSI emulation layer compiled in. I own a Asus
P4PE mainboard and a Dawicontrol DuoMedia card for additional USB 2.0 and
IEEE1394 (firewire) ports.
When I attach a Panasonic DMC-LC33E digital camera (equipped with a 16 MB SD
card) to my computer, lsusb reports:

Bus 007 Device 003: ID 04da:2372 Panasonic (Matsushita)

Also, I see that the camera is attached to scsi1 and that it should be
available as sda1:

hub 7-0:1.0: new USB device on port 1, assigned address 4
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: MATSHITA  Model: DMC-LC33  Rev: 0100
  Type:   Direct-Access  ANSI SCSI revision: 02
SCSI device sda: 29121 512-byte hdwr sectors (15 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
 sda:7usb-storage: queuecommand called
 sda1
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0,  type 0

My problem is that when I try to mount this device using

mount /dev/sda1 /img

(the mount point exists) I get the message

mount: no medium found

When looking at the dmesg output (I've got USB mass storage verbose debug
compiled in) I see

[...]
usb-storage: Bulk Status S 0x53425355 T 0x808d R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: Medium not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
[...]

Can anybody tell me why I get this message and what I can do in order to get
rid of this message and be able to properly mount the device and access the
pictures stored on the SD card?

Any info will be greatly appreciated!

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Setting system-wide ulimits (esp. # of open files)

2004-01-04 Thread Holger Rauch
Hi!

Thanks for your reply!

On Sat, 03 Jan 2004, Jan Minar wrote:

  On Sat, 03 Jan 2004, GCS wrote:
  I tried that too, but got an Operation not permitted message as soon as
  I logged in as a regular user.
 
 Exactly.  This is a feature.  Mere users can't higher their hard limits,
 so they can't DoS the system.  Either use sudo/su for the particular
 task, or set the limits in the configs of gates to the system, i.e. xdm,
 login, sshd, c.

As I outlined in my first mail, I tried the latter (including
the pam_limits module in /etc/pam.d/login, /etc/pam.d/su and
setting the corresponding limit in /etc/security/limits.conf), but the limit
was not enforced (I still had only a maximum 1024 allowed open file
descriptors). I wonder why.

Greetings,

Holger
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Setting system-wide ulimits (esp. # of open files)

2004-01-04 Thread Holger Rauch
Hi!


On Sat, 03 Jan 2004, Shaul Karl wrote:

   There might be a switch to the kernel, perhaps by using /proc, which 
 let you do that. Or so I believe. I assume that if the kernel enforces a
 lower limit then you wouldn't be able to change it without instructing
 the kernel otherwise. However I am not sure. Have you searched google?

Yes, I have. I've also looked at the value /proc/sys/fs/file-max, but that
limit is high enough (104849 on my system with kernel 2.6.0).

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Setting system-wide ulimits (esp. # of open files)

2004-01-03 Thread Holger Rauch
Hi!

I'm running Debian testing in conjunction with kernel 2.6.0. I've got an
application demanding up to 32000 sockets in certain circumstances. So, I
wanted to set the # of open file descriptors on a system-wide basis. I'm
using bash as the shell for all my user accounts.

Here's what I tried:

1. Look up the value of /proc/sys/fs/file-max just to be sure = yields
   104849. So, that should be large enough.

2. Tried to modify the value for ulimit -n from the shell prompt as a
   regular user = got Operation not permitted

3. a) Modified /etc/security/limits.conf so that it now contains the
  following line:

*   softnofile  32000

   b) Modified certain PAM-related files below /etc/pam.d so that they now
  contain the line (the modification consisted of uncommenting the
  according line)

sessionrequired   pam_limits.so

 I changed the following files:

/etc/pam.d/login
/etc/pam.d/su

   c) However, after logging in from a different console, the command
  ulimit -a still outputs:

open files(-n) 1024

4. Googling for debian increasing ulimits (and similar things) only
   revealed that it's possible to *lower* a certain ulimit value as a
   regular user (however, that's not what I want; I want to *increase* a
   certain ulimit value, most notably the # of open file descriptors).

Any other ideas on what else I could try in order to increase the #
of open file descriptors to 32000 for all users and why the approach with
editing /etc/security/limits.conf didn't work (and what I could do to
get it to do what I want :-) )?

Thanks in advance for any hints/pointers!

Kind regards,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[OT] Executing code once on initialization of a .so file

2003-12-06 Thread Holger Rauch
Hi!

Is it possible to include code in a .so that gets executed only once on
initialization of a shared lib? If so, how can I do this (provided I use
gcc -fPIC to compile the stuff and gcc -shared to link it together).

Thanks in advance for any hints!

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: www.apt-get.org down?

2003-08-10 Thread Holger Rauch
Hi!

Thanks for your quick reply!

On Tue, 05 Aug 2003, Paul Johnson wrote:

 [...] 
 Read before posting.  There is already a thread about this running.

Well, I followed your advice and according to

http://lists.debian.org/debian-user/2003/debian-user-200308/msg00822.html

it seems to be an ISP-related issue. Nevertheless, this doesn't answer my
question whether there are any apt-get.org mirrors. Googling for
apt-get.org mirrors revealed nothing that looked like a mirrors site.

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



OT: Limit on maximum # of threads in Linux?

2003-07-02 Thread Holger Rauch
Hi!

I tried the following test program with various 2.4.x und 2.2.x kernels and
noticed that it doesn't *seem* to be possible to create more than 1021
threads. I changed ulimit -u from within bash before running the thread
test program, I modified a setting in the /proc filesystem:

/proc/sys/kernel/threads-max

(but that limit is 12287 with a 2.4.21 kernel, so it should be high enough
anyway),

but all I got was:

[...]
Thread #1019: Thread started...thread done
Thread #1020: Thread started...thread done
Thread #1021: Thread started...thread done
Thread #1022: *** Unable to create thread #1021 ***

Why is the limit on the maximum # of threads so low?

Here's the code (can be compiled with gcc -o thread_test thread_test.c
-lpthread):

-

#include stdio.h
#include unistd.h
#include stdlib.h
#include pthread.h

void*
thread_func( void* arg )
{
(void) printf( Thread started... );

return NULL;
}

int
main( int argc, char** argv )
{
int i = 0;
int retval = 0;
unsigned int sleepsecs = argv[2] ? atoi( argv[2] ) : 3;
long numthreads = 0L;
pthread_t thread_id[ argv[1] ? atol( argv[1] ) : 10 ];

if ( argc  2 )  {
(void) fprintf( stderr,
Please specify # of threads to create!\n );
exit( EXIT_FAILURE );
}

numthreads = atol( argv[1] );

if ( numthreads = 0 )  {
(void) fprintf( stderr,
Please specify # of threads  0\n );
exit( EXIT_FAILURE );
}

if ( ( retval = setvbuf( stdout, NULL, _IONBF, 0 ) ) != 0 )  {
(void) fprintf( stderr,
Unable to switch stdout to unbuffered mode!\n );
exit( EXIT_FAILURE );
}
if ( ( retval = setvbuf( stderr, NULL, _IONBF, 0 ) ) != 0 )  {
(void) fprintf( stderr,
Unable to switch stderr to unbuffered mode!\n );
exit( EXIT_FAILURE );
}

(void) printf( Sleeping %d seconds before creating a new thread\n, sleepsecs 
);


for ( i = 0; i  numthreads; i++ )  {
(void) printf( Thread #%d: , (i + 1) );
if ( ( retval = pthread_create( thread_id[i], NULL, thread_func, NULL 
) ) != 0 )  {
(void) fprintf( stderr,
*** Unable to create thread #%d ***\n,
i );
}
(void) printf( thread done\n );
(void) sleep( sleepsecs );
}

return( EXIT_SUCCESS );
}

--

Any help will be greatly appreciated!

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Lernsoftware Programmierung

2003-06-13 Thread Holger Rauch
Hallo Ulrich!

On Fri, 13 Jun 2003, Ulrich Gehring wrote:

 1. FreePascal
 [...]
 
 obwohl ich eher eine andere Sprache verfechte: Für die 
 (OOP-)Pascal-Freunde gibt es da auch noch
 Kylix

Wie wär's mit Lazarus (noch nicht ganz so weit wie Kylix, aber auf einem
guten Weg dorthin)?

http://www.lazarus.freepascal.org

Ich muß allerdings zugeben, daß ich es bisher nicht ausprobiert
sondern lediglich einen Bericht in der freeX darüber gelesen habe.

Gruß,

Holger


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



waimea pkgs for Woody

2003-03-13 Thread Holger Rauch
Hi!
   
Does anybody know whether and where there are packages of the waimea window
manager for Debian Woody available? I was using

http://www.apt-get.org/search.php

but it didn't come up with any. I also used the Find function of my
browser but again nothing showed up.

Thanks in advance for any info/pointers!

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Woody-FreeBSD box via null modem cable

2002-12-30 Thread Holger Rauch
Hi!

I would like to connect to a FreeBSD box from Woody using a null modem
cable. The FreeBSD box is already set up properly (a getty is running on
one of the serial ports). The serial cable is connected to ttyS1 on my
Debian box. I tried to set things up using minicom -s:

1. I entered the serial port the cable is connected to (on my Debian box):
/dev/ttyS1
2. I set the modem init string to the empty string.

Do I need any other software package besides minicom on my Debian box? Is
there some article/howto explaining null modem cable setups in greater
detail? (I was looking at the serial port console howto, but this one
covers only the pin layout for null modem cables. Besides, this howto
mostly deals with redirecting *boot* messages to the serial console, which
is not what I'm interested in.)

Any help will be greatly appreciated! Thanks in advance!

Greetings,

Holger
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Exchange Calendar client?

2002-12-13 Thread Holger Rauch
On Thu, 12 Dec 2002, Robert L. Harris wrote:

 Not an option, the CEO is doing the exchange is the only true calendar
 app! thing.  I'd rather not come back with a but linux doesn't work
 nicely with that proprietary, bloated PoS as he'd only hear linux
 doesn't work...

Then tell your CEO that he is wrong.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




OT: mutt deletes folder when last message is removed

2002-12-10 Thread Holger Rauch
Hi!

First of all, sorry for being OT, but judging from what I've seen in the
past on this list, there seem to be quite a few mutt users around here.

I've recently switched from Pine to mutt on Debian Woody and am now faced
with the problem that as soon as I remove the last message from a folder,
the folder is also deleted.

Any idea why this could happen and how to avoid it?

Any info/pointers will be appreciated!

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Graphics Linux

2002-12-03 Thread Holger Rauch
Hi Oki!

On Tue, 3 Dec 2002, Oki DZ wrote:

 [...] 
 Just add the following into your sources.list, to get it from one of the
 mirrors.
 deb http://ftp.freenet.de/pub/ftp.vpn-junkies.de/openoffice/ unstable
 main contrib

Do you know whether it's also available for stable (Woody)?

TIA.

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: two more architectures?

2002-10-28 Thread Holger Rauch
Hi Colin!

On Mon, 28 Oct 2002, Colin Watson wrote:

 On Sun, Oct 27, 2002 at 07:43:02PM -0400, Oleg wrote:
 [...]
  As to compiling from deb sources (some else mentioned it in this
  thread), the one big inconvenience is that apt-get upgrade will
  overwrite your optimized program as soon as its next [sub]version is
  available.
 
 There are plenty of well-documented ways round that, depending on
 exactly what behaviour you want. There's also apt-src/apt-build to help
 you manage it automatically.

Could you please elaborate a bit more on where exactly this is
covered? I'm interested in it too. (I agree with you on the other points
you mentioned.)

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




OT: Recommendations for Linux Distributions running on Intel-basedEmbeded Systems/Flash Disks

2002-10-25 Thread Holger Rauch
Hi!

I admit that this is OT, but maybe someone has already tried (possibly
Debian-based distributions) that are available for free and work on
embedded Intel-based systems and accompanying flash disks?

The distro should also support journaling filesystem(s) and should come
with packages allowing to set up a development environment.

If so, which of those distros can you recommend and what's your opinion on
them?

Up to now, I found only ELinOS and embedix which seem to be both
commercial distros.

Any info will be greatly appreciated!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: Alternatives to ls for sorting files by modification time

2002-09-26 Thread Holger Rauch

Hi!

Thanks to all who responded to my question(s)! It's working now. I use the
suggestion made by Miquel, as shown below, though I will be happy to try
the others as well. I've got some scripting tricks to play with now :-)

(The reason I was using this method is that it integrates well in my
present script. I ommitted the grep since all my files in there end in
.arc, which I wasn't aware of at first, so I wanted to be sure and look
only for .arc files.)

On Wed, 25 Sep 2002, Miquel van Smoorenburg wrote:

 [...] 
 $LS -t1 $BACKUP_DIR/arc | grep '\.arc$' | $TAIL -$NUM_OF_FILES |
 while read i
 do
   $RM -f $i
 done
 [...]

Kind regards,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




OT: Alternatives to ls for sorting files by modification time

2002-09-25 Thread Holger Rauch

Hi!

I admit that this is off-topic since it's a general shell scripting
question, but what alternative commands instead of ls can be used to sort
files by modification time? I'm not interested in the modification times,
just the file names. So, actually in something that emulates ls
-lt1 behavior.

(When I used ls -lt1 I got an argument list too long error, so I need
to use something else, but to be honest, I don't know what.)

Thanks in advance for any info/advice!

Kind regards,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: Alternatives to ls for sorting files by modification time

2002-09-25 Thread Holger Rauch

Hi Vineet!

Thanks a lot for your quick reply!

On Wed, 25 Sep 2002, Vineet Kumar wrote:

 [...]
 processing the list, i.e. with xargs?  It's hard to make suggestions
 without seeing what you're trying to do...

You're right ;-) What I'm doing is

FILES=`$LS -lt1 $BACKUP_DIR/arc/*.arc | $TAIL -$NUM_OF_FILES`
for i in $FILES; do
  $RM -f $i
done

($LS contains the path to ls and $TAIL the path to tail)

I want to remove the oldest $NUM_OF_FILES files and it seems to me that
piping into tail fails when ls returns too many files.

Thanks in advance for any advice/info!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: Alternatives to ls for sorting files by modification time

2002-09-25 Thread Holger Rauch

Hi Miquel!

Thanks a lot for your quick reply!

On Wed, 25 Sep 2002, Miquel van Smoorenburg wrote:

 [...] 
 No, you probably have lots of filed in $BACKUP_DIR/arc, so
 the expression $BACKUP_DIR/arc/*.arc expands in more arguments
 than is possible on the command line of ls.

Right, I do have a lot of files in $BACKUP_DIR/arc and *all* of them end
in .arc, so I guess I could just do without *.arc.

 
 How about
 
 FILES=`$LS -t1 $BACKUP_DIR/arc | grep '\.arc$' | $TAIL -$NUM_OF_FILES`
 
 This way, you let ls list all files, and filter the arc files
 out with grep (note I left out '-l' which seems unnessecary)

Yes, you are right, the -l is not required. Probably I can omit the grep
if all my files end in .arc, right?

 If _that_ list gets too long you can always do
 
 $LS -t1 $BACKUP_DIR/arc | grep '\.arc$' | $TAIL -$NUM_OF_FILES |
 while read i
 do
   $RM -f $i
 done

Thanks a lot for your suggestions, I will try them out!

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: Alternatives to ls for sorting files by modification time

2002-09-25 Thread Holger Rauch

Hi Tom!

Thanks again for your quick reply!

On Wed, 25 Sep 2002, Tom Cook wrote:

 [...] 
 I can safely say that I knew nothing about the -1 option to ls when I
 sent that message, except that I have observed this result:
 
 tkcook@brain:~/mbox$ ls -lt1
 total 40
 drwx--S---2 tkcook   tkcook  32768 Sep 20 17:04 cur
 drwx--S---2 tkcook   tkcook   4096 Sep 20 17:04 tmp
 drwx--S---2 tkcook   tkcook   4096 Sep 20 17:03 new
 tkcook@brain:~/mbox$ 
 
 Clearly it is NOT stripping off the attributes.

For Debian systems, you are right. I just tested this on both a Debian
Woody and a SuSE 7.0 system. On the SuSE system, fileutils version 4.0 is
installed, on the Debian system it's version 4.1. When omitting the -l,
the attributes are stripped off on both systems, which means ls behaves
the same way on both systems. Seems like the -l *does* make a
difference, depending on the versions of fileutils used. Thus, I will now
change the ls command in the script, so that it does no longer contains
-l.

 The man page just says one file per line, not anything about
 attributes.

I noticed that, too. The information given in there is not very specific.

 Do you get a different result on your system?  What sort of system is
 it?  I get this result on a woody box and an (oldish) sid box.

Please see my answer above. 

Regards,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Woody: What's the proper name of the C++ lib?

2002-09-19 Thread Holger Rauch

Hi!

What's the right lib name to pass to the -l linker flag for compiling C++
progs on Debian 3.0 (Woody)? I tried to use -lstdc++-libc6.2-2, but that
didn't work. Simply using -lstdc++ leads to a very strange linker error 
(hope it's not really a linker bug, but only the wrong library name):

/usr/bin/ld: BFD 2.12.90.0.1 20020307 Debian/GNU Linux internal error,
aborting
at ../../bfd/elf32-i386.c line 1887 in elf_i386_relocate_section

/usr/bin/ld: Please report this bug.

collect2: ld returned 1 exit status

Thanks in advance for any help!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Woody: What's the proper name of the C++ lib?

2002-09-19 Thread Holger Rauch

Hi Colin!

Thanks again for your really quick reply!

On Thu, 19 Sep 2002, Colin Watson wrote:

 [...]
 Just use g++ rather than gcc ...

That's what I did. Still keep getting the linker error, though. That's the
reason why I thought of using of some special C++ lib in order to get rid
of the linker error.

Kind regards,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Woody: What's the proper name of the C++ lib?

2002-09-19 Thread Holger Rauch

Hi Colin!

Thanks for your quick reply!

Some further info on this topic: I was able to build the same app
successfully on a SuSE 7.0 system (glibc 2.1.3 based) with the following
version of ld:

GNU ld version 2.9.5 (with BFD 2.9.5.0.24)

So it *seems* to me it's really a Debian Woody specific ld bug.

On Thu, 19 Sep 2002, Colin Watson wrote:

 [...] 
 I'd file a bug with a test case.

Surely the best way to go, but it's kind of hard for me to figure out what
caused this linker error. What's a possible way to find out what caused
this problem (especially when taking into account that this is a larger
project)? (This approach is probably required for creating a test case
that triggers this error.)

Any other alternatives (such as using a different version of ld, or the
binutils package, respectively)?

Thanks in advance for any help!

Kind regards,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Woody: What's the proper name of the C++ lib?

2002-09-19 Thread Holger Rauch

Hi Colin!

On Thu, 19 Sep 2002, Colin Watson wrote:

 [...] 
 I was assuming that it was possible to trigger the error with a single
 file. 

I did some further investigation and it is finally possible for me to
reproduce the error with only two C++ file which are however linked
against various static and shared libs. Moreover, I added
-Wl,--verbose to the CFLAGS to get verbose output from the linker. The
call for linking the program is as follows (you can ignore the
-D flags; they are only used to disable some parts in the sources):

g++ -Wall -DNOT_ARCHIV_ASYNC -DNOT_BATCH_SERVER -DNOT_EXT_SERVER
-DNOT_DOCUMENT_SERVER -DNOT_ADMIN_SERVER -DNOT_CONFIG_SERVER
-DNOT_CLIENT_SERVER -DNOT_CONVERT_SERVER -Wl,--verbose -g -o
debug/SaraAppS debug/SARAAppServer.o debug/SARABaseServer.o
-L../servframe/ -lservframe -L../saradb/lib/ -lsaradbD -L../transsrv/
-lsocklib -L../servframe/wrapper -lstuff -lncurses -lpthread

Of these libs, the following are static ones (.a files):

- servframe
- saradbD
- socklib
- stuff

The others (ncurses, pthread) are shared ones:

From ld's verbose output I conclude that these libs are found
(unsuccessful tries to look for the corresponding lib omitted in
order to keep the output as concise as possible).

[...]
SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib);
SEARCH_DIR(/usr/i386-linux/lib);
[...]
attempt to open /usr/lib/crt1.o succeeded
/usr/lib/crt1.o
attempt to open /usr/lib/crti.o succeeded
/usr/lib/crti.o
attempt to open /usr/lib/gcc-lib/i386-linux/2.95.4/crtbegin.o succeeded
/usr/lib/gcc-lib/i386-linux/2.95.4/crtbegin.o
attempt to open debug/SARAAppServer.o succeeded
debug/SARAAppServer.o
attempt to open debug/SARABaseServer.o succeeded
debug/SARABaseServer.o
[failures for libservframe omitted]
attempt to open ../servframe//libservframe.a succeeded
[...]
[failures for libsaradbD omitted]
attempt to open ../servframe//libservframe.a succeeded
[failures for libsocklib omitted]
attempt to open ../transsrv//libsocklib.a succeeded
[failures for libstuff omitted]
attempt to open ../servframe/wrapper/libstuff.a succeeded
[failures for libncurses omitted]
attempt to open /usr/lib/libncurses.so succeeded
-lncurses (/usr/lib/libncurses.so)
[failures for libpthread omitted]
attempt to open /usr/lib/libpthread.so succeeded
-lpthread (/usr/lib/libpthread.so)
[failures for libstdc++ omitted]
attempt to open /usr/lib/gcc-lib/i386-linux/2.95.4/libstdc++.so succeeded
-lstdc++ (/usr/lib/gcc-lib/i386-linux/2.95.4/libstdc++.so)
[failures for libm omitted]
attempt to open /usr/lib/libm.so succeeded
-lm (/usr/lib/libm.so)
[failures for libgcc omitted]
attempt to open /usr/lib/gcc-lib/i386-linux/2.95.4/libgcc.a succeeded
(/usr/lib/gcc-lib/i386-linux/2.95.4/libgcc.a)_eprintf.o
(/usr/lib/gcc-lib/i386-linux/2.95.4/libgcc.a)_pure.o

Now comes the interesting part ;-)

When trying the various paths to find libc, in the middle of the failures,
the error message is printed. Strangely enough, the linker seems to
continue to open all required libs (and even finds them!) before it exits:

[unsuccessful tries to look for libc skipped]
attempt to open ../servframe//libc.so failed
attempt to open ../servframe//libc.a failed
attempt to open ../saradb/lib//libc.so failed
attempt to open ../saradb/lib//libc.a failed
attempt to open ../transsrv//libc.so failed
attempt to open ../transsrv//libc.a failed
attempt to open ../servframe/wrapper/libc/usr/bin/ld: BFD 2.12.90.0.1
20020307 Debian/GNU Linux internal error, aborting at
../../bfd/elf32-i386.c line 1887 in elf_i386_relocate_section

/usr/bin/ld: Please report this bug.

.so failed
[other failures to look for libc omitted]
opened script file /usr/lib/libc.so
attempt to open /lib/libc.so.6 succeeded
/lib/libc.so.6
attempt to open /usr/lib/libc_nonshared.a succeeded
(/usr/lib/libc_nonshared.a)atexit.oS
[failures to look for libgcc omitted]
attempt to open /usr/lib/gcc-lib/i386-linux/2.95.4/libgcc.a succeeded
attempt to open /usr/lib/gcc-lib/i386-linux/2.95.4/crtend.o succeeded
/usr/lib/gcc-lib/i386-linux/2.95.4/crtend.o
attempt to open /usr/lib/crtn.o succeeded
/usr/lib/crtn.o
ld-linux.so.2 needed by /lib/libc.so.6
found ld-linux.so.2 at /lib/ld-linux.so.2
collect2: ld returned 1 exit status
make: *** [debug/SaraAppS.exe] Error 1

Is it perhaps the order of the libs that is wrong? I didn't run
ranlib on the static libs. Could it be possible that this makes a
difference?

Now I'm not sure how to report this bug and which information to
supply. Is is better to

a) contact the maintainer directly
b) use the Debian bug tracking system

In case it's b) which information should I include? Just the two
preprocessed C++ files and the verbose output of the linker or also the
static libs?

Thanks in advance for any advice!

Kind regards,

Holger




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Woody: pthread_rwlock_t error

2002-09-18 Thread Holger Rauch

Hi!

Why does the following simple test program

#include pthread.h

pthread_rwlock_t lock;

int main( int argc, char** argv )
{
return(0);
}

yield these errors:

thread_test.c:3: parse error before `lock'
thread_test.c:3: warning: data definition has no type or storage class

and what can I do to fix them?

I compiled this prog with

gcc -o thread_test thread_test.c

This happened on a Debian 3.0 (Woody) system with kernel 2.2.21 and glibc
2.2.5.

Thanks in advance for any info!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Knoppix-Hacks in Debian bernehmen

2002-08-28 Thread Holger Rauch

Hallo Jens!

Vielen Dank für Deine reply!

On Wed, 28 Aug 2002, Jens Benecke wrote:

 [...]
 und _ist_ ein Rumprobierchaos. Anders als durch Rumprobiererei kann
 man Hardware nicht halbwegs automatisiert erkennen, vor allem nicht
 solche, die sich nicht zu erkennen gibt.

Hm. Ich gebe ja zu, daß ich mich mit automatischer HW-Erkennung nicht
auskenne, aber wäre es nicht eine Möglichkeit, aus den Ausgaben von
/proc/pci was rauszuziehen (zumindest für PCI-Karten und diverse onboard
Netzwerk- und Graphikchips)?

Danke für die Info!

Gruß,

Holger


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Knoppix-Hacks in Debian bernehmen

2002-08-27 Thread Holger Rauch

Hallo Jens!

On Mon, 26 Aug 2002, Jens Benecke wrote:

 [...]
 Die Konversationen verliefern fast immer etwa so:
 
   Debianer: Wie hast du das und das gemacht?
   Klaus:$UEBLER_HACK
   Debianer: Igitt!

Bezog sich das auch auf die Art und Weise der automatischen HW-Erkennung?

Gruß,

Holger



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Heise: Debian - Developers choice :)

2002-08-22 Thread Holger Rauch

Hi Dirk!

On Thu, 22 Aug 2002, Dirk Prösdorf wrote:

 [...]
 Desktop-Bereich einfach nur verschlossen geblieben, aber ich bevorzuge
 auf meinem (grafischen) Klient immer noch 'ne andere Distribution.

Wieso? Wo siehst Du die Probleme von Debian auf dem desktop? Einfacher wie
bei Debian kann man wirklich keine Pakete installieren. Außerdem ist es
auch bei einem Desktop-Rechner wünschenswert, security updates zu
haben. Und die kann man bei keiner anderen Distro so einfach einspielen.

Gruß,

Holger


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Suche Vorschlaege zur Installation

2002-08-21 Thread Holger Rauch

Hallo!

On Tue, 20 Aug 2002, Ingo Fischenich wrote:

 [...] 
 http://www.informatik.uni-koeln.de/fai/

Es gibt noch weitere Alternativen (habe ich allerdings noch nicht
benutzt):

- autoinstall (wurde von Progeny uebernommen)
- replicator (benutzt rsync)
- systemimager-* (common, client, server, doc, etc.) (benutzt ebenfalls
  rsync)
- cfengine (bezieht sich aber glaub ich nur auf die Konfiguration von
  mehreren Maschinen)

Gruß,

Holger


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Verzeichnisse auf Server/Clients abgleichen

2002-08-20 Thread Holger Rauch

Hallo Karlheinz!

On Tue, 20 Aug 2002, Karlheinz Guenster wrote:


 
 -- 
 Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
 mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
 
 


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Verzeichnisse auf Server/Clients abgleichen

2002-08-20 Thread Holger Rauch

Hallo!

Sorry fuer diese mail. Aber ich benutze pine und ^C und ^X liegen auf der
Tastatur nah beieinander ,-) Ich wollte eigentlich canceln. Die
richtige mail ist die mit dem Verweis auf den Artikel im Linux Magazin.

Gruss,

Holger

On Tue, 20 Aug 2002, Holger Rauch wrote:

 Hallo Karlheinz!
 
 On Tue, 20 Aug 2002, Karlheinz Guenster wrote:


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Upgrade auf Woody: CD-ROMs lassen sich nicht in sources.list hinzufgen

2002-08-17 Thread Holger Rauch

Hallo!

Ich moechte auf einem Stand-Alone-System, auf dem Potato läuft, Woody
ausschließlich mit den Lehmanns CD-ROMs installieren. Nachdem aber
apt-cdrom add nicht funktioniert (es hat den Eindruck, ich hätte keine
Debian CD im CD-ROM-Laufwerk), muß ich wohl zunächst dpkg, apt und debconf
updaten. Wie kann ich das bewerkstelligen, wenn ich

1. Nur die Woody CD-ROMs habe
2. Das zu Potato gehörende apt mit den CD-ROMs nichts anfangen kann

Ich habe schon in den release notes zu Woody nachgeschaut; dort wird aber
unter Upgrading using CD-ROMs bezgl. des upgrade von dpkg, apt und
debconf auch nur mit see above auf einen Abschnitt verwiesen, den es
offensichtlich nicht gibt.

(Ein apt-get install dpkg apt debconf bringt mir ja nichts, solange ich
/etc/apt/sources.list nicht updaten kann. dpkg -i auf jedes der drei
packages ist mir zu unsicher, da ich nicht weiß, ob dependencies (vor
allem neue libc6) dann aufgelöst werden.)

Meine Frage ist also: Wie kann ich diese drei wichtigen packages von den
CD-ROMs upgraden?

Danke für Eure Hilfe!

Gruß,

Holger



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Wie kriege ich den Pinguin beim Starten weg?

2002-07-25 Thread Holger Rauch

Hallo!

On Thu, 25 Jul 2002 [EMAIL PROTECTED] wrote:

 [...] 
 Wo habe ich den denn her? Weiß jemand, wie ich den weg 
 bekomme?

Vermutlich ist im Kernel-Config-Menü unter Console drivers außer VGA
text console auch Video mode selection support und Support for frame
buffer devices enabled. Ich würde da nur VGA text console auswählen,
sonst nichts (damit man auch nur die Text-Konsole, also ohne die
VESA-Modi hat). Dann sollte auch der Pinguin wieder weg sein (beim
nächsten Neustart).

Gruß,

Holger


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Questions on P4 Mainboards

2002-06-09 Thread Holger Rauch
Hi!

I'm thinking of getting myself a new machine with a 2 GHz P4 (Northwood
variant) and 512 KB cache. One of the main concerns I got is: Which P4
mainboard works well with Debian Woody? (I'm talking about
stability, good IDE controller  USB support with the kernels shipped with
Woody). I'm planning to use this machine for the following:

- Working with various DBMSs (DB2, SAP DB, PostgreSQL)
- Developing larger Java projects with rather large Java apps
  (e.g. Together/J, JBuilder) 

The first thing that came to my mind was getting an Asus P4B266-E,
since it has 2 UDMA IDE controllers (one UDMA 100, the other one UDMA
133), thus offering 4 IDE channels altogether. I would like to connect 2
UDMA 133 hard disks, so connecting each of them to a separate IDE
controller and making them work as the master drive seems to be
appropriate for performance reasons. This leads me to my next question: Is
the Promise PDC 20276 IDE controller supported by current Linux
kernels (2.2.20 or 2.4.18, respectively)? If not, are there patches around
for the 2.2/2.4 series of kernels?

What are your opinions on a P4B266-E for Debian Woody? What are good
alternatives? Which chipsets are known to work reliably with respect to
USB?

Thanks a lot for taking your time and answering my questions!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Kaufempfehlung P4 Mainboard mit UDMA 133

2002-05-30 Thread Holger Rauch

Hallo!

Welches mainboard erfüllt die unten genannten Kriterien und läuft für die
genannten Anwendungsgebiete stabil? Als Proz möchte ich einen P4
(Northwood-Variante) mit 2 GHz mit 512 KB cache einsetzen.

- Debian Woody
- auch geeignet für größere DBMS (Oracle, DB2, SAP DB)
- Java-Entwicklung von größeren Projekten (z. B. mit Together und
JBuilder)
- gute USB-Unterstützung (vor allem für USB mass storage wie z. B. flash
reader, SM card basierte, portable MP3 player. Das bezieht sich weniger
auf das mainboard selbst, sondern vielmehr auf den verwendeten Chipsatz)

Außerdem möchte ich zwei IDE UDMA 133 Festplatten sowie ein DVD-ROM
anschließen. Diese genannten Geräte wollte ich aus
Performance-Gründen jeweils als master an einem eigenen IDE
controller betreiben. Ursprünglich dachte ich an ein Asus
P4B266-E, weil da meines Wissens 2 UDMA 133 und 2 UDMA 100 IDE controller
drauf sind. Was waren Eure Erfahrungen mit diesem mainboard? Mit welcher
Kernel-Version bzw. welchen patches äuft der Promise PDC 20276 controller,
der auf dem board drauf ist? (Auf die RAID-Funktionalität des Promise
lege ich keinen Wert. Ich würde - wie oben erwähnt - lediglich jeweils
eine Platte als master an je einem Kanal anschließen wollen.) Was wären
vernünftige Alternativen zu meinem Mainboard-Vorschlag?

Vielen Dank fuer Eure Hilfe!

Grüße,

Holger




-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Which encoder for grip?

2002-05-21 Thread Holger Rauch
Hi!

On Mon, 20 May 2002, Sean 'Shaleh' Perry wrote:

 [...]
 ogg is fine as long as you never intend to use the songs in a mp3 portable
 player or other hardware player.  oggs are also smaller usually and tend to
 sound as good or better than a similar sized mp3.

This leads me to a different question: are there portable Ogg-Vorbis
players?

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Wilde scans auf 1214 ist das normal?

2002-05-13 Thread Holger Rauch

Hi!

On Fri, 10 May 2002, Marko Schulz wrote:

 [...]
  Willst Du versuchen, meine Absichten zu _erraten_?
 
 Ich interpretiere. 

Dearartige Interpretationen sind meist die Quelle fuer
Missverstaendnisse. Ich halte lesen (einfach auf das bezug nehmen, was
*wirklich* dasteht) fuer die bessere Alternative. Dann gibt's auch weniger
Missverstaendnisse. Email ist schliesslich (im Allgemeinen) kein shell-
oder Perl code ;-)

 Das macht jeder. 

Das glaub ich nicht.

Gruss,

Holger



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




OT: Wo bekomme ich SCSI-Adapter von LSI Logic her?

2002-05-02 Thread Holger Rauch

Hallo!

Sorry fuer diese OT mail (weiss leider auch kein adaequates Forum/mailing 
list), aber ich suche SCSI-Host-Adapter von LSI Logic, da LSI auch den
Linux source code fuer seine Treiber zur Verfuegung stellt.

Ich habe nach lsi logic distributor (in deutscher Sprache) gegoogled und
musste leider feststellen, dass die entsprechende Seite bei
LSI Logic (Distributoren in ihrer Naehe) offensichtlich veraltet ist.
Lediglich Azzurri scheint noch LSI Logic zu fuehren, die anderen (ELD,
EBV, Avnet, CPI) leider nicht mehr. transtec liefert meines Wissens nur an
Haendler. Bei insight und Peacock bin ich irgendwie nicht weitergekommen
(hab keinen link fuer LSI Logic host adapter gefunden).

Deshalb meine Frage: Kennt jemand von Euch einen Distributor, der LSI
Logic host adapter zu einem guenstigen Preis anbietet? (Email gerne auch
an mich privat, falls jemand den Eindruck hat, dass es die anderen
Listen-Teilnehmer nicht interessiert).

Vielen Dank fuer die Info!

Gruss,

Holger


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: OT: Digitalkamera unter Linux

2002-05-01 Thread Holger Rauch

Hallo David!

Vielen Dank fuer Deine informative reply!

On Tue, 30 Apr 2002, David Elze wrote:

 [...] Allerdings benutze ich hauptsächlich einen externen
 USB-Kartenleser für meine CF-Karten - ist imho die eleganteste Lösung
 und du brauchst dir i.A. gar keine Gedanken um die evtl. Unterstützung
 deiner speziellen Kamera zu machen.

Das ist wirklich ein sehr interessanter Vorschlag, da man damit schon mal
das Problem der Unterstuetzung einer USB-Kamera aus der Welt geschafft 
hat. Welchen Leser verwendest Du denn?
 
 Das einzige Manko (das ich sehe) ist die Tatsache, dass es kein gutes
 PhotoStitch-Programm unter GNU/Linux zu geben scheint. Es existiert
 wohl ein hochkompliziertes PlugIn für Gimp aber das war's dann auch. 

Was leistet denn ein PhotoStitch-Programm mehr als Standard-Gimp?

Danke fuer die Infos!

Gruss,

Holger



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




OT: Digitalkamera unter Linux

2002-04-29 Thread Holger Rauch

Hallo!

Ich moechte mir gerne eine Digitalkamera zulegen, die auch von Linux *gut*
unterstuetzt wird (damit meine ich sowohl die Unterstuetzung von gphoto
her als auch die USB-Anbindung). Ich habe mich zwar mal bei www.gphoto.org
umgesehen; dabei ist mir aufgefallen, dass ziemlich viele Kameras dabei
sind. Allerdings bleibt dann noch das Problem einer entsprechenden
USB-Anbindung (z. B. mit kernel 2.4.18). Deshalb meine Frage(n):

Welche Kamera habt ihr Euch zugelegt, welche Aufloesung hat sie und habt
ihr unter Debian Woody in Verbindung mit gphoto (evtl. auch mit Version
2) gute Erfahrungen gemacht?

In diesem Zusammenhang noch eine Frage zur Aufloesung: Ich habe von einem
Bekannten gehoert, dass Grafikprogramme (z. B. Gimp) Probleme haben
sollen, mit hoeheren Aufloesungen als 2.1 Mega-Pixeln zurecht zu
kommen. Stimmt das?

Ueber entsprechende Hinweise (ruhig auch als private mail, falls ihr den
Eindruck habt, dass es die anderen Listen-Teilnehmer nerven
koennte) wuerde ich mich sehr freuen.

Schon mal vielen Dank fuer die Infos!

Gruss,

Holger



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Woody: xhost + on Local Machine not Working

2002-04-22 Thread Holger Rauch
Hi Bruno!

On Mon, 22 Apr 2002, Bruno Boettcher wrote:

 [...] 
 as others pointed out, i don't want to open the access to the X server
 and am trying the ssh solution without success so far
 
 here's my try:
 ssh -A -X router

Yes, I got it solved. The ssh -X solution works for me (note that I'm
*not* using the -A switch since I'm not using the SSH agent). My
sshd_config on the server contains:

X11Forwarding yes
X11DisplayOffset 10

Is ssh-agent running on the client system? If not, start it and see
whether that helps. I've never used ssh-agent so far, so I'm not sure.

Hope my advice was of some help.

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody: xhost + on Local Machine not Working

2002-04-22 Thread Holger Rauch
Hi!

On Sat, 20 Apr 2002, Alexander Schmehl wrote:

 [...] 
 /etc/X11/xinit/xserverrc . Remove it, or use ssh -x instead of
 telnet/xhost should solve your problem.

Yes, indeed. It *did* solve my problem. Thanks a lot!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Woody: xhost + on Local Machine not Working

2002-04-20 Thread Holger Rauch
Hi!

When I execute xhost + on localhost, telnet to another machine, set the
DISPLAY to my machine's hostname (!export DISPLAY=prag:0.0), I get the
error message that this connection is refused by the server? Why? (It
doesn't make sense to me since I executed xhost + on the machine the X
server is running on.)

Thanks in advance for enlightening me on this issue!

Greetings,

Holger
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Emacs advice,what to install?

2002-04-18 Thread Holger Rauch
Hi!

On Wed, 17 Apr 2002, Wendell Cochran wrote:

 [...] 
 Flaming vi vs emacs is for script kiddies.

There *are* arguments for Emacs:

- You don't have to think about which mode you are currently in, just hack
your stuff in there (something which is rather difficult with vi since you
need to be careful whether you are in command mode or in insert or
whatever mode).

- vi does not have its own programming language so it can't be customized
as much as emacs (ok, you can define new keyboards macros and syntax
highlighting in vi, but that's it). With Emacs, you can have specialized
development environments for Java (JDEE) and LaTeX (AucTeX, yaTeX), just
to mention a few.

The only *real* arguments against Emacs is that it uses a lot of memory
and that some of the keybindings may be a bit hard to get used to in the
beginning (under X, you can just conveniently use the menu to learn these 
keybindings).

So, there is no need to flame. I think it's justified to come up with good
arguments on a mailing list.

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Using /lib/ld-lsb.so.1 from LSB package

2002-04-16 Thread Holger Rauch
Hi!

How can I use

/lib/ld-lsb.so.1

from the lsb package instead of the standard ld.so?

Thanks for any hints!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Installing Getting Rid of gdm in Woody

2002-04-14 Thread Holger Rauch
Hi!

I am faced with the following problem:

prag:~# apt-get install gdm
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
  gdm
1 packages upgraded, 0 newly installed, 0 to remove and 4  not upgraded.
Need to get 0B/1524kB of archives. After unpacking 799kB will be used.
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 129397 files and directories currently installed.)
Preparing to replace gdm 2.2.5.4-2 (using .../gdm_2.2.5.5-2_i386.deb) ...
Unpacking replacement gdm ...
dpkg: error processing /var/cache/apt/archives/gdm_2.2.5.5-2_i386.deb
(--unpack):
 trying to overwrite `/etc/X11/gdm', which is also in package fluxbox
scrollkeeper-update: /usr/local/share/omf: No such file or directory
Registering /usr/share/omf/gnome-core/mailcheck_applet-no.omf
Registering /usr/share/omf/gnome-core/printer_applet-no.omf
Registering /usr/share/omf/gnome-core/fish_applet-it.omf
...

Why can't this package be unpacked? Does anybody know what's wrong with
the gdm package in Woody? How can I find it out myself?

I also tried to ged rid of gdm first before installing it by doing:

prag:~# apt-get remove gdm
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  gdm*
0 packages upgraded, 0 newly installed, 1 to remove and 4  not upgraded.
Need to get 0B of archives. After unpacking 4014kB will be freed.
Do you want to continue? [Y/n]
Reading changelogs... Done
(Reading database ... 129396 files and directories currently installed.)
Removing gdm ...

My machine seems to hang at this point. When I press ^C once, I get:

dpkg: error processing gdm (--purge):
 subprocess pre-removal script killed by signal (Interrupt)
scrollkeeper-update: /usr/local/share/omf: No such file or directory
Registering /usr/share/omf/gnome-core/mailcheck_applet-no.omf
...
Errors were encountered while processing:
 gdm
E: Sub-process /usr/bin/dpkg returned an error code (1)

How can I cleanly deinstall this package despite of these errors?

Thanks in advance for any advice!

Kind regards,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing Getting Rid of gdm in Woody

2002-04-14 Thread Holger Rauch
Rehi!

Replying to my own post. Here's what I tried:

I apt-get removed fluxbox. That worked without any problems. I commented
out set -e in the /var/lib/dpkg/info/gdm.prerm script, since I guessed
it might be the culprit. Reran apt-get remove gdm == same problem (hung
after printing Removing gdm). I then added set -x to the
/var/lib/dpkg/info/gdm.prerm script. Finally I tried apt-get remove
gdm again. The last few lines of what's executed by the gdm.prerm script
follow:

+ local _LINE
+ read -r _LINE
+ RET=gdm
+ return 0
+ '[' gdm = gdm ']'
+ '[' -e ']'
+ db_get gdm/daemon_name
+ echo 'GET gdm/daemon_name'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=/usr/bin/gdm
+ return 0
++ cat

My guess is that the script is waiting for input (indicated by the line
containing the cat command). Unfortunately, I'm not familiar with prerm
scripts so I don't know what the script is looking for.

Any ideas? Any help will be greatly appreciated. Thanks in advance!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody: Apache SSL not starting

2002-04-12 Thread Holger Rauch
Hi!

On Thu, 11 Apr 2002, Shawn McMahon wrote:

 [...] 
 That's not a bug, that's what it's supposed to do.  http uses port 80;
 https uses port 443.  They are not the same thing.

I am aware of that, but I thought it should listen to *both* port 80 *and*
443.

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody???

2002-04-12 Thread Holger Rauch
Rehi!

Replying to my own post since I forgot to mention something. I will leave
the quote intact so that if someone is looking for it in the archive has
access to the full piece of advice. Ok, here's what I forgot to mention:

As far as I remember, X has been kept back during the update, so after
uprading I still had the old X11 (3.3.6). So I

- uninstalled the old X stuff (xserver-svga and xserver-vga16,
  xserver-common-v3, maybe also a few others; don't recall exactly)

  You can get a list of the old installed X packages by typing

  dpkg -l | grep xserver

- Kept looking for the new one (4.1.0) by doing
  
  apt-cache search --names-only xserver

  === xserver-xfree86 seemed new to me, so I looked at it more closely by
   issuing

  apt-cache show xserver-xfree86

  which revealed the new version number

- installed the new XFree86 by issuing

  apt-get install xserver-xfree86

Hope this will be helpful to users wanting to upgrade to Woody. (I also
took the time to write this to prevent unecessary and unjustified attacks
against the other subscribers as recently done by Matthias).

Greetings,

Holger

On Thu, 11 Apr 2002, Holger Rauch wrote:

 Hi!
 
 The following suggestion worked well for me:
 
 http://lists.debian.org/debian-user/2002/debian-user-200201/msg05307.html
 
 I did dselect update instead of apt-get update since that will update
 the available file as well (which is useful when using tasksel). In
 addition, you might consider just updating apt in the very beginning
 instead of upgrading the packages
 
 apt apt-utils dpkg debconf perl
 
 at once (even though the original suggestion worked well for me). The only
 problem I came accross that the kdelibs package could not be upgraded. I
 solved this by removing all the KDE stuff and reinstalled it via
 tasksel (using option desktop environment).
 
 On Thu, 11 Apr 2002, Mattias Berg wrote:
 
  I'l need to dist-upgrade to woody due kernelchange.. didn't work.. totally 
  fuck'd up my server... Try'd to reinstall debian and try with unstable... 
  didn't work.. totally fuck'd up my server...
 
 How did you do it? What *precisely* did you do?
 
  What the hell are you doing over there? Debian used to be a stable and 
  trustable distribution (95% even with unstable dist-upgrade) for just about 
  a year ago..
 
 I can't speak for unstable, since I'm using testing with kernel 2.4.18,
 but I think Debian testing *is* very stable compared to other distros. I
 got the impression that the Debian developers and maintainers are working
 very hard and are doing a good job. Thus, they simply do not deserve
 statements like yours.
 
  I have been running debian since i was 18 years old.. (i'm 23 now)..
  But i will search for a more stable distribution.. Debian sucks big time..
 
 Strange. If you have *really* been using Debian for five years now, you
 should be familiar with administrating a Debian system, especially with
 upgrading (unless you've never upgraded your system before). Another
 advice I can give you is simply to ask for help (or search the
 archives) *before* you are actually performing the upgrade. Speaking from
 experience, the subscribers of the debian-user list are really kind people
 and are willing to help you if you encounter problems. 
 
 Greetings,
 
   Holger
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Does libqt3 refers to kde3

2002-04-12 Thread Holger Rauch
Hi Colin!

On Fri, 12 Apr 2002, Colin Watson wrote:

 [...] but KDE3
 will not make it into woody at this stage.

What's the reason for this?

Thanks for the info!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody: Apache SSL not starting

2002-04-11 Thread Holger Rauch
Hi!

On Wed, 10 Apr 2002, Tom Cook wrote:

 [...]
 access it).  The only thing which seems likely is apache.

I tried very hard, but suddenly https works. What doesn't work with
apache-ssl is http://localhost/;, though. But this may be a bug which has
already been reported.

 [...]
 then that means that apache-ssl now 'owns' the https port.  So try
 accessing some https content:  point your browser at
 https://localhost/ and see what happens.

That works with apache-ssl.

 I feel a bit bad about pointing this out when you had a working
 system, as it seems to have made you keen and *uninstalled a working
 system* (something you wouldn't catch me doing).  Sorry.

No need to apologize. I had a working system, but it contained only Debian
documentation (the /var/www/... stuff). Debian's pre/postrm scripts for
both apache and apache-ssl are smart enough *not* to delete it, so I
didn't lose anything... I think that behavior applies to the entire
/var/www hierarchy, so if you install your stuff below that directory
you should never lose it by installing/uninstalling various apache-related
packages.

Debian just rocks! (A few others may already have mentioned this, but it
can not be stated often enough).

Again thanks for giving me such detailed instructions!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Sources from Sid Binaries from Woody

2002-04-11 Thread Holger Rauch
Hi!

Is it safe (in the sense that it won't hose my system) to stay with Woody
when it comes to the binaries and to add appropriate deb-src lines to
/etc/apt/sources.list for the latest and greatest stuff?

Thanks in advance for any hints!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sources from Sid Binaries from Woody

2002-04-11 Thread Holger Rauch
Hi!

Thanks for your quick reply!

On Thu, 11 Apr 2002, David Z Maze wrote:

 [...] 
 Sure, if you're willing to accept that 'apt-get install' and 'apt-get
 source' will get you different versions of things.  (And it sounds
 like that's your intent.)

What I would like to do is install the more stable things from Woody and
on the other hand want access to newer stuff as well. I thought that using
apt-get source and compiling the stuff myself will make it possible to
integrate these packages cleanly in a running Woody-based system.

The main thing I'm worrying about that the dependencies between the source
packages from Sid are different to those of Woody and that apt-getting a
single source package might lead to a recompile of half of the distro. Is
this a real danger or am I exaggerating?

Thanks in advance for any info!

Kind regards,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody???

2002-04-11 Thread Holger Rauch
Hi!

The following suggestion worked well for me:

http://lists.debian.org/debian-user/2002/debian-user-200201/msg05307.html

I did dselect update instead of apt-get update since that will update
the available file as well (which is useful when using tasksel). In
addition, you might consider just updating apt in the very beginning
instead of upgrading the packages

apt apt-utils dpkg debconf perl

at once (even though the original suggestion worked well for me). The only
problem I came accross that the kdelibs package could not be upgraded. I
solved this by removing all the KDE stuff and reinstalled it via
tasksel (using option desktop environment).

On Thu, 11 Apr 2002, Mattias Berg wrote:

 I'l need to dist-upgrade to woody due kernelchange.. didn't work.. totally 
 fuck'd up my server... Try'd to reinstall debian and try with unstable... 
 didn't work.. totally fuck'd up my server...

How did you do it? What *precisely* did you do?

 What the hell are you doing over there? Debian used to be a stable and 
 trustable distribution (95% even with unstable dist-upgrade) for just about 
 a year ago..

I can't speak for unstable, since I'm using testing with kernel 2.4.18,
but I think Debian testing *is* very stable compared to other distros. I
got the impression that the Debian developers and maintainers are working
very hard and are doing a good job. Thus, they simply do not deserve
statements like yours.

 I have been running debian since i was 18 years old.. (i'm 23 now)..
 But i will search for a more stable distribution.. Debian sucks big time..

Strange. If you have *really* been using Debian for five years now, you
should be familiar with administrating a Debian system, especially with
upgrading (unless you've never upgraded your system before). Another
advice I can give you is simply to ask for help (or search the
archives) *before* you are actually performing the upgrade. Speaking from
experience, the subscribers of the debian-user list are really kind people
and are willing to help you if you encounter problems. 

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody: Apache SSL not starting

2002-04-10 Thread Holger Rauch
Hi Tom!

On Wed, 10 Apr 2002, Tom Cook wrote:

 [...] 
 You seem to have made a couple of silly mistakes here.

Yes, indeed... I admit it ;-) Thanks for pointing this out.

 [...] maybe apache was already configured to listen there?

I don't know. In order to verify what you suggested, I did the following:

1. Removed apache and libapache-mod-ssl again (apt-get remove ...)
2. Reinstalled apache-ssl (apt-get install apache-ssl)
3. Reentered the data for a selfsigned certificate
4. Tried the netstat and lsof commands you suggested

Result: apache-ssl shows up in ps auxwww | grep apache-ssl and the
netstat and lsof commands showed the expected results (LISTEN state on
port https).

Thanks for taking your time and helping me out.

Kind regards,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Woody: Apache SSL not starting

2002-04-09 Thread Holger Rauch
Hi!

I installed the apache-ssl package from Woody. When I try to start it
using /etc/init.d/apache-ssl start I get the following messages leading
to the impression that apache-ssl was started correctly:

Starting web server: apache-sslReading key for server
prag.datech2.er.heitec.net:443
Launching... /usr/lib/apache-ssl/gcache
pid=4070
.

When I do a psauxwww | grep 4070 | grep -v grep I don't see this PID, so
it was obviously not started. Looking in /var/log/apache-ssl/error.log I
found these lines:

[Tue Apr  9 10:15:51 2002] /usr/lib/apache-ssl/gcache started
[Tue Apr  9 10:15:52 2002] [crit] (98)Address already in
use: make_sock: could not bind to port 443

So I did a netstat -avi | grep 443 but that yielded nothing. So there is
no program that opened a socket on port 443 as the apache-ssl logs
suggest.

What could have caused this error that obviously prevents apache-ssl from
starting correctly?

By the way, the normal apache (without SSL support) starts up without
any problems. Do I need to start both of them (apache and apache-ssl) for
a working Apache SSL config?

Thanks in advance for any info!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody: Apache SSL not starting

2002-04-09 Thread Holger Rauch
Hi Thomas!

On Tue, 9 Apr 2002, Thomas Gebhardt wrote:

 [...] 
 You might have hit Bug#136052?

As far as I understand, this bug deals with password-protected
keys, which mine is not. (I am aware that this is insecure, but I'm only
using it for testing purposes so it shouldn't matter too much). I just
want to use the selfsigned certificate generated by the postinst script.

Still, thanks a lot for your hint!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody: Apache SSL not starting

2002-04-09 Thread Holger Rauch
Hi!

On 9 Apr 2002, Crispin Wellington wrote:

 [...]
 Its probably your virtual host settings in Apache-SSL. If you remove
 them from the ssl config, does it start?

Thanks for the hint on the HTTPS protocal, but I'm not using virtual hosts
at all, just the selfsigned certificate generated by apache-ssl's postinst
script.

Nevertheless, I will check my /etc/apache-ssl/httpd.conf again.

Regards,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody: Apache SSL not starting

2002-04-09 Thread Holger Rauch
Hi!

Replying to my own post since I found a quick hack that fixes my
problem. I changed the port number in the Listen directive from 443 to
8443. Still got no idea what process is supposed to listen on port 443
though...

Greetings,

Holger

On Tue, 9 Apr 2002, Holger Rauch wrote:

 [...] 
 [Tue Apr  9 10:15:51 2002] /usr/lib/apache-ssl/gcache started
 [Tue Apr  9 10:15:52 2002] [crit] (98)Address already in
 use: make_sock: could not bind to port 443
 
 So I did a netstat -avi | grep 443 but that yielded nothing. So there is
 no program that opened a socket on port 443 as the apache-ssl logs
 suggest.
 [...]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Woody: Apache SSL not starting

2002-04-09 Thread Holger Rauch
Rehi!

My problem is solved now! I removed apache-ssl, and installed apache
and libapache-mod-ssl instead (Tim Dijkstra suggested this). Then I made
the necessary adjustments to the httpd.conf file. Works really
well. Can someone tell me why both libapache-mod-ssl and apache-ssl are
included?

Thanks!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Alt as Meta Key in Emacs21 and XFree 4.1.0.1

2002-04-08 Thread Holger Rauch
Hi!

I noticed that in Debian Woody the Alt key does not work as Meta key when
using Emacs 21 under X (XFree 4.1.0.1). What do I have to put in my .emacs
file to get it to work? (I was looking at the FAQ using Help-Emacs FAQ,
but found nothing there.) Searching with google revealed:

(define-key function-key-map [f11] [?\e])

which I changed to [alt]. Unfortunately, this didn't help. Any other
ideas?

Thanks in advance!

Greetings,

Holger




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: installing oracle 9i

2002-04-07 Thread Holger Rauch
Hi!

Why not give SAP DB a try? It's open source.

For more info: http:/www.sapdb.org

It uses table spaces (called devspaces in SAP lingo) and you are also
given the ability to reconstruct/synchronize a database based on redo
logs.

Greetings,

Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Disk rescue tools?

2002-04-04 Thread Holger Rauch
Hi!

Another solution is Knoppix. It's available from 

ftp://ftp.uni-kl.de/pub/linux/knoppix/

Choose the english version (the one ending in EN.iso)

A general description of Knoppix is available at

http://www.knopper.net/knoppix/

(unfortunately only in German)

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Woody Java Web Start 1_0_1_02

2002-04-02 Thread Holger Rauch
Hi!

I got Java Web Start 1_0_1_02 installed on Woody (glibc 2.2.5, binutils 
2.12.90.0.1, kernel 2.2.17) and am now faced with the following problem:

Changing to the javaws subdir and running ./javawsbin yields the
following error message:

Inconsistency detected by
ld.so: dynamic-link.h: 62: elf_get_dynamic_info: Assertion `! bad dynamic
tag' failed!

Doing an ldd javawsbin prints this error message twice followed by:

ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

What could be the cause of this error message and what can I do to get rid
of it?

Any help will be greatly appreciated!

Greetings,

Holger



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Fixing unmet dependencies (Was: Re: General Update Hints Potato-Woody)

2002-03-28 Thread Holger Rauch
Hi!

Finally took the time to *try* to upgrade from Potato to Woody.

On Tue, 29 Jan 2002, Thomas R. Shemanske wrote:

 [...] 
 Feel free to post your intermediate results.

Ok, here they are. I did the following:

1. Changed /etc/apt/sources.list so that it contains the following
entries:

deb http://ftp.uni-erlangen.de/pub/Linux/debian/ testing main non-free
contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib
non-free

2. Did a dselect update (so that the available file get updated as
well). This doesn't seem to be the case when using apt-get update.

3. Did apt-get install apt apt-utils dpkg debconf perl. This worked
without any major problems, except that I got the following messages:

perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MESSAGES = C,
LC_CTYPE = de_DE.ISO8859-15,
LC_COLLATE = de_DE.ISO8859-15,
LANG = de_DE
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).

4. I then did apt-get -s -u dist-upgrade | less and examined the
situation. Nothing looked suspicious to me. For some time, everthing went
well, but then I reached a point where dependencies were broken and I
don't know how to fix that. I tried apt-get -f install (without any
packages mentioned) after I got the following:

  kivio: Depends: kdelibs3 (= 4:2.2.2-1) but 4:2.1.2-0.potato1 is
installed
  koffice-libs: Depends: kdelibs3 (= 4:2.2.2-1) but 4:2.1.2-0.potato1 is
installed
  libkonq3: Depends: kdelibs3 (= 4:2.2.2-1) but 4:2.1.2-0.potato1 is
installed
E: Unmet dependencies. Try using -f.

Running apt-get -f install again yielded:

Unpacking replacement kdelibs3 ...
dpkg: error processing
/var/cache/apt/archives/kdelibs3_4%3a2.2.2-13_i386.deb (--unpack):
 trying to overwrite `/usr/lib/kde2/kio_help.so', which is also in package
kdebase-libs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/kdelibs3-bin_4%3a2.2.2-13_i386.deb
 /var/cache/apt/archives/kdelibs3_4%3a2.2.2-13_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any good hints on how I can continue? Any help will be greatly
appreciated.
 
 Luck!

Thanks, but unfortunately I seem to be out of luck.

Greetings,

Holger




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Which Linux Kernel Version for Athlon XP?

2002-02-18 Thread Holger Rauch
Hi!

Which version of the Linux kernel do you recommend for using an Athlon
XP's special features? Is it supported by 2.2.20 as well as 2.4.17?

Any advice will be greatly appreciated.

Greetings,

Holger




Woody LSB Conformance

2002-02-18 Thread Holger Rauch
Hi!

To what extent will Woody be conformant to the LSB (i.e. will it be fully
conformant or are there areas where Woody deviates from the spec. If so,
for what reason?)

Thanks for enlightening me on this issue.

Kind regards,

Holger




Re: Which Linux Kernel Version for Athlon XP?

2002-02-18 Thread Holger Rauch
Hi Ron!

Thanks for your reply!

On Mon, 18 Feb 2002, Ron Johnson wrote:

 On a workstation, after the installer defaulted to 2.2.20, I downloaded
 kernel-source-2.4.17  kernel-headers-2.4.17-k7, then built my own
 kernel, choosing Athlon.  No problems...

Ok, a few questions:

1. Did the 2.2.20 kernel work with your Athlon XP? Or, put in
different words, is an Athlon XP backwards-compatible with a
regular Athlon so that an older 2.2.x kernel can be used as well? (I'm
asking because to me it seems not obvious why you switched to 2.4.17.)

2. Were you able to use the new features of the Athlon XP?

3. What Debian distro are you using (Woody or Potato)?

4. Where did you get kernel-source-2.4.17  kernel-headers-2.4.17-k7 from?

Thanks for the info!

Greetings,

Holger




OT: Different Java Plugins with Netscape 6.2

2002-02-18 Thread Holger Rauch
Hi!

I'm having trouble selecting different Java Plugin versions for Netscape
6.2. This means I can only use the Java 1.3.1 that's been shipped with
Netscape 6.2. I tried the following:

1. Setting the NPX_PLUGIN_PATH variable from the command line (didn't
work, but used to work for my Netscape 4.78)

2. Setting the NPX_PLUGIN_PATH variable from within the
run-mozilla.sh start script (didn't work either)

3. Going to the plugins directory, moving the java2 subdir out of the
way, and making the symlink libjavaplugin* point to the corresponding file
of the desired plugin (the one being shipped with 1.4.0). This method
works but is pretty awkward. I'm looking for a method that lets me
conveniently change plugin versions before I start Netscape. I got a set
of aliases on my system that let me switch between multiple JDKs. They
look like this

alias sunjdk131=export
PATH=$BASE_PATH:/usr/local/java/sun-jdk-1.3.1_01/bin; export
JAVA_HOME=/usr/local/java/sun-jdk-1.3.1_01; export
NPX_PLUGIN_PATH=/opt/Netscape-4.78/plugins:/usr/local/java/sun-jdk-1.3.1_01/jre/plugin/i386;
 export
MANPATH=$BASE_MANPATH:/usr/local/java/sun-jdk-1.3.1_01/man

(BASE_PATH and BASE_MANPATH contain the complete paths to the binaries and
manpages, respectively, but without the JDK paths).

Does anybody have a good suggestion to this problem? Thanks in advance for
any hints (or pointers to hints).

Kind regards,

Holger




General Update Hints Potato-Woody

2002-01-29 Thread Holger Rauch
Hi!

Is there something like a upgrade HOWTO describing upgrading
Potato-Woody in more detail? If so, pointers are most welcome.

Is it safe to upgrade to Woody/testing at present or may it leave the
system unusable?

Thanks for any hints!

Greetings,

Holger




  1   2   >