Re: root can not delete a directory ,why?

2005-12-21 Thread Realos

hallo,

> Realos wanted us to know:

>I am completely at loss. I can not delete following empty directory as root.
>
>drwxrwxrwx   2 root root   8192 Dec 21 18:14 kolab

Well, it was a mountpoint for some partition. umounting the partition
allowed rm operation.

regards,

-- 
Realos


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



root can not delete a directory ,why?

2005-12-21 Thread Realos
hi,

I am completely at loss. I can not delete following empty directory as root.

drwxrwxrwx   2 root root   8192 Dec 21 18:14 kolab

I tried "rm -rf kolab", "rmdir -f kolab", "rm -fd kolab" but nothing
works.
Error message is:

rm: cannot remove directory `kolab': Device or resource busy

There is nobody logged on the pc except for me with only one login. 

Is there a way to check if there hard links on that directory? Or do you
have any other idea.

Any idea is much appreciated.


-- 
Realos


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



Re: Mutt & 2 accounts

2005-11-28 Thread Realos
> Gregory Seidman wanted us to know:

>Remember, this is IMAP, not POP3. The messages remain on the server, and
>can be filed in various folders on the server as well. This can be
>desirable for a number of reasons, not least of which is that your IMAP
>provider can be responsible for availability and backups and such so you
>don't have to be. Another possible reason is to make the email available
>from multiple clients/machines.

fetchmail is also IMAP capable and offers a lot of different options
with that, like antispam response etc.

I don't know how feature rich mutt is in terms of IMAP capabilities. 
Since it was designed as a MUA, I guess not every feature of IMAP is 
supported by mutt. 

Anyhow, mutt's IMAP features might suffice to most users.

cheers,


-- 
Realos


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



Re: Mutt & 2 accounts

2005-11-28 Thread Realos

Hi,
> Vladimir Zolotykh wanted us to know:
>
>Could you please give me some clue how to set up Mutt working with two
>differenct accounts on the same IMAP server? Entering full server
>name, user name, and password each time I want to change account is

Is there a special reason using mutt for fetching emails. Why not use a
special tool built for that purpose, i.e. "fetchmail". It offers more
options that mutt.

cheers,


-- 
Realos


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



Re: rereading partition table

2005-11-28 Thread Realos
> Realos wanted us to know:
>
>Maybe a reboot to make the sytem really re-read partition table? I am
>also a bit unsure since during the new installation of debian there is not 
>restart
>needed when adding/chaning parition table.

Well, after reading up a little more, it seems all actively mounted
partitions are not re-read from kernel. If partitions are umounted,
"fdisk /dev/hdx--> w --> q" makes kernel re-read the partition table.

regards,
-- 
Realos


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



Re: how to cp dir and subdir but not the parentdirectory?

2005-11-18 Thread Realos
> Jon Dowland wanted us to know:

>[EMAIL PROTECTED]:~$ cp -drp testdir/* temp/

Actually, I need that "-p" option for preserving rights/ownrships on
files. Owing to this helpful list, the problem is solved.

many thanks and a nice WE.

-- 
Realos


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



Re: how to cp dir and subdir but not the parentdirectory?

2005-11-18 Thread Realos
> Peter Nuttall wanted us to know:
>
>cp -r testdir/* temp might do the trick

thanks a lot for quick and a helpful reply.

cheers,


-- 
Realos


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



how to cp dir and subdir but not the parentdirectory?

2005-11-18 Thread Realos
I like to copy all contents of a directory "testdir",i.e. all its
files and subdirectories, into another directory called "temp". 

The problem is that the directory "testdir" itself is also being created
inside the "temp" directory. How can I copy _only_ contents of "testdir" 
without that parent directory, namely "testdir" being recreated inside "temp"?

Following is how it all looks like in my case:

[EMAIL PROTECTED]:~$ ll
drwxr-xr-x  3 user user 1024 2005-11-18 16:05 temp
drwxr-xr-x  3 user user 1024 2005-11-18 16:04 testdir

[EMAIL PROTECTED]:~$ ll testdir/
drwxr-xr-x  2 user user 1024 2005-11-18 16:05 testdir_1
-rw-r--r--  1 user user0 2005-11-18 16:04 testfile_a
-rw-r--r--  1 user user0 2005-11-18 16:04 testfile_b
-rw-r--r--  1 user user0 2005-11-18 16:04 testfile_c
-rw-r--r--  1 user user0 2005-11-18 16:04 testfile_d

[EMAIL PROTECTED]:~$ cp -drp testdir/ temp/
[EMAIL PROTECTED]:~$ ll temp/
drwxr-xr-x  3 user user 1024 2005-11-18 16:04 testdir

I know I could copy all files with "cp * temp" and then all subdirectories one 
by one butI would prefer a single command to do that. Any chance?

Regards,

-- 
Realos


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



Re: "Antispam UOL" spam from [EMAIL PROTECTED]

2005-11-17 Thread Realos

> Steve Block wanted us to know:
>Yes and I am probably going to blacklist the sender.

did you report that sender to the (online) blacklist servers?
I am still receiving spam from that user. It is being sorted out to
/dev/null but the best solution would be if emails from that sender are
blacklisted by ISPs with MXs.

Maybe, I need to take time to report'm on the blacklist server lists. 


-- 
Realos


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



Re: Re-read partition table without reboot?

2005-11-17 Thread Realos
> Raymond A. Meijer wanted us to know:
>
>I think that's because when you install the system, the hard drive is not 
>actually in use.
>
>Same thing with secondary disks: you can freely add and delete partitions on 
>another disk that's not in use without rebooting...

That seems to be a reasonable point. Just to be on safer side, is there
any documentation on that?

cheers,

-- 
Realos


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



Re: Re-read partition table without reboot?

2005-11-17 Thread Realos
> Realos wanted us to know:

>In order to solve the problem of tiny free space on my hard drive, I was
>thinking about adding a new partition on the directory tree.
>Original post about disk space problem ---> 
>http://lists.debian.org/debian-user/2005/11/msg01982.html
>
>I have found some free space on my hard drive that I would like to
>partition and mount to /var. But AFAIK partition re-read only occurs after
>reboot. I do not like to reboot if possible.

Just an additional note.

I think it must be possible. At least we see during the debian
installation no need of reboot after chaning parition table. What magic
is used there? 


-- 
Realos


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



Re: Adding LVM to an existing system

2005-11-17 Thread Realos
> Marc Shapiro wanted us to know:
>/dev/hda12  2201+   48642664-  21398548+  8e  Linux LVM
>
>[EMAIL PROTECTED]:~# pvcreate /dev/hda12
>  Device /dev/hda12 not found.
>
>
>As you can see, pvcreate does not appear to want to work on /dev/hda12. 
> This was the case with partiton type 83 as well.

Maybe a reboot to make the sytem really re-read partition table? I am
also a bit unsure since during the new installation of debian there is not 
restart
needed when adding/chaning parition table.

But just an idea. Reboot and try to "pvcreate /dev/hda12".

Best of luck.


-- 
Realos


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



Re: HTML e-mail and mailing lists

2005-11-17 Thread Realos
> Mitch Wiedemann wanted us to know:

>On the topic mentioned above, I find HTML e-mail useful sometimes, but I
>wouldn't send it to an e-mail list unless it was a generally accepted
>practice on the specific list.

Some people use text based MUAs that do not support html. Thus I think
we should be polite enough to use plain text in email as long as there
does not arise a compelling reason in future to shift to some other
format.

my 2 cents.

-- 
Realos


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



ssh connection problem "Read from socket failed:..."

2005-11-17 Thread Realos
I recentrly felt need of more space for /var directory. I copied /var
onto a new partition with "cp -Rp /var /new/partition".

My existing ssh connection remained functional but today morning I can
not login via ssh to that machine anymore.  

Do you think it is an ownership/rights problem? I thought, I was on the
safe side when using "-p" option of cp.

2 detailed messages are give below:

[EMAIL PROTECTED]:~$ ssh -v  -l user2 kolab
OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to kolab [192.168.1.52] port 22.
debug1: Connection established.
debug1: identity file /home/realos/.ssh/identity type -1
debug1: identity file /home/realos/.ssh/id_rsa type 1
debug1: identity file /home/realos/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer

[EMAIL PROTECTED]:~$ ssh -vvv  -l user2 kolab
OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to kolab [192.168.1.52] port 22.
debug1: Connection established.
debug1: identity file /home/realos/.ssh/identity type -1
debug3: Not a RSA1 key file /home/realos/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-BEGIN'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'Proc-Type:'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'DEK-Info:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-END'
debug3: key_read: missing keytype
debug1: identity file /home/realos/.ssh/id_rsa type 1
debug1: identity file /home/realos/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer


-- 
Realos


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



Re: Hints on keeping the system clean (was: Re: sytem running out of free disk space)

2005-11-16 Thread Realos
hi ppl,

> Rogério Brito wanted us to know:

>> the package `debian-goodies' contains dpigs, a script which will give
>> you the biggest installed packages. That should help you identify the
>> priority packages to remove if you don't need them.

thank you all for great hints/ideas. There seems to be a plenty of good
tools for debian to cope with such problems.

I my case it seems there are no big packages that can be deleted to free
space, but I have found some unpartitioned space on my hard drive.

http://lists.debian.org/debian-user/2005/11/msg02154.html

Regards,

-- 
Realos


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



Re: "Antispam UOL" spam from [EMAIL PROTECTED]

2005-11-16 Thread Realos
> Mitch Wiedemann wanted us to know:

>Is anyone else suddenly getting spammed by "Antispam UOL" messages
>related to [EMAIL PROTECTED]

yes, I got 5 bounces of that crap in the last 5 minutes. It belongs to
blacklist.


-- 
Realos


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



Re-read partition table without reboot?

2005-11-16 Thread Realos
In order to solve the problem of tiny free space on my hard drive, I was
thinking about adding a new partition on the directory tree.
Original post about disk space problem ---> 
http://lists.debian.org/debian-user/2005/11/msg01982.html

I have found some free space on my hard drive that I would like to
partition and mount to /var. But AFAIK partition re-read only occurs after
reboot. I do not like to reboot if possible.

Is there a way out??

cheers,


-- 
Realos


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



RE: Who says he is Tom?

2005-11-16 Thread Realos
> Weissgerber, Tom L wanted us to know:

>
>The following information should not have been made available to the
>entire public domain. Please remove the following links/files at your
>earliest convenience. 

Maybe some simple address rewriting to aggragate the alleged sender.

/just a thought.

-- 
Realos


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



Re: sytem running out of free disk space

2005-11-15 Thread Realos
> Robert Brockway wanted us to know:

>On Tue, 15 Nov 2005, Realos wrote:
>Consider using deborphan to locate packages without dependencies (it does 
>more than just libraries).  This is a great way to get a handle on useless 
>packages you may have installed in the past.

well deborphan shows only three packages:

bkrb5-17-heimdal
libc5
libgnutls10

Will see if there deinstallation make any significat improvement in
termns of free disk space.


> Mitch Wiedemann wanted us to know:
>Is adding another disk out of the question?

Well, my first thought is to try to keep the system running. Like to
have it in operation without rebooting. If everything fails, I will
_finally_ consider adding new hard disk.


>Have you removed all packages that you do not use via apt?
How do I find packages with locales/unnecessary documentation?

Regards,


-- 
Realos


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



sytem running out of free disk space

2005-11-15 Thread Realos
hello,

I have a debian machine with 1.4G hard disk which is running out of
space. Running "apt-get autoclean" and "apt-get autoclean" have provided
me with about 100M free space but it is still too short for my server
machine.

I see there are lots of documentations and unnecessary things on my
system (like locales I will never use etc.).

Can you people point me to a documentation or give some hints how to
deal with such problems in debian? I am not new to linux but have
relatively little experience with debian.

Regards,


-- 
Realos


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



Re: New Linux worm crawls the web

2005-11-08 Thread Realos

> Mike McCarty wanted us to know:

>http://www.securityfocus.com/brief/38?ref=rss
>

I have rpc.statd and portmap running on my system. Are they vulnerable
to this security hole/worm?

As I do not use nfs on my debian server, doesn't it make sense to
disable both portmap and rpc.statd on my system?


-- 
Realos


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