Weblogs for tong
Subject: About the batch command
Newsgroups: gmane.linux.debian.user
Date: Wed, 16 Aug 2006 12:19:50 +0200
Hi
The traditional Unix batch command is old and not sexy enough to generate
enough talk among the Linux users. However, I recently read a post that
hinted the powerfulness of the old utility. To make the long story short,
here are my questions, which are not explained clearly in 'man batch':
- I know that if I list my tasks one by one and sent to the batch command
at once, they'd be executed one by one. But what if I issue 10 different
batch commands one by one, which are all scheduled "now", would they still
be executed one by one? why?
- Which parameter is controlling the sequential execution? What if I want
to execute batch commands two at a time?
- Would batch jobs compete with CPU resources with my foreground tasks?
- Do I need to "nice" the tasks before submitting to batch? If not, what
is the default nice value for batch jobs?
thanks
Newsgroups: gmane.linux.debian.user
Date: Tue, 18 Jul 2006 11:21:17 +0200
]
hi
whenever I add a user in grml (Debian LiveCD, http://grml.org/), I get the following error:
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection
refused
The respond that I got is that
- the Debian's "useradd" tried to run userauth via NIS by default, which
will make rpc calls/connections.
- The reason that I didn't notice this before is because Debian runs
portmapper by default - which grml doesn't.
Although I get the reason, I wasn't able to get the answer to my question
-- is there any way to disable Debian's useradd from using NIS and making
rpc calls/connections?
Please help
thanks
Subject: defoma how to
Newsgroups: gmane.linux.debian.user
Date: Sun, 16 Jul 2006 17:20:02 +0200
Hi
Can you recommend a good defoma how to guide please?
Specifically,
- how to add a truetype font path for defoma to manage?
- If all X-fonts are managed by defoma, theoretically, is it true that I
can leave only the following two FontPath in the "Files" section, while
removing all the rest of FontPath(s)?
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath
"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
Thanks
If you control satellite systems and you're not expecting to send much mail, and you don't need much processing then running a full mailserver is probably overkill. Perhaps the simplest software to use is the nullmailer program
http://www.debian-administration.org/articles/397
Setting up mail forwarding for exim, qmail, and sendmail
http://www.debian-administration.org/articles/63
how to make postfix to use SMTP auth for sending mail to a smarthost or a
transport map relay server.
http://www.k2.on.lk/fourm/viewtopic.php?t=30
Gmail on Home Linux Box using Postfix
http://souptonuts.sourceforge.net/postfix_tutorial.html
Having read all above, I am still not able to setup my Postfix to relay my mails through my ISP (with TLS required). I had tried many times but all failed. I've also been trying to raise the question at every possible place. But so far respond answers the question.
I really appreciate if anyone can give me a hint. Thanks a lot.
The reason that I need the mail relay is because my ISP has blocked my 25 mail port. So it is impossible for me to file bug reports, use my mail to backup my save-config, etc ... Now that nearly 90% of people are suffering from this mail port block, this feature would be requested again and again.
On Sun, 25 Jun 2006 16:19:48 -0400, Tong wrote:
> I got the "pre-installation script returned error" during package
> installation. Is there any solution / workaround? What else should I
> check?
>
> thanks
>
> Tong
>
> PS. here is the full info:
>
> Installing linux-image-2.6.15-1-k7 under etch failed:
>
> % apt-get install linux-image-2.6.15-1-k7 Suggested packages:
> linux-doc-2.6.15 linux-source-2.6.15 lilo grub fdutils
> Recommended packages:
> libc6-i686
> The following NEW packages will be installed:
> linux-image-2.6.15-1-k7
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Preconfiguring packages ...
> (Reading database ... 52510 files and directories currently installed.)
> Unpacking linux-image-2.6.15-1-k7 (from
> .../linux-image-2.6.15-1-k7_2.6.15-8_i386.deb) ... Ok, Aborting dpkg:
> error processing
> /var/cache/apt/archives/linux-image-2.6.15-1-k7_2.6.15-8_i386.deb
> (--unpack):
> subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
> /var/cache/apt/archives/linux-image-2.6.15-1-k7_2.6.15-8_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
I just format the disk and did a clean base system installation then tried
again. Same error.
Installing linux-image-2.6.15-1-686 is broken too:
The following extra packages will be installed:
linux-image-2.6.15-1-686
Suggested packages:
linux-doc-2.6.15 linux-source-2.6.15 lilo grub fdutils
Recommended packages:
libc6-i686
The following NEW packages will be installed:
linux-image-2.6.15-1-686
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 2 not fully
installed or removed.
Need to get 0B/15.8MB of archives.
After unpacking 45.1MB of additional disk space will be used. Do you want
to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 7356 files and directories currently installed.)
Unpacking linux-image-2.6.15-1-686 (from
.../linux-image-2.6.15-1-686_2.6.15-8_i386.deb) ... Ok, Aborting
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.15-1-686_2.6.15-8_i386.deb
(--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.15-1-686_2.6.15-8_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
task? I used to amaze my Windoze-using friends by burning CD/DVDs while
carrying out my normal work. I normally point to the "top" output,
which says something like "Tasks: 133 total", and say to my astonished
friend, "I can burn my CD/DVDs while there are over a hundred task running
at the same time" -- just enjoy looking at their
astonished faces. However, there is one thing that really make me
question how Linux schedule its tasks.
There is this special case, which will let me make coasters every time
-- when nget is updating it headers. I'm using a not-so-monster news
server, which can't compete with supper-monster news server like
giganews, etc. However, whenever nget updates it headers, my computer is
brought down to its knees. I run my nget with "nice -n 12", and my growisofs
(for DVD burning) with "nice -n -2", even so I make coasters from time
to time.
I think it must related with kswapd0 -- the kernel page fault swap
daemon. Shouldn't page faults caused by "nice -n 12" tasks have much lower
priorities then that from "nice -n -2"? I think it should, but why I
make coasters from time to time then?
My box's memory is 768M. I don't think it is too small.
tong
PS.