Setting Up a CVSup Mirror for FreeBSD on a Debian Lenny system
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
[SOLVED] Re: [LONG] Trouble using debmirror on Lenny (certain public keysnot found)
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
[LONG] Trouble using debmirror on Lenny (certain public keys not found)
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 copying&pasting): === 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
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
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
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
Re: On Access Virus Scanner Recommendation
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
On Access Virus Scanner Recommendation
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
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
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
Re: Recommended Debian package for hard disk cloning
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
Recommended Debian package for hard disk cloning
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
Kerberized NFSv4: rpc.idmapd only "sees" root principal
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
gdb 6.0 (unofficial) backport from unstable to testing available?
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
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:<7>usb-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)
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]
Re: Setting system-wide ulimits (esp. # of open files)
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)
Hi! Thanks for your quick reply! On Sat, 03 Jan 2004, GCS wrote: > [...] > Maybe put the relevant lines into /etc/profile? Someone really know a > better solution, this one is ugly IMHO. I tried that too, but got an "Operation not permitted" message as soon as I logged in as a regular user. 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)
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
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]
www.apt-get.org down?
Hi! I'm experiencing severe problems accessing www.apt-get.org. Neither ping nor http return anything. Does anybody know what's going on with www.apt-get.org? Are there mirrors of www.apt-get.org? Thanks a lot in advance for any info! Greetings, Holger -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: www.apt-get.org down?
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?
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 #include #include #include 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]
waimea pkgs for Woody
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
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?
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
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
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?
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
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
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]
Re: OT: Alternatives to ls for sorting files by modification time
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]
Re: OT: Alternatives to ls for sorting files by modification time
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
Hi Tom! Thanks for your quick reply! On Wed, 25 Sep 2002, Tom Cook wrote: > [...] > All I can say is... it works for me. How many files in the directory > where you're having this fail? It works for me in /usr/lib. > > # ls /usr/lib -lt1 | wc -l > 841 I suspect the problem is not $NUM_OF_FILES since that is set to only 50. To me, the problem seems to be the sheer number of files returned by ls: ls -lt1 $BACKUP_DIR/*.arc | wc -l 2708 That number will grow considerably since these .arc files are Oracle archive files and 4-5 of these files are created *per minute*. > [...] > otherwise you will get a lot of files with names like '-rw-r-' > that rm can't delete for some mysterious reason. Maybe that was your > problem? No, I don't get the permission settings since I used "ls -lt1" which is different from "ls -lt". When it comes to "ls -lt", I absolutely agree with you. Even though the ls's man page is not very specific on "-1", it seems to strip the other info returned by "-l" away, which is what I want. The awk you added of course also works, if I only used "ls -lt". Thanks for your suggestion! 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
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]
OT: Alternatives to ls for sorting files by modification time
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: Woody: What's the proper name of the C++ lib?
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 [] attempt to open ../servframe//libservframe.a succeeded [...] [] attempt to open ../servframe//libservframe.a succeeded [] attempt to open ../transsrv//libsocklib.a succeeded [] attempt to open ../servframe/wrapper/libstuff.a succeeded [] attempt to open /usr/lib/libncurses.so succeeded -lncurses (/usr/lib/libncurses.so) [] attempt to open /usr/lib/libpthread.so succeeded -lpthread (/usr/lib/libpthread.so) [] 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) [] attempt to open /usr/lib/libm.so succeeded -lm (/usr/lib/libm.so) [] 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: [] 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 [] 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 [] 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]
Re: Woody: What's the proper name of the C++ lib?
Hi Colin! Thanks again for quick reply! On Thu, 19 Sep 2002, Colin Watson wrote: > [...] > Just strip it down as far as you can by experiment. If all else fails, I > imagine the maintainers would be happy enough if you ran a sample source > file through the preprocessor and gave them the output (if you're at > liberty to do so). Sorry, but I dont't quite understand what preprocessor output has to do with the linker. Doesn't a linker link *object files* together to form a single executable? Anyway, I will try to narrow the problem down as good as I can. Thanks for your 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?
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?
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]
Woody: What's the proper name of the C++ lib?
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: pthread_rwlock_t error
Hi Colin! Thanks a lot for this really quick reply! On Wed, 18 Sep 2002, Colin Watson wrote: > [...] > #define _XOPEN_SOURCE 500 > > ... at the top of your file to access it. See 'info libc "Feature Test > Macros"'. I followed your advice and read the section you mentioned. I found out that simply specifying -D_GNU_SOURCE in my Makefile solved the problem ,-). I also encountered that there seems to be a difference between the documented _XOPEN_SOURCE option you mentioned and _X_OPEN_SOURCE (not documented; with an "_" in between the X and the O). One part of my project needed the version with the "_", the other part the version without. Strange. What's the difference between the two? But, as already mentioned, _GNU_SOURCE works fine! Thanks a lot for your info! Kind regards, Holger -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Woody: pthread_rwlock_t error
Hi! Why does the following simple test program #include 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]
Questions on P4 Mainboards
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]
Re: Which encoder for grip?
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: Woody: "xhost +" on Local Machine not Working
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]
Re: Woody: "xhost +" on Local Machine not Working
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]
Woody: "xhost +" on Local Machine not Working
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?
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
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]
Re: Installing & Getting Rid of gdm in Woody
Rehi! Replying to my own post. Here's what I tried: I "apt-get remove"d 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]
Installing & Getting Rid of gdm in Woody
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: Does libqt3 refers to kde3
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???
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: Woody: Apache SSL not starting
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???
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: Sources from Sid & Binaries from Woody
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]
Sources from Sid & Binaries from Woody
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: Woody: Apache SSL not starting
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]
Re: Woody: Apache SSL not starting
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]
Re: Woody: Apache SSL not starting
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]
Re: Woody: Apache SSL not starting
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
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
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]
Woody: Apache SSL not starting
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]
Alt as Meta Key in Emacs21 and XFree 4.1.0.1
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
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?
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
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)
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]
OT: Different Java Plugins with Netscape 6.2
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
Re: Which Linux Kernel Version for Athlon XP?
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
Woody & LSB Conformance
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
Which Linux Kernel Version for Athlon XP?
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
Screen Dump Util
Hi! I would like to make dumps of screens/windows. Which tool in Debian Potato do you recommend (it should also support different color depths)? (I know there is GIMP, but this one is rather large and I'm looking for something smaller in size). Thanks for your help! Regards, Holger
General Update Hints Potato->Woody
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
Re: PDF 1.4 Capable Apps in Debian GNU/Linux?
Hi! Thanks for your quick reply! On Mon, 21 Jan 2002, J.H.M. Dassen (Ray) wrote: > [...] > xpdf's upstream changelog for 0.93 includes: > :Implement PDF 1.4 (128-bit) decryption. > :Bump supported PDF version number to 1.4. Ok. Does that mean PDF 1.4 is already implemented or that it will be implemented? Greetings, Holger
PDF 1.4 Capable Apps in Debian GNU/Linux?
Hi! Is there a PDF viewer in Potato/Woody that's capable of displaying the latest PDF standard (which I think is 1.4)? If not, are there any open source tools available at all that can be used to view PDF 1.4 documents? Thanks in advance for any advice! Greetings, Holger
Re: Java Web Start on Debian Potato
Hi Bill! First of all, thanks for your quick and informative reply! On Tue, 15 Jan 2002, Bill Wohler wrote: > [...] but I > suppose your mileage may vary--I may have made some wise decisions and > others may have made some poor decisions. Could you please be a bit more precise on which decisions you consider "wise" and which ones "poor"? > [...] Find and read the upgrade notes > (not sure exactly where they are) and the new apt HOWTO. I believe the Does any of the other subscribers have this link at hand? If so, could you please repost it again (maybe privately if you don't won't to clutter up the list)? Thank you. > [...] > [...] Viel gluck--und spass! Thanks! I think I will surely have it *grin* Kind regards, Holger
Re: Large file sizes (2+Gb)
Hi Miquel! On Wed, 16 Jan 2002, Miquel van Smoorenburg wrote: > Also ext2 and ext3 support 64-bit filesizes just fine and have done > so for years. They are very stable filesystems, while reiser is > experimental. Reiser can be unstable (I've seen filesystems go > up in smoke) and it *especially* has problems with being exported > over the network. My advice: do not use reiserfs. What makes you think ext3 is not experimental? reiserfs exists for a longer time compared to ext3. If you say that reiserfs *can* be unstable it also means that there are some stable releases out there. I haven't had any problems with reiserfs. Greetings, Holger
Re: Java Web Start on Debian Potato
Hi Bill! Thanks for your quick and informative reply. On Mon, 14 Jan 2002, Bill Wohler wrote: > Holger Rauch <[EMAIL PROTECTED]> writes: > [...] > I think the problem is that Potato's libc versions are too old to > support the post 1.2 JVM's at all (let alone under Java Web Start). Ok. What libc version do you suggest? > For what it's worth, I'm running Java Web Start on testing. Is it "safe" to upgrade to testing (Woody) *now*? From what I've read there seem to be bugs creeping in now and then making important parts (such as XFree 4) unusable. What way of upgrading what you recommend in my case? > p.s. Sun has been pretty responsive to my bug reports. JaWS 1.0.1.01 > includes fixes to all but one (loading JavaHelp resources) of my > reports. Glad to hear that. Do they *really* support Linux as a platform (meaining that the Java technologies are tested to the same extent as they are on Win*)? I've heard that only the Blackdown team tests natively on Linux. Don't know whether this is true, however. Thanks in advance for any further advice. Regards, Holger
Re: Pentium 4 Processors & 2.2.20 Kernel
Hi Karl! Thanks for your quick reply! On Mon, 14 Jan 2002, Karl E. Jorgensen wrote: > [...] > Yep. I guess that you ask because it mentions i386. This i386 refers to > the *architecture* i386 (i.e. to the i386 processor and its offspawn). Ok, but what option do I have to select in the menu entry "Processor type and features"? ("386" is probably a safe bet, but in this case I think I don't get any optimizations specific to a Pentium 4). Regards, Holger
Pentium 4 Processors & 2.2.20 Kernel
Hi! Are Pentium 4 processors supported by a 2.2.20 kernel out-of-the-box? If not, where can I get the right patches? Thanks a lot. Greetings, Holger
Java Web Start on Debian Potato
Hi! Does anybody have Java Web Start version 1_0_1_01 in conjunction with Java 1.3.0 or higher running on a Debian Potato system? When I try to invoke "./javawsbin" (from the directory where javaws.cfg and javawsbin are installed, I get a segfault. Has anybody else had the problem? If so, what did you do to fix it? (Sun's web pages seem to have a solution, but that's only supposed to be for glibc 2.2.x, and, AFAIK, Potato is based on 2.1.3. They recommend setting the initial stack size to 2 MB (ulimit -s 2048 in bash). I tried that and it didn't help.) Thanks for any hints! Greetings, Holger
Re: OT: Perl & UTF-8
Hi Jaldhar! Thanks for your quick reply! On Sun, 13 Jan 2002, Jaldhar H. Vyas wrote: > [...] > Well, I don't exactly remember what your problem was but if it is > converting strings from an ISO encoding to Unicode or vice-versa then yes > they should do the trick. My problem was that I wanted to substitute element content in XML files by entity references. These entity references are referring to the values of a Java .properties file that's used for i18n of our Java software. In order to properly parse the content of an element, I need to take different encodings into account (based on the value of the "encoding" attribute of the XML declaration). As far as I understand, the two Perl modules are able to set the encoding for individual strings. I'm wondering whether there is a module that allows me to set the encoding for a filehandle? Thanks for any help. Greetings, Holger
Re: [2] djbdns (was: ssh)
Hallo! > [...] > > Der Unfug, der derzeit mit dem Linux-Kernel 2.4.x getrieben wird, > > [...] und Machwerke wie die glibc motivieren mich > > dazu, auch auf andere freie Unix-Derivate zu setzen. Das mit dem 2.4er kernel ist mir klar, aber was hast Du denn gegen die glibc? Danke fuer die Info! Gruss, Holger
Re: OT: Perl & UTF-8
Hi Henry! Thanks a lot for replying! On Sat, 12 Jan 2002, Henry House wrote: > [...] > Perl 5.6 has EXPERIMENTAL UTF-8 support. There are bugs. If possible, you > should use iconv to convert the files to an ISO 8859 encoding before > processing. In the likely event that that is not possible, you can activate > UTF-8 suppot in perl using 'use utf8;'. See perlunicode(1) for details. I'm currently not using Perl 5.6, but rather the Perl being shipped with Potato (don't recall the exact version number/patch level right now). Doing apt-cache search --names-only libunicode finds libunicode-string-perl - Perl modules for Unicode strings libunicode-map8-perl - Perl module to map 8bit character sets to Unicode Does anybody have experience using these two Perl modules? Could they be a solution to the problem I'm having? Thanks for your help! Regards, Holger
Re: OT: Perl & UTF-8
Hi! Thanks for your reply! On Sun, 6 Jan 2002, dman wrote: > [...] > So the regexps you're using are in a 8859-n source file, right? Yep. > Can perl handle UTF-8 source files? Don't know. That's why I mailed this question ;-) > Are you trying to use things like the > posix character class [:alpha:]? No. > I don't think those will handle all > alphabetic characters in all unicode supported languages (probably > just ascii/english alphabet). What about \w? Thanks again for your hint. Greetings, Holger
OT: Perl & UTF-8
Hi! I want to substitute element content by entity references in UTF-8 encoded XML files using Perl. My script currently only works with ISO 8859 encodings. Is there a module that can be used in Perl scripts that correctly reads and writes files according to specified encoding? If so, what's the name of it and where can I obtain it from? Additional info that might be helpful: I'm not using a DOM module to retrieve an element's contents, just ordinary regexps. Any help will be greatly appreciated! Kind regards, Holger
Re: JBoss & Linux Threads
Hi Greg! Thanks for your reply! On Sun, 16 Dec 2001, Greg Wiley wrote: > On Sunday, December 16, 2001 8:52 AM, [EMAIL PROTECTED] > [...] > Linux is obviously multi-threaded but I think they > are referring to so-called "lightweight" threads. > IIRC, Linux creates intra-process threads via the > same mechanism it uses to create processes--i.e. > each thread uses up one available process in the > table. So the "bad" thing about this is that you need one PID for each thread? What's the advantage of lightweight threads compared to intra-process threads. > [...] > I'm just getting JBoss going in Linux. It's working > fine for me but I haven't checked performance vs. > Windows. Could you describe your installation a little further? How many concurrent users are there in your installation? Did you have to tune some kernel/JVM parameters to make it work (better)? > The OL manual's claim of doubled per- > formance under Win is a bummer, if true. Remember, > though, the online JBoss manual is the original one > and not the official one. What's the URL for the official JBoss manual? Haven't found it. Thanks for your info! Greetings, Holger
Re: OT: JBoss & Linux Threads
Hi Ray! Thanks for your quick reply! On Sun, 16 Dec 2001, J.H.M. Dassen (Ray) wrote: > [...] > Some people's definition of that seems to > include hybrid user and kernel space threading, and in that case, the > statement is correct. Is this a big disadvantage for Linux compared to other OSes? > [...] > LinuxThreads (an implementation of POSIX threads; see > http://pauillac.inria.fr/~xleroy/linuxthreads/) has been available as an > add-on to glibc and even libc5 for a long time. I'm fairly sure potato does > threads, and possibly even slink. Doing a "/lib/libc-2.1.3.so" on my potato system shows linuxthreads-0.8 by Xavier Leroy So, I think potato *does* kernel threads, right? > [...] > Other thread implementations (mostly userspace) are available as well; see > e.g. http://www.informatik.hu-berlin.de/~mueller/pthreads/ Is that implementation preferrable to the linuxthreads package that can be compiled into glibc? If so, for what reasons? Thanks for your help! Greetings, Holger
Re: OT: JBoss & Linux Threads
Hi dman! Thanks for your quick reply! On Sun, 16 Dec 2001, dman wrote: > [...] > What is a "real" thread? Unfortunately, that wasn't clarified further in the documentation. > [...] > Perhaps they (or you, I haven't checked the website) meant to say that > _java_ on linux doesn't use kernel (aka "native") threads, but only > "green" threads. When you say Java, you are probably referring to Sun JDK 1.3, right? Do you know by chance why it doesn't support kernel threads on Linux? > Blackdown's j2sk1.3 package does use kernel threads. Thanks for the hint. Does that mean you'd recommend using Blackdown's JDK rather than Sun's? > If you want more details on "native" vs. "green" threads, I recommend > doing some research on java.sun.com. Thanks again. Will do that. Greetings, Holger
OT: JBoss & Linux Threads
Hi! This is a rather general Linux kernel/glibc issue. In the JBoss documentation http://www.jboss.org/online-manual/HTML/ch10s02.html I read that Linux allegedly does not support "real threads". My questions on this issue are: 1. Is that statement correct at all? 2. If its correct, which Linux kernel/glibc version combos *do* support threads, which don't? Maybe someone subscribed to this mailing list has already used JBoss on Linux, is familiar with Linux threads and can enlighten me on this issue? Thanks a lot in advance for any info! Greetings, Holger
Re: free/open documentation formats
Hi Christoph! On Mon, 3 Dec 2001, Lupe Christoph wrote: > [...] > I had a hard time getting the DocBook tools working enough to > convert the docs of one free software package on Solaris x86. > I can't call them universal. What DocBook tools have you used on Solaris? What was your problem with getting them to work on that platform? Greetings, Holger
Re: acroread crashes
Hi Ben! Thanks for your reply! On Sun, 2 Dec 2001, ben wrote: > [...] > i agree. the purpose of a boycott is to disempower. adobe have shown that > they don't deserve a position of any esteem in the free system that linux > exemplifies. Would love to do that if xpdf worked as nice as as a *working* acroread. > in any case, xpdf works just fine. Don't think so. xpdf surely is not bad, but, as I already stated in my previous mail, seems to have severe problems in rendering pages. > sklyarov's case deserves support, and, if i'm not going to support adobe as > an act of support to their victim, that has to include a blanket rejection of > anything they have to offer. i see no lack of validity in a "purely > meta-boycott." It surely is not right what they did to Dmitryi Skylarov, and I would favor such a boycott as well. However, in my point of view a boycott only makes sense if reasonable alternatives exist (see my statement above). Regards, Holger
Re: acroread crashes
Hi Karsten! Thanks for your quick reply! On Sun, 2 Dec 2001, Karsten M. Self wrote: > Try the free software replacements (and boycott the programmer > persecuter Adobe in the process) xpdf or gv. Ok. I tried acroread 4.05 on a SuSE system and it worked just fine. Concerning xpdf I got to say that it seems to have severe problems in rendering pages. > If the file breaks > everything, contact the author and tell them they've got busted PDFs. It probably isn't the file if it looks all right in acroread on a SuSE system. I guess it has something to do with missing fonts. Could it be possible that I'm missing some font packages in my Debian installation? Thanks. Regards, Holger
Re: OT: free cmd is lying to me
Hi Michael! First of all, thanks for your hint! On 2 Dec 2001, Michael Heldebrant wrote: > IIRC from the Understanding the Linux Kernel book by O'Reilly, linux > doesn't actually worry about memory until you actually use it. I'm not > sure if a malloc counts as using it for storing data since I'm no C > programmer but unless you actually write to the memory linux doesn't > bother setting up the actual pages since it's a waste for the system to > make and tear down pages that are never accessed. You mean I actually have to write data to the malloc()ed memory region? Greetings, Holger
Re: OT: free cmd is lying to me
Hi Jason! Thanks a lot for your quick and informative reply! On Sun, 2 Dec 2001, Jason Healy wrote: > [...] > Looks right to me. According to free, your system has 2GB of memory, > most of which is 'used'. However, looking at the next line, you'll > see that 1.8GB of that is actually free for use, as the memory > reported as being in use on the first line is mostly going towards > buffers and cache (87172 for buffers, 1783556 for cache). In fact, > only 222,688 K are being used by actual processes on the system. Ok. But where do the 600 MB of main memory that Oracle uses fit in there? Are they reported as cached memory? > Search this list archive for other e-mails on the free command; [...] I tried to find a search engine at the Debian site. Is there any? (I'm asking this because I don't see any other means to actually "search" this list. All that I have found was some sorting functionality allowing the user to sort mails posted to this list according to different criteria. > [...] > How long did you run it for? To use up 1.8GB of available RAM would > take 15 minutes at the rate you described. To exhaust all system > memory (including the 4GB of swap) would take a total of 48 minutes. > Did you wait that long? To be honest, no. Will try it for a longer period of time. > Also, did you run the program as a normal > user? Yes. > The default ulimit probably would have clobbered the process > before it could hog that much memory. Thanks for that hint. Will check my ulimits. > [...] The second line of 'free' output, however, should change when > you start new processes. Thanks again. Will check that as well. > Hope this helps. Yes, it surely does. As you probably have guessed, I wasn't sure on how to interpret the output from free. > If I've misread your question about free (i.e., you > know about the buffer/cache thing), No, I didn't know about it. > then maybe I'm missing something > about what's wrong with the system. No, I don't think you are missing something. Thanks again for your help! Greetings, Holger
acroread crashes
Hi! When viewing PDFs on a Debian Potato system with Acrobat Reader 4.05, I encounter crashes with the following error message: Exited with error code: 0x400e0009. Something similar happens to me when viewing PDFs from within Netscape 4.78 using either the nppdf.so plugin or Acrobat Reader as a "helper application". Does anybody have the same problem? If so, what's the cause of the problem and what can I do in order to get rid of it? Thanks for any help! Greetings, Holger
OT: free cmd is lying to me
Hi! First of all, I admit that this is slightly OT, since I believe this to be not strictly related to Debian, but rather a general mainboard/kernel/mem config issue. I got a system equipped with a Supermicro dual processor mainboard, one PIII 1GHz CPU (the other processor slot is currently unused) and 2048 MB main memory, which the kernel recognizes correctly upon system boot. In addition, I got two swap partitions configured, one on an ordinary partition, the other one on a LV, giving me 4 GB swap space total. I am running a 2.2.19 SMP kernel (including the driver for the ICP Vortex RAID controller) and Oracle 8.1.7 on that machine. Oracle's db_block_buffers are configured so that Oracle uses 600 MB for the DB. Apart from Oracle, only the following daemons are running on the system: - cron - syslogd - xdm That said, the free cmd should report that approx. 1.4 GB of main memory should still be available. However, what I get is: total used free sharedbuffers cached Mem: 20966642093416 3248 0 871721783556 -/+ buffers/cache: 2226881873976 Swap: 4194272 04194272 In order to find out whether this is right, I wrote a small test program that continuously does a malloc() for 10 MB every 5 secs until the system runs out of memory. Strangely enough, it didn't. I did a "free -s 5" on the system to see whether the system is going to use swap space when running out of main memory. Not the case. The column for used swap space *always* showed 0. Also, the column for used mem didn't change significantly (just increased by 4 to 5 MB.) Now my questions are: 1. What could be the cause that size of used mem doesn't increase accordingly when I malloc() 10 MB? 2. Why does "free" leave the impression on me that no swap space is used? 3. Are there any known problems with memory detection on Supermicro mainboards? 4. Are there any processes within Oracle 8.1.7 that are known to have mem leaks? If so, which of them are the culprits? Thanks for taking your time! Any help will be greatly appreciated! Kind regards, Holger P. S.: I've never seen such an effect before and I'm not familiar with Supermicro mainboards. Up to now, I've mostly used Asus and Gigabyte mainboards.