Re: Bookworm: Weird Firefox issue

2024-05-24 Thread Roland Müller

Hello,

sometimes some cooperative sites had similar problems e.g MS's O365 or 
Oracle's support site. In these cases removing stored cookies and 
website data helped.


In addition cache can be deactivated in FF Developer Console 
(Ctrl-Shift-k) in the tab "Network(ing)". Here you have a checkbox for 
deactivating the cache in the top row of the tab.


Then check FF's privacy protection for blocked trackers.

BR,

Roland

On 23.5.2024 15.39, Henning Follmann wrote:

On Thu, May 23, 2024 at 12:09:42PM +0200, local10 wrote:

May 23, 2024, 02:11 by 2695bd53d...@ewoof.net:


Works fine for me too, on the same firefox-esr package version.

If clearing the browser cache doesn't help, try with a brand new fresh
profile. `firefox --no-remote --new-instance --ProfileManager` should
be a good start. If it works in a brand new profile, it's _something_
about your Firefox settings.


I've tried the following but it didn't help:

    1. FF 115.11.0esr (64-bit) with a new profile
    2. FF v126 with a new profile
    3. Purged (aptitude purge) and reinstalled FF 115.11.0esr again


[...]

I had a similar issue 6 month ago.
I also tried those steps without any success.

Then I created a new account and there the issue did not appear.
So, I thought, it has to be something account specific.

I deleted these directories:
~/.cache/mozilla/firefox
~/.mozilla/firefox

At the next launch firefox greated me with the new user welcome.
You have to start from scratch but it resolved the issue.

-H






Re: XFCE4 without panels

2023-10-03 Thread Roland Mueller
XFCE4 panel ca be manually recreated by (as far as I remember)
right-clicking into empty desktop space and then opening settings.

Other option is mentioned here:
https://docs.xfce.org/xfce/xfce4-panel/getting-started:

Quote: "The panel will usually be started automatically as part of your
Xfce session when you start the Xfce Desktop Environment.
To manually start the panel, you can run xfce4-panel in a terminal."

After starting the new panel you should able to add items and these should
appear the next time you start XFCE desktop.


ti 3. lokak. 2023 klo 6.30 Mike Castle (dalgoda+deb...@gmail.com) kirjoitti:

> I just tried this in a VM and it seemed to work.
>
> >From a command line:
> xfce4-panel -q
> find ~/.config | grep panel
>
> Remove the xfce4-panel.xml   (I also removed the empty directory just
> named panel.)
>
> The lack of panels seems to have survived a reboot.
>
> I don't know if it is sufficient for every variation involving saving
> session state or what not.  But might get you started in the right
> direction.
>
> If worst comes to pass, you might be able to put the xfce4-panel -q
> command in a shell script that automatically launches when you log in.
>
> Good luck!
> mrc
>
>


Re: "sudo apt-get install android-tools-adb" ... (then no device listed)

2023-09-25 Thread Roland Mueller
As far as I remember adb requires debugging to be enabled on the Android
device.

For newer androids following - slighly obscure - process has to be used:

Enabling USB Debugging on an Android Device
- On the device, go to Settings > About .
- Tap the Build number seven times to make Settings > Developer options
available.
- Then enable the USB Debugging option.

ma 25. syysk. 2023 klo 7.52 Marco (m...@dorfdsl.de) kirjoitti:

> Am 24.09.2023 22:13 schrieb Albretch Mueller:
>
> >  What do you functionally mean? I need for you to talk to me like
> > this:  a) go "Settings"; b) ...
>
> According to the Google documentation:
> With a USB cable, connect your device to your computer.
> On your device, tap the "Charging this device via USB" notification.
> Under "Use USB for," select File Transfer.
>
>


Re: Debian 12: errors when using Python3 venv?

2023-06-22 Thread Roland Müller

Hello

On 15.6.2023 7.03, Kushal Kumaran wrote:

On Wed, Jun 14 2023 at 03:55:44 PM, Nicholas Papadonis 
 wrote:

Hi,

I just cleanly installed Debian 11 and am trying to create a virtual
environment for Python.

I get the following error, does anyone know how to resolve this?  Am I
missing some packages that need to be installed?

1843 [deb12:~]$ python3 -m venv pt
Traceback (most recent call last):
   File "", line 189, in _run_module_as_main
   File "", line 148, in _get_module_details
   File "", line 112, in _get_module_details
   File "/usr/lib/python3.11/venv/__init__.py", line 7, in 
 import logging
   File "/usr/lib/python3.11/logging/__init__.py", line 43, in 
 import threading
   File "/home/vboxuser/threading.py", line 3, in 
 sem = threading.Semaphore()
   ^^^
AttributeError: partially initialized module 'threading' has no attribute
'Semaphore' (most likely due to a circular import)

Your /home/vboxuser/threading.py is hiding the threading module from the
python standard library.


Python is loading the first file with .py extension as module when it is 
requested by an import in the called script. Even an empty file is 
loaded as module.


The feature or bad thing is that the current directory is in the python 
path.



$ touch threading.py
$ python -m venv my_venv
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/usr/lib/python3.10/venv/__init__.py", line 7, in 
    import logging
  File "/usr/lib/python3.10/logging/__init__.py", line 217, in 
    _lock = threading.RLock()
AttributeError: module 'threading' has no attribute 'RLock'
Error in sys.excepthook:

BR,

Roland



Re: Xfce destop environment

2023-02-12 Thread Roland Müller

Hello,



On 2023-01-30  19:57, William Torrez Corea wrote:
On Mon, Jan 30, 2023 at 12:43 AM David  
wrote:



On Mon, 2023-01-30 at 00:07 -0600, William Torrez Corea wrote:

What happened with my desktop environment?

My desktop environment has problems, the title bar is hidden.


You can try to create a new Panel (=toolbox with starters etc.) from 
scratch:


1. minimize all windows

2. Right-click in free space on Desktop

3. Choose from popup menu and its submenus:

   Applications -> Settings -> Panel

4. This opens a window with title "Panel Preferences"

5. Press the + sign in the first row under the title: this will create a 
new empty panel


6. Now you can edit the panel. Inside the still open dialog "Panel 
Preferences" you find a help button that opens the a page with 
instructions such as the following URL:


https://docs.xfce.org/xfce/xfce4-panel/4.16/preferences


BR,

Roland



Re: no JAVA_HOME in the path

2022-09-27 Thread Roland Müller

Hello,

here is some clarification of the relationship between JAVA_HOME and the 
PATH.


JAVA_HOME points to the base directory of a Java JRE or JDK 
(=development) directory. Under $JAVA_HOME one should find a bin 
directory which contains java, javac and other binaries.


In the case you just need the wanted java or javac in the execution path 
actually JAVA_HOME is not needed. Simple hello-world like compilations 
from command line work ok when java(c) is in path.


Java based tools make typically use of JAVA_HOME and some of them refuse 
to start unless JAVA_HOME is set to a valid location. E.g. Maven even 
prefers JAVA_HOME over the version of javac that is in the execution path:


$ $ echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk

$ mvn -v
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 
2019-04-04T22:00:29+03:00)

Maven home: /opt/maven/apache-maven-3.6.1
Java version: 11.0.16.1, vendor: Red Hat, Inc., runtime: 
/usr/lib/jvm/java-11-openjdk-11.0.16.1.1-1.fc36.x86_64

Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.19.10-200.fc36.x86_64", arch: "amd64", 
family: "unix"


but

$ java -version
openjdk version "17.0.4.1" 2022-08-12
OpenJDK Runtime Environment (Red_Hat-17.0.4.1.1-1.fc36) (build 17.0.4.1+1)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.4.1.1-1.fc36) (build 17.0.4.1+1, 
mixed mode, sharing)



BR,

Roland


On 8/27/22 05:06, Amn wrote:

Thanks!
The problem is solved.

On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote:

On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote:
    When I type echo $JAVA_HOME, Debian 11's Konsole displays ... 
nothing,

    'echo $PATH' reports -
/usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
    /usr/bin/libtool /usr/share/libtool 
/usr/share/man/man1/libtool.1.gz -

    However if I type, 'java --version' I get -
/usr/local/[2]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
    /usr/bin/libtool /usr/share/libtool 
/usr/share/man/man1/libtool.1.gz -,

    which is correct.
    Where is $JAVA_HOME set or how do I add it to the path permanently?


You have to set it yourself.

Options include /etc/bashrc, /etc/profile, /etc/profile.d,
/etc/environment, /etc/environment.d, and possibly others, for setting
it system-wide, and their per-user counterparts in $HOME for setting it
on a per-user basis.

Regards,

-Roberto







Re: how to get rid of anacron?

2022-07-04 Thread Roland Mueller
Hello,
On 7/4/22 10:41, Michael wrote:

hey,

afaik systemd timer lack the possibility to send the output (if any) by
email to a designated user, but instead logs the output to its journal.

so, if you want/need that functionality, either use a wrapper script, or
define a service with an 'ExecStart=' directive looking something like:

ExecStart=/bin/bash -c '/path/to/script/or/executable |& mail -E -r
"" -s "" '

(the -E flag is for /usr/bin/bsd-mailx)

greetings...

yes, you are right. If receiving by mail is a requirement - this works in
cron out of the box.


On the other hand the OP did not mentioned mail as a requirement, and in my
own case I was not even thinking about receiving the output of the
scheduler by mail. For years I was working with cron (/etc/cron.d/*) and
crontab and the usage of mail was exclusively a kind-of convenient mean to
get instance feedback during the development phase. When the cron entry
worked the first line in every cron file under /etc/cron.d/ was MAILTO="".
Needed production logs were by some mean put to files by redirection or the
cron job called "normal" binaries or scripts that again had some kind of
logging.

Using systemd scheduler instant check during development is for my needs
sufficiently covered by 'systemctl status' or journalctl.

Best Regards,

Roland


Re: how to get rid of anacron?

2022-06-28 Thread Roland Mueller
Hello,

ti 28. kesäk. 2022 klo 10.24 Harald Dunkel (harald.dun...@aixigo.com)
kirjoitti:
>
> Hi folks,
>
> I do not like my cron jobs in /etc/cron.daily being ignored or
> delayed for some obfuscated reasons, so I wonder what is the
> recommended alternative to anacron with propper logging by
> default? Will systemd take care?
>
>
> Regards
>
> Harri
>

You have the choice between (A) traditional cron configuration in either
/etc/cron.d or in crontab file, and (B) the systemd.timer.

For systemd you can find an article from the following link, and the
relevant man pages are 'man 5 systemd.timer' and 'man 7 systemd.time'.
Latter manual contains the format of scheduling definitions.

https://opensource.com/article/20/7/systemd-timers

The basic idea is to have a service that is started explicitely
(Type=oneshot) and a timer providing a schedule for the service. In the
most simple setup the service and the time have the same basename.

BR,
Roland


Re: Just curious if there's anybody out there still using LXDE?

2022-01-17 Thread Roland Mueller
Hello,

ma 17. tammik. 2022 klo 21.22 Ralph Katz (ra...@ralphkatz.com) kirjoitti:

>
> >
> LXDE clearly declining in popularity since 2018 peak:
>
> https://qa.debian.org/popcon.php?package=lxde-metapackages


Not sure whether one can already begin to organize funeral for lxde. There
is a new variant of lxde based on Qt instead Gtk.

https://qa.debian.org/popcon.php?package=lxqt-metapackages

BR,
Roland


>
>


Re: Debian 11.1.0 LXDE does not mount smart phone properly

2021-12-05 Thread Roland Mueller
Hello

su 5. jouluk. 2021 klo 12.00 Beta Tester (alpha-beta-rele...@gmx.net)
kirjoitti:

> Dear Maintainer,
>
> i don't have an idea which packages are involved to this bug:
>
> i have a strange behavior with Debian Live 11.1.0 amd64 LXDE iso, when i
> try to mount my Android 11 smart phone plugged in via USB.
>
> mounting my android smart phone always fails in this sequence:
> 1. boot into Debian Live 11.1.0 amd64 LXDE iso,
> 2. plug in my phone into the USB port,
> 3. give access to my files on the phone,
> 4. mounting the phone via the File Manager (pcmanfm?) will always fail
> with an error like:
> "The name:1.47 was not provided by any .service files"
> 5. i can successfully mount my old mp3-player via USB.
> 6. but subsequent plug in and mount, my phone sill give always that error
> above (steps 2,3,4).
>
> BUT, when i change the sequence after a fresh reboot to:
> 1. boot into Debian Live 11.1.0 amd64 LXDE iso,
> 2. i can successfully connect and mount my old mp3-player via USB.
> 3. unmount and unplug my mp3-player
> 4. plug in my phone into the USB port,
> 5. give access to my files on the phone,
> 6. i can sucessfulls mount and access files of my phone.
> 7. unmount and unplug phone
> 8. i can also successfully repeat steps 4,5,6,7 without any error.
>
> why can i successfully mount my phone, once my mp3-player was mounted
> before, but fails when i don't mount my mp3-player first?
>
> when i use the Debian Live 11.1.0. amd64 Cannamon iso, i can always mount
> my android smart phon successfully - there it doesn't matter what sequence
> is use, it always succeeds.
>
> why is the mount behavior of Debian Live 11.1.0 amd64 LXDE iso that
> strange?
> PS.: also Raspberry Pi OS Bullseye (from 2021-10-30) shows that strange
> behavior (it is based on Debian 11 bullseye LXDE)
>

for accessing content of Android phones MTP protocol has to be supported.
In former Android versions phones supported mounting as drives but these
times are long gone.

Currently I am not using any Debian rather since Fedora. Here I have libmtp
and gvfs-mtp installed. Same or similar packages you should need in Debian
too.
 libmtp supports the MTP protocol. and the other package is for connecting
libmtp to your file manager. Since I am using XFCE + thunar your milage may
vary also in this respect.

Regards,
Roland


Re: colors messed up after X screen lock (buster with xfce)

2021-09-02 Thread Roland Winkler
I found at least a workaround: I installed and use xscreensaver for
locking the screen.  Unlike light-locker that xfce uses by default,
xscreensaver doesn't seem to mess with the colormap.

I should add: I am using nominally the same installation of debian 10 on
two computers with very different hardware, a desktop and a laptop.
Only the desktop computer is giving me the problems described earlier in
this thread.

Roland



Re: colors messed up after X screen lock (buster with xfce)

2021-08-28 Thread Roland Winkler
On Sat, Aug 28 2021, Cindy Sue Causey wrote:
> On 8/26/21, Roland Winkler  wrote:
>> I am running debian 10 (buster with xfce).  Graphics works fine
>> initially.  Yet after an X screen lock, all colors are messed up.
>> The same hardware was previoulsy running fine when I was xubuntu 16.04.
>> What can be causing this?  Thanks!
>
> Hi! I don't have an answer as to what's causing it. I just wanted to
> chime in that I think I've probably experienced what you're
> describing. In fact, I did about 2 days ago again, and it's on XFCE4
> here, too.
>
> This has been for both Buster and Bookworm now. It happens when I
> first open the Einstein "card" game.

Interesting! - I thought I want to see what happens with a different
version of the OS.  Now I am yet more curious.  But I'll have to wait a
few days till I'll sit again at the console of that computer.

> The initial screen will fritz then the entire system stays that way if
> I can find the exit button to escape out of Einstein. It's a hard job
> trying to hunt and poke for the right buttons to attempt a safe,
> normal reboot that doesn't harm data any more than necessary.

I "only" need to logout and login (still annoying), but a reboot is not
required.

The whole thing reminds me of old days when some X applications would
use what was called (if I remember correctly) a "private colormap".
Then colors were fine for the application using the private colormap.
But colors for anything else visible on this screen were messed up.  Yet
this problem generally existed only while the application was running
that used the private colormap.  Terminating the application brought
things back to normal.  I cannot remember how many years ago I last
encountered the private-colormap problem.

Here it looks as if the X screen lock used a private colormap that
screws up things after unlocking the screen.  If I go back to a locked
screen, I get back normal colors.  (This game can be repeated multiple
times, as if the X screen lock was holding on to the private colormap
till I logout.  - I am using the default xfce screen lock.)

> The only fix I've been able to find is to reinstall my Debian. 

I have not yet tested a reinstallation.  And right now I do not see a
justification for this either (except for possibly trying a different
version of debian).

I am new to the debian ecosystem.  Is there possibly another mailing
list (say, for xfce) that may be better suited for discussing this?  Or
should I file a bug report (against which package)?

Thanks,

Roland



colors messed up after X screen lock (buster with xfce)

2021-08-26 Thread Roland Winkler
I am running debian 10 (buster with xfce).  Graphics works fine
initially.  Yet after an X screen lock, all colors are messed up.
The same hardware was previoulsy running fine when I was xubuntu 16.04.
What can be causing this?  Thanks!

Roland



Re: trying to start Okular

2021-02-08 Thread Roland Mueller
Okular requires the followin shared object/library that should be
in /usr/lib64.
/usr/lib64/libKF5Parts.so.5
/usr/lib64/libKF5Parts.so.5.75.0

BR,
Roland

ma 8. helmik. 2021 klo 13.24 ellanios82 (ellanio...@gmail.com) kirjoitti:

>   my system is MX-Linux patito feo amd64
>
>
>   : after recent system-Crash , am struggling to recover!
>
>
> - when i try to start Okular , am getting error-message :
>
>   "okular: error while loading shared libraries: libKF5Parts.so.5:
> cannot open shared object file: No such file or directory"
>
>
>   - any suggestions, please, what to try , to get Okular working again ??
>
>
> ...
>
>   thanks
>
>   Richard
>
>
>
>


Re: running microsoft team on debian 10.3

2020-12-09 Thread Roland Mueller
Hello,

ke 9. jouluk. 2020 klo 15.55 Yoann LE BARS (yo...@le-bars.net) kirjoitti:

>
> Hello everybody out there!
>
> On 2020/12/09 at 1:57 pm, Carl Fink wrote:
> > You have to know the vocabulary.
> >
> > They say that "window" sharing is not available. "Screen" sharing is.
> > That is, you can't share a specific application, but you can share your
> > entire screen.
>
> Regardless of the vocabulary, I have hit several times the screen
> sharing button, nothing ever happened.
>
> Now, to be honest, this is one of the annoying thing about
> Microsoft
> Teams, it is the kind of application that make you waste time rather
> than saving time.
>
>
I mainly using Fedora and the native client works OK for sharing the screen
and also for audio.

Concerning your point not to use MS - like other proprietary programs - I
agree with you in principle.
However, in practice I have no choice: since Corona I have to use Teams on
my work, and technically Teams works surprisingly good and seams to be
actively supported.

Salut,
Roland

Best regards.
>
> --
> Yoann LE BARS
> https://le-bars.net/yoann/
> Diaspora* : yleb...@framasphere.org
>
>


Re: unable to log in

2020-09-01 Thread Roland Müller


On 2020-09-01 17:38, Greg Wooledge wrote:

On Tue, Sep 01, 2020 at 03:24:08PM +0100, anthony gennard wrote:

I am gradually getting to grips with Jessie although its difficult without
any memory. Now I am lockout of my user account and do not understand the
error message which is as follows:-

"could not update ICE authority file /home/john/.ICEauthority"

Press Ctrl-Alt-F2 to get to a console, and login there.  Either as your
regular user "john", or as root.

You'll probably find that some of the permissions or ownerships under
/home/john are incorrect.  Start with /home/john itself, and then also
check the file whose path is shown in this error.

ls -ld /home/john /home/john/.ICEauthority

If the owner isn't "john", or if the permissions look screwy, fix them.

After you're done on the console, exit/logout from the shell, and
press either Ctrl-Alt-F1 or Ctrl-Alt-F7 to get back to your display
manager login.


Just my 2 cent in addition:

in the console you could either "blindly" set the user for all files in 
your home or use find to see which files are not owned by USER.


*(A) sudo chown /USER/. /~USER//
*

*(B) find . -xdev ! -user /USER/*




Re: How to mount a LVM?

2016-11-24 Thread Roland Müller

Hello,

On 11/24/2016 08:35 PM, Robert Latest wrote:

Hey all,

I got it to work ONCE, but for the life of me I can't figure out how 
to do it again.


This is what I think I did the first time, but for the second time it 
just doesn't work.


root@dotcom:~# mdadm --assemble --scan
mdadm: /dev/md/2 has been started with 1 drive.
mdadm: /dev/md/3 has been started with 1 drive.

---OK, good so far. Now let's find the LVs

root@dotcom:~# lvmdiskscan
  /dev/loop0 [ 213.51 MiB]
  /dev/loop1 [ 206.55 MiB]
  /dev/sda1  [  30.00 GiB]
  /dev/loop2 [ 220.89 MiB]
  /dev/md2   [ 926.91 GiB] LVM physical volume
  /dev/loop3 [ 208.05 MiB]
  /dev/md3   [ 926.91 GiB] LVM physical volume
  /dev/sda5  [   2.00 GiB]
  /dev/sda6  [  30.00 GiB]
  /dev/sda7  [ 200.00 GiB]
  /dev/sda8  [ 203.76 GiB]
  /dev/sdb1  [   2.37 GiB]
  /dev/sdb2  [   2.00 GiB]
  /dev/sdc1  [   2.37 GiB]
  /dev/sdc2  [   2.00 GiB]
  /dev/sdd1  [ 465.76 GiB]
  /dev/sde1  [ 149.05 GiB]
  0 disks
  15 partitions
  0 LVM physical volume whole disks
  2 LVM physical volumes

---Still looking good. Now I'm supposed to find the logical volumes,
---but lvdisplay simply doesn't show anything.

root@dotcom:~# lvdisplay
root@dotcom:~#

---Now I'm stuck. All LVM instructions I find on the Internet say that 
I find the path of the LVM device by using lvdisplay. Also I know that 
one hour ago I had my volumes mounted and was copying data from them. 
After properly syncing and unmounting them, and stopping the LVM and 
md thingys, I'm stuck now.


Any suggestions?

robert


I have a problem to understand what is actually your issue with LVM. Was 
your system working before and now logical volumes that were existing 
before disappeared?


What is the situation with volume group or groups? What does vgscan or 
vgs commands say?


BR,

Roland



Re: find problem

2014-11-25 Thread Roland Mueller
Hello,

2014-11-12 12:40 GMT+02:00 Raffaele Morelli :

> On 11/11/14 at 04:09pm, B. M. wrote:
> > Hi all,
> >
> > I'm struggling with a find problem.
> >
> > I want to combine find and par2create recursively in order to get the
> > following done:
> >
> > Foreach file with a certain suffix (e.g. avi) do par2create for that
> > file in its directory, so e.g.
> >
> > I'm in /video
> > There are subfolders user1, user2 with videos video1.avi, video2.avi ...
> > in them.
> >
> > The script should do something equivalent to:
> > cd /video/user1
> > par2create .video1.avi video1.avi
> > par2create .video2.avi video2.avi
> > cd /video/user2
> > par2create .video3.avi video3.avi
> > par2create .video4.avi video4.avi
> > cd 
> >
> > But I want to achieve this using the find command.
> >
>

One solution should be to use find together with a read loop. Inside the
look get needed directory and base file names, and in a subshell jump into
the directory and execute the command (in following only using pwd and echo
for testing purposes).

Another alternative could use pushd/popd commands ...

$



*find . -type f -name "*.avi" | \   while read avi   do
avi_fn=$(basename $avi); avi_dir=$(dirname $avi);   ( cd $avi_dir
&& pwd && echo par2create .${avi_fn}  $avi_fn );done*
/tmp/test/e/f
par2create .fifth.avi fifth.avi
/tmp/test/a/b
par2create .first.avi first.avi
/tmp/test/a/b
par2create .second.avi second.avi
/tmp/test/b
par2create .sixth.avi sixth.avi
/tmp/test/d
par2create .third.avi third.avi

Here is the contents of the test dir:
$ find . -type f
./e/f/fifth.avi
./a/b/first.avi
./a/b/second.avi
./b/sixth.avi
./d/third.avi

BR,
Roland



> > So I'd expect something like
> > find * -name "*.avi" -execdir par2create .'{}' '{} \;
> > but this doesn't work as expected - it creates the .*.avi files "one
> > folder above".
> >
> > How does it work using the find command?
> >
> > Thanks a lot!
>
> I did a test with cp:
> find config/ -name custom.php -execdir cp '{}' '{}'.pippo \;
> files are copied with added suffix.
>
>
> --
> « Nunc est bibendum, nunc pede libero pulsanda tellus »
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/20141112104025.ga1...@gmail.com
>
>


local dns caching on a webserver

2014-06-29 Thread Roland RoLaNd
Hello,
I have a very busy webserver running apache2
checking /proc/net/ip_conntrack and filtering port 53 i noticed that i have 
around 50 000 dns query in under 200 second.
destinations are by order:- memcache cluster- database- external web services

I can't add these in my /etc/hosts file as they're all load balanced and each 
time our dns responds with a different IP so i'm thinking of caching these with 
dnsmasq or something similar.
Any cons of such an idea? any dnsmasq alternative ?
i know on ubuntu there's "dnscache" though there are certain limitations on 
that front.
PS: using dig, i noticed that every query takes around 3 ms to the data centers 
nameserver.
  

Re: ecryptfs being unmounted while user is still logged in

2014-04-22 Thread Roland Hieber
On 20.04.2014 00:49, Roland Hieber wrote:
> Unfortunately, I cannot find anything related in /var/log/*, but I have
> the feeling that it has to do with my recent switch to systemd-sysv.

For the record, purging systemd-sysv and installing sysvinit-core again
got rid of that nasty bug. I would like to file a bug report, but I'm
not sure which package is really at fault here – systemd or ecryptfs?

I also looked through all the crontabs installed on my system, nothing
there is executed at 0:00, but the filesystem gets unmounted exactly at
0:00, so it cannot be cron's fault.

 - Roland


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53565e49.7040...@rohieb.name



failure to boot - initramfs

2014-04-20 Thread Roland RoLaNd
Dear all,

on boot, the system falls back into "INITRAMFS" , something to do with the 
failed iscsi disks and if i don't type anything,a log starts showing containing 
"SYNC_DISK..." among other things.. if i hit enter, it stops and i get back to 
the INITRAMFS prompt.
 support technicians in a remote collocated DC couldn't get my server back up 
and running from a degraded raid so they plugged in a new drive and installed 
debian over it (twice)
if they physically unplug all the old drives, the new debian installation boots 
up normally.
i rebooted into a live cd and made sure that nothing in fstab points to the old 
disks, though on boot i keep on seeing hdio_get_identity failed for 
dev/sdXtiming outdropping to shell
and by X i mean all 10 drives. 
after a lot of troubleshooting, i came across this interesting script 
http://bootinfoscript.sourceforge.net/and after executing it on that server in 
a ubuntu livecd i get very interesting details, this is the header though you 
could find the full details in this pastebin url: http://pastebin.com/GLgUH7ig



= Boot Info Summary: ===
 => No boot loader is installed in the MBR of /dev/sdd. => No known boot loader 
is installed in the MBR of /dev/sdf. => No known boot loader is installed in 
the MBR of /dev/sdg. => No known boot loader is installed in the MBR of 
/dev/sdh. => Grub2 (v1.99) is installed in the MBR of /dev/sdi and looks at 
sector 34 of the same hard drive for core.img. core.img is at this location 
and looks for (mduuid/345c489c63e34d58c1c1a2ac8ff8a6b6)/grub on this drive. 
=> Grub2 (v1.99) is installed in the MBR of /dev/sdj and looks at sector 34 
of the same hard drive for core.img. core.img is at this location and looks 
for (mduuid/345c489c63e34d58c1c1a2ac8ff8a6b6)/grub on this drive. => Grub2 
(v1.99) is installed in the MBR of /dev/sdl and looks at sector 34 of the 
same hard drive for core.img. core.img is at this location and looks for 
(,gpt2)/grub on this drive.
  

ecryptfs being unmounted while user is still logged in

2014-04-19 Thread Roland Hieber
Hi,

lately I'm having problems with my ecryptfs home directory, which is
being unmounted while I'm still logged in and working on my machine. It
seems to be unmounted at around 0:00 every night, which has the effect
that some of my running applications stop working until I mount it again
using ecryptfs-mount-private, but even then, not all applications work
flawlessly (e.g. my awesome window manager won't spawn new urxvts,
manually started terminals show "(unreachable)" as current directory).

Unfortunately, I cannot find anything related in /var/log/*, but I have
the feeling that it has to do with my recent switch to systemd-sysv. Is
there maybe a daemon in userspace, which I forgot to start, that keeps
track of running logins or something? What can I do to debug this?

Related information:
$ uname -a
Linux r2d2 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux

$ apt-cache policy ecryptfs-utils systemd-sysv
ecryptfs-utils:
  Installed: 103-3
  Candidate: 103-3
  Version table:
 *** 103-3 0
200 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
170 http://ftp.de.debian.org/debian/ sid/main amd64 Packages
100 /var/lib/dpkg/status
systemd-sysv:
  Installed: 204-8
  Candidate: 204-8
  Version table:
 *** 204-8 0
200 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
170 http://ftp.de.debian.org/debian/ sid/main amd64 Packages
100 /var/lib/dpkg/status

Regards,
Roland Hieber


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5352fd64.4080...@rohieb.name



prepend localdns to resolv.conf - keeps changing

2014-03-28 Thread Roland RoLaNd
All,
I installed dnsmasq on a production web server to improve caching (we tend to 
resolve alot of domains while serving pages) my problem is that we have to use 
dhcp with the server, so cannot use static ips.with that in mind, the dhcpd 
client keeps overriding my resolv.conf
i can't lock the file as the dns provided by the dhcp service may change (i 
don't have control over it) so what i need is the following;
nameserver 127.0.0.1nameserver  (ip provided by the dhcp service)
i tried setting dhcpd-eth0.conf and using a prepend record , that didn't work.
tried installing resolvconf and added "nameserver 127.0.0.1" in 
/etc/resolvconf/head though that overrides the resolv.conf completely and 
removes the one provided by the dhcpd service
at the moment i have cron job at reboot that accomplishes that for me, but it's 
not an optimal solution.
Any suggestion? 
  

Re: "cloning" a debian installation

2014-02-05 Thread Roland Müller

Hello again,

On 02/05/2014 05:16 PM, Roland Mueller wrote:

Hello,

2014-02-05 Kruppt :


On 2014-01-31, Kruppt  wrote:

On 2014-01-31, Fabrice Vaillant  wrote:

Hi
I'm using debian 7.3 on my laptop (Dell E5530) and it runs perfectly
fine. I'm considering remplacing the hdd by a ssd.
The thing is I'd rather not go through the hassle of setting up debian
to suit my computer. The question I'm asking is, what would be the
simplest way(if it is possible) to "clone" my existing installation onto
the new ssd.
Knowing that the root and the home are on two different partition of my
hdd which are the only partition on my disk beside the swap.
Howewer the ssd is smaller than the disk and the home partition will
need to be resized. I also consider slightly increasing the root
partition size as it is quitte full (77%) after running "apt-get clean".

Since I am at it, I would also like to know if it is possible to remove
the swap as it is bad for ssd life to write and rewrite, and I have
plenty (8 giga) of ram.

Cheers
Fabrice



Yes you can clone it easily with rsync.
Create the partitions and filesystems on the new SSD,
via gparted or fdisk, mke2fs or whatever.
Then use rsync to clone the filesystems onto
the new SDD partitions/filesystems.

Lets say the original HDD is layed out like below
as an example, and partitions, filesystems have been created,

Boot up a LiveCD such as SystemRescueCD on a comp with
both drives connected.
Make mount points for partitions to
be cloned and mount them all.

HDD
sda1 swap
sda2 /
sda3 /home

SSD
sdb2 swap
sdb2 /
sda3 /home

>From Root Terminal run:
rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda2/

/mnt/sdb2

Above line should read:
rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda3/
/mnt/sdb3



to clone the whole system you should not forget hardlinks (-H), and may be
also ACL (-A) or extended attributes (-X) should be preserved.

 -a, --archive   archive mode; equals -rlptgoD (no -H,-A,-X)

When the cloned disk is updated several times, also option -u (=update only
if needed) can be used.

# rsync -avuHAX --delete /mnt/sda2/ /mnt/sdb2
there's another useful option of rsync: -x causes the synchronization to 
restrict the operation to a single filesystem. I.e. if there are other 
mounts under the source disk they will not be copied in case -x is added 
to the rsync command:


# rsync -avuHAXx --delete /mnt/sda2/ /mnt/sdb2

E.g. to clone the root of the currently running system, omitting /proc etc.:
# rsync -avuHAXx --delete /  /mnt/yet_another_root_disk


BR,
Roland


This clones the two filesytems on the HDD to new SSD
(since there is nothing on the new filesystem
the --delete option is redundant so could be ignored)

Then you would want to install Grub.
Chroot into the / filesystem on SSD
(sdb2 in this example)

mount --bind /proc /mnt/sdb2/proc
mount --bind /sys /mnt/sdb2/sys
mount --bind /run /mnt/sdb2/run
mount --bind /dev /mnt/sdb2/dev
mount --bind /dev/pts /mnt/sdb2/dev/pts
chroot /mnt/sdb2 /bin/bash

grub-install --root-directory=/mnt/sdb2 /dev/sdb
grub-mkconfig -o /boot/grub/grub.cfg
update-initramfs -uk $(uname -r)

exit chroot

  Then you will need to edit your fstab file,
  to reflect changes if any, especially if using
  UUID's. (Run blkid -c /dev/null, the output will
  show the UUID's, then edit fstab to reflect new UUID's)





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/bletpaf5k...@mid.individual.net





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52f2745c.8070...@googlemail.com



Re: "cloning" a debian installation

2014-02-05 Thread Roland Mueller
Hello,

2014-02-05 Kruppt :

> On 2014-01-31, Kruppt  wrote:
> > On 2014-01-31, Fabrice Vaillant  wrote:
> >> Hi
> >> I'm using debian 7.3 on my laptop (Dell E5530) and it runs perfectly
> >> fine. I'm considering remplacing the hdd by a ssd.
> >> The thing is I'd rather not go through the hassle of setting up debian
> >> to suit my computer. The question I'm asking is, what would be the
> >> simplest way(if it is possible) to "clone" my existing installation onto
> >> the new ssd.
> >> Knowing that the root and the home are on two different partition of my
> >> hdd which are the only partition on my disk beside the swap.
> >> Howewer the ssd is smaller than the disk and the home partition will
> >> need to be resized. I also consider slightly increasing the root
> >> partition size as it is quitte full (77%) after running "apt-get clean".
> >>
> >> Since I am at it, I would also like to know if it is possible to remove
> >> the swap as it is bad for ssd life to write and rewrite, and I have
> >> plenty (8 giga) of ram.
> >>
> >> Cheers
> >> Fabrice
> >>
> >>
> >
> > Yes you can clone it easily with rsync.
> > Create the partitions and filesystems on the new SSD,
> > via gparted or fdisk, mke2fs or whatever.
> > Then use rsync to clone the filesystems onto
> > the new SDD partitions/filesystems.
> >
> > Lets say the original HDD is layed out like below
> > as an example, and partitions, filesystems have been created,
> >
> > Boot up a LiveCD such as SystemRescueCD on a comp with
> > both drives connected.
> > Make mount points for partitions to
> > be cloned and mount them all.
> >
> > HDD
> > sda1 swap
> > sda2 /
> > sda3 /home
> >
> > SSD
> > sdb2 swap
> > sdb2 /
> > sda3 /home
> >
> >>From Root Terminal run:
> > rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda2/
> /mnt/sdb2
>
> Above line should read:
> rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda3/
> /mnt/sdb3
>
>
to clone the whole system you should not forget hardlinks (-H), and may be
also ACL (-A) or extended attributes (-X) should be preserved.

-a, --archive   archive mode; equals -rlptgoD (no -H,-A,-X)

When the cloned disk is updated several times, also option -u (=update only
if needed) can be used.

# rsync -avuHAX --delete /mnt/sda2/ /mnt/sdb2

BR,
Roland




> > This clones the two filesytems on the HDD to new SSD
> > (since there is nothing on the new filesystem
> > the --delete option is redundant so could be ignored)
> >
> > Then you would want to install Grub.
> > Chroot into the / filesystem on SSD
> > (sdb2 in this example)
> >
> > mount --bind /proc /mnt/sdb2/proc
> > mount --bind /sys /mnt/sdb2/sys
> > mount --bind /run /mnt/sdb2/run
> > mount --bind /dev /mnt/sdb2/dev
> > mount --bind /dev/pts /mnt/sdb2/dev/pts
> > chroot /mnt/sdb2 /bin/bash
> >
> > grub-install --root-directory=/mnt/sdb2 /dev/sdb
> > grub-mkconfig -o /boot/grub/grub.cfg
> > update-initramfs -uk $(uname -r)
> >
> > exit chroot
> >
> >  Then you will need to edit your fstab file,
> >  to reflect changes if any, especially if using
> >  UUID's. (Run blkid -c /dev/null, the output will
> >  show the UUID's, then edit fstab to reflect new UUID's)
> >
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/bletpaf5k...@mid.individual.net
>
>


Re: debian xfce network tethering a samsung galaxy s2

2013-11-27 Thread Roland Mueller
Hello,

2013/11/26 Zenaan Harkness 

> Setting up a laptop workstation for a friend, who uses internet via an
> sgs2 (samsung galaxy sII). Never have I tethered before.
>
> I've installed wheezy+xfce on a thinkpad r500.
>
> Been searching a bit, eg "network tethering site:debian.org" and others.
>
> apt-cache search tether gives
> entangle - Tethered Camera Control & Capture
> ipheth-utils - USB tethering driver support utilities for the iPhone
> (I'm on sid)
>
> Also apt-cache search'ed for samsung.
>
> Have not yet attached the phone (via usb), just doing some research,
> and seeking some feedback and/ or recommendations (eg "just install
> network-manager" or some such).
>
>
for tethering you shouln't need a package at all: on phone side you should
be able setup USB debugging mode (permanently) and enable tethering after
the phone has been connected to the Linux machine.

BR,
Roland


php 5.2 on debian wheezy

2013-11-23 Thread Roland RoLaNd
All,
An application we're using is in need for php5.2 and we lack the time to make 
it work with the latest version.
google search shows a lot of 5.3 to 5.2 downgrade for squeeze but not for 
wheezy naturally.
May i ask if anyone has done so recently, and if you could provide a how to?
Thanks

RE: sysctl.conf

2013-10-26 Thread Roland RoLaNd
that's the thing,  i'm reading up on sysctl and don't have the necessary 
knowledge to know what to "expect" at the moment.though some did actually 
intrigue me such as:
 19 #net.ipv4.conf.default.rp_filter=1 20 #net.ipv4.conf.all.rp_filter=1
 43 # Do not accept ICMP redirects (prevent MITM attacks) 44 
#net.ipv4.conf.all.accept_redirects = 0 45 #net.ipv6.conf.all.accept_redirects 
= 0

> Subject: Re: sysctl.conf
> From: ralf.mard...@alice-dsl.net
> To: debian-user@lists.debian.org
> Date: Sat, 26 Oct 2013 21:58:59 +0200
> 
> On Sat, 2013-10-26 at 21:37 +0200, Roland RoLaNd wrote:
> > All,
> > 
> > 
> > I'm reading up on how to harden debian.
> > i just checked /etc/sysctl.conf  and noticed that everything is
> > commented out.
> > do that mean they're running as defaults or none of what exists in
> > this file is implemented?
> 
> What do you expect?
> 
> I'm using another distro that switched.
> 
> ls /etc/sysctl*
> /etc/sysctl.conf.pacnew  /etc/sysctl.conf.pacsave
> 
> /etc/sysctl.d:
> 
> blah
> 
> To my surprise, there where unusual settings in /etc/sysctl.conf, I
> dropped them during the transition.
> 
> What exactly should be not commented out by default?
> 
> For the distro I'm using there only is
> 
> net.ipv4.tcp_syncookies = 1
> net.ipv4.ip_forward = 0
> net.ipv6.conf.all.forwarding = 0
> 
> by default. I had much more in my /etc/sysctl.conf, caused by what ever
> package, but not by me and after I dropped those settings, nothing evil
> happened.
> 
> So again, what should be enabled by this file?
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/1382817539.656.269.camel@archlinux
> 
  

sysctl.conf

2013-10-26 Thread Roland RoLaNd
All,
I'm reading up on how to harden debian.i just checked /etc/sysctl.conf  and 
noticed that everything is commented out.do that mean they're running as 
defaults or none of what exists in this file is implemented?
  

RE: Debian wheezy boot problem - Boot sector not identified by board

2013-10-08 Thread Roland RoLaNd
for future reference if anyone faced this issue.disabling "EFI" in bios 
settings and initiating a clean install does the trick.
From: r_o_l_a_...@hotmail.com
To: debian-user@lists.debian.org
Subject: Debian wheezy boot problem - Boot sector not identified by board
Date: Mon, 7 Oct 2013 09:54:11 +0200




All,
I have an intel dh77kc board. it previously had windows 7 installed on it.i 
tried installing debian wheezy net install. installation goes perfectly fine up 
untill reboot.once reboot is done, i get " Initializing and establishing link" 
and immediately goes into network bootI tried resetting bios settings to 
default, i even upgraded the bios itself. and changed from AHCI to IDEnothing 
is working so far.
Note: i thought it's not debian specific, by installing windows 7 again. and it 
worked fine..
Any hint on what might be going on ?



  

Debian wheezy boot problem - Boot sector not identified by board

2013-10-07 Thread Roland RoLaNd
All,
I have an intel dh77kc board. it previously had windows 7 installed on it.i 
tried installing debian wheezy net install. installation goes perfectly fine up 
untill reboot.once reboot is done, i get " Initializing and establishing link" 
and immediately goes into network bootI tried resetting bios settings to 
default, i even upgraded the bios itself. and changed from AHCI to IDEnothing 
is working so far.
Note: i thought it's not debian specific, by installing windows 7 again. and it 
worked fine..
Any hint on what might be going on ?


  

Re: apt pinning for deb-multimedia does not work

2013-06-25 Thread Roland Hieber
On 21.06.2013 15:04, Andrei POPESCU wrote:
> I think we didn't understand priorities correctly. Let's see again what 
> the fine manual (apt_preferences(5)) says:
> 
> […]
> As per above output you have 6:9.3-1 installed, which is more recent 
> than 6:0.8.6-1. Because of this apt wants to jump directly to the higher 
> version from dmo (apt will not downgrade unless the priority is higher 
> than 1000). Does this make sense?

Oh yes, that was the crux of the matter. The apt-cache policy output is
a bit confusing in my opinion (sooo many numbers…), and the man page
does not say anything about how to interpret it… Anyways, thanks for the
hint, the following pinning works as expected:

Package: *
Pin: release o=Unofficial Multimedia Packages
Pin-Priority: 450

Package: libav*
Pin: release o=Unofficial Multimedia Packages
Pin-Priority: -1


Cheers,
Roland


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/kqda5u$gnc$1...@ger.gmane.org



apt pinning for deb-multimedia does not work

2013-06-18 Thread Roland Hieber
::xz::Cost "4";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
APT::CompressorName "";
APT::CompressorExtension ".";
APT::CompressorBinary "";
APT::CompressorCost "100";
APT::CompressorCompressArg "";
APT::CompressorCompressArg:: "-9";
APT::CompressorUncompressArg "";
APT::CompressorUncompressArg:: "-d";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::Languages "";
Acquire::Languages:: "en_US";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
Unattended-Upgrade "";
Unattended-Upgrade::Origins-Pattern "";
Unattended-Upgrade::Origins-Pattern::
"origin=Debian,archive=stable,label=Debian-Security";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- 
Roland Hieber
Stratum 0 e.V., Braunschweig, Germany, Earth
https://stratum0.org/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51c08425.6090...@rohieb.name



Re: Installing flash player into user's home dir. for chromium.

2013-01-24 Thread Roland Mueller
Hello,


2013/1/18 Patrick Bartek 
>
> > From: Sthu Deus 
> > To: debian-user@lists.debian.org
>
> >>  >


>
> >>  Check if the user home directory has a hidden .moziila/plugins
> >>  directory.  This is one of several defaults that browsers search for
> >>  plugins.  If not, add it, place the flash player plugin in it and see
> >>  what happens.
> >
> > I've downloaded the .tar.gz player, finally I got:
> >
> > ~/.moziila/plugins/libflashplayer.so
> >
> > But chromium still asks for new version of FlashPlayer.
> >

> This is a guess: Maybe, Chromium doesn't look there for plugins.  Perhaps 
> there is a way to tell Chromium where to look.  I don't know.  Check the user 
> manual or contact the developer directly.  I've always put plugins, 
> regardless of the browser, in /usr/lib/mozilla/plugins for 32-bit systems and 
> 32-bit plugins, or /usr/lib64/mozilla/plugins for 64-bit systems and 64-bit 
> plugins.
>

Chrome has its own version of the Adobe Flash player. On my Fedora17
box it belongs to the google-chrome-stable package:

$ locate flash | grep \.so$   | grep -v BAK
/opt/google/chrome/PepperFlash/libpepflashplayer.so
/usr/lib/flash-plugin/libflashplayer.so
/usr/lib/kde4/kcm_adobe_flash_player.so
/usr/lib/libreoffice/program/libflashlo.so
/usr/lib/mozilla/plugins/libflashplayer.so

$ rpm -qf /opt/google/chrome/PepperFlash/libpepflashplayer.so
google-chrome-stable-24.0.1312.52-175374.i386

Regards,
Roland


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/calk2krwjq_sum9z4bjjb6gsm9t3qevzgaqik0yhecemo05l...@mail.gmail.com



mysql-server 64 bit on a 32 bit lenny

2012-09-04 Thread Roland RoLaNd

i have 32 bit lenny running. ( i cannot upgrade) 
i need to install mysql-server-5.1 amd64 on it.

This system is already running l 64 bit kernel.

i can't seem to find that package in any current repo so i'm thinking of force 
installing it using dpkg but i don't know how to solve dependencies (especially 
libraries)

Any advice? 
  

Re: (problem) LVM + USB drive

2011-06-02 Thread Roland Mueller
Hello,

2011/6/2 Itay 

> On Mon, 30 May 2011, Itay wrote:
>
>  I'd like to set up a USB drive using LVM.  Could someone knowledgable
>> confirm that the following recipe should allow me to hot-plug the USB drive
>> without rendering the LVM file-systems inaccessible?
>>
>
> The recipe has a problem in the vgcreate step (below,
> marked with '***').
> The physical volume is not listed in /dev/disk/by-uuid/...
>
> Can someone suggest how to fix the recipe, or suggest a different workflow
> for working with lvm on hot-pluggable USBs?
>
>
Actually, you should be able to use the partitions directly to create the
VG. An example that applies to your case is even in the manpage of vgcreate:
EXAMPLES
   To create a volume group named test_vg using physical volumes
/dev/sdk1, and /dev/sdl1 with default physical extent size of 4MB:

vgcreate test_vg /dev/sdk1 /dev/sdl1

 Thus, as alternative to the vgcreate and vgextend steps, the following
command should do it in a single step:

   - pvcreate myVG 7dev/sdc1 /dev/sdc2

Regards,
Roland


 Recipe follows:
>>
>> Set up:
>> #  (Actual number of partitions, etc., is not important here.)
>>
>> #  Assume attached disk is /dev/sdc and it has an extended partition #+
>> that covers that whole disk.
>>
>> #  Prepare partitions for LVM (say, 2 partitions)
>>$ parted /dev/sdc mkpart logical START1 END1
>>$ parted /dev/sdc mkpart logical START2 END2
>> #  Create Physical Volumes
>>$ pvcreate /dev/sdc1
>>$ pvcreate /dev/sdc2
>> #  Identify the Physical Volumes' UUIDs
>>$ blkid
>> #  Create Volume Groups using  PVs **UUIDs**
>>
> ***'
>
>>$ vgcreate [options] myVG /dev/disk/by-uuid/UUID-OF-PART-1
>>
> ***'
>
>>$ vgexted  [options] myVG /dev/disk/by-uuid/UUID-OF-PART-2
>> #  From this point I can "forget" that I deal with a USB drive, and #+
>> continue the set up as with built in drives; right?
>>
>
> [snip]
>
> Thanks,
> Itay
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/alpine.deb.2.00.1106021024350.5...@frodo1.weizmann.ac.il
>
>


RE: dumb question about blu ray drive configuration and playing blu ray movies etc....

2010-12-29 Thread Roland Rosier
ad that MPlayer, VideoLan and 
Xine can understand MKV format containers.

In summary I would say the following:

Playing Commercial DVDs in Linux seems to be relatively pain-free.  Many 
players can understand the whole DVD structure and/or individual files within.  
However I have read that a newer type of encryption is appearing on DVDs, but I 
haven't seen it personally.

Playing Commercial Blu-Rays in Linux seems to be a hit-and-miss challenge.  The 
encryption keeps changing so what works with the Blu-Ray you buy today might 
not work with the Blu-Ray you buy tomorrow.  I don't know of any Linux player 
that can understand the whole Blu-Ray structure and it is possible that 
split-playlists might defeat Linux players.  There was even some talk online of 
key-revocation which might mean that your Blu-Ray player might stop playing a 
Blu-Ray that it played previously.

It might be worth sticking with DVDs until Blu-Rays are playable on Linux 
without any hassle.

I hope that this helps.

Regards,
Roland Rosier
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/snt134-w58a1cefaa09a4cdcdce06297...@phx.gbl



RE: PPTP Issues in Debian Testing/Squeeze

2010-12-28 Thread Roland Rosier

Hello Pascal and Russell,

> Roland Rosier a écrit :
> > I get a huge number of lines in my syslog saying:
> >
> > Dec 27 12:51:54 x pptp[5043]: anon log[decaps_gre:pptp_gre.c:414]:
> > buffering packet 20895 (expecting 20894, lost or reordered)
>
> 1) It could be a packet loss issue at the link layer level. Run a packet
> sniffer such as tcpdump or wireshark/tshark on the ethernet interface
> connected to the modem and capture the GRE traffic (IP proto 47). Then
> check whether the expected packet numbers reported in syslog during the
> capture are just reordered or actually missing.
>
> 2) Check the counters in the output of ifconfig for that interface too.
>
> 3) If everything seems fine at the link layer level, try to disable the
> firewall.

It would appear that the issue was with the actual on-board Ethernet.

I disabled my new motherboard's on-board Ethernet and installed an old (and 
known-working-with-Linux) PCI 3COM 3c905.

With this new card, I got full-speed downloads and no packet loss using the 
kernel driver 3c95x.

I then noticed that my Motherboard was one version down on the BIOS updates 
available and that the BIOS update mentioned the LAN.

So I updated my Motherboard's BIOS and removed the 3COM card.

I now seem to be getting full-speed downloads and no packet loss using the 
kernel driver r8169.

For reference, my Motherboard is a Gigabyte GA-880GM-UD2H Revision 1.3 and the 
on-board Ethernet is an RTL8111D.

Thanks for all your help and suggestions.

Regards,
Roland Rosier
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/snt134-w29851b743d5dc1a2bd6c1e97...@phx.gbl



RE: PPTP Issues in Debian Testing/Squeeze

2010-12-27 Thread Roland Rosier

Hello Russell,
 
Thank you for your reply,
 
I have got the old firewall running (possibly briefly - I think the HD is 
nearly dead).
 
It still gets full speed on my Internet connection.
 
I do get 2 log messages in syslog, they are a pair:
Dec 27 16:25:26 OLD pptp[4373]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent 
control packet type is 5 'Echo-Request'
Dec 27 16:25:26 OLD pptp[4373]: anon log[logecho:pptp_ctrl.c:659]: Echo 
Reply received.
 
I don't get any of the messages about buffering packets being lost or reordered.
 
ICMP type 5 is Source Route failed from RFC 792 
(http://www.rfc-archive.org/getrfc.php?rfc=792)
 
I don't seem to have any type 5 control packet logs in the new syslog.
 
I wonder if Shorewall is blocking these control packets, where the firewall in 
my old setup didn't?
 
My old Debian was Debian Sarge, release 3.1.  My old firewall was ipmasq.
My old kernel was 2.6.8-2-686.
 
My new Debian is Debian Testing/Squeeze.  My new firewall is Shorewall 
(4.4.11.6).
My new kernel is 2.6.32-5-amd64.
 
Regards,
Roland Rosier
 
> > I am using the Shorewall firewall with the "two-interfaces"
> > configuration.
>
> You might get a clue as to what is happening by installing another
> system such as SmoothWall3 (www.smoothwall.org) on the machine and
> then inspecting the logs and statistics.
>
> SmoothWall takes over the entire drive, so you might wish to plug in a
> spare small drive for the test. The installation and configuration of
> SmoothWall can be done in about fifteen minutes, using a gui. The
> system is very well documented.
>
> RLH 

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/snt134-w2833b638a0133a94c48b2897...@phx.gbl



PPTP Issues in Debian Testing/Squeeze

2010-12-27 Thread Roland Rosier

Hello,
 
I am wondering if anyone has come across a similar issue to one I am 
encountering with Debian Testing/Squeeze.
 
I have been using Debian for many years as a Firewall for my family's computers.
 
I have a ppp interface as the Internet interface and another Ethernet / WiFi 
interface within my house.
 
Originally, the ppp interface was a dial-up modem, but since the advent of 
broadband it became a PPTP tunnel forwarded from my ADSL modem.
 
This had been working fine on Debian system I set up many years ago, but 
recently that PC died.
 
I have built a new system and installed Debian Testing on it (because it should 
shortly be released as Debian Squeeze and I hoped that if I got Testing working 
the upgrade to Squeeze should be relatively pain-free).
 
Unfortunately, my network speed appears to be less than 1/10th of what it was 
previously, even though I believe that I copied all the ppp configuration files 
over accurately from the old system.
 
I put ppp into debug mode and have been looking at the logs.
 
I get a huge number of lines in my syslog saying:
 
Dec 27 12:51:54 x pptp[5043]: anon log[decaps_gre:pptp_gre.c:414]: 
buffering packet 20895 (expecting 20894, lost or reordered)
 
(the packet numbers change).
 
I have tried leaving the MTU unset in the ppp configuration files, and I have 
also tried setting it to 1416, 1454, 1492 and 1500 (which seem to be common 
values recommended on the Internet).
 
I am using the Shorewall firewall with the "two-interfaces" configuration.  I 
have set IP_FORWARDING=On and CLAMPMSS=yes in shorewall.conf.
 
I am uncertain if the issue is with ppp, pptp, Shorewall or something else.
 
I am also uncertain if this could be an issue with the "Testing" distribution 
as I have never seen anything like this with any of the previous Debian 
distributions I have used.
 
I would be grateful if anyone has seen this before and could let me know what 
the issue could be.
 
Regards,
Roland Rosier 

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/snt134-w3684599f8e20b12129bc2c97...@phx.gbl



Re: Вопрос по Книгам?

2009-10-27 Thread Roland Müller
Здравствуйте!


> 
>  Original-Nachricht 
> Datum: Mon, 14 Sep 2009 20:11:34 +0400
> Von: Ivan Ryavkin 
> An: debian-user@lists.debian.org
> Betreff: Вопрос по Книгам?
> 
> Есть книги о Debian на разных языках 
> у меня вопрос планируется или нет выход 
> на руссском, а может уже есть?
> 
this is BTW a list in Englisch :-)
To your question: May be there is more information about books about Debian 
in Russian behind the following links.

http://www.ru.debian.org/index.ru.html
http://www.ru.debian.org/doc/books.ru.html

In latter you can find the address of a mailing list in Russian:

-  debian-l10n-russ...@lists.debian.org
    С уважением,
Roland Müller

> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmas...@lists.debian.org
> 

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser


Re: keeping the two latest files on a folder

2009-10-13 Thread Roland Müller
Hello,

> Andrew Sackville-West skrev:
> > On Tue, Oct 13, 2009 at 06:46:31PM -0400, Chris Jones wrote:
> >   
> >> On Tue, Oct 13, 2009 at 03:35:19PM EDT, Håkon Alstadheim wrote:
> >> 
> >>> Israel Garcia skrev:
> >>>   
> >>>> Hi List,
> >>>>
> >>>> It's a simple  question but difficult to me :-).
> >>>>
> >>>> How can I delete all files on a folder / but keeping only the 
> two
> >>>> latest (newest)  files?
> >>>>
> >>>>   
> >>>> 
> >>> untested, run it with 'echo' in front first to test:
> >>> rm $(ls -rt | sed '1,2d')
> >>>   
> >> sed rocks...!
> >> 
> >
> >
> > indeed. wow. 
> >
> > A
> >   
> Due to all the positive feed-back, I actually tested the "ls -rt"-bit, 
> and sure enough, the 'r' makes ls list the newest files _last_, so you 
> DON'T want 'r'. This makes the correct command:
> 
> rm $(ls -t | sed '1,2d')
> 
> 
> You should _still_ test it first using 'echo ', to make sure there are no 
> subdirectories in there, and on general principles. Adapt to whatever you 
> have in the directory.
> 
>  
Using the find command ensures that directories are skipped. The -maxdepth 
0 restricts the search to the current directory:

   rm $(find . -maxdepth 0 -type f | xargs ls -t| sed 1,2d)

However, this does not work, if you have files with spaces! Then the best 
is to use the -print0 and xargs -0 that uses zero-delimited strings instead 
of space delited strings. Also the rm must be run in a loop and with 
quotation marks around the filename: 

    find . -maxdepth 0 -type f -print0 | xargs -0 ls -t| sed 1,2d | 
while read f; do rm -f "$f" ; done

BR,
Roland


>  
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmas...@lists.debian.org
>  

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


aptitude install less verbose

2008-05-15 Thread Roland JARRY
Hello,
I'm trying to make aptitude less verbose in command line for
installation of new packages. I would like it don't display the long
list of packages upgradable (because actually not upgraded on the
system).
I've tried a lot of options, but without success...
The purpose is to obtain cfengine logs less verbose when I install new
packages on the clients.


# aptitude -o Aptitude::Forget-New-On-Install="true" -o
Aptitude::Theme="Dselect" -P -q=2 install tree
Reading package lists...
Building dependency tree...
Reading extended state information...
Initializing package states...
Reading task descriptions...
Building tag database...
The following packages have been kept back:
  acroread acroread-data acroread-escript acroread-plugin-speech
  acroread-plugins cpio dump gnumeric gnumeric-common grisbi iceape
  libcairo2 libcairo2-dev libmozjs0d libnspr4-0d libnss3-0d libperl5.8
  libvlc0 libxul-common libxul0d linux-image-2.6.18-6-686 mozilla
  mozilla-acroread mozilla-browser mozilla-mailnews mozilla-plugin-vlc
  mozilla-psm mozilla-thunderbird openoffice.org-common
  openoffice.org-help-en openoffice.org-help-en-us
  openoffice.org-help-fr openoffice.org-java-common
  openoffice.org-l10n-fr perl perl-base perl-doc perl-modules perl-suid
  python2.4 python2.4-dev python2.4-examples python2.4-minimal rsync ssh
  ttf-opensymbol vlc vlc-nox vlc-plugin-esd wxvlc xpdf xpdf-common
  xpdf-reader xpdf-utils xulrunner-gnome-support
The following NEW packages will be installed:
  tree
0 packages upgraded, 1 newly installed, 0 to remove and 55 not upgraded.
Need to get 0B/26.8kB of archives. After unpacking 94.2kB will be used.
Do you want to continue? [Y/n/?]




signature.asc
Description: Ceci est une partie de message	numériquement signée


Re: LVM

2007-09-04 Thread Roland M. Kruggel
Am Dienstag, 4. September 2007 21:55 schrieb Mike Bird:
> On Tuesday 04 September 2007 10:44, Roland M. Kruggel wrote:
> > Am Dienstag, 4. September 2007 17:10 schrieb Yuriy Padlyak:
> > > ok, but I don't know how to move ext3 file system or it's
> > > content without loosing any file attributes, etc either :)
> >
> > cp -a /src/* /dest
>
> That misses dot files in the source.  Use rsync instead, perhaps
> with -H and/or -S flags (see man).

Oh schitt. Sorry.
Thats a big mistake. I have alway copy with cp -a. I never do it.
Many Thnx

>   rsync -a -H -S /src/ /dest/

ok. Thats realy better.

-- 
cu
 Roland M. Kruggel

mailto:[EMAIL PROTECTED] http:www.bbf7.de
System: Intel, Debian etch, 2.6.21, xfce4, KDE 3.5


Zufallszitat
Gibt es eine bessere Form mit dem Leben fertig zu werden, als mit
Liebe und Humor?
-- Charles Dickens


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



Re: LVM

2007-09-04 Thread Roland M. Kruggel
Am Dienstag, 4. September 2007 17:10 schrieb Yuriy Padlyak:
> ok, but I don't know how to move ext3 file system or it's content
> without loosing any file attributes, etc either :)

cp -a /src/* /dest

-- 
cu
 Roland M. Kruggel

mailto:[EMAIL PROTECTED] http:www.bbf7.de
System: Intel, Debian etch, 2.6.21, xfce4, KDE 3.5


Zufallszitat
Ein Kluger bemerkt alles, ein Dummer macht über alles seine
Bemerkungen.
-- Heinrich Heine


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



RAID5 on S5000PSL ServerBoard

2007-07-09 Thread Roland Carlin


Hi All,

I would like to install Debian on a Intel S5000PSL device with the RAID 
config described below.

I cannot find any pilot for the RAID system.

Could anyone help me with this ?

Thanks&Regards

Roland Carlin


Motherboard details:

On-Board Devices
Chipset Intel® 5000P Server Chipset
SATAIntel® 6321 ESB I/O Controller
  Controller  Intel
  Number of Drives6
  Number of Ports 6
  RAID SupportRAID 0, 1, 10 with optional
  AXXRAKSW5 for RAID 5*
IDE Yes
  Number of IDE Devices Supported 2
  IDE Modes Supported ATAPI
Network Adaptor Yes
  Controller  Intel® 82563EB Network Connection
  Speeds  10/100/1000 Mbps
  Number of Ports 2
GraphicsYes (ATI ES1000)
Super I/O   National Semiconductor PC87427


LSPCI results:

00:00.0 Host bridge: Intel Corporation 5000P Chipset Memory Controller
Hub (rev 92)
00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8
Port 2-3 (rev 92)
00:03.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4
Port 3 (rev 92)
00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8
Port 4-5 (rev 92)
00:05.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4
Port 5 (rev 92)
00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8
Port 6-7 (rev 92)
00:07.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4
Port 7 (rev 92)
00:08.0 System peripheral: Intel Corporation 5000 Series Chipset DMA
Engine (rev 92)
00:10.0 Host bridge: Intel Corporation 5000 Series Chipset Error
Reporting Registers (rev 92)
00:10.1 Host bridge: Intel Corporation 5000 Series Chipset Error
Reporting Registers (rev 92)
00:10.2 Host bridge: Intel Corporation 5000 Series Chipset Error
Reporting Registers (rev 92)
00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved
Registers (rev 92)
00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved
Registers (rev 92)
00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers
(rev 92)
00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers
(rev 92)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI
Express Root Port 1 (rev 09)
00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #1 (rev 09)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #2 (rev 09)
00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #3 (rev 09)
00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #4 (rev 09)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC
Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller
(rev 09)
00:1f.2 IDE interface: Intel Corporation 631xESB/632xESB/3100 Chipset
SATA Storage Controller IDE (rev 09)
00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus
Controller (rev 09)
01:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Upstream Port (rev 01)
01:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to
PCI-X Bridge (rev 01)
02:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Downstream Port E1 (rev 01)
02:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Downstream Port E2 (rev 01)
02:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Downstream Port E3 (rev 01)
*04:00.0 SCSI storage controller: LSI Logic / Symbios Logic Unknown
device 0057 (rev 02)*
05:00.0 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
Controller Copper (rev 01)
05:00.1 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
Controller Copper (rev 01)
0d:0c.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)





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




Re: importing an address book to Icedove

2007-05-27 Thread Roland Müller
Hello,

in the following I assume that Icedove is Thunderbird ...


> Hello Debian Users,
> 
> I have an address book from an old Windows 
> system to import into Icedove.
> 
> Currently there is a text file on the target 
> system containing lines in this syntax.
> 
> ,,,
> 
no, default order of fields seams to be:

- ,, , , 

After these many more fields can come. You can fill 
the fields in one existing address book and export them in text or csv 
format to study them (if you need or want).

BR,
Roland



> 
> Example.
> 
> John,Doe,John Doe,[EMAIL PROTECTED]
> Larry,Doe,Larry Doe,[EMAIL PROTECTED]
>...
>
> The names are imported but the addresses 
> are not.  Should the addresses be enclosed 
> in quotes or pointed brackets or something?
> 
> Thanks,Peter E.
> 
> 
> Desktops.OpenDoc  http://carnot.pathology.ubc.ca/
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


apt-proxy and tilde character ~

2007-04-18 Thread Roland JARRY
Hello,
I can download a package with a tilde in its name as
libpng12-0_1.2.15~beta5-1_i386.deb via my apt-proxy port  with
method http : 
- the package comes with the same name in the client
- but the package comes with replacement of the ~ by its code %7e on the
apt-proxy : libpng12-0_1.2.15%7ebeta5-1_i386.deb
So I can't use again the package from the apt-proxy by nfs mount then,
because of the name which don't match.

I try apt-cacher, but this is the same thing.
The problem is the same with sarge, backports and etch.
The apt-proxy is configured to get package by http (not ftp).



signature.asc
Description: Ceci est une partie de message	numériquement signée


Re: Does XFS work with LVM?

2007-01-08 Thread Lars Roland

On 1/7/07, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:

On Sun, Jan 07, 2007 at 06:35:34AM +0100, rafiks wrote:
>
> But I read somewhere that I can't make the partition smaller with XFS..Is
> this still true?
>
That is correct.  You cannot make XFS shrink, only grow.  However, this
does not prevent you from using it on LVM.  You just can't make the
logical volumes any smaller, only larger.  Out of curiousity, why XFS?
Why not ext3?


XFS has some nice features for snapshotting and freezing filesystems,
which is why many people often use it together with databases. Out of
curiosity, many people claim that ext3 can be resized live but I seam
to remember that it requires you to run e2fsck prior to doing the
resizing i.e.


e2fsck -f /dev/group/volume
resize2fs /dev/group/volume


I might be wrong on this but isn't it a requirement that e2fsck is run
with the filesystem unmounted ? which is not exactly what I associate
with being online. On xfs you can always use the xfs_growfs command to
enlarge a fs, no matter what state it is in (except corrupted).


--
Lars Roland


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




Re: Dependency Injection

2006-09-22 Thread Lars Roland

On 9/22/06, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:

1. You can use the equivs package to "fool" dpkg into thinking that a
package is there when it is not.  This is commonly used, for example, by
people who want to install things like apache from upstream source, but
then also install Debian packages which depend on apache.

2. You can "forwardport" mysql4 from Sarge to Etch.  That is, instead of
backporting from Etch to Sarge, as is normally done, you bring the old
source package from Sarge to Etch and then build it on Etch.  I have
written a howto on customizing Debian packages, which also applies to
simply recompiling for a different release:

http://people.connexer.com/~roberto/howtos/debcustomize

I think that option 2 is more correct.  That way you know that you are
using libraries available in Etch.

Regards,



Thanks for all the replies

I will be using the equivs solution since mysql 4 is going to have a
short life on this box before getting upgraded to 5.x (about a month)
. But the other solution is the best and worth considering for other
stuff - I do however have one question about creating customized
versions of packages already found in debian.

Say I am going to role my own customized package then I do not want
future debian packages to upgrade my home build one neither do i want
to rename it since that might break other dependencies - do people in
these cases use the Provides feature in the control file or is it
possible to block package upgrades by specifying its maintainer or
something similar in /etc/apt/preferences or must I use the
Pin-Priority trick along with the full package version:

Package: mysql-client
Pin: version 4.0.23-1
Pin-Priority: 1001


--
Lars Roland


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




Dependency Injection

2006-09-22 Thread Lars Roland

Hi all

I need to get mysql 4 running on a debian etch box, mysql 4.1 and 5
will not do. If I try to grab mysql 4 from sarge I run into the
problem that mysql-client depends on libreadline4 and I already have
readline-common installed which blocks libreeadline4. Uninstalling
readline-common is not and options since core software depends on it,
so what I am looking for is a way to tell apt that readline-common
provides libreadline4 so mysql-client can be installed.

So basically is there a way to tell apt that a needed package is
already installed even though one already on the system blocks this
package ?


Regards

Lars Roland


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




Re: Size difference between file systems

2006-09-02 Thread Lars Roland

On 9/2/06, Ron Johnson <[EMAIL PROTECTED]> wrote:

My first thoughts are differences in page size, and (if you have
lots of smaller files) whether tail compression was enabled with
ReiserFS.


The files vary greatly in size but most of them are around 1-5M in
size, but some are also very small (emails) so tail packing might be
the reason and given I have not mounted it with notail it should be
on.


--
Lars Roland


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




Size difference between file systems

2006-09-02 Thread Lars Roland

Hi

I have been moving some data from a Reiserfs partition to a XFS volume
on LVM, during this process I discovered that 8.9GB of data on the
reiser partition turns into 12Gb of data on the XFS volume (I got
those numbers using "df -h"). The XFS volume was created during the
Debian Etch installation and the reiserfs volume by and earlier redhat
install on the same box.

Initially I suspected that "df" was just out of sync so I did a "du"
and got the same numbers back. This is not really a problem for me but
I just wonder why XFS/LVM needs so much more space ?. I know LVM has a
minor overhead but I have never heard of 3GB difference on 8.9 gb data


--
Lars


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




Re: Intel Xeon

2006-03-16 Thread Lars Roland
On 3/16/06, debian <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have an Intel Server with an Xeon Nocona 3.0 GHz EMT64 processor. I would
> like to run it as a stable webserver. Which distribution shall I install?

You can install both i386 and amd64 (the last usually requires you to
make some changes to the bios in order to address more than 4GB of
physical memory).

> Is
> it possible to install x386 Sarge? Are there any known issues? Which is the
> savest way to go especially when considerating future updates?

I just installed Debian etch i386 on one of these and it works
perfectly, this also brings you kernel 2.6.15 along with udev so no
need for spiffy tricks in order to compile kernels never than 2.6.12 -
etch (testing) seams to be very stable and performs great (at least
when running apps such as Apache, php, mysql...).


--
Lars Roland



Lancer un programme dans un espace de travail donné sous gnome

2006-02-22 Thread Roland JARRY
Bonjour,
Si quelqu'un a une idée pour lancer un programme en ligne de commande
dans un espace de travail donné sous gnome, je suis preneur !

(sélecteur d'espace de travail 2.8.3 sous sarge)

Merci.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Re: *** GMX Spamverdacht *** Re: [Way OT] "#!/bin/bash" ch anges working directory

2006-01-05 Thread Roland Müller
Hello,  
  
> --- Ursprüngliche Nachricht ---  
...  
>   
> That's how the script is right now.  I thought it would be nice to use  
> a few extra features of bash, changed the first line and found this  
> "change of directory" problem...  I thought it was funny, since in the  
> Linux machines (where I had that problem) /bin/sh is a link to  
> /bin/bash, so I was expecting to see no difference with the change...  
>   
  
/bin/sh exists for compatability with the legacy Bourne shell and does 
not provide bash-specific features. In APP 1 I had a ~bash_cmd_rc file 
with some output in the BASH_ENV, and it is ignored by /bin/sh, even 
if /bin/sh is a softlink to /bin/bash on my machine. 
 
Having a softlink or several softlinks to the same executable is quite a 
common pattern in Unix. Every binary can read the name under which it was 
executed and make decisions on that. You can also use that in 
shellscripts (APP 2) where the $0 contains the name of the script. 
 
Regards, 
Roland 
 
 
APP 1: 
= 
[EMAIL PROTECTED]:/usr/local/home/roland_NEW$ BASH_ENV=~/.bash_cmd_rc bash  
-c 'echo '  
bash called ...  
UID    PID  PPID  C STIME TTY  TIME CMD  
roland9658  9627  0 Jan05 pts/600:00:00 /bin/bash  
roland   10411  9658  0 00:22 pts/600:00:00 bash -c echo  
  
roland   10412 10411  0 00:22 pts/600:00:00 ps -f  
  
[EMAIL PROTECTED]:/usr/local/home/roland_NEW$ BASH_ENV=~/.bash_cmd_rc sh -c  
'echo '  
  
  
APP 2: 
= 
foo.sh: 
#!/bin/sh 
 
echo I was invoked as $0 
 
if [ `basename $0` == "a" ] 
then 
  echo  
elsif [ `basename $0` == "b" ] 
  echo B 
else 
  echo Dont know 
fi 
  
$ ln -s foo.sh a 
$ ln -s foo.sh b 
 
[EMAIL PROTECTED]:/usr/local/home/roland_NEW$ ./a 
I was invoked as ./a 
 
[EMAIL PROTECTED]:/usr/local/home/roland_NEW$ ./b 
I was invoked as ./b 
B 
 
> Thanks!  
>   
> Luis  
>   
  

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner


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



Re: *** GMX Spamverdacht *** Re: [Way OT] "#!/bin/bash" ch anges working directory

2006-01-05 Thread Roland Müller
> --- Ursprüngliche Nachricht --- 
> Von: Luis Finotti <[EMAIL PROTECTED]> 
> You've got it: 
>  
> babbage[~/tmp]% echo $BASH_ENV 
> /home/finotti/.bashrc 
>  
> This is set in the default ".bash_profile" here (at work).  I've never 
> changed it.  So, that is not the usual case?  What is the usual value? 
 
I think BASH_ENV is unset by default. It allows you to have a common 
initialisation file for every non-interactive bash invokation. Setting it 
to the same rc file as for interactive shells should be a call for 
trouble IMHO. 
 
Regards, 
Roland 
 
PS: from man bash 
--> 
   When  bash  is started non-interactively, to run a shell script, 
for example, it looks for the variable BASH_ENV in the environ‐ 
   ment, expands its value if it appears there, and uses the expanded 
value as the name of  a  file  to  read  and  execute.
--> 
Bash  behaves as if the following command were executed: 
  if [ -n "$BASH_ENV" ]; then . "$BASH_ENV"; fi 
 

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie


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



Stability of software RAID

2005-11-17 Thread Lars Roland
Hi all

I have just got my hands of two servers with 2TB of internal storage
(Petabox GB2000) - these servers are going to be used for storage in a
way were the files placed on one of the server is going to rsynced to
the other. Given that I then achieve redundancy on server level and
that each server contains 4 disks, I am in the mood for deploying
software stripe across these 4 disks for maximum throughput.

Before doing so I am however a little unsure of the stability of
software stripe, I am of cause aware of the fact that loosing a disk
will mean loosing the entire stripe set but given I have a replicata
this is not my main specultaion, what I want to know is if software
stripe is stable or if it have some insane problems (I remember in
kernel 2.4 days where a power failure could take down a software
mirror set - so if this can happen to a RAID 1 then I am a bit afraid
of what might happen to a RAID 0).

Another thought is on the ease of rescuing a OS on a software stripe
(i.e. if I somehow mess up my kernel or some other key software) - on
a normal hardware raid/disk I can just boot using Knoppix and fix
whatever problems I might have created - is such operations extremely
difficult/impossible on a software stripe ?.

Another solution would be to place the OS on 1 disk and then stripe
the remaining 3 disks and link the remaining storage on disk 1
together with the stripe on disk 2, 3, and 4 using LVM - this way I
can boot into the OS using normal forensic tools and still achieve
greater throughput than just chaining the 4 disks together using LVM
(as in without the software stripe).


Regards.

Lars Roland



Re: Debian Volatile?

2005-11-12 Thread Lars Roland
On 11/13/05, Mike Palmer <[EMAIL PROTECTED]> wrote:
> Did you get an updated spamassassin? I don't see it in their repository.

Regarding the quality of the packages in volatile then I have no
complaints, they have the usual Debian Stable quality and just plain
works

As for Spamassassin (3.1 that is) it should be ready to go into
volatile (see this post which also contains url to the actual debian
package http://lists.debian.org/debian-volatile/2005/10/msg3.html)
- I have been using these debs for some time on our smtp servers and
it works great.



--
Lars Roland



Re: how do I reinstall Mozilla?

2005-11-06 Thread Lars Roland
On 11/6/05, Mark Grieveson <[EMAIL PROTECTED]> wrote:
> Hello.  Mozilla is not working properly on my computer.  How do I
> completely remove it (including the configuration files) and then
> reinstall it?  When I've tried via synaptic, I'm told that all of gnome
> will be removed with it.  Is there a way to just remove the mozilla
> browser?  I'm using Sarge.
>

To reinstall it:

 apt-get --reinstall install mozilla

If your profile is a mess then dive into ~/.mozilla/$random-number$/
and get whatever you need to have a backup off (usualy
bookmarks.html), then delete ~/.mozilla and fire up mozilla again.



Regards.

Lars Roland



Re: Solaris: The Most Advanced OS?

2005-11-04 Thread Lars Roland
On 11/4/05, Tshepang Lekhonkhobe <[EMAIL PROTECTED]> wrote:
> Hello,
> Did you check the sun.com website which claims that Solaris 10 is the
> most advanced OS on the planet? Could anyone tell me what grounds is
> the claim based upon. I was surprised to see that claim and has anyone
> out there used it to testify on its truthfullness? Are there many such
> claims? Thanks...

Well I am not a Solaris fan boy but I have worked with Unix for 10+
years (Solaris, AIX, FreeBSD, OpenBSD, Tru64 Unix and Linux) and there
is no doubt that Solaris is one of the better ones. It is very tightly
crafted (i.e. a limited choice of software that does what it is
supposed to do), very secure and just plain works.

I personally would still any day use Debian on a Server (except for
Woody, Debian has a very good track record in the server field) and
Gentoo on my development laptop/workstation. But there should be no
doubt that technologies like zFS
(http://www.sun.com/2004-0914/feature/),  Zones
(http://www.sun.com/bigadmin/content/zones/) and dtrace
(http://www.sun.com/bigadmin/content/dtrace/) gives Solaris a Edge.

Note that all of the above technologies have equal sisters in the OSS
world, but I suspect that one of the things that makes the enterprise
(and partly myself) fell in love with Solaris is that these products
comes in one neatly installable and maintainable package.

But as I said if you know what you are doing then it is a no brainer
to get the OOS equalities to do the same stuff in Debian - that is why
I have 30+ Linux servers running Debian Sarge and I have no plans to
change OS on them


Regards.

Lars Roland



Re upgrading glibc6, help appreciated

2005-10-04 Thread Roland Swingler
I have solved my problem...

I forgot to mention that I was running a VDS on UML - I have been
informed that the stuff in /lib/tls does not work under uml, and as a
result the immutable attribute had been set on the directory -
stopping me from chmoding it.

To solve it (if anyone else has a similar problem) do:

chattr -i /lib/tls
apt-get upgrade
rm /lib/tls/*



Problem upgrading glibc, help appreciated

2005-10-01 Thread Roland Swingler
This might be quite a basic question.

I've Just done apt-get upgrade, and there seems to be a problem with
installing libc6. This is what I get:

Unpacking replacement libc6 ...dpkg: error processing
/mirror/debian/pool/main/g/glibc/libc6_2.3.5-6_i386.deb (--unpack):
unable to create `./lib/tls/ld-2.3.5.so': Permission denieddpkg-deb:
subprocess paste killed by signal (Broken pipe)Errors were encountered
while processing:
/mirror/debian/pool/main/g/glibc/libc6_2.3.5-6_i386.debE: Sub-process
/usr/bin/dpkg returned an error code (1)

I has a look at the permissions on /lib/tls which were d- root
root; I tried doing chmod 770 and got this error:

chmod: changing permissions of `tls': Operation not permitted

I am the root user, could someone explain why I can't change the
permissions on this directory (which will presumably fix the apt-get
problem).

Thanks in advance,
Roland



Re: cant copy file

2005-08-17 Thread Lars Roland
On 8/17/05, Lars <[EMAIL PROTECTED]> wrote:
> Some times when i want to copy a directory it's omitted, and i dont get
> it. It has nothing to do with permissions, because i can 'mv' it with no
> problem.
>   debs:# cp /root/.openoffice/ /home/nogetfx/
>   cp: omitting directory `/root/.openoffice/'
> 
> Any ideas on this?

if you do a  "man cp" you will find:

 "By default, `cp' does not copy directories (see -r below)."

so try adding a "-r" (or -a)


--
Lars Roland



Re: Renice cron

2005-07-01 Thread Lars Roland
On 7/1/05, Clive Menzies <[EMAIL PROTECTED]> wrote:
> Hi Lars
> 
> I suspect Chris's response was prompted by the lack of detail in your
> question.  If you tell us what you've tried and what errors you
> encountered, someone may be able to help.

Ok that is of cause a valid clam - I might have made the massage a
little short - what I was refereeing to is actually a quite old
discussion about niced cron jobs  (i.e.if they should be allowed or
not) and I just wanted to know if it actually was possible now, that
was why I kept it short - I can renice the task from with in itself
(i.e by getting the pidof itself and then renice it) but setting a
level in crontab would be much nicer.

See this post for an old (inconclusive) discussion about niced cron jobs:

http://lists.debian.org/debian-devel/1999/06/msg01697.html


Regards.

Lars Roland



Re: Renice cron

2005-07-01 Thread Lars Roland
On 7/1/05, Chris Bannister <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 29, 2005 at 02:35:52PM +0200, Lars Roland wrote:
> > Hi all
> >
> > Is it possible to renice a single cronjob from within crontab ?.
> 
> Have you tried?

Of cause I have - stop posting unless you have something help full or
intelligent to say -  all the post pointing to how it is done does not
seam to work in debian sarge (at least not with vixie-cron).


--
Lars Roland



Renice cron

2005-06-29 Thread Lars Roland
Hi all

Is it possible to renice a single cronjob from within crontab ?.



Regards.

Lars Roland



Screen rotation

2005-06-23 Thread BERGER ROLAND
--- Erhalten von  SYSUEXT.UE05588 0512 20 49 56  23.06.05 09.05

Hi

I need to rotate the screen by 180 degrees on a i386 maschine installed
with sarge. The graphic card and the driver does not support rotation. By
googeling around I have found out that there is this xrandr extension to X
which supports screen rotation without the need of hardware or driver
support. But there is almost no information on how to do it. So the
question is:

What software (inkl. version numbers) do I have to install and how does it
have to be configured to make screen rotation *on the fly* possible?

Thank you
Regards Roland

 23.06.05 09.05  Gesendet an   
  -> debian-user@lists.debian.org



Re: iptables init.d script: where is it?

2005-06-15 Thread Lars Roland
On 6/15/05, Shaun Lipscombe <[EMAIL PROTECTED]> wrote:
> 
> In the stable release of debian why is there no /etc/init.d/iptables ?
> 
> How do you initiate iptables the "debian way" on system start up?

You do not need the init script just use iptables-save to save your
current rules.



Regards.

Lars Roland



Re: Sarge Performance

2005-05-22 Thread Lars Roland
On 5/21/05, Lars Roland <[EMAIL PROTECTED]> wrote:
> Hi all
> 
> I just replaced my company anti-virus/anti-spam mail gateway from a
> Redhat 7.3 with kernel 2.4.24 to Debian Sarge with kernel 2.6.8.1. I
> had hoped that this transition would lead to better performance (new
> perl, better drivers in the kernel and so on) but the performance has
> instead drooped about 30%.
> 

Well it seamed that at least part of the problem was related to the
new kernel. On my old Redhat system my Broadcom tg3 Ethernet card was
running 100mbit with a tx queue length of 100. On kernel 2.6.8.1 it
was running 1000Mbit with tx queue length of 1000.

Setting the length to 100 again using:

ifconfig eth0 txqueuelen 100

Made the load drop immediately and also harddisk performance improved: eg.


txgueue length: 1000

hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads:  12 MB in  3.40 seconds =  3.53 MB/sec


and


txgueue length: 100

hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads:  152 MB in  3.40 seconds =  44.74 MB/sec


So now the load looks ok, still the old Redhat is holding its head
above but now it is only with 10%. This may be due to further bugs in
the tg3 driver that hopefully a new kernel will fix - if not then I
must fill a bug report and send it to the driver developers, it can
not be intently that there driver messes up system performance that
much because of its default queue length.


Regards.

Lars Roland



Re: Sarge Performance

2005-05-21 Thread Lars Roland
On 5/21/05, Jochen Schulz <[EMAIL PROTECTED]> wrote:
> * Lars Roland:
> >
> > I just replaced my company anti-virus/anti-spam mail gateway from a
> > Redhat 7.3 with kernel 2.4.24 to Debian Sarge with kernel 2.6.8.1. I
> > had hoped that this transition would lead to better performance (new
> > perl, better drivers in the kernel and so on) but the performance has
> > instead drooped about 30%.
>
> Very intereseting read, Lars. I am afraid I cannot help you very much,
> but your post reminded me of discussions on debian-devel about the
> horrible performane of spamassassin v3. It begins with the subject
> "possible mass bug filing: spamassassin 3". Maybe you retry your
> measurements and make sure it's not spamassassin. Have a look at memory
> consumption as well.

Uhh I did indead mess up the statistics but unfortunatly this meesseup
did not do me any god.

1) Spam scanning is about 18% faster than the old Redhat system.
2) Perl handling of the email is about 12% faster.
3) ClamAv is scanning 8% faster.

I have doubled checked these numbers and they are true (perhaps Perl
5.8 is much faster than the old version 5.6 on Redhat)  - note that
most people has performance problems with spamassassin because they
have crappy DNS perfoamnce, I use a dedicated DNS server as a DNS
cache (djbdns cache) to achive high performance.


Regards.

Lars Roland



Re: Sarge Performance

2005-05-21 Thread Lars Roland
On 5/21/05, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:
> 
> Not sure.  It appears that you have covered your bases pretty
> well in terms figuring out where the bottleneck might be.  I
> would recommend reposting on debian-isp, since there are likely
> people there that are more accustomed to dealing with extremely
> high-volume mail servers.  At least, you are more likely to
> find someone there than here.

Thanks I did not think of that one - seams more likely that people
with my type of load will be there.


Regards.

Lars Roland



Sarge Performance

2005-05-21 Thread Lars Roland
Hi all

I just replaced my company anti-virus/anti-spam mail gateway from a
Redhat 7.3 with kernel 2.4.24 to Debian Sarge with kernel 2.6.8.1. I
had hoped that this transition would lead to better performance (new
perl, better drivers in the kernel and so on) but the performance has
instead drooped about 30%.

Here is my setup.

Hardware:
IBM 335 with dual 2.4 Ghz Xeon, 1GB Ram and 1 10.000RPM SCSI disk.


Software:

Minimal Debian Sarge (that is I have turned all unnecessary services off). 
Kernel 2.6.8.1-SMP.
Reiserfs on all file systems.
Qmail MTA configured with up to 70 incoming connections.
ClamAV running as a daemon.
10 Spamassassin daemons (spamd)
Qmail-scanner.

On my old Redhat systems the hardware could scan around 60.000 emails
pr. hour with an average scan time of 5.6 seconds (including time from
both ClamAV and Spamassassin) and average load of 23.7.

My new Sarge installation on the same hardware scans 40.000 emails pr
hour with an average scan time of 4.8 but with a load average of 57.8.

Interestingly if i time the internal handling of the email then Sarge
seams to win.

1) Unpacking the email with Ripmime is about 5% faster than the old
Redhat system.
2) Spam scanning the email is about 10% faster than the old Redhat system.
3) Perl handling of the email is about 2% faster.
4) ClamAv is scanning 4% faster.

(the above numbers is the average taken from 4 days of mail flow
(about 3.9 million emails))

This fact leads me to think that the system cannot handle as many
emails as before because it simply does not handle enough connections
(eg. the connections time out on the SMTP port before even getting to
the scanners)  - To persue this idea I have tried the folowing

1) Change the file system to XFS, EXT3. 
2) Running Reisefs with notail, nodiratime and noatime
3) Renice qmail-smtpd so it gets higher priority than spamd (hoping
that this would lead to more connections getting handled).
4) Change the I/O scheduler to deadline (elevator=deadline).
5) Changed the kernel to 2.4.
6) Turning the firewall (iptables) completely off.

Non of it has worked. And yes I do get 60.000 incoming connections pr.
hour most of them just seams to time out an get handled by the next MX
in my DNS.

To see if the server could take the load on its own I have tried 
changing my MX to only contain this one server. This made the load
jump to 98.9 and then the server eventually died with around 55
defunct perl process's floating around - my old Rehat server could
handle being the only mail server just fine (with loadavg around
28.5).

So as it is now I am a bit baffled by the slowness of Sarge, because
all the other systems I have converted to Sarge and kernel 2.6 have
run significantly faster  (Database servers, web servers, name
servers...).

So my question is this, does anyone know of any limitation in Sarge
(default values of incoming connections (not that I have ever heard of
such a thing)) that would cause my system to degrade in a way that it
has. When I do a telnet to port 25 I simply do not get a connection
fast enough (most of them times out) so this leads my to suspect that
something is wrong.



Regards.

Lars Roland



Re: sarge freeze, server colocation

2005-05-04 Thread Lars Roland
On 5/4/05, William <[EMAIL PROTECTED]> wrote:
> I am about to colocate a debian server  and now I don't know if I
> should install woody or sarge.
> I'll be colocating it in 1-3 weeks. I am thinking that I should
> probably use sarge.
> Any advice?
> thanks William

Well i would defenetly go sarge, it is very stable and the trouble of
first installing woody and configuring it, then upgrade it to sarge
latter on is simply not worth it.



Re: IBM eserver X336

2005-05-04 Thread Lars Roland
On 5/4/05, Nasir Ali <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to know, how can I install debian on IBM eServer X336 series
> machine.

Sarge works like a charm on x336 - although you will have to chose
kernel 2.4 duing installation and then do

apt-get install kernel-image-2.6-"put your image here"

to get kernel 2.6 (this is because the 2.6 kernel on the netinst cd
does not support the cdrom device in th 336 only the 2.4 kernel will
allow you to boot).

Regards.

Lars Roland



Re: Silence apt-get for real

2005-05-03 Thread Lars Roland
On 5/3/05, Andrey Andreev <[EMAIL PROTECTED]> wrote:
> Check the yes command.
> 
> You probably want something like
> 
> yes | apt-get upgrade -youroptionshere
> 
> or
> 
> yes N | apt-get upgrade -youroptionshere
> 
> etc.

Great - I did not know that one exsisted, it solved my problem.

Thanks for the reply


Regards.

Lars Roland



Silence apt-get for real

2005-05-02 Thread Lars Roland
Hi all

I have a repository that I use to distribute my own (and 3rd-party)
packages to all my debian servers (20 servers placed around the
world).

I test the upgrades before putting them in my repository and then I
have cron script on each of the servers that runs the following

apt-get update
apt-get upgrade -y --force-yes -qq

this was supposed to silence apt-get completely and make it choose
default values for all questions. However if I have package that
contains a file and this file is changed in between updates then I get
the following:

--
Configuration file `/etc/qmail/tcp.smtp'
  ==> Modified (by you or by a script) since installation.
  ==> Package distributor has shipped an updated version.
What would you like to do about it ?  Your options are:
 Y or I  : install the package maintainer's version
 N or O  : keep your currently-installed version
   D : show the differences between the versions
   Z : background this process to examine the situation
  The default action is to keep your current version.
*** tcp.smtp (Y/I/N/O/D/Z) [default=N] ? n
--

How can I get rid of this warning ? - I want apt-get to be completely
silent. I know that this could be dangerous - but in my case it is ok
given that it is me that control the repository and that I have tested
all the packages before putting them there.

So to put it short how do I silence apt-get completely ?.


Regards.

Lars Roland



Re: at is broken

2005-01-06 Thread Roland M. Kruggel
--
Roland Kruggel  IT-Security Coordinator
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Problems installing Debian Linux 3.0r2 on a sun ultra5 (ultrassparc II)

2004-08-04 Thread Roland Egger
Hi,
sorry about that my last short subject line. I try it now again with
a more precise subject line.

I had a problem installing linux on a ultra5 with solaris 2.7 and solaris 2.8
on it. I had created the 5th partiton for linux and the 6th for the linux
swap partiton (=> hda5 / for linux with ext2 and hda6 for swap).
Everything went ok until the task to make the system bootable.

There were 3 possibilities:
1. Make the system bootable
2. Boot floppy
3. Alternate1

Because the first possibility would overwrite my bootblock for
Solaris I tried to make a boot floppy for linux but
without success. I've read somewhere that could
be a problem with some ultrasparc machines like ultra5/10.
I thought alternate1 wouldn't change the boot behaviour but I was wrong.
The Debian linux installation has overwritten my boot block for solaris.
I wasn't asked if I wanted to install SILO there and I don't know
a reason for installing it on an other partition than my linux partition
(/dev/hda5) but it has happened somehow ...
The funny thing was that with alternate1 I can't start solaris and
I can't start linux. There wasn't a possibility for me not to corrupt
my boot block with SILO from Debian, that should and need not be.
The easiest thing would be to add a possibility which calls
silo -t
or silo -r /mnt -t
or something like that.

It was really nasty to repair the thing.
Just using dd from a rescue disk and deleting the first sector like:

# make a backup of the boot sector
dd if=/dev/hda1 of=boot_512.sonne bs=512 count=1
# clean the boot sector
dd if=/dev/zero of=/dev/hda1 bs=512 count=1

doesn't work. The first sector just contain the disk lable and partition
information. The boot block on sparc machines are the next 15 sectors
or something like that.

The only possibility for me was to start the solaris installation cd.
During the installation process Openwin is started and there I got a shell
to run
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0

With silo -t I had managed it to be able to get SILO just to my
linux partition and boot it with
boot disk:e

I've read that there should be soon a new GNU Debian version and
it would be great if there's an easy possiblity to install
with -t option.
OpenBoot is really an easy and nice possibility to boot several
operating systems, so just booting into SILO isn't nice in every
case especially if solaris or bsd is used, too.
GNU Debian is a really nice linux but it would be even nicer if
the installation process of silo or maybe grub let the user the
possibility to still use OpenBoot for the other operating systems.

I hope the description of my problems can help other people to
solve them without having much trouble installing linux parallel
to sparc solaris.
Maybe there's a better solution in the new soon coming Debian 
Linux and maybe there are other better solution of installing 
Debian on sparc but I try a short abstract:
At the boot loader installation just select 
Make system bootable 
=> the boot block of solaris can be overwritten
but this isn't problematic if you have the solaris 
installation CDs.
After completing the linux installation run
silo -t
Then boot the solaris CDs and run e.g.
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0
for installing the solaris boo block on the first partition on an ide
disk.
Now you can boot Solaris and linux again without configure silo.conf
Kind regards
  Roland

 

 which had problems installing linux
on there sparc machine parallel to solaris
I hope this description of my problems may help other people during
there linux i

- End forwarded message -


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



Problems

2004-08-04 Thread Roland Egger
Hi,
I had a problem installing linux on a ultra5 with solaris 2.7 and solaris 2.8
on it. I had created the 5th partiton for linux and the 6th for the linux
swap partiton (=> hda5 / for linux with ext2 and hda6 for swap).
Everything went ok until the task to make the system bootable.

There were 3 possibilities:
1. Make the system bootable
2. Boot floppy
3. Alternate1

Because the first possibility would overwrite my bootblock for
Solaris I tried to make a boot floppy for linux but
without success. I've read somewhere that could
be a problem with some ultrasparc machines like ultra5/10.
I thought alternate1 wouldn't change the boot behaviour but I was wrong.
The Debian linux installation has overwritten my boot block for solaris.
I wasn't asked if I wanted to install SILO there and I don't know
a reason for installing it on an other partition than my linux partition
(/dev/hda5) but it has happened somehow ...
The funny thing was that with alternate1 I can't start solaris and
I can't start linux. There wasn't a possibility for me not to corrupt
my boot block with SILO from Debian, that should and need not be.
The easiest thing would be to add a possibility which calls
silo -t
or silo -r /mnt -t
or something like that.

It was really nasty to repair the thing.
Just using dd from a rescue disk and deleting the first sector like:

# make a backup of the boot sector
dd if=/dev/hda1 of=boot_512.sonne bs=512 count=1
# clean the boot sector
dd if=/dev/zero of=/dev/hda1 bs=512 count=1

doesn't work. The first sector just contain the disk lable and partition
information. The boot block on sparc machines are the next 15 sectors
or something like that.

The only possibility for me was to start the solaris installation cd.
During the installation process Openwin is started and there I got a shell
to run
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0

With silo -t I had managed it to be able to get SILO just to my
linux partition and boot it with
boot disk:e

I've read that there should be soon a new GNU Debian version and
it would be great if there's an easy possiblity to install
with -t option.
OpenBoot is really an easy and nice possibility to boot several
operating systems, so just booting into SILO isn't nice in every
case especially if solaris or bsd is used, too.
GNU Debian is a really nice linux but it would be even nicer if
the installation process of silo or maybe grub let the user the
possibility to still use OpenBoot for the other operating systems.

I hope the description of my problems can help other people to
solve them without having much trouble installing linux parallel
to sparc solaris.
Maybe there's a better solution in the new soon coming Debian 
Linux and maybe there are other better solution of installing 
Debian on sparc but I try a short abstract:
At the boot loader installation just select 
Make system bootable 
=> the boot block of solaris can be overwritten
but this isn't problematic if you have the solaris 
installation CDs.
After completing the linux installation run
silo -t
Then boot the solaris CDs and run e.g.
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0
for installing the solaris boo block on the first partition on an ide
disk.
Now you can boot Solaris and linux again without configure silo.conf
Kind regards
  Roland

 

 which had problems installing linux
on there sparc machine parallel to solaris
I hope this description of my problems may help other people during
there linux i


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



Re: Default printer in XPrint/FireFox?

2004-06-07 Thread Roland Mainz
Magnus Therning wrote:
> I have two network printers configured in CUPS:
> 
>  bern (CUPS default)
>  escher
> 
> FireFox finds both (through XPrint I guess), but it disregards the CUPS
> setting for what printer should be the default one. Can I somehow get
> XPrint or FireFox to use bern as its default?

>From the Xprint FAQ (http://xprint.mozdev.org/docs/Xprint_FAQ.html):
-- snip --
How do I configure Xprint on the client side ?
A: There are two env vars which control Xprint on the client side:
[snip]
2. The env variable ${XPRINTER} defines the default printer used by
   print applications. The syntax is either  or
   @
   
Examples:
a.
  % export XPRINTER=ps003
tells an application to look for the first printer named
"ps003" on all Xprt servers.
b.
  % export XPRINTER="[EMAIL PROTECTED]:80"
tells an application to look for the printer "hplaser19" on
the Xprt display "littlecat:80".   
Note:
   If ${XPRINTER} is not set the applications will examine the values of
   the ${PDPRINTER}, ${LPDEST}, and ${PRINTER} env vars (in that order).
-- snip --

You either set the ${XPRINTER} env var if you only want to affect Xprint
clients or use the Unix standard var ${LPDEST} ...



Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)


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



Installing netatalk on Debian (Woody)

2004-03-21 Thread Roland Dunn
Hi,

Anyone had any experience of installing netatalk on Debian (Woody)? I have
read that it  requires a kernel recompile but wondered whether this is truly
the case? Is it not possibly as  simple as apt-get netatalk?

I've installed the idepci version of DEBIAN (Woody) - anyone know if
netatalk installed in any  of the other ver's? E.g. vanilla, or bf24?


Incidentally, where can one find the list of packages that one can supply to
apt-get as  parameter? netatalk might not be the correct package name, but
I'm unsure how to find out what  is the correct name.

Thanks, Roland.


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



RE: NIS Client Problem

2004-03-19 Thread Roland Dunn
See /etc/nsswitch.conf?  The order of the options defines the order in
which they're used.

>> Thanks. I do very much wish to do this. So, I've altered my
/etc/nsswitch.conf to look like:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: nis files
group:  nis files
shadow: nis files

hosts:  files dns
networks:   files

protocols:  db files
services:   db files
ethers: db files
rpc:db files

netgroup:   nis

>> I've altered passwd, group, shadow to have "nis files" instead of
"compat". However, this doesn't seem to have had the desired effect. 

Thanks, Roland.



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



RE: Stopping GNOME Launching on Reboot

2004-03-19 Thread Roland Dunn
Thanks to all for your replies. update-rc.d -f gdm remove did the trick.
Thanks, Roland.


-Original Message-
From: s. keeling [mailto:[EMAIL PROTECTED] 
Sent: 18 March 2004 18:47
To: [EMAIL PROTECTED]
Subject: Re: Stopping GNOME Launching on Reboot


Incoming from Richard Hoskins:
> "s. keeling" <[EMAIL PROTECTED]> writes:
> 
> > Incoming from Roland Dunn:
> >> 
> >> Having typed: "update-alternatives --config x-session-manager" and
> >> choosen GNOME, GNOME now starts up on reboot. I'd like it not to so
that
> >> I can type "startx" when I want it to go into GNOME. How can I
force it
> >> not to launch GNOME on reboot?
> >
> > That's gdm, and you can disable it by [as root]:
> >
> >   1. /etc/init.d/gdm stop
> >
> >   2. edit /etc/init.d/gdm.  Stick an "exit 0" near the top of it.
> >
> > Note you should do it in that order.  The second step disables the
> > first.  And from now on, X desktop changes go in ~/.xsession
> 
> Wouldn't it be better to change the symlink in /etc/rc2.d?  (Assuming
> the OP is booting into runlevel 2.)

As you might imagine, d-u has gone over this a few times in the past.
I believe the upshot is, "Six of one; half a dozen of the other", or
YMMV.

_I_ like to be able to change one high-level entity, which controls
all the lower level bits it affects.  That's /etc/init.d/blah

That "2." above ought to be:

   - insert "echo blah startup disabled in /etc/init.d/blah"

   - insert "exit 0" in /etc/init.d/blah

I am not an inittab power user.  I use multi-user and single-user
exclusively.  I don't need a non-X multi-user, and I doubt many others
do either.  I think that's reflected in how Linux & Debian has been
shipping for years.  If you do, then you ordinarily know what to do.

> I think this is better for several reasons.  It preserves init.d/gdm
> in case he wants to start|stop|restart gdm from the command line, it
> allows for running gdm in a different runlevel, and it doesn't depend
> on init.d/gdm running at all when booting in to runlevel 2.  In
> addition, it is consistent with the way System V init is commonly
> used, and documented.
> 
> 'mv /etc/rc2.d/Snngdm /etc/rc2.d/Knngdm', as root.

I don't like that for myself for the simple reason that I have a lot
of /etc/rcN.d/, and I don't want to have to try to keep track of
them all.  I much prefer being able to (eg.):

   head -2 /etc/init.d/* | grep "exit 0"

or something (better: use that echo above and watch boot messages).

You're probably right AND my way works.  :-)


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)   http://www.spots.ab.ca/~keeling 
- -


-- 
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: NIS Client Problem

2004-03-19 Thread Roland Dunn
Hi Alexis,

Thanks - in the end it was my own stupidity. The NIS server is an old
RedHat machine, I forgot to edit /etc/hosts.allow to include the new
server.

One thing though - the root password for my new (DEBIAN) server is the
local root password - how can I tell the new server to take its' root
pwd from NIS rather than use the local password?

Thanks, Roland.


-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Alexis Huxley
Sent: 19 March 2004 10:51
To: [EMAIL PROTECTED]
Subject: Re: NIS Client Problem


> I'm trying to join a Debian(Woody) machine to a NIS network.

Did you look at /usr/share/doc/nis/nis.debian.howto.gz ? Did you
follow it ? :-) Are you trying to add it as a client or a slave server?
What OS is the NIS server?

> I'm getting the "YPBINDPROC_DOMAIN: Domain not bound" error on
startup.
> Is there any logfile I can look into to try to debug this? Any
routines
> I can try to see how /etc/init.d/nis or /usr/sbin/ypbind is trying to
> find the NIS server?

If the above-mentioned nis.debian.howto doesn't help then maybe take
a look at http://tinyurl.com/2czht which contains the instructions
I used for *my* machines. It's not meant to be a HOWTO for anybody
except me, but it may give you some hints.

If all that fails, then can you post the contents of /etc/yp*,
/etc/defaultdomain, /etc/default/nis? (without all the comment lines
preferrably), like with:

for F in /etc/yp* /etc/defaultdomain /etc/default/nis; do 
echo "$F"
echo ""
egrep -v '^#|^$' "$F"
echo
done

Alexis


-- 
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: NIS Client Problem

2004-03-18 Thread Roland Dunn
Anyone any pointers as to where to start looking on this one?

-Original Message-
From: Roland Dunn [mailto:[EMAIL PROTECTED]
Sent: 18 March 2004 17:34
To: [EMAIL PROTECTED]
Subject: NIS Client Problem


I'm trying to join a Debian(Woody) machine to a NIS network.

I'm getting the "YPBINDPROC_DOMAIN: Domain not bound" error on startup.
Is there any logfile I can look into to try to debug this? Any routines
I can try to see how /etc/init.d/nis or /usr/sbin/ypbind is trying to
find the NIS server?

Thanks, Roland.


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



NIS Client Problem

2004-03-18 Thread Roland Dunn
I'm trying to join a Debian(Woody) machine to a NIS network. 

I'm getting the "YPBINDPROC_DOMAIN: Domain not bound" error on startup.
Is there any logfile I can look into to try to debug this? Any routines
I can try to see how /etc/init.d/nis or /usr/sbin/ypbind is trying to
find the NIS server? 

Thanks, Roland.


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



Stopping GNOME Launching on Reboot

2004-03-18 Thread Roland Dunn
Hi,

Having typed: "update-alternatives --config x-session-manager" and
choosen GNOME, GNOME now starts up on reboot. I'd like it not to so that
I can type "startx" when I want it to go into GNOME. How can I force it
not to launch GNOME on reboot?

Cheers Roland.







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



RE: Debian (Woody) Problem With startx

2004-03-18 Thread Roland Dunn
Thanks to everyone for all their help. What fixed it in the end was:

"update-alternatives --config x-session-manager"
and choosing GNOME. Great, thanks one and all.


-Original Message-
From: Kent West [mailto:[EMAIL PROTECTED] 
Sent: 17 March 2004 22:50
To: [EMAIL PROTECTED]
Subject: Re: Debian (Woody) Problem With startx


Roland Dunn wrote:

>Hi,
>
>I've just installed DEBIAN (Woody) on my machine. When I run startx to
>launch X, it seems to launch X, I see the cross mouse cursor, (I can
move
>the mouse cursor) the KDE screen pops up, goes through the first couple
of
>icons on the startup screen (looks like a nucleus and electrons type
icon,
>then a cog icon), then flashes the keyboard/mouse icon, then goes back
to
>standard console screen.
>
>  
>
What I would do, just for testing purposes, is to try a different window

manager (than the desktop environment KDE). You can do this by creating 
a file in your home directory named ".xinitrc" and put a single line in 
it with the name of a different wm, such as "icewm" or "fluxbox" (make 
sure to "apt-get install icewm fluxbox" first). Then run "startx". If 
that gets you a GUI, then you know the problem is KDE-related rather 
than X-related.



>But this didn't work either. Things seem to point to the fact that it
fails
>on the mouse/keyboard, but the error log isn't particularly helpful
really.
>
>Any ideas anyone? What is particularly strange is that if I run XFree86
>instead of startx, I get the standard X screen (not KDE), and I can
control
>the mouse fine. So perhaps it isn't the mouse that is the problem.
>
>  
>
Which indicates pretty much the same thing as my suggested test above. 
Still, I'd try my suggestion, so that you can add "startx" to the
equation.

>The other thing that's a bit wierd is that I was sure during install I
chose
>gdm to be my default window manager - where is this set? Where is X
told
>which manager to use?
>
>  
>
If you haven't rebooted or run "/etc/init.d/gdm start" since installing 
gdm, it won't be running.

BTW, "gdm" is a "session manager", or "login manager", rather than a 
"window manager". The "window manager" would be what puts the frames and

corner buttons, etc around the various windows that show up on your GUI,

and would be such things as icewm, fluxbox, twm, sawmill/fish, and xfce.

KDE and Gnome are "Desktop Environments", which are more than window 
managers, but which typically include (or work with) a window manager.

You can configure which session manager to run with "dpkg-reconfigure 
gdm" or "dpkg-reconfigure xdm", etc, depending on which wm's you have 
installed. Or you can play with the symlink at 
/etc/alternatives/x-session-manager, but it'd probably be better to run 
"update-alternatives --config x-session-manager".

To configure the default wm, you can play with the symlink at 
/etc/alternatives/x-window-manager, but if you do that, it'd probably be

better to run "update-alternatives --config x-window-manager"

>So, any ideas as to either how to fix this or where to look would be
*very
>very* welcome.
>Thanks, Roland.
>
>  
>



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



Newbie question: moving from RedHat to Debian

2004-03-17 Thread Roland Dunn
Hello,

Wonder if anyone can help. I've just moved from RedHat to Debian and have a
couple of queries:
- Anyone know of any sites that try to make such moves simple for users -
that list some of the common differences between Debian and RedHat?
- On RedHat /etc/rc.d/init.d/ was where you could find scripts to start/stop
apache, samba, etc  where is this on Debian?
- Also on RedHat you could use chkconfig to setup such a script to restart
on reboot - is there an equivalent for Debian?

Apologies for the newbie questions,
Thanks, Roland.



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



Debian (Woody) Problem With startx

2004-03-17 Thread Roland Dunn
Hi,

I've just installed DEBIAN (Woody) on my machine. When I run startx to
launch X, it seems to launch X, I see the cross mouse cursor, (I can move
the mouse cursor) the KDE screen pops up, goes through the first couple of
icons on the startup screen (looks like a nucleus and electrons type icon,
then a cog icon), then flashes the keyboard/mouse icon, then goes back to
standard console screen.

The logfile at: /var/log/XFree86.0.log shows:

(**) Configured Mouse: Protocol: "PS/2"
(**) Option "SendCoreEvents"
(**) Configured Mouse: always reports core events
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(==) Configured Mouse: Buttons: 3
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)

Fatal server error:
Caught signal 4.  Server aborting


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to [EMAIL PROTECTED]

The /etc/X11/XF86Config-4 file contains:
Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "SendCoreEvents"
Option  "CorePointer"
Option  "Device""/dev/psaux"
Option  "Protocol"  "PS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection



It used to contain the following:
Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/psaux"
Option  "Protocol"  "PS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

But this didn't work either. Things seem to point to the fact that it fails
on the mouse/keyboard, but the error log isn't particularly helpful really.

Any ideas anyone? What is particularly strange is that if I run XFree86
instead of startx, I get the standard X screen (not KDE), and I can control
the mouse fine. So perhaps it isn't the mouse that is the problem.

The other thing that's a bit wierd is that I was sure during install I chose
gdm to be my default window manager - where is this set? Where is X told
which manager to use?

So, any ideas as to either how to fix this or where to look would be *very
very* welcome.
Thanks, Roland.




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



freeamp cannot open audio device, but aplay works fine

2004-01-10 Thread Roland Kwee
Strange problem: Freeamp (zinf) says "cannot open audio device",
but aplay (included with alsa-tools) plays soundfiles just fine.

I am running linux-2.6.0, Freeamp 2.1.1, aplay 0.9.6.

Unfortunately, aplay can play .wav but not .mp3/.ogg files, so I need freeamp. 
But freeamp (www.zinf.org) does not include any documentation. 
My /dev/dsp is present, but perhaps freeamp needs another device.

I would be grateful for information on configuring freeamp.

Regards, Roland Kwee


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



Re: [Xprint] Re: Xprint observations

2003-12-07 Thread Roland Mainz
"R (Chandra) Chandrasekhar" wrote:
[snip]
> > So there seems to be some incompatibility between AA display and
> > 'wysiwig' printing through xprint. This could be a fundamental
> > problem; if so, it would seriously limit the usefulness of xprint.
> > But I wonder if anyone has been able to set it up in such a way
> > as to have AA display and 'wysiwig' printing at the same time.
>
> I have an interesting footnote to add to your observations.
> 
> If you install mozilla-browser_1.5-3 and include mozilla-xft_1.5-3 from
> unstable, and in Mozilla, under Edit/Preferences/Appearance/Fonts,
> select the fonts serif, sans-serif and monospace, without foundry
> affiliation (probably from Xft?) you can see rather impressive
> anti-aliased fonts on-screen and also get good looking serif, sans-serif
> and monospace printout from Xprint under Mozilla.
> 
> However, if you change to any other fonts such as, for instance,
> verdana, the Xprint output will default to courier.

This may be possible... I am not an Xft expert but AFAIK the font naming
conventions between Xft and XLFD differ a lot... I've CC:'ed
[EMAIL PROTECTED] who wrote recently a patch for Mozilla's PostScript
module which solved similar issues...

jshin:
Would it be possible to write a similar patch (AFAIK the Xft/PS one was
http://bugzilla.mozilla.org/show_bug.cgi?id=219060 ("Freetype printing
does not work for Xft build")) for the GTK+/Xlib gfx code in Mozilla
(e.g. that font prefs from Xft-based Mozilla will work for normal
XLFD-based Mozilla's, too) ?



Bye,
Roland.

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 2426 901568 FAX +49 2426 901569
 (;O/ \/ \O;)


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



Re: Only Courier fonts are printed out with Xprint under Mozilla

2003-08-14 Thread Roland Mainz
"R (Chandra) Chandrasekhar" wrote:

[snip]
> A transaction listing of my Xprint setup is:
> ***
> <[EMAIL PROTECTED]># echo ${XPSERVERLIST}
> :64
> ***
> ***
> <[EMAIL PROTECTED]># env DISPLAY=:64 xset q | sed -n '/^Font Path:/{n;s/
> //g;p;q;}' | tr ',' '\n'
> Xlib:  extension "XFree86-Misc" missing on display ":64.0".
> PRINTER:/usr/share/Xprint/xserver/C/print//models/PSspooldir//fonts/
> PRINTER:/usr/share/Xprint/xserver/C/print//models/PSdefault//fonts/
> /usr/X11R6/lib/X11/fonts/Type1
> /usr/X11R6/lib/X11/fonts/TrueType
> /usr/X11R6/lib/X11/fonts/100dpi
> /usr/X11R6/lib/X11/fonts/75dpi
> /usr/X11R6/lib/X11/fonts/encodings
> /usr/X11R6/lib/X11/fonts/misc
> ***
[snip]
> I can print from Mozilla using Xprint.  However, I cannot get even
> standard PostScript fonts like Times Roman or Helvetica; only Courier,
> even though I am supposed to get even TrueType support with the version
> of xprt-xprintorg that I am using.

The Truetype support in the xprint.mozdev.org Xprint server uses the
FreeType TTF/OTF engine from Xfree86 so it needs the encodings.dir stuff
set-up properly... - is that true in your case ?

> The Mozilla print preview with xprt-xprintorg shows the proportional
> sans serif fonts on web pages, but the hardcopy output from the printer
> only shows fixed width Courier fonts. Even when I save to a .ps file and
> view it with gv, I only see Courier fonts, unlike the print preview
> which shows the proportional fonts.
> 
> To illustrate what I am facing, I have included two .ps files:
[snip]
> (b) google_xprt.ps (obtained with ps@:64, my printer being called ps in
> CUPS)

Weired.

> Note that the print preview shows the fonts as they appear in
> google_kprinter.ps.
> 
> Note that removing xfs, or xfs-xtt, or both, makes no difference.

Questions:
1. Does % (DISPLAY=:64 xlsfonts) # list any fonts except the "Courier"
and "fixed"/"cursor" fonts ?
2. Are the Xprint server config files (e.g.
/usr/share/Xprint/xserver/C/print/) installed ?
3. Are the font _files_ in the font path readable for the Xprint server
?
4. Are there any error messages or warnings from the Xprint server ?
5. Does the Xprint server find the encodings.dir font encodings table ?



Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  [EMAIL PROTECTED]
  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-41370 FAX +49 641 99-41359


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



How can I control the display output (number of lines)

2003-01-26 Thread Roland Wegmann
Hy all

How can I control number of lines per 'page'? For example when I use the 
command 'aptitude search gnome' the output is a huge list, that 'runs 
over' my 'bash window' and I can only read the last search results.

Which tool do I have to use that i can read the 'output pages' one by one?

Thanks in advance for helping me

Roland
[EMAIL PROTECTED]


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



what can be done with broken packages

2003-01-12 Thread Roland Wegmann
Hi

I installed aptitude and therefore find out that I have some broken 
packages on my debian powerpc box (testing).

cpp-2.95, perl, perl-base, libstdc++2.10-glibc2.10

What does a broken package mean? And how can I made a package 'unbroken'?

Kind regards, Roland
[EMAIL PROTECTED]


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



Re: network print server

2003-01-12 Thread Roland Wegmann
Michael West wrote:


I have been using samba as a print server at home, but 
I am often mucking around on my debian box, and sometimes this
results in my wife not being able to print.

To increase user satisfaction I am considering purchasing one of
these dedicated print server appliances which attach directly to
the network.  It must work for win98, XP pro and Debian.  Ideally
it would have parallel and usb support.  

I am looking for recommendation as to where to research what would
work best.  I couldn't find anything at linuxprinting.org on this.

 ~Michael


 

Hi,

I made some research on print servers because I need one for my little 
network at home. I was looking for print server with both a usb 
interface and a parallel interface. And I found following three modells:

Longshine LCS-PS102 (512kb Flash / 2MB Memory (Option 4MB) / 2xUSB, 
1xParallel) 160 Euro
Intercon SEH IC134-USBBOX (1MB Flash / 2MB Memory / 1xUSB, 1xParallel) 
230 Euro
Intercon SEH IC154-WLANBOX (Wireless / 1MB Flash /2MB Memory / 1xUSB, 
1xParallel) 460 Euro

all of them run under windos, linux, unix and macosx

hope it helps, Roland



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



howto for compiling of deb packages

2002-12-25 Thread Roland Wegmann
Hello

I have to know how you can build deb packages from source. Could somebody
tell me if there exists an apt-get(able) doc package that introduces me
in the topic of compiling your own deb packages from source?

Or if someone of you know links/howtos etc. with information about
building debian packages, let me know, too.

Thanks in advance for helping me

Roland Wegmann
[EMAIL PROTECTED]


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




How can I delete useless kernels

2002-12-24 Thread Roland Wegmann
Hello

I had compiled Ben's kernel several time with different option (because
of the radeon module). Now I have some kernels i'd like to get rid of.

I tried dpkg -r kernel-image..., but it doesn't work. Now I will kiil the
useless kernels manually, but I do not know all the files I can (have to)
delete. Any suggestions?

Merry Christmas!!

Roland Wegmann
[EMAIL PROTECTED]


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




Mixed install of Open Office 1.0.1

2002-12-23 Thread Roland Wegmann
Hello

I have seen there is a lot traffic because of OpenOffice. I was really
happy,  when I realized that OO is in unstable. I'm running testing on my
iBook (11.2002) and try run do a mixed system in order to install OO.

Therefore I created an /etc/apt/apt.conf with the entry 'APT::Default-
Release "testing";' (there is an apt.conf.d, too, but didn't modify it).

Then I tried the command 'apt-get -t unstable install openoffice.org'.
but the only thing I got was the following message: 'Package
openoffice.org has no available version, but exists in the database. This
typically means ... or is not available with the contents of
sources.list. E: Package openoffice has no installation candidate'.

I got the same message, when I used 'apt-get -t ... openoffice.org-bin'.

My sources.list ownes the following servers:

deb ftp://ftp.de.debian.org/debian/ testing main non-free contrib
deb-src ftp://ftp.de.debian.org/debian/ testing main non-free contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib
non-free
deb-src http://non-us.debian.org/debian-non-US testing/non-US main
contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://people.debian.org/~daenzer/dri-trunk/./   

So, what have I done wrong??

Any tips will be appreciated

Roland Wegmann
[EMAIL PROTECTED]


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




  1   2   >