Tomcat failed to shutdown

2009-12-31 Thread Niu Kun
Dear all, Wish all on the list Happy New Year. I've just downloaded tomcat 6.0 and install it on my latest stable Debian system. I also download the latest sun jdk. Tomcat can startup successfully. But with shutdown.sh script bundled with tomcat, I can't shutdown tomcat. I have to kill it

Re: perl question

2009-12-19 Thread Niu Kun
How about setting it a local variable? And I think that you'd better send such a question to a perl mailing list. Alex Samad wrote: Hi I have a set of constants setup in my script RC_OK ... ... I use LWP::Simple which also uses RC_OK, and I get a main::RC_OK redifinition is there

Re: Chat Client

2009-11-21 Thread Niu Kun
Roman Gelfand wrote: I am looking for a good web xmpp client that would is able to make server to server connection on port 5222. Would anyone know of such software? Thanks in advance Pidgin may be the most famous one. -- To UNSUBSCRIBE, email to

Problem about starting lvm2 daemon

2009-10-17 Thread Niu Kun
Dear all, I'm using the testing debian branch. And I've just upgrade my redhat-cluster-module. But each time I started lvm2, I got the following error message: Setting up LVM Volume Groups connect() failed on local socket: Connection refused WARNING: Falling back to local file-based

Problem about grub automatically changes my root device

2009-10-02 Thread Niu Kun
Dear all, I've just upgrade my sarge system to lenny. We now encountered a problem. Our original kernel is 2.4.27 and our present kernel is 2.6.26. Our main SATA disk is recognized as hdd at the time of installation. But in lenny, it is recoginzed as sda. I find that each time I install a kernel

Re: Problem about grub automatically changes my root device

2009-10-02 Thread Niu Kun
Boyd Stephen Smith Jr. 写道: On Friday 02 October 2009 15:41:11 Niu Kun wrote: I've just upgrade my sarge system to lenny. We now encountered a problem. Our original kernel is 2.4.27 and our present kernel is 2.6.26. Our main SATA disk is recognized as hdd at the time of installation

Re: can exim reject all mail for one recipient?

2009-09-30 Thread Niu Kun
Ric Otte 写道: I am running Lenny with exim4 and one user would like all email to him to be rejected. I believe it is bad to use procmail to reject mail, and wonder if there is an easy way to do this with exim. This user basically wants no mail to be able to be delivered to his account. Any

Re: how to downgrade and pin package (durep)?

2009-09-29 Thread Niu Kun
Robert P. J. Day 写道: as a followup to an earlier post of mine, i can see now that the current durep package (0.9-1) works *very* differently from the earlier one, so rather than fight with the new one, i'm happy to use the older version. how exactly does one downgrade a package to a

Re: how to downgrade and pin package (durep)?

2009-09-29 Thread Niu Kun
Robert P. J. Day 写道: On Wed, 30 Sep 2009, Niu Kun wrote: Robert P. J. Day 写道: as a followup to an earlier post of mine, i can see now that the current durep package (0.9-1) works *very* differently from the earlier one, so rather than fight with the new one, i'm happy to use

Re: Building a 2.6.30 kernel that does NOT require initrd

2009-09-29 Thread Niu Kun
Alex Samad 写道: Hi question question to both of you guys, any reason not to use a initrd ? doesn't it limit your options a lot, I can understand a monolithic kernel - but a partial one ? Alex On Tue, Sep 29, 2009 at 01:33:57PM -0400, Andrew Perrin wrote: I'm using grup-pc, which is grub2:

Re: remove package by hand ?

2009-09-28 Thread Niu Kun
Frank Bonnet 写道: Hello I have installed a package called ldap-account-manager taht I am unable de uninstall ... d# dpkg -r ldap-account-manager dpkg: error processing ldap-account-manager (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a

Re: [OT] Debian + Virtualization Sharing Experiences

2009-09-28 Thread Niu Kun
Leandro Quibem Magnabosco 写道: Hello, Maybe this isn't OffTopic, but I added [OT] tag just in case. I am in charge of installing 5 VMs - Linux[2] + FreeBSD + Windows + PFSense. I figured it would be better to have ESXi installed, but the server machine is not compatible with it. That said, I

Re: how to supply correct option to module during boot?

2009-09-19 Thread Niu Kun
Long Wind 写道: I use etch during boot bttv module is loaded with wrong options I have to run two commands after log in: rmmod bttv modprobe bttv card=8 how to supply correct option to bttv module during boot? Thanks! You should go to /etc/modprobe.d. grep options * You may get some kind

Re: how to supply correct option to module during boot?

2009-09-19 Thread Niu Kun
Long Wind 写道: On Sat, Sep 19, 2009 at 6:09 AM, Niu Kun haoniu...@gmail.com wrote: Long Wind 写道: I use etch during boot bttv module is loaded with wrong options I have to run two commands after log in: rmmod bttv modprobe bttv card=8 how to supply correct option to bttv module during

Re: Chat Server Software

2009-09-18 Thread Niu Kun
Roman Gelfand 写道: Can somebody recommend a good web based chat server software. By web based, I mean when you don't need to install a client, rather use browser. If it happens to include voice or video, even better. Thanks in advance I presume that you want to setup a server for your

Re: why my firewall script work only for some sites?

2009-09-18 Thread Niu Kun
Long Wind 写道: I have a firewall script It provides NAT and allow clients to visit only 3 sites plus DNS servers On client machine the 1st site (www.debian.org) can be viewed. but other two sites have problems the browser display only title bar in other words it is displayed partially Note the

Re: Why can't I install skype on debian?

2009-09-17 Thread Niu Kun
Charlie Dorff 写道: Hi... I installed debian using a netinstall and then tried to install skype but got an error message saying could not open skype-debian_2.1.0.47-1_1386.deb. Does anyone know what I am doing wrong? Thanks in advance. Charlie I have skype installed on my machine. But I

Re: Is there a central depository so that I can download all the source packages?

2009-08-31 Thread Niu Kun
Peng Yu 写道: On Mon, Aug 31, 2009 at 10:27 PM, Niu Kunhaoniu...@gmail.com wrote: Peng Yu 写道: Hi, I need to install packages from source because I don't have a root account on my machine. So far I found the following websites, but they certainly do not have all the source code packages.

Re: Is there a central depository so that I can download all the source packages?

2009-08-31 Thread Niu Kun
Peng Yu 写道: Hi, I need to install packages from source because I don't have a root account on my machine. So far I found the following websites, but they certainly do not have all the source code packages. http://linux.softpedia.com/ http://www.icewalkers.com/Linux/Software/ Can somebody let

Re: problem compiling new kernel

2009-08-28 Thread Niu Kun
bdebreil 写道: Hi to Everyone, With my old SARGE system, as stated here last week, I was unable to boot newly compiled kernels, most likely because of the faulty initrd.img that I got using 'mkinitrd'. For this reason, I decided to install Lenny. Now, with Lenny, I haven't so far been able to go

Re: a couple remaining issues after dist-upgrade, etch - lenny

2009-08-25 Thread Niu Kun
Robert P. J. Day 写道: i finally pulled the trigger on this, almost 300 packages upgraded, rebooted and here are some of the (apparently non-fatal) issues i ran across: 1) my /etc/aliases.db file was deleted. no problem, i just recreated it with # postalias hash:/etc/aliases easy enough

Re: final issue? imapproxy: Error reading banner line from server ...

2009-08-25 Thread Niu Kun
Robert P. J. Day 写道: this might actually be the final issue for me to resolve after this upgrade (one can only hope). there is one package that is still only partially configured: imapproxy. an attempt to complete its configuration generates: Log started: 2009-08-25 10:01:25 Setting up

Re: How to install a debian package without root on a non-Debian system?

2009-08-25 Thread Niu Kun
Peng Yu 写道: Hi, My system is RedHat. But I don't have root permission. But I want to install a Debian package (for example, screen) in my home directory. Can somebody let me know how to install such a package in my home directory? Regards, Peng So far as I know, Redhat also support apt

Re: safe to purge older versions of installed software?

2009-08-22 Thread Niu Kun
Robert P. J. Day 写道: On Sat, 22 Aug 2009, Niu Kun wrote: See if your 'apt-get' supports 'apt-get purge'. it does, but how does that solve my problem? should i try to purge a package, then see what the result would be before saying yes/no? Yes. apt-get will ask you if you'd

Re: Waiting for root file system ...

2009-08-21 Thread Niu Kun
Robert P. J. Day 写道: (NOTE: please ignore my earlier and utterly misinformed plea for help. turns out that, in attempting to mount /dev/sda1 as the alleged root filesystem, the new 2.6 kernel was finding the external backup hard drive at /dev/sda1. no surprise that that wasn't bootable.

Re: Waiting for root file system ...

2009-08-21 Thread Niu Kun
Robert P. J. Day 写道: On Fri, 21 Aug 2009, Niu Kun wrote: Robert P. J. Day 写道: (NOTE: please ignore my earlier and utterly misinformed plea for help. turns out that, in attempting to mount /dev/sda1 as the alleged root filesystem, the new 2.6 kernel was finding the external backup

Re: Waiting for root file system ...

2009-08-21 Thread Niu Kun
Emanoil Kotsev 写道: Robert P. J. Day wrote: On Fri, 21 Aug 2009, Niu Kun wrote: Have you ever run update-initramfs command manually on the pre-compiled kernel? I remember that I fixed such a problem once. Hope this will help. And look forward to your feedback. nope -- as i

Re: Waiting for root file system ...

2009-08-21 Thread Niu Kun
Emanoil Kotsev 写道: Niu Kun wrote: and last but not least it's pretty tricky to boot broken initram but not too hard if you know the steps. Would you please say something about this? Or any useful link that can be referenced? regards First of all I would try

Re: Waiting for root file system ...

2009-08-21 Thread Niu Kun
Robert P. J. Day 写道: ok, here's what i think i've discovered (given that, again, i'm a relative newcomer to debian), so i'm going to ask some dumb questions which might go a long way to clarifying some things. no matter what i tried, when i booted this (recently upgraded to) etch system to

Re: Waiting for root file system ...

2009-08-21 Thread Niu Kun
Robert P. J. Day 写道: On Fri, 21 Aug 2009, Robert P. J. Day wrote: On Sat, 22 Aug 2009, Niu Kun wrote: (with respect to getting my /dev/sda* device files built) So here, your best choice seems to try. here's my z60_hdparm.rules file: i'm assuming that's a brand new rules

Re: Inquiry: run fsck in single user mode

2009-08-19 Thread Niu Kun
hadi motamedi 写道: Dear Ron Thanks for your reply . Please be informed that this is the /usr partition . Regards H.Motamedi On Wed, Aug 19, 2009 at 1:06 PM, Ron Johnson ron.l.john...@cox.net mailto:ron.l.john...@cox.net wrote: On 2009-08-17 01:35, hadi motamedi wrote: Dear

Hang on reboot with: Waiting for root file system

2009-08-18 Thread Niu Kun
Dear all, I've got an old Debian sarge box. And I want to upgrade it to the newest lenny stable version. I've encountered the problem mentioned in the following link: http://www200.pair.com/mecham/spam/kernel.html I had tried to upgrade my system to etch once, but the system failed to boot