Re: Trac 0.11 and WebAdmin

2008-08-29 Thread Tobias Nissen
Jens Peter Secher wrote:
> Disclaimer: I am a complete newbie wrt. Trac.
> 
> Summary: Cannot get WebAdmin to work in Trac 0.11.
[...]

You have to have the TRAC_ADMIN permission, otherwise you won't see the
"Admin" link.


pgp7i8V9dqwsE.pgp
Description: PGP signature


Re: POP3 server

2008-06-14 Thread Tobias Nissen
Tero Mäntyvaara wrote:
> I have used POP3 server now a few months, but I have forgot whitch
> one it was. :-/ How can I find out whitch server I am using? :-D

Is the server still configured in any application you are using?


pgpEjyDvtcF40.pgp
Description: PGP signature


Re: Debian on laptop

2008-06-13 Thread Tobias Nissen
alfa beta wrote:
> After spending hours of reading about the Linux
> distributions and compatible hardware, I feel I get crazzy. I chose
> you because of your "Social Contract", though I'm not sure Debian is
> still updated, apologize, I couldn't find recent articles, I am a
> newbye. 

No, don't worry. Debian is more alive than ever! :-)

> Question:
> Could you recommend me a laptop model, with all details, which works
> completely, or perfectly with Debian? Including audio-video hardware,
> and hardware for connection to Internet (I'm on cable modem, UPC is my
> provider). 

I don't know about your cable modem-thingy, we Germans are more the
ADSL kind of guys, but the Linux/Debian-support for the IBM/Lenovo
Thinkpad series is outstanding. A minor drawback is the support for the
ATI graphics adapters, but newer models seem to use Intel and NVidia
anyway.

> I don't need an expensive one. Perhaps an anti-glare, anti-reflex
> screen is needed because I'll have to read a lot. 

You won't get those terrible displays with Lenovo, but on the other
hand you'll have to pay for it. If you get lucky, you can find a cheap
notebook with great Linux support -- but with a Thinkpad you don't need
to search.

If I had to buy a new notebook right now, I'd check that there's much
Intel in it, because they actually pay people to develop (real) open
source drivers. First of all that's an ideological argument, but
despite that I find it that their drivers usually just work.


pgpyOAB9pxFgJ.pgp
Description: PGP signature


Re: 97% use of / system

2008-05-22 Thread Tobias Nissen
andy wrote:
> My / partition is some 12GB and I see that it is currently 97% full.
> How can I clean this out without trashing important files? What
> should I be looking for in terms of likely culprits that can be
> deep-sixed safely?

When I do my yearly spring cleaning, I use deborphan and cruft to find
packages and files I don't need anymore.


pgpFROXerABZt.pgp
Description: PGP signature


Multilevel-menu for awesome

2008-05-22 Thread Tobias Nissen
Hi!

I'd really like to give awesome (the window manager) a try, but I'm
missing a multilevel-menu. The awesome-menu app itself is pretty neat,
but sometimes I find the right application by poking around in a
categorized menu (thanks to Debian's great menu policy).

I tried 9menu, ratmenu, deskmenu, but they all provide only one level.
I want something like the menu fluxbox provides. But that's not a
standalone app, is it? Do you know any?

I wouldn't even mind installing a small window manager to use its menu,
but I don't know any that provide a standalone menu that works with
other window managers.

Any suggestions appreciating,
Tobias


pgpbghqPaaKsv.pgp
Description: PGP signature


Re: deprecated smbmount --> mount.cifs

2008-05-09 Thread Tobias Nissen
Amit Finkler wrote:
> After upgrading to kernel 2.6.24, the usual line in my LinNeighborhood
> using smbmount doesn't work anymore (mount.cifs error number 5 -
> input/output)
> 
> smbmount //GURU/SuperC_small$ /home/amitf/SuperC$/ -o username
> amitf% fmask 644 dmask 755 uid 1000 gid 1000 debug 0
> 

smbmount //host/share /mnt/target/ \
  -o username=usern,fmask=644,dmsak=755,uid=1000,gid=1000,debug=0

works here[0] (note the notation of the -o-argument) with the 
following output:

  Warning: ignoring deprecated smbfs option 'debug=0'
  WARNING: 'fmask' not expressed in octal.
  WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead

Regards,
Tobias

[0] up-to-date Lenny, Linux 2.6.24-1


pgpsKp9stpnFh.pgp
Description: PGP signature


Re: How to add an entry to Module-assitant ?

2008-05-09 Thread Tobias Nissen
Jabka Atu wrote:
> I would like to add acerhk-source to module-assitant menu.
> the question how can it be done.

I didn't manage to do that either. Nevertheless you can still build
the package with module-assistant.

I don't know about Etch, but on Lenny a simple

  m-a get acerhk && m-a build acerhk

did the trick.


pgpb2rF3nAQLD.pgp
Description: PGP signature


Re: debian unstable postgresql-8.3 installation problem

2008-02-17 Thread Tobias Nissen
jeffry s wrote:
> i got the message during installation
> 
> bayau:/var/log/postgresql# apt-get install postgresql-8.3
> Reading package lists... Done
> Building dependency tree... Done
> postgresql-8.3 is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 622 not upgraded.
> 2 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up postgresql-8.3 (8.3.0-1) ...
> Starting PostgreSQL 8.3 database server: main* Error: Could not
> create log file /var/log/postgresql/postgresql-8.3-main.log
>  failed!

Could it be, that for some reason postgresql is already running? Check
this by examining the output of `ps aux`.

> i already did what u told me to do. but is is the same thing. if do
> /var/log/postgresql# dpkg-reconfigure postgresql-8.3
> /usr/sbin/dpkg-reconfigure: postgresql-8.3 is broken or not fully
> installed

So the touch-command exited successfully, i.e. produced no output?

What happens when you purge postgresql (`apt-get purge
postgresql-8.3`) and then reinstall it?

Please use the mailing-list for things that belong there.

Regards,
Tobias


pgpYungzxX0WL.pgp
Description: PGP signature


Re: aptitude safe-upgrade hanging

2008-02-16 Thread Tobias Nissen
Steve Lamb wrote:
> Tobias Nissen wrote:
[...] 
>> When in the "Preconfiguring"-stage, does `ps aux` show something
>> unusual?
> 
> Looks like it is hanging on exim's preconfig?

Try purging exim4 (if you customised your config, save it beforehand)
and then do the safe-upgrade. If that finished successfully, reinstall
exim4 and remerge your config. That should do the trick, I guess.

Regards,
Tobias


pgpWTN9Z9R9SY.pgp
Description: PGP signature


Re: aptitude safe-upgrade hanging

2008-02-16 Thread Tobias Nissen
Steve Lamb wrote:
> Any ideas why aptitude is hanging at "Preconfiguring Packages..."
> on a safe-upgrade?  This is in testing.
[...]

Does `aptitude -v` give relevant additional output? When in the 
"Preconfiguring"-stage, does `ps aux` show something unusual?

Regards,
Tobias


pgpnPdVbGTenG.pgp
Description: PGP signature


Re: debian unstable postgresql-8.3 installation problem

2008-02-16 Thread Tobias Nissen
jeffry s wrote:
> i am using debian unstable with gnome desktop.
> but i failed to install postgresql package. this is the error message
> 
> Starting PostgreSQL 8.3 database server: main* Error: Could not
> create log file /var/log/postgresql/postgresql-8.3-main.log failed!
> 
> doing ls /var/log output
> 
> drwxrwxr-t 2 rootpostgres  4096 2008-02-15 20:45 postgresql
> 
> anyone know how to fix this problem?

When has the above error message been produced? During installation or
when you manually started it?

When you do a userchange to postgres (`su root` -> `su postgres`) and
touch the file (`touch /var/log/postgresql/postgresql-8.3-main.log`),
what happens? If it succeeds, try running `dpkg-reconfigure
postgresql-8.3` as root.

Regards,
Tobias


pgpimzLLXsEOK.pgp
Description: PGP signature


Re: Check/Get all files (not) belonging to packages

2008-02-11 Thread Tobias Nissen
Hi Sven!

Sven Joachim wrote:
[Recommended cruft and debsums]

Thank you! That's exactly what I was looking for.

Regards,
Tobias


pgpjGJuof5tVi.pgp
Description: PGP signature


Check/Get all files (not) belonging to packages

2008-02-11 Thread Tobias Nissen
Hi!

1.
Is there a tool that lists all files _not_ belonging to an installed
package? I mean something more clever than just executing a dpkg -S for
each file... (which is madness!)

2.
Is there a tool that compares each file belonging to an installed
package to the corresponding file in the actual package? Put simply, I
want to check whether a file has been modified, compared to its
package-counterpart.

Regards,
Tobias


pgpdjMjqRy3Lz.pgp
Description: PGP signature


Re: How to get hardware info

2008-01-14 Thread Tobias Nissen
Hi abdelkader!

abdelkader belahcene wrote:
> lspci gives
> 03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
> Gigabit Ethernet PCI Express (rev 01)
> don't not the name of module
> lshw is not installed, is it an alone package or belongs to a more
> complete one. thanks

`aptitude search lshw` already gives the answer. The binary "lshw"
is in the package "lshw"  and you can install it with `aptitude install
lshw`.

With kind regards,
Tobias


pgp0GrLhcpefW.pgp
Description: PGP signature


Re: [OT] Connecting to ssh server from php script

2007-11-23 Thread Tobias Nissen
Hi Misko!

Misko wrote:
> I am able to connect to telnet server from php script
> to log in, send some commands and log out automaticly.
> Now I do need to do this with ssh server.
> Is this possible? Please send me info how to do it
> or where can I find it on the web.

Expect[0] does exactly that.

HTH!
Tobias

[0] http://expect.nist.gov/


pgpheo4NAY9z8.pgp
Description: PGP signature


Re: help exporting files from guest to host in QEMU....

2007-11-18 Thread Tobias Nissen
Hi Michael!

Michael Pobega wrote:
[QEMU] 
>> Or is there a simpler method to get files out of the guest
>> environment to the host one?
[...]
> Well, I'm not sure if this would work, but can't you just loop mount
> the image file as you would an ISO type file? Again, I'm not sure if
> it works, but it's definitely worth a try.

I'm using a raw disk image for my DOS-VM, which I can mount with these
mount-options:

  /home/foo/dos.img   /mnt/vm   auto   \
  rw,loop=/dev/loop0,offset=32256,noauto,user 0   0

I'm not sure if the offset is needed. But when I had the same problem
a while ago, I stumpled across lomount[0], which seems to be a part of
Xen. All it did with my raw DOS-image, was mounting it with the above
options, so I assumed lomount redundant for my case. YMMV. Maybe for a
FAT32 filesystem the options are different.

If you mount an image this way, be aware that changes the guest makes
are not immediately available. I'm working around that by remounting the
image everytime I need a "new" file.

HTH!
Tobias

[0] http://fedoraproject.org/wiki/FedoraXenQuickstartFC5


pgpL05tTwijbs.pgp
Description: PGP signature


Re: How to set Sun-JVM as the default compatible JVM for eclipse?

2007-11-17 Thread Tobias Nissen
Hi Michael!

Michael Yang wrote: 
> One another thing: I put the variable JAVA_HOME in /etc/profile or 
> $HOME/.bash_profile file, but I can't get the value in terminal until 
> manually source the file:
> # source /etc/profile
> # cat /etc/profile
> 
> 
> JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun; export JAVA_HOME
> CLASSPATH=$JAVA_HOME/lib; export CLASSPATH
> PATH=$JAVA_HOME/bin:$PATH;
> export PATH
> ...
> 
> I use rxvt as my terminal. I have to manually source the profile
> before running the java program in terminal.

It's not important which terminal emulator you use, but which shell. In
the case of bash you can put the above lines into your ~/.bashrc. Don't
forget to restart your session, so that the values are passed over to
your environment.

Regards,
Tobias


pgpwJAbEVSyvp.pgp
Description: PGP signature


Re: How to set Sun-JVM as the default compatible JVM for eclipse?

2007-11-17 Thread Tobias Nissen
Hi Michael!

Michael Yang wrote:
> I had both gcj java and sun java installed on my system Lenny/Sid,
> and I have set the sun java as my default jvm.
> # update-alternatives --config java
> 
> But when launching my eclipse, it always uses the gcj java as its 
> default vm, and in consequence, returns with some exceptions that I 
> think might be caused by gcj vm.
[Exceptions]

These messages look a lot like those, I had some time ago. Switching
from gcj to sun solved the problem immediately.

All I did was purging java-gcj-* and eclipse-gcj, IIRC.

HTH!
Tobias


pgpykWkOVb6nL.pgp
Description: PGP signature


Re: Debian Lenny freezes in X

2007-11-06 Thread Tobias Nissen
Hi Lars!

Lars wrote:
[...]
> Tobias wrote:
>> I have/had a similar Problem. Maybe it's the same. Does yours also
>> occur if there is no network (internet) connection?
> 
> I looked at the connection and it showed, that I create the freeze
> in Xfce4 by unplugging the cable (syslog at the end, dmesg said
> nothing usefull). Unplugging has no effect on iceWM and gnome.
> I started replying your comments in Gnome and it froze the second
> time. During the freeze I noticed that the LED's on my switch where
> off, as there where no link on the ethernet cable to my laptop.

OK, this is different from the bug I experience. Mine seems to have
something to do with setting the time with ntpd (where old and new time
vary a lot), hence the question about your connection. Here it's
triggered as soon as an internet connection exists.

Sorry that this doesn't help you! Regards,
Tobias


pgpusNyhpALVG.pgp
Description: PGP signature


Re: Debian Lenny freezes in X

2007-11-06 Thread Tobias Nissen
Hi Lars!

Lars wrote:
> I'm running Debian Lenny (kernel 2.6.22-2) on my laptop Asus
> M6Ne. After 5-10 min. in X the system freezes up (or part of it).

Does the screen also blank or does it just freeze?

I have/had a similar Problem. Maybe it's the same. Does yours also
occur if there is no network (internet) connection?

Regards,
Tobias


pgpkgFgoNzNiE.pgp
Description: PGP signature


Re: (etch) Using aptitude after using dselect - any issues?

2007-10-06 Thread Tobias Nissen
Hi Martin!

Martin Waller wrote:
> Is it safe to switch to using aptititude as my package manager after
> having used dselect up to now?

Yes, it is safe. dselect and aptitude use different databases.

For a comparison, see Joey Hess' article about aptitude vs. dselect[0].

HTH,
Tobias

[0]
http://groups.google.com/group/linux.debian.user/msg/ef229f2835c06b4b


pgp457UrWhXre.pgp
Description: PGP signature


Re: xserver-xorg question

2007-10-06 Thread Tobias Nissen
Hi Jude!

Jude DaShiell wrote:
> It's actually dexconf having the problem writing a file claiming the
> default xserver isn't configured.  I may have hardware debian doesn't
> know how to detect on its own and didn't specify it earlier.

dexconf uses the debconf database to build an xorg.conf file. You can
modify the debconf database entries by executing `dpkg-reconfigure
xserver-xorg` as root.

HTH,
Tobias


pgpw0DayKd5Um.pgp
Description: PGP signature


Re: Installation Problem

2007-10-06 Thread Tobias Nissen
Hi Amit! Hi Frank!

Amit Uttamchandani wrote:
> "frank asabere" <[EMAIL PROTECTED]> wrote:
>> [...] Could you plesae help to install packages like apache,
>> postgresql, php4 libapache-mod-perl.
>> since l have all the debain ver 3.1 14 cds . [...]
>
> just do the following:
> sudo apt-get install apache postgresql php4 libapache-mod-perl

sudo isn't installed/configured by default.

Frank: You can become root by executing `su` and entering the root-
password. Then, all you have to do is executing

  apt-get install apache postgresql php4 libapache-mod-perl

Regards,
Tobias


pgpPw0lcgsLYn.pgp
Description: PGP signature


Re: RAID vs Multiple Drives

2007-07-25 Thread Tobias Nissen
Hi!

Adrian Hall wrote:
> RAID is a method of spreading your data across disks.It can vary
> from simply treating all of your disks as one large disk (and
> providing no redundancy for your data) to what's known as striping
> where your data is written to multiple disks in a way that means if
> one of the disks fails, the system can still reconstruct your data
> from the remaining disks.

No, striping only doesn't provide redundany. Redundancy is achieved by
additionally storing parity data, which is done in e.g. RAID level 5.

Telly: The Wikipedia article about RAID is pretty good and
comprehensible I think.

Regards,
Tobias


pgpxUmFrLhbj4.pgp
Description: PGP signature


Re: cmdline tool to search through pdf files?

2007-06-21 Thread Tobias Nissen
Hello Bruno!

Bruno Buys wrote:
> I'd like to be able to search keywords in pdf files using cmd line
> tools. My intention is to write shell scripts to automate heavy duty
> keyword searching. Anyone has experience with that?

As Tod wrote *most* PDFs are mainly text, i.e. not all. But for those
which are,

  pdftotext doc.pdf - | grep -i keyword

is a simple method to search for keywords in a PDF-file. pdftotext is
part of the xpdf-utils package.

Regards,
Tobias


pgpUCMyno0EKY.pgp
Description: PGP signature


Re: Any good and high quality music player?

2007-04-13 Thread Tobias Nissen
Bob wrote:
[...]
> then set the master volume to 30% and increase the PCM or
> whatever controls the MP3 playback volume to 100% then tinker with
> the master to get the best quality.

Funny, here[0] it's the other way round. When increasing the PCM volume
over 60% (depending of the volume of the source) output sounds pretty
distorted.

Regards,
Tobias

[0]
$ lspci | grep -i audio
:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM 
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
$ cat /etc/debian_version
3.1
$ uname -a
Linux hal 2.6.15.6 #1 PREEMPT Wed Mar 15 12:48:00 CET 2006 i686 GNU/Linux


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



Re: Removing motd from ssh logins

2007-03-18 Thread Tobias Nissen
Marco De Vitis wrote:
>> Place the file .hushlogin into the homedir of the remote user.
> 
> Uhm, thanks, it works, but I'd prefer doing it "the right way"...

If you use pam (grep UsePAM /etc/ssh/sshd_config) then you might want
to disable printing of the motd in /etc/pam.d/ssh. Look for a line like

sessionoptional pam_motd.so

and comment it out.

HTH,
Tobias


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



Re: Removing motd from ssh logins

2007-03-18 Thread Tobias Nissen
Marco De Vitis wrote:
> I'd like to prevent the motd from appearing when someone logs in via
> ssh on an Etch machine.
> I already have "PrintMotd no" in /etc/ssh/sshd_config, but the motd 
> still appears.

Place the file .hushlogin into the homedir of the remote user.

See the section FILES in "man sshd" for details.

HTH,
Tobias


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