Problem on running aptitude/apt-get upgrade

2008-09-11 Thread Stephen Liu
Hi folks,


Debian Etch - fresh installation


$ sudo aptitude upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages will be upgraded:
  linux-image-2.6.18-6-486
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/16.2MB of archives. After unpacking 1839kB will be used.
Do you want to continue? [Y/n/?] y
Preconfiguring packages ...
dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
package `gtk2-engines-pixbuf':
 `Depends' field, reference to `libglib2.0-0': version contains ` '
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install.  Trying to recover:
dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
package `gtk2-engines-pixbuf':
 `Depends' field, reference to `libglib2.0-0': version contains ` '
* end *

Please advise how to fix it.   TIA


Remark:

$ sudo apt-get upgrade
same result


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running aptitude/apt-get upgrade

2008-09-11 Thread Stephen Liu

--- Bret Busby <[EMAIL PROTECTED]> wrote:

> On Fri, 12 Sep 2008, Stephen Liu wrote:

> > Debian Etch - fresh installation
> >
> >
> > $ sudo aptitude upgrade
> > Reading package lists... Done
> > Building dependency tree... Done
> > Reading extended state information
> > Initializing package states... Done
> > Reading task descriptions... Done
> > Building tag database... Done
> > The following packages will be upgraded:
> >  linux-image-2.6.18-6-486
> > 1 packages upgraded, 0 newly installed, 0 to remove and 0 not
> upgraded.
> > Need to get 0B/16.2MB of archives. After unpacking 1839kB will be
> used.
> > Do you want to continue? [Y/n/?] y
> > Preconfiguring packages ...
> > dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
> > package `gtk2-engines-pixbuf':
> > `Depends' field, reference to `libglib2.0-0': version contains ` '
> > E: Sub-process /usr/bin/dpkg returned an error code (2)
> > A package failed to install.  Trying to recover:
> > dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
> > package `gtk2-engines-pixbuf':
> > `Depends' field, reference to `libglib2.0-0': version contains ` '
> > * end *
> >
> > Please advise how to fix it.   TIA
> >
> >
> > Remark:
> >
> > $ sudo apt-get upgrade
> > same result
> 
> Have you tried
> 
> (as root)
> 
> apt-get update
> 
> then
> 
> apt-get dist-upgrade
> 
> ?


Hi Bret,


Yes I did.  It was still the same.


# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  linux-image-2.6.18-6-486
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/16.2MB of archives.
After unpacking 1839kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
package `gtk2-engines-pixbuf':
 `Depends' field, reference to `libglib2.0-0': version contains ` '
E: Sub-process /usr/bin/dpkg returned an error code (2)
* end *


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running aptitude/apt-get upgrade

2008-09-11 Thread Stephen Liu

--- Florian Kulzer <[EMAIL PROTECTED]> wrote:

> On Fri, Sep 12, 2008 at 00:46:37 +0800, Stephen Liu wrote:
> > Hi folks,
> > 
> > Debian Etch - fresh installation
> > 
> > $ sudo aptitude upgrade
> > Reading package lists... Done
> > Building dependency tree... Done
> > Reading extended state information
> > Initializing package states... Done
> > Reading task descriptions... Done
> > Building tag database... Done
> > The following packages will be upgraded:
> >   linux-image-2.6.18-6-486
> > 1 packages upgraded, 0 newly installed, 0 to remove and 0 not
> upgraded.
> > Need to get 0B/16.2MB of archives. After unpacking 1839kB will be
> used.
> > Do you want to continue? [Y/n/?] y
> > Preconfiguring packages ...
> > dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
> > package `gtk2-engines-pixbuf':
> >  `Depends' field, reference to `libglib2.0-0': version contains ` '
> > E: Sub-process /usr/bin/dpkg returned an error code (2)
> > A package failed to install.  Trying to recover:
> > dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
> > package `gtk2-engines-pixbuf':
> >  `Depends' field, reference to `libglib2.0-0': version contains ` '
> > * end *
> 
> It seems that /var/lib/dpkg/available has been corrupted. This might
> be
> the result of a problem with your hard disk, so we should probably
> have
> a closer look the entry of gtk2-engines-pixbuf. Please post the
> output
> of the following command:
> 
> awk '/^Package: gtk2-engines-pixbuf/,/^$/' /var/lib/dpkg/available |
> head -n 100
> 

Hi Florian,


# awk '/^Package: gtk2-engines-pixbuf/,/^$/' /var/lib/dpkg/available |
head -n 100
Package: gtk2-engines-pixbuf
Priority: optional
Section: graphics
Installed-Size: 124
Maintainer: Sebastien Bacher <[EMAIL PROTECTED]>
Architecture: i386
Source: gtk+2.0
Version: 2.8.20-7
Replaces: gtk2.0-engines-pixbuf
Depends: libatk1.0-0 (>= 1.12.2), libc6 (>= 2.3.6-6), libcairo2 (>=
1.2.4), libglib2.0-0 (>1 2.12.0), libpango1.0-0 (>= 1.14.8), libx11-6,
libgtk2.0-0 (= 2.8.20-7)
Suggests: gtk-engines-pixmap
Conflicts: gtk2.0-engines-pixbuf
Size: 60830
Description: Pixbuf-based theme for GTK+ 2.x
 The GTK+ is a multi-platform toolkit for creating graphical user
 interfaces. Offering a complete set of widgets, the GTK+ is suitable
 for projects ranging from small one-off tools to complete application
 suites.
 .
 This package contains the pixbuf theme engine.
* end *


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running aptitude/apt-get upgrade

2008-09-11 Thread Stephen Liu

--- Umarzuki Mochlis <[EMAIL PROTECTED]> wrote:

> try this to resolve dependencies
> # apt-get -f install


Hi Umarzuki,


# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B/16.2MB of archives.
After unpacking 0B of additional disk space will be used.
Preconfiguring packages ...
dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
package `gtk2-engines-pixbuf':
 `Depends' field, reference to `libglib2.0-0': version contains ` '
E: Sub-process /usr/bin/dpkg returned an error code (2)
* end *


Still fail.  Or I need to install a package to test it?


B.R.
Stephen L





> 
> 2008/9/12 Stephen Liu <[EMAIL PROTECTED]>
> 
> >
> > --- Florian Kulzer
> <[EMAIL PROTECTED]<[EMAIL PROTECTED]>>
> > wrote:
> >
> > > On Fri, Sep 12, 2008 at 00:46:37 +0800, Stephen Liu wrote:
> > > > Hi folks,
> > > >
> > > > Debian Etch - fresh installation
> > > >
> > > > $ sudo aptitude upgrade
> > > > Reading package lists... Done
> > > > Building dependency tree... Done
> > > > Reading extended state information
> > > > Initializing package states... Done
> > > > Reading task descriptions... Done
> > > > Building tag database... Done
> > > > The following packages will be upgraded:
> > > >   linux-image-2.6.18-6-486
> > > > 1 packages upgraded, 0 newly installed, 0 to remove and 0 not
> > > upgraded.
> > > > Need to get 0B/16.2MB of archives. After unpacking 1839kB will
> be
> > > used.
> > > > Do you want to continue? [Y/n/?] y
> > > > Preconfiguring packages ...
> > > > dpkg: parse error, in file `/var/lib/dpkg/available' near line
> 8090
> > > > package `gtk2-engines-pixbuf':
> > > >  `Depends' field, reference to `libglib2.0-0': version contains
> ` '
> > > > E: Sub-process /usr/bin/dpkg returned an error code (2)
> > > > A package failed to install.  Trying to recover:
> > > > dpkg: parse error, in file `/var/lib/dpkg/available' near line
> 8090
> > > > package `gtk2-engines-pixbuf':
> > > >  `Depends' field, reference to `libglib2.0-0': version contains
> ` '
> > > > * end *
> > >
> > > It seems that /var/lib/dpkg/available has been corrupted. This
> might
> > > be
> > > the result of a problem with your hard disk, so we should
> probably
> > > have
> > > a closer look the entry of gtk2-engines-pixbuf. Please post the
> > > output
> > > of the following command:
> > >
> > > awk '/^Package: gtk2-engines-pixbuf/,/^$/'
> /var/lib/dpkg/available |
> > > head -n 100
> > >
> >
> > Hi Florian,
> >
> >
> > # awk '/^Package: gtk2-engines-pixbuf/,/^$/'
> /var/lib/dpkg/available |
> > head -n 100
> > Package: gtk2-engines-pixbuf
> > Priority: optional
> > Section: graphics
> > Installed-Size: 124
> > Maintainer: Sebastien Bacher <[EMAIL PROTECTED]>
> > Architecture: i386
> > Source: gtk+2.0
> > Version: 2.8.20-7
> > Replaces: gtk2.0-engines-pixbuf
> > Depends: libatk1.0-0 (>= 1.12.2), libc6 (>= 2.3.6-6), libcairo2 (>=
> > 1.2.4), libglib2.0-0 (>1 2.12.0), libpango1.0-0 (>= 1.14.8),
> libx11-6,
> > libgtk2.0-0 (= 2.8.20-7)
> > Suggests: gtk-engines-pixmap
> > Conflicts: gtk2.0-engines-pixbuf
> > Size: 60830
> > Description: Pixbuf-based theme for GTK+ 2.x
> >  The GTK+ is a multi-platform toolkit for creating graphical user
> >  interfaces. Offering a complete set of widgets, the GTK+ is
> suitable
> >  for projects ranging from small one-off tools to complete
> application
> >  suites.
> >  .
> >  This package contains the pixbuf theme engine.
> > * end *
> >
> >
> > B.R.
> > Stephen L
> >
> > Send instant messages to your online friends
> http://uk.messenger.yahoo.com
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> Regards,
> 
> Umarzuki Mochlis
> http://debmal.com
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running aptitude/apt-get upgrade (SOLVED)

2008-09-12 Thread Stephen Liu

--- Daniel Burrows <[EMAIL PROTECTED]> wrote:

> On Fri, Sep 12, 2008 at 07:11:41AM +0800, Stephen Liu
> <[EMAIL PROTECTED]> was heard to say:
> > Depends: libatk1.0-0 (>= 1.12.2), libc6 (>= 2.3.6-6), libcairo2 (>=
> > 1.2.4), libglib2.0-0 (>1 2.12.0), libpango1.0-0 (>= 1.14.8),
> libx11-6,
> > libgtk2.0-0 (= 2.8.20-7)
> 
>   Well, I don't know why it happened, but that's your problem there
> (should
> probably be >=, not >1).
> 


Hi Daniel,


I got my problem fixed by manually editing the file as advised.  Then
rebooted PC.  It is working normally now.  Thanks.


I don't know how the problem happens.  I ran the net_install CD
installing Debian Etch i386 downloading files on a mirror site.  This
is the 3rd round.  On 1st and 2nd rounds after downloading all relevent
files and starting installation PC hung.  If the 3rd fails again I'm
compelled to download the DVD installer.


Anyway thanks again for your advice.


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running aptitude/apt-get upgrade (SOLVED)

2008-09-12 Thread Stephen Liu

--- Andrei Popescu <[EMAIL PROTECTED]> wrote:

> On Fri,12.Sep.08, 17:09:52, Stephen Liu wrote:
>  
> > I don't know how the problem happens.  I ran the net_install CD
> > installing Debian Etch i386 downloading files on a mirror site. 
> This
> > is the 3rd round.  On 1st and 2nd rounds after downloading all
> relevent
> > files and starting installation PC hung.  If the 3rd fails again
> I'm
> > compelled to download the DVD installer.
>  
> Did you check the md5sum of the image and the written CD?


Hi Andrei,


Yes sure.  I always check md5sum before burning.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running aptitude/apt-get upgrade

2008-09-12 Thread Stephen Liu

--- linuksos <[EMAIL PROTECTED]> wrote:

> This problem can happen if you mix repositories from different
> sources. For example you use Ubuntu sources or Debian testing ( leeny
> ) or sid versions. However, If you said its fresh install this could
> be bug.


Hi lubo,


$ cat /etc/apt/sources.list
deb http://ftp.au.debian.org/debian/ etch main
deb-src http://ftp.au.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
* end *


I download files on this mirror, on the 1st and 2nd rounds from other
mirrors.  IIRC one from pacific.net.au


B.R.
Stephen





Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running aptitude/apt-get upgrade (SOLVED)

2008-09-13 Thread Stephen Liu

--- Chris Bannister <[EMAIL PROTECTED]> wrote:

> On Fri, Sep 12, 2008 at 05:09:52PM +0800, Stephen Liu wrote:
> > 
> > --- Daniel Burrows <[EMAIL PROTECTED]> wrote:
> > 
> > > On Fri, Sep 12, 2008 at 07:11:41AM +0800, Stephen Liu
> > > <[EMAIL PROTECTED]> was heard to say:
> > > > Depends: libatk1.0-0 (>= 1.12.2), libc6 (>= 2.3.6-6), libcairo2
> (>=
> > > > 1.2.4), libglib2.0-0 (>1 2.12.0), libpango1.0-0 (>= 1.14.8),
> > > libx11-6,
> > > > libgtk2.0-0 (= 2.8.20-7)
> > > 
> > >   Well, I don't know why it happened, but that's your problem
> there
> > > (should
> > > probably be >=, not >1).
> > > 
> > 
> > 
> > Hi Daniel,
> > 
> > 
> > I got my problem fixed by manually editing the file as advised. 
> Then
> > rebooted PC.  It is working normally now.  Thanks.
> > 
> > 
> > I don't know how the problem happens.  I ran the net_install CD
> > installing Debian Etch i386 downloading files on a mirror site. 
> This
> > is the 3rd round.  On 1st and 2nd rounds after downloading all
> relevent
> > files and starting installation PC hung.  If the 3rd fails again
> I'm
> > compelled to download the DVD installer.
> 
> I would start suspecting the computer itself, grab a Knoppix Live CD
> and
> boot off that - run memtest and generally give the computer a
> workout.
> 
> If that is all ok, then post back here with details of where it
> hangs,
> etc.
> 


Hi Chris,


Debian Etch is now working without problem discovered.  Just installed
Xen on it.  Both the Virtual Machine and Guest are running.


# xm list
Name  ID   Mem VCPUs  State  
Time(s)
Domain-0   0  3417 2 r-   
439.6
xen1.satimis.com   332 1 -b
 2.4


I'll download the Knoppix Live CD later to test the computer.


B.R.
Stephen L





Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Howto/Tutorial to install RoundCube

2008-09-16 Thread Stephen Liu

--- Tristan Terpelle <[EMAIL PROTECTED]> wrote:

> On Tue, 16 Sep 2008 19:37:24 +0800 (CST), Stephen Liu
> <[EMAIL PROTECTED]>
> > 
> > 
> > Debian Etch
> > Postfix
> > Dovecot
> > 
> > 
> > Please point me where can I find a Howto/Tutorial to install
> RoundCube
> > on the captioned server. Apache is not running. Googling brought me
> > serveral BUT in French.
> > 
> 
> Download the .tar.gz from the RoundCube site. There's an INSTALL file
> included explaining the process. All you need to do is create a MySQL
> DB
> and run their .sql script before you start the installation
> procedure.
> 
> If your Dovecot setup works, installing RoundCube should only take
> you
> about 15 minutes. 
> 
> I'm writing this from a similar setup and it's been running very
> nicely
> ever since I installed it.

Noted and thanks.


Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



About repo to download roundcube packages

2008-09-16 Thread Stephen Liu
Hi folks,


Debian Etch
Postfix
Dovecot


I found roundcube packages on;

http://www.freshnet.org/debian/etch/roundcube/

and

http://packages.debian.org/etch-backports/roundcube-core


Please advise the repo to be added on /etc/apt/source.list

TIA


Current repo;

$ cat /etc/apt/source.list
deb http://ftp.au.debian.org/debian/ etch main
deb-src http://ftp.au.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib


B.R.
Stephen L


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Problem on MAC address

2008-09-18 Thread Stephen Liu
Hi folks,


Debian Etch (both Host and Guest)
Xen


On cloning disk.img I suppose it also copies the MAC address of the
original image to the new image resulting in "ping hostname" unable to
find the new hostname.


Following is my test;

# dd if=/vserver/domains/xen5.satimis.com/disk.img
of=/vserver/domains/xen6.satimis.com/disk.img bs=4k

# dd if=/vserver/domains/xen5.satimis.com/swap.img
of=/vserver/domains/xen6.satimis.com/swap.img bs=4k


# xm list --long xen5.satimis.com
(domain
(domid 3)
(on_crash restart)
(uuid e1074e82-9bbc-8fcd-2e74-e6ab66a3017d)
(bootloader_args )
(vcpus 1)
(name xen5.satimis.com)
(on_poweroff destroy)
(on_reboot restart)
(bootloader )
(maxmem 32)
(memory 32)
(shadow_memory 0)
(cpu_weight 256)
(cpu_cap 0)
(features )
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1221791564.86)
(cpu_time 3.132796221)
(online_vcpus 1)
(image
(linux
(kernel /boot/vmlinuz-2.6.18-xen)
(args 'root=/dev/hda1 ro ')
(rtc_timeoffset 0)
(notes
(HV_START_LOW 4227858432)
(FEATURES
   
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'
)
(VIRT_BASE 3221225472)
(GUEST_VERSION 2.6)
(PADDR_OFFSET 3221225472)
(GUEST_OS linux)
(HYPERCALL_PAGE 378144)
(LOADER generic)
(SUSPEND_CANCEL 1)
(PAE_MODE no)
(ENTRY 374048)
(XEN_VERSION xen-3.0)
)
)
)
(status 2)
(state -b)
(store_mfn 899538)
(console_mfn 899537)
(device
(vif
(uuid 18904eab-6d22-da74-79f0-c86198a01e4a)
(script vif-bridge)
(ip 192.168.0.115)
(mac 00:16:3e:32:ab:e7)
(type netfront)
(backend 0)
)
)
(device
(vbd
(uname file:/vserver/domains/xen5.satimis.com/disk.img)
(uuid 505962e1-ddc4-7987-e731-eeda038c8ba1)
(mode w)
(dev hda1:disk)
(backend 0)
(bootable 1)
)
)
(device
(vbd
(uname file:/vserver/domains/xen5.satimis.com/swap.img)
(uuid c7e5ed00-fa70-3683-d66f-fba6feff5a69)
(mode w)
(dev hda2:disk)
(backend 0)
(bootable 0)
)
)
(device
(console
(protocol vt100)
(location 2)
(uuid ca9ca5fb-9cee-6571-d064-83e2d8ddd894)
)
)
)
* end *



# xm list --long xen6.satimis.com
(domain
(domid 2)
(on_crash restart)
(uuid 07a8b42b-acfd-ec79-ce19-83f843564db1)
(bootloader_args )
(vcpus 1)
(name xen6.satimis.com)
(on_poweroff destroy)
(on_reboot restart)
(bootloader )
(maxmem 32)
(memory 32)
(shadow_memory 0)
(cpu_weight 256)
(cpu_cap 0)
(features )
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1221791309.54)
(cpu_time 3.313863599)
(online_vcpus 1)
(image
(linux
(kernel /boot/vmlinuz-2.6.18-xen)
(args 'root=/dev/hda1 ro ')
(rtc_timeoffset 0)
(notes
(HV_START_LOW 4227858432)
(FEATURES
   
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'
)
(VIRT_BASE 3221225472)
(GUEST_VERSION 2.6)
(PADDR_OFFSET 3221225472)
(GUEST_OS linux)
(HYPERCALL_PAGE 378144)
(LOADER generic)
(SUSPEND_CANCEL 1)
(PAE_MODE no)
(ENTRY 374048)
(XEN_VERSION xen-3.0)
)
)
)
(status 2)
(state -b)
(store_mfn 888274)
(console_mfn 888273)
(device
(vif
(uuid bbc3e77d-e001-90f2-73f6-1d2a042c6e2b)
(script vif-bridge)
(ip 192.168.0.116)
(mac 00:16:3e:0a:c0:fb)
(type netfront)
(backend 0)
)
)
(device
(vbd
(uname file:/vserver/domains/xen6.satimis.com/disk.img)
(uuid 8ea4ccb1-212e-8fea-0b17-dc056ae7f75d)
(mode w)
(dev hda1:disk)
(backend 0)
(bootable 1)
)
)
(device
(vbd
(uname file:/vserver/domains/xen6.satimis.com/swap.img)
(uuid 182adee0-bc90-69f2-a7e5-19fc3656e1ac)
(mode w)
(dev hda2:disk)
(backend 0)
(bootable 0)
)
)
(device
(console
(protocol vt100)
(location 2)
(uuid dca93d80-808

Re: Problem on MAC address

2008-09-19 Thread Stephen Liu

--- Jeff D <[EMAIL PROTECTED]> wrote:


- snip -
 
> To change or set the mac address in /etc/network/interfaces the
> syntax is:
> 
> hwaddress ether 00:16:3e:0a:c0:fb
> 
> But, you really shouldn't have to do this in xen, xen should take
> care of
> that for you and present the mac address to your vm.
> 
> Jeff


Hi Jeff,


Thanks for your advice.


If building a new Guest with "xen-create-image" Xen will take care of
everything.  I can ping the new Guest on either hostname or IP address.
 


If creating a new Guest by cloning an existing disk.img and swap.img. 
The new Guest works without problem.  But I can't ping it on its
hostname, always complaining host not found.  However I can ping its IP
address without problem.  I suspect whether MAC address can help me.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



How to set "print PDF" work

2008-09-19 Thread Stephen Liu
Hi folks,


Debian Etch
CUPS PDF printer


I have cups-pdf installed.

$ apt-cache policy cups-pdf
cups-pdf:
  Installed: 2.4.2-3
  Candidate: 2.4.2-3
  Version table:
 *** 2.4.2-3 0
500 http://ftp.au.debian.org etch/main Packages
100 /var/lib/dpkg/status


On Gnome desktop

File -> Print > Create a PDF Document -> Print
popup "Generating PDF is not supported"


I tried to setup Printer
Deskstop -> Administrator -> Printing -> New Printer -> PDF Printer ->
Forward -> Install Driver

No driver can be found there.


Please advise how to edit /etc/cups/cups-pdf.conf to make "print PDF"
work.  OR I have to going through a browser;
localhost:631


TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: How to set "print PDF" work

2008-09-20 Thread Stephen Liu

--- Roberto D'Oliveira <[EMAIL PROTECTED]> wrote:

> 2008/9/20 Stephen Liu <[EMAIL PROTECTED]>:
> > Hi folks,
> >
> >
> > Debian Etch
> > CUPS PDF printer
> >
> >
> > I have cups-pdf installed.
> >
> > $ apt-cache policy cups-pdf
> > cups-pdf:
> >  Installed: 2.4.2-3
> >  Candidate: 2.4.2-3
> >  Version table:
> >  *** 2.4.2-3 0
> >500 http://ftp.au.debian.org etch/main Packages
> >100 /var/lib/dpkg/status
> >
> >
> > On Gnome desktop
> >
> > File -> Print > Create a PDF Document -> Print
> > popup "Generating PDF is not supported"
> >
> >
> > I tried to setup Printer
> > Deskstop -> Administrator -> Printing -> New Printer -> PDF Printer
> ->
> > Forward -> Install Driver
> >
> > No driver can be found there.
> >
> >
> > Please advise how to edit /etc/cups/cups-pdf.conf to make "print
> PDF"
> > work.  OR I have to going through a browser;
> > localhost:631
> >
> >
> > TIA
> >
> >
> > B.R.
> > Stephen L
> >
> 
> Firstly, you should see if you have the appropriate backend availble:
> lpinfo -v (If appears something like "file cups-pdf:/" it's ok)
> 
> After that, you have to setup the printer with:
>  lpadmin -p 2PDF -m lsb/usr/cups-pdf/CUPS-PDF.ppd -v cups-pdf:/ -D
> "PDF Printer" -E
> 
> And you are done!
> 
> -- 
> Saludos,


Hi Roberto,


Thanks for your advice.


# lpinfo -v
network socket
network beh
direct hp:/no_device_found
network http
network ipp
network lpd
file cups-pdf:/


# lpadmin -p 2PDF -m lsb/usr/cups-pdf/CUPS-PDF.ppd -v cups-pdf:/ -D
"PDF Printer" -E (one line)
lpadmin: Unable to copy PPD file!


# find / -name cups-pdf -type d
/var/spool/cups-pdf
/usr/share/doc/cups-pdf
/usr/share/ppd/cups-pdf


# locate CUPS-PDF.ppd
No printout


# ls /usr/share/ppd/cups-pdf/
PostscriptColor.ppd


B.R.
Stephen L




Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Problem on modprobe loop

2008-09-20 Thread Stephen Liu
Hi folks


Debian Etch (Host)
Xen


Unable to create Ubuntu guest.  I suppose it is caused by;

# modprobe loop loop_max=255
FATAL: Module loop not found.


# uname -a
Linux server1.satimis.com 2.6.18-xen #1 SMP Fri May 18 16:11:33 BST
2007 i686 GNU/Linux


Please advise how to load loop module.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on modprobe loop

2008-09-20 Thread Stephen Liu

--- Ron Johnson <[EMAIL PROTECTED]> wrote:

> On 09/20/08 10:11, Stephen Liu wrote:
> > Hi folks
> > 
> > 
> > Debian Etch (Host)
> > Xen
> > 
> > 
> > Unable to create Ubuntu guest.  I suppose it is caused by;
> > 
> > # modprobe loop loop_max=255
> > FATAL: Module loop not found.
> > 
> > 
> > # uname -a
> > Linux server1.satimis.com 2.6.18-xen #1 SMP Fri May 18 16:11:33 BST
> > 2007 i686 GNU/Linux
> > 
> > 
> > Please advise how to load loop module.  TIA
> 
> First you must see if the loop module exists.  Try this:
> 
> $ ls -1 /lib/modules/$(uname -r)/kernel/drivers/block/loop.ko


Hi Ron,


The module seem non-existing.


$ ls -l /lib/modules/$(uname -r)/kernel/drivers/block/loop.ko
ls: /lib/modules/2.6.18-xen/kernel/drivers/block/loop.ko: No such file
or directory


B.R.
Stephen L



Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: How to set "print PDF" work

2008-09-20 Thread Stephen Liu

--- Roberto D'Oliveira <[EMAIL PROTECTED]> wrote:

- snip -
> 
> Maybe you have the ppd file in other place... try with this:
> lpinfo -m | grep -i pfd
> 
> That command (lpinfo -m) shows you "drivers"  availables in your
> computer, the first column is the FILE that you should use as
> argument
> for the "-m" switch in lpadmin when you are installing a printer.


# lpinfo -m | grep -i pfd
No printout


# lpinfo -m | grep -i pdf
cups-pdf/PostscriptColor.ppd Generic postscript color printer rev4

Only one .ppd file


B.R.
Stephen L


> After find the right driver you have to execute:
>  lpadmin -p 2PDF -m FILE -v cups-pdf:/ -D "PDF Printer" -E
> 
> -- 
> Saludos,
> Roberto D'Oliveira
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on modprobe loop

2008-09-20 Thread Stephen Liu

--- nate <[EMAIL PROTECTED]> wrote:

> Stephen Liu wrote:
> > The module seem non-existing.
> >
> >
> > $ ls -l /lib/modules/$(uname -r)/kernel/drivers/block/loop.ko
> > ls: /lib/modules/2.6.18-xen/kernel/drivers/block/loop.ko: No such
> file
> > or directory
> 
> How about
> 
> 
> [EMAIL PROTECTED]:~]$ grep -i loop /boot/config-`uname -r`
> CONFIG_BLK_DEV_LOOP=m
> CONFIG_BLK_DEV_CRYPTOLOOP=m


Hi nate,


# grep -i loop /boot/config-`uname -r`
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_XEN_NETDEV_LOOPBACK=y


B.R.
Stephen L




Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on modprobe loop

2008-09-21 Thread Stephen Liu

--- Ron Johnson <[EMAIL PROTECTED]> wrote:

> On 09/20/08 18:42, Stephen Liu wrote:
> > --- nate <[EMAIL PROTECTED]> wrote:
> > 
> >> Stephen Liu wrote:
> >>> The module seem non-existing.
> >>>
> >>>
> >>> $ ls -l /lib/modules/$(uname -r)/kernel/drivers/block/loop.ko
> >>> ls: /lib/modules/2.6.18-xen/kernel/drivers/block/loop.ko: No such
> >> file
> >>> or directory
> >> How about
> >>
> >>
> >> [EMAIL PROTECTED]:~]$ grep -i loop /boot/config-`uname -r`
> >> CONFIG_BLK_DEV_LOOP=m
> >> CONFIG_BLK_DEV_CRYPTOLOOP=m
> > 
> > 
> > Hi nate,
> > 
> > 
> > # grep -i loop /boot/config-`uname -r`
> > CONFIG_BLK_DEV_LOOP=y
> > CONFIG_BLK_DEV_CRYPTOLOOP=m
> > CONFIG_XEN_NETDEV_LOOPBACK=y
> 
> Then there's no need to load the loop driver, since it's already 
> built into the kernel.


Thanks.


But I can't resolve why xen-create-image unable creating ubunut guest


$ ls -l /usr/lib/xen-tools/ubuntu.d
total 56
-rwxr-xr-x 1 root root  480 2006-11-19 05:51 10-generate-locale
-rwxr-xr-x 1 root root  482 2006-11-19 05:51 15-disable-hwclock
-rwxr-xr-x 1 root root 1709 2006-11-19 05:51 20-setup-apt
-rwxr-xr-x 1 root root  907 2006-11-19 05:51 25-disable-tls
-rwxr-xr-x 1 root root  930 2006-11-19 05:51 30-fix-inittab
-rwxr-xr-x 1 root root 2630 2006-11-19 05:51 35-setup-users
-rwxr-xr-x 1 root root 2505 2006-11-19 05:51 40-setup-networking
-rwxr-xr-x 1 root root 1783 2006-11-19 05:51 50-setup-hostname
-rwxr-xr-x 1 root root  813 2006-11-19 05:51 60-copy-host-files
-rwxr-xr-x 1 root root  729 2006-11-19 05:51 65-copy-user-files
-rwxr-xr-x 1 root root  708 2006-11-19 05:51 70-install-ssh
-rwxr-xr-x 1 root root  929 2006-11-19 05:51 80-install-modules
-rwxr-xr-x 1 root root 1703 2006-11-19 05:51 90-make-fstab
-rwxr-xr-x 1 root root  485 2006-11-19 05:51 99-clean-image


$ ls -l /usr/lib/xen-tools/
total 24
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 centos4.d
-rw-r--r-- 1 root root 2658 2006-11-19 05:51 common.sh
lrwxrwxrwx 1 root root8 2008-09-12 22:41 dapper.d -> ubuntu.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 debian.d
lrwxrwxrwx 1 root root8 2008-09-12 22:41 edgy.d -> ubuntu.d
lrwxrwxrwx 1 root root8 2008-09-12 22:41 etch.d -> debian.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 fedora.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 gentoo.d
lrwxrwxrwx 1 root root8 2008-09-12 22:41 sarge.d -> debian.d
lrwxrwxrwx 1 root root8 2008-09-12 22:41 sid.d -> debian.d
lrwxrwxrwx 1 root root8 2008-09-12 22:41 stentz.d -> fedora.d
drwxr-xr-x 2 root root 4096 2008-09-18 23:04 ubuntu.d
[/code]


Performed following test but failed:


# xen-create-image --hostname=xen7.satimis.com --size=2Gb --swap=256Mb
--ide --ip=192.168.0.117--netmask=255.255.255.0 --gateway=192.168.0.1
--force --dir=/vserver --memory=32Mb --arch=i386
--kernel=/boot/vmlinuz-2.6.18-xen --debootstrap --dist=dapper
--mirror=http://archive.ubuntu.com/ubuntu/ --passwd

General Infomation

Hostname   :  xen7.satimis.com
Distribution   :  dapper
Fileystem Type :  ext3

Size Information

Image size :  2Gb
Swap size  :  256Mb
Image type :  sparse
Memory size:  32Mb
Kernel path:  /boot/vmlinuz-2.6.18-xen

Networking Information
--
IP Address 1   : 192.168.0.117--netmask=255.255.255.0
Netmask: 255.255.255.0
Gateway: 192.168.0.1

WARNING
---
Loopback module not loaded and you're using loopback images
Run the following to load the module:

modprobe loop loop_max=255


Creating swap image: /vserver/domains/xen7.satimis.com/swap.img
Done

Creating disk image: /vserver/domains/xen7.satimis.com/disk.img
Done

Creating ext3 filesystem on /vserver/domains/xen7.satimis.com/disk.img
Done

Installing your system with debootstrap mirror
http://archive.ubuntu.com/ubuntu/
Done
System installation failed.  Aborting


Logfile produced at:
 /var/log/xen-tools/xen7.satimis.com.log
* end *


# tail /var/log/xen-tools/xen7.satimis.com.log

Copying files from new installation to host.
Copying files from /tmp/GK1IqjXCQ1/var/cache/apt/archives ->
/var/cache/apt/archives
Done
Done
The installation of the new system appears to have failed.

There is no '/bin/ls' installed in the new installation directory
Done
System installation failed.  Aborting
* end *


I don't understand what does 'bin/'ls' refer to?  Any advice?  TIA


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: How to set "print PDF" work (SOLVED)

2008-09-22 Thread Stephen Liu
Hi Roberto,


I got my problem solved as follows;


On browser
http://localhost:631 


-> Add Printer ->

Add New Printer
Filling in;
Name: PDF_Printer
Location: Local
Description: blank


-> Continue -> Select "Virtual Printer (PDF Printer)" -> Continue ->
Browse ... ->

File Upload;

/usr/share/ppd/cups-pdf/PostscriptColor.ppd

-> Open


That is all.

Now I can print .pdf files.   The only drawback is I can't add a
filename before clicking "Print".  The file is saved on
/home/user/PDF/__.pdf.


I must change the filename afterwards.


Anyway thanks again for your assistance.


B.R.
Stephen L



--- Roberto D'Oliveira <[EMAIL PROTECTED]> wrote:

> 2008/9/21 Stephen Liu <[EMAIL PROTECTED]>:
> >
> > --- Roberto D'Oliveira <[EMAIL PROTECTED]> wrote:
> >
> >> 2008/9/20 Stephen Liu <[EMAIL PROTECTED]>:
> >> > Hi folks,
> >> >
> >> >
> >> > Debian Etch
> >> > CUPS PDF printer
> >> >
> >> >
> >> > I have cups-pdf installed.
> >> >
> >> > $ apt-cache policy cups-pdf
> >> > cups-pdf:
> >> >  Installed: 2.4.2-3
> >> >  Candidate: 2.4.2-3
> >> >  Version table:
> >> >  *** 2.4.2-3 0
> >> >500 http://ftp.au.debian.org etch/main Packages
> >> >100 /var/lib/dpkg/status
> >> >
> >> >
> >> > On Gnome desktop
> >> >
> >> > File -> Print > Create a PDF Document -> Print
> >> > popup "Generating PDF is not supported"
> >> >
> >> >
> >> > I tried to setup Printer
> >> > Deskstop -> Administrator -> Printing -> New Printer -> PDF
> Printer
> >> ->
> >> > Forward -> Install Driver
> >> >
> >> > No driver can be found there.
> >> >
> >> >
> >> > Please advise how to edit /etc/cups/cups-pdf.conf to make "print
> >> PDF"
> >> > work.  OR I have to going through a browser;
> >> > localhost:631
> >> >
> >> >
> >> > TIA
> >> >
> >> >
> >> > B.R.
> >> > Stephen L
> >> >
> >>
> >> Firstly, you should see if you have the appropriate backend
> availble:
> >> lpinfo -v (If appears something like "file cups-pdf:/" it's ok)
> >>
> >> After that, you have to setup the printer with:
> >>  lpadmin -p 2PDF -m lsb/usr/cups-pdf/CUPS-PDF.ppd -v cups-pdf:/ -D
> >> "PDF Printer" -E
> >>
> >> And you are done!
> >>
> >> --
> >> Saludos,
> >
> >
> > Hi Roberto,
> >
> >
> > Thanks for your advice.
> >
> >
> > # lpinfo -v
> > network socket
> > network beh
> > direct hp:/no_device_found
> > network http
> > network ipp
> > network lpd
> > file cups-pdf:/
> >
> >
> > # lpadmin -p 2PDF -m lsb/usr/cups-pdf/CUPS-PDF.ppd -v cups-pdf:/ -D
> > "PDF Printer" -E (one line)
> > lpadmin: Unable to copy PPD file!
> >
> >
> > # find / -name cups-pdf -type d
> > /var/spool/cups-pdf
> > /usr/share/doc/cups-pdf
> > /usr/share/ppd/cups-pdf
> >
> >
> > # locate CUPS-PDF.ppd
> > No printout
> >
> >
> > # ls /usr/share/ppd/cups-pdf/
> > PostscriptColor.ppd
> >
> >
> > B.R.
> > Stephen L
> >
> >
> >
> >
> > Send instant messages to your online friends
> http://uk.messenger.yahoo.com
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> >
> >
> 
> Maybe you have the ppd file in other place... try with this:
> lpinfo -m | grep -i pfd
> 
> That command (lpinfo -m) shows you "drivers"  availables in your
> computer, the first column is the FILE that you should use as
> argument
> for the "-m" switch in lpadmin when you are installing a printer.
> After find the right driver you have to execute:
>  lpadmin -p 2PDF -m FILE -v cups-pdf:/ -D "PDF Printer" -E
> 
> -- 
> Saludos,
> Roberto D'Oliveira
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running aptitude/apt-get upgrade (SOLVED)

2008-09-24 Thread Stephen Liu

--- Chris Bannister <[EMAIL PROTECTED]> wrote:

- snip -
> > Hi Daniel,
> > 
> > 
> > I got my problem fixed by manually editing the file as advised. 
> Then
> > rebooted PC.  It is working normally now.  Thanks.
> > 
> > 
> > I don't know how the problem happens.  I ran the net_install CD
> > installing Debian Etch i386 downloading files on a mirror site. 
> This
> > is the 3rd round.  On 1st and 2nd rounds after downloading all
> relevent
> > files and starting installation PC hung.  If the 3rd fails again
> I'm
> > compelled to download the DVD installer.
> 
> I would start suspecting the computer itself, grab a Knoppix Live CD
> and
> boot off that - run memtest and generally give the computer a
> workout.
> 
> If that is all ok, then post back here with details of where it
> hangs,
> etc.
> 
> -- 
> Chris.


Hi Chris,


The Host - Debian Etch is now running w/o problem.  Just finished
running >13 hour memtest on the PC.  No error found.  The results is as
follow;


Memtest86 v1.64 | Pass 18% ###
Athlon 64 X2 2009 MHZ   | Test 6% ##
L1 Cache: 128K 16469MB/s| Test #7 [Random number sequency]
L2 Cache: 512K  3924MB/s| Testing: 108K - 3583M 4095M
Memory : 4095M  3139MB/s| Pattern: fdd43037
Chipset: AMD 8000 (ECC : Disabled)
Settings: RAM:167 MHZ (DDR334) / CAS:7-4-7 / Dual Channel (128 bits)


WallTime  Cached  RsvdMem   MemMap   Cache  ECC  Test  Pass  Errors 
ECC  Errs
13:34:33   4095M  84M  e820-Stdon   off  Std   9 0


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Fail to start roundcube

2008-09-27 Thread Stephen Liu
Hi folks,


Debian Etch
roundcubemail-0.1

Problem on running Roundcube webmail

http://satimis.com/roundcube/index.php
http://www.satimis.com/roundcube/index.php
http://www.satimis.com/index.php
404 - Not Found


http://satimis.com
http://www.satimis.com
Index of /
NameLast Modified   SizeType
Parent Directory/   -   Directory
lighttpd/1.4.13


Please advise how to fix the problem.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Problem on running telnet to send mail

2008-09-27 Thread Stephen Liu
Hi folks,


Debian Etch
postfix-mysql 
mysql-server 
dovecot-imapd


Encounter problem on running telnet to send mail.


$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
HELO satimis.com
ehlo localhost
ehlo satimis.com

all above have no response.


Please advise where shall I check and how to fix the problem.  TIA


B.R.
Stephen L


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running telnet to send mail

2008-09-27 Thread Stephen Liu

--- Ron Johnson <[EMAIL PROTECTED]> wrote:

> On 09/27/08 10:28, Stephen Liu wrote:
> > Hi folks,
> > 
> > 
> > Debian Etch
> > postfix-mysql 
> > mysql-server 
> > dovecot-imapd
> > 
> > 
> > Encounter problem on running telnet to send mail.
> > 
> > 
> > $ telnet localhost 25
> > Trying 127.0.0.1...
> > Connected to localhost.localdomain.
> > Escape character is '^]'.
> > HELO satimis.com
> > ehlo localhost
> > ehlo satimis.com
> > 
> > all above have no response.
> > 
> > 
> > Please advise where shall I check and how to fix the problem.  TIA
> 
> Are you sure that postfix is running properly?
> 
> $ telnet localhost 25
> Trying 127.0.0.1...
> Connected to ip6-localhost.
> Escape character is '^]'.
> 220 haggis.homelan ESMTP Postfix (Debian/GNU)
> HELO haggis
> 250 haggis.homelan
> quit
> 221 2.0.0 Bye
> Connection closed by foreign host.
> 


Hi Ron,


Just ran;

$ sudo /etc/init.d/postfix start
Password:
Starting Postfix Mail Transport Agent: postfix.


$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.

Stop here.  Still the same.


B.R.
Stephen L





Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on running telnet to send mail

2008-09-27 Thread Stephen Liu

--- Ron Johnson <[EMAIL PROTECTED]> wrote:

> On 09/27/08 10:28, Stephen Liu wrote:
> > Hi folks,
> > 
> > 
> > Debian Etch
> > postfix-mysql 
> > mysql-server 
> > dovecot-imapd
> > 
> > 
> > Encounter problem on running telnet to send mail.
> > 
> > 
> > $ telnet localhost 25
> > Trying 127.0.0.1...
> > Connected to localhost.localdomain.
> > Escape character is '^]'.
> > HELO satimis.com
> > ehlo localhost
> > ehlo satimis.com
> > 
> > all above have no response.
> > 
> > 
> > Please advise where shall I check and how to fix the problem.  TIA
> 
> Are you sure that postfix is running properly?
> 
> $ telnet localhost 25
> Trying 127.0.0.1...
> Connected to ip6-localhost.
> Escape character is '^]'.
> 220 haggis.homelan ESMTP Postfix (Debian/GNU)
> HELO haggis
> 250 haggis.homelan
> quit
> 221 2.0.0 Bye
> Connection closed by foreign host.


Hi Ron,


Further to my late email posting.  I found follow;


$ tail /var/log/mail.log
Sep 27 15:57:51 satimis postfix/master[1409]: warning:
/usr/lib/postfix/smtpd: b ad command startup -- throttling
Sep 27 15:58:22 satimis postfix/cleanup[2271]: fatal: open
/etc/postfix/mysql-vi rtual-alias-maps.cf: No such file or directory
Sep 27 15:58:23 satimis postfix/master[1409]: warning: process
/usr/lib/postfix/ cleanup pid 2271 exit status 1
Sep 27 15:58:24 satimis postfix/master[1409]: warning:
/usr/lib/postfix/cleanup:  bad command startup -- throttling
Sep 27 15:58:51 satimis postfix/smtpd[2272]: fatal: open
/etc/postfix/mysql-virt ual-alias-maps.cf: No such file or directory
Sep 27 15:58:52 satimis postfix/master[1409]: warning: process
/usr/lib/postfix/ smtpd pid 2272 exit status 1
Sep 27 15:58:52 satimis postfix/master[1409]: warning:
/usr/lib/postfix/smtpd: b ad command startup -- throttling
Sep 27 15:59:23 satimis postfix/cleanup[2274]: fatal: open
/etc/postfix/mysql-vi rtual-alias-maps.cf: No such file or directory
Sep 27 15:59:24 satimis postfix/master[1409]: warning: process
/usr/lib/postfix/ cleanup pid 2274 exit status 1
Sep 27 15:59:24 satimis postfix/master[1409]: warning:
/usr/lib/postfix/cleanup:  bad command startup -- throttling


Where shall I check?  Thanks


B.R.
Stephen


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Installation problem

2006-07-25 Thread Stephen Liu
Hi folks,

I ran "debian-31r0a-amd64-netinst" CD installer to install Debian.  The
installation went throught without problem.  But the onboard LAN card
can't be detected.  Neither can I select the right driver from the
list.

Motherboard - ASUS
Model - A8N-VM-UAYGZ

After booting and login as root.

ran
# pppoeconf
requesting to run "modconf".  Selecting "OK" without response.

Neither running
# modconf
can work.

Please advise how to preceed finishing the complete installation.  TIA

B.R.
SL


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



Re: Installation problem

2006-07-26 Thread Stephen Liu
Hi Thierry,
  
> I dont really follow your problem: if you managed to make a
> netinstall, 
> then you lan was detected at install time, and you dont need to do 
> anything more to connect to your net. Pls explain more what is
> happening.

I ran "debian-31r0a-amd64-netinst" CD installer to install Debian.  It
went through without much problem except failing detecting the onboard
LAN.  I tried some drivers on the list without result. 

On reboot it booted to login screen, a black screen.  I think it is on
Runlevel 3.  After login as "root" I issued "startx".  X window failed
to start.  Then I continue to run;

# pppoeconf

trying to connect broadband to run apt-get downloading the rest
components.  It popup a window requesting to execute "modconf" to
detect LAN card driver.  On clicking [OK] it did not response. 
Therefore I closed the window and ran;

# modconf
on the black screen.  It also did not response on hitting [Return].  

That was my problem.

Tks.

B.R.
SL


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



Re: Installation problem

2006-07-26 Thread Stephen Liu
Hi Thierry, 

Tks for your URL.

> I see your problem now. Maybe you should try to re-install using 
> something newer than what you have. You can safely install a testing 
> machine using the following link:
>
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso
> 

download it and have the ISO image burned on CD.  Sorry still no
chance, LAN card could not be detected leaving me no opportunity to
hookup the mirror site downloading other packages.  I'm now running a
minimal installation.  I have only 2 choices;

1) get a PCI network card
Or
2) download the full version on 2 DVD

# pppoeconf
did not work on this version.  What command shall I run to configure
ADSL connection?  Tks.

Besides I run "installgui" and can't control partitioning the HD with
LVM.  I set up;

HD - 40G

P-partition / 8G
logical partition /home 10G
Logical partition swap 1G

the remaining capacity as free space.  All partition on ext3

Any advice?  TIA

B.R.
SL


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



Re: Installation problem

2006-07-26 Thread Stephen Liu
Hi Thierry Chatelet <[EMAIL PROTECTED]> wrote:

> Can you post the output of lspci?

# lspci
-bash : command not found

Sorry.

I have another SATA HD on this PC running FC5_64

# lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a2)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev
a2)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev
a2)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller
(rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio
(rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTra nsport Technology
Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address  Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Con troller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscella neous Control
03:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce
6600] (rev a 2)
* * * end * * *

Onboard LAN driver;
nVidia Corporation MCP51Ethernet Controller


B.R.
SL



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



Re: Installation problem

2006-07-26 Thread Stephen Liu
Hi Patrick,

Tks for your advice.



> When I installed on a Asus A8N mobo I had to install the onboard 
> ethernet drivers from the cd that came with the board.

I found it on the CD coming with Asus A8N modo.

Under Drivers/Chipset/Drivers/64bit/VM/Ethernet/NDIS/MCP51/nvpxes.nic

I think it is the driver which I need.  On that PC I have another SATA
HD running FC5_64.  The driver for onboard LAN is "nVidia Corporation
MCP51 Ethernet Controller".

But I have no idea how to install it.  What command shall I run to
start pppoe configuration?

# pppoeconf
did not work on this "test" version.

TIA

B.R.
SL


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



command question

2006-07-27 Thread Stephen Liu
Hi folks,

What commands on Debian equivalent to "yum list installed package_name"
OR "rpm -qa | grep package-name" to find out whether the package has
been installed.

TIA

B.R.
SL


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



Re: command question

2006-07-28 Thread Stephen Liu
Hi Zane and folks,

Your advice noted with tks.

B.R.
SL

> Hello,
> 
> On Thu, Jul 27, 2006 at 09:39:40PM +0800, Stephen Liu wrote:
> | Hi folks,
> | 
> | What commands on Debian equivalent to "yum list installed
> package_name"
> | OR "rpm -qa | grep package-name" to find out whether the package
> has
> | been installed.
> 
> 
> `dpkg -l' or `dpkg --list' will list all installed packages.  You
> can also pass package-name-pattern arguments.  From `dpkg --help':
> 
> ...
> dpkg -l|--list [ ...]   list packages concisely
> ...
> 
> Also see the manual page, dpkg(8).
> 
> Best regards,
> 
> -- 
> Zane Dodson
> 
> 
> -- 
> 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]



How to setup ADSL broadband connection

2006-07-28 Thread Stephen Liu
Hi folks,

Debian-Testing-amd64-netinst.iso

How to make ADSL broadband connnection.


Now I have a PCI ethernet installed, not to use the onboard LAN
# dmesg | grep eth
eth0: RealTel RTL8139 at 0xc2002c00, 00:50:fc:6c:70:f7, IRQ5
eth0:  Identified 8139 chip type  'RTL-8139C'
* * * end * * *


To my surprise I failed to mount floppy.  Its entry is already on
/etc/fstab;
..
/dev/fd0   /media/floppy0   auto   rw,user,noauto  0  0
* end *
Therefore I have to copy the output by hand.


# lspci
-bash: lspci: command not found.


# uame -a
Linux debian 2.6.16-2-amd64-generic #1 Sun Jul 16 01:12:23 CEST 2006
x86_64 GNU/Linux
* * * end  * * *


I tried to run;
# pppoeconf
# adsl-setup
etc.
Non of them can work debian, this version.  The PC is connected to a
ADSL modem, only dynamic IP supplied.

Please advise which command shall I run to make connection.  Afterwards
what command shall I run to download and install the remaining
packages?  Can I select packages to download?

TIA

B.R.
SL


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



Re: How to setup ADSL broadband connection

2006-07-28 Thread Stephen Liu
Hi George,

Tks for your advice.

My problem is the PC is completely cut out of connection to Internet.

# aptitude install pciutils
had no effect.

I found;

/media/cdrom0/pool/main/p/pciutils/pciutils-udeb_2.2.1-2_amd64.udeb

the file there.  Would this is the right package?  If YES, how to get
it installed.  TIA

B.R.
SL



> Stephen Liu wrote:
> > 
> > # lspci
> > -bash: lspci: command not found.
> 
> This is in the pciutils package (so "aptitude install pciutils")
> 
> 
> Hope this helps,
> 
> -- 
> George Borisov
> 
> DXSolutions Ltd
> 
> 


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



Re: apt-get cannot conect to server

2009-01-04 Thread Stephen Liu

--- "Eugene V. Lyubimkin"  wrote:

> Stephen Liu wrote:
> > Hi folks,
> > 
> > 
> > I also have problem running apt-get update.
> > 
> > 
> > # apt-get update
> > Get:1 http://security.debian.org etch/updates Release.gpg [189B]
> > Hit http://security.debian.org etch/updates Release
> > Get:2 http://www.backports.org etch-backports Release.gpg [189B]
> > Ign http://security.debian.org etch/updates/main Packages/DiffIndex
> > Hit http://www.backports.org etch-backports Release
> > Ign http://security.debian.org etch/updates/contrib
> Packages/DiffIndex
> > Ign http://security.debian.org etch/updates/main Sources/DiffIndex
> > Hit http://www.backports.org etch-backports/main Packages/DiffIndex
> > Ign http://security.debian.org etch/updates/contrib
> Sources/DiffIndex
> > Hit http://security.debian.org etch/updates/main Packages
> > Hit http://security.debian.org etch/updates/contrib Packages
> > Hit http://www.backports.org etch-backports/contrib
> Packages/DiffIndex
> > Hit http://security.debian.org etch/updates/main Sources
> > Hit http://security.debian.org etch/updates/contrib Sources
> > Hit http://www.backports.org etch-backports/contrib Packages
> > Err http://ftp.au.debian.org etch Release.gpg
> >   Cannot initiate the connection to ftp.au.debian.org:80
> > (2001:388:1034:2900::25). - connect (101 Network is unreachable)
> [IP:
> > 2001:388:1034:2900::25 80]
> > Ign http://ftp.au.debian.org etch Release
> > 99% [Connecting to ftp.au.debian.org (150.203.164.37)]
> > 
> > 
> > It just hangs there.  It happens for 24 hours.  Any advice.  TIA
> Try to disable IPv6?


Hi Eugene,


Thanks for your advice.


Performed following steps;

Edit /etc/modprobe.d/aliases

commenting out the line;
#alias net-pf-10 ipv6


# update-modules
No complaint

# reboot

# apt-get update
Get:1 http://www.backports.org etch-backports Release.gpg [189B]
Get:2 http://security.debian.org etch/updates Release.gpg [189B]
Hit http://www.backports.org etch-backports Release
Hit http://security.debian.org etch/updates Release
Hit http://www.backports.org etch-backports/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Hit http://www.backports.org etch-backports/contrib Packages/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://www.backports.org etch-backports/contrib Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/contrib Sources
99% [Connecting to ftp.au.debian.org (150.203.164.37)]

Hanging here.

Problem still remains.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: apt-get cannot conect to server

2009-01-04 Thread Stephen Liu

--- "Eugene V. Lyubimkin"  wrote:

> Stephen Liu wrote:
> [snip]
> > 99% [Connecting to ftp.au.debian.org (150.203.164.37)]
> > 
> > Hanging here.
> > 
> > Problem still remains.
> Looks like something similar to
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505092.
> Which is still unreproducible for me :(. Please also look for the
> advice at
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505092#32 and see if
> it's your situation.
> Otherwise please submit your original report with update log to this
> bug thread so it
> won't lost.


Hi Eugene,


Most likely the problem came from the mirror site.


After changing;
#deb http://ftp.au.debian.org/debian/ etch main
deb http://ftp.debian.org/debian/ etch main
#deb-src http://ftp.au.debian.org/debian/ etch main
deb-src http://ftp.debian.org/debian/ etch main


Uncomment following line on /etc/modprobe.d/aliases;
alias net-pf-10 ipv6

# update-modules
# reboot

# apt-get update
works without problem


B.R.
Stephen L



Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: apt-get cannot conect to server

2009-01-04 Thread Stephen Liu

--- Arthur Marsh  wrote:

> Stephen Liu wrote, on 2009-01-05 00:20:
> > --- "Eugene V. Lyubimkin"  wrote:
> > 
> >> Stephen Liu wrote:
> >>> Hi folks,
> >>>
> >>>
> >>> I also have problem running apt-get update.
> >>>
> >>>
> >>> # apt-get update
> >>> Get:1 http://security.debian.org etch/updates Release.gpg [189B]
> >>> Hit http://security.debian.org etch/updates Release
> >>> Get:2 http://www.backports.org etch-backports Release.gpg [189B]
> >>> Ign http://security.debian.org etch/updates/main
> Packages/DiffIndex
> >>> Hit http://www.backports.org etch-backports Release
> >>> Ign http://security.debian.org etch/updates/contrib
> >> Packages/DiffIndex
> >>> Ign http://security.debian.org etch/updates/main
> Sources/DiffIndex
> >>> Hit http://www.backports.org etch-backports/main
> Packages/DiffIndex
> >>> Ign http://security.debian.org etch/updates/contrib
> >> Sources/DiffIndex
> >>> Hit http://security.debian.org etch/updates/main Packages
> >>> Hit http://security.debian.org etch/updates/contrib Packages
> >>> Hit http://www.backports.org etch-backports/contrib
> >> Packages/DiffIndex
> >>> Hit http://security.debian.org etch/updates/main Sources
> >>> Hit http://security.debian.org etch/updates/contrib Sources
> >>> Hit http://www.backports.org etch-backports/contrib Packages
> >>> Err http://ftp.au.debian.org etch Release.gpg
> >>>   Cannot initiate the connection to ftp.au.debian.org:80
> >>> (2001:388:1034:2900::25). - connect (101 Network is unreachable)
> >> [IP:
> >>> 2001:388:1034:2900::25 80]
> >>> Ign http://ftp.au.debian.org etch Release
> >>> 99% [Connecting to ftp.au.debian.org (150.203.164.37)]
> >>>
> >>>
> >>> It just hangs there.  It happens for 24 hours.  Any advice.  TIA
> >> Try to disable IPv6?
> > 
> > 
> > Hi Eugene,
> > 
> > 
> > Thanks for your advice.
> > 
> > 
> > Performed following steps;
> > 
> > Edit /etc/modprobe.d/aliases
> > 
> > commenting out the line;
> > #alias net-pf-10 ipv6
> > 
> > 
> > # update-modules
> > No complaint
> > 
> > # reboot
> > 
> > # apt-get update
> > Get:1 http://www.backports.org etch-backports Release.gpg [189B]
> > Get:2 http://security.debian.org etch/updates Release.gpg [189B]
> > Hit http://www.backports.org etch-backports Release
> > Hit http://security.debian.org etch/updates Release
> > Hit http://www.backports.org etch-backports/main Packages/DiffIndex
> > Ign http://security.debian.org etch/updates/main Packages/DiffIndex
> > Ign http://security.debian.org etch/updates/contrib
> Packages/DiffIndex
> > Ign http://security.debian.org etch/updates/main Sources/DiffIndex
> > Ign http://security.debian.org etch/updates/contrib
> Sources/DiffIndex
> > Hit http://www.backports.org etch-backports/contrib
> Packages/DiffIndex
> > Hit http://security.debian.org etch/updates/main Packages
> > Hit http://www.backports.org etch-backports/contrib Packages
> > Hit http://security.debian.org etch/updates/contrib Packages
> > Hit http://security.debian.org etch/updates/main Sources
> > Hit http://security.debian.org etch/updates/contrib Sources
> > 99% [Connecting to ftp.au.debian.org (150.203.164.37)]
> > 
> > Hanging here.
> > 
> > Problem still remains.
> > 
> > 
> > B.R.
> > Stephen L
> 
> I can't recommend ftp.au.debian.org - the site is overloaded too
> often.
> 
> There is my isp's mirror: ftp://mirror.internode.on.net/debian/ 
> otherwise I have used ftp.at.debian.org (yes, Austria).


Hi Arthur,


After changing the URL to;
deb http://ftp.debian.org/debian/ etch main
deb-src http://ftp.debian.org/debian/ etch main


# apt-get update

went through without problem.  

I think the cause of problem is on;
ftp.au.debian.org


B.R.
Stephen L


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: apt-get cannot conect to server

2009-01-04 Thread Stephen Liu
Hi folks,


I also have problem running apt-get update.


# apt-get update
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Hit http://security.debian.org etch/updates Release
Get:2 http://www.backports.org etch-backports Release.gpg [189B]
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Hit http://www.backports.org etch-backports Release
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Hit http://www.backports.org etch-backports/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://www.backports.org etch-backports/contrib Packages/DiffIndex
Hit http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/contrib Sources
Hit http://www.backports.org etch-backports/contrib Packages
Err http://ftp.au.debian.org etch Release.gpg
  Cannot initiate the connection to ftp.au.debian.org:80
(2001:388:1034:2900::25). - connect (101 Network is unreachable) [IP:
2001:388:1034:2900::25 80]
Ign http://ftp.au.debian.org etch Release
99% [Connecting to ftp.au.debian.org (150.203.164.37)]


It just hangs there.  It happens for 24 hours.  Any advice.  TIA


B.R.
Stephen OL

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: mousewheel scroll

2009-01-04 Thread Stephen Liu

--- Hugo Vanwoerkom  wrote:

> Hi,
> 
> On Sid, using the evdev mousedriver in xorg.conf, scrolling is
> terrible.
> It just is unworkable. Have to use the scrollbar.
> 
> Unfortunately using FF on XP under VMware it's terrific.
> 
> Anybody have good experiences with mousewheel scroll?
> 
> What driver do you use?
> 
> Update the driver?
> 
> h...@debian:~$ apt-cache policy xserver-xorg-input-evdev
> xserver-xorg-input-evdev:
>Installed: 1:1.2.0-1
>Candidate: 1:2.0.8-1
>Version table:
>   1:2.0.8-1 0
>  500 http://ftp.de.debian.org unstable/main Packages
>   *** 1:1.2.0-1 0
>  100 /var/lib/dpkg/status


Hi Hugo,


I'm not quite sure what difficult you have encountered.  I learned a
bitter experience on mouse before, almost unable to control it.  Later
I found a scanning program taking up >96% CPU usage.  Please run "top"
on terminal to check whether is there any program taking up large CPU
resource.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: apt-get cannot conect to server

2009-01-04 Thread Stephen Liu

--- Andrei Popescu  wrote:

> On Sun,04.Jan.09, 22:23:08, Stephen Liu wrote:
>  
> > After changing the URL to;
> > deb http://ftp.debian.org/debian/ etch main
> > deb-src http://ftp.debian.org/debian/ etch main
> > 
> > # apt-get update
> > 
> > went through without problem.  
> > 
> > I think the cause of problem is on;
> > ftp.au.debian.org
> 
> Good to hear that you found the problem, but using ftp.debian.org is 
> *NOT* recommended. 


Hi Andrei,


Tried both of follows;

1)
deb http://ftp.hk.debian.org/debian/ etch main
deb-src http://ftp.hk.debian.org/debian/ etch main


2)
deb ftp://ftp.debianclub.org/debian/ etch main
deb-src ftp://ftp.debianclub.org/debian/ etch main


They work without problem


Better use apt-spy or any similar tool to pick a
> good 
> mirror.


# apt-spy -d stable -a asia

Following sites have better download speed;

SERVER: www.anheng.com.cn
Benchmarking FTP...
Downloaded 449280 bytes in 17.09 seconds
Download speed: 25.68 kB/sec
Benchmarking HTTP...
Downloaded 2789011 bytes in 15.18 seconds
Download speed: 179.46 kB/sec


SERVER: ftp.hk.debian.org
Benchmarking FTP...
Downloaded 2859904 bytes in 16.51 seconds
Download speed: 169.21 kB/sec
Benchmarking HTTP...
Downloaded 2422304 bytes in 15.38 seconds
Download speed: 153.79 kB/sec


SERVER: ftp.iitm.ac.in
Benchmarking FTP...
Error: Connection time-out
Benchmarking HTTP...
Downloaded 2461032 bytes in 15.40 seconds
Download speed: 156.02 kB/sec


SERVER: ftp.debianclub.org
Benchmarking FTP...
Downloaded 2790720 bytes in 16.80 seconds
Download speed: 162.22 kB/sec
Benchmarking HTTP...
Downloaded 2489508 bytes in 15.94 seconds
Download speed: 152.53 kB/sec

I have no idea on peak.


B.R.
Stephen :

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: apt-get cannot conect to server

2009-01-04 Thread Stephen Liu

--- Bob Cox  wrote:

> On Sun, Jan 04, 2009 at 20:48:01 +0200, Andrei Popescu
> (andreimpope...@gmail.com) wrote: 
> 
> > On Sun,04.Jan.09, 22:23:08, Stephen Liu wrote:
> >  
> > > After changing the URL to;
> > > deb http://ftp.debian.org/debian/ etch main
> > > deb-src http://ftp.debian.org/debian/ etch main
> > > 
> > > # apt-get update
> > > 
> > > went through without problem.  
> > > 
> > > I think the cause of problem is on;
> > > ftp.au.debian.org
> > 
> > Good to hear that you found the problem, but using ftp.debian.org
> is 
> > *NOT* recommended. Better use apt-spy or any similar tool to pick a
> good 
> > mirror.
> 
> I think Stephen is in Singapore (at least that's where the ISP is) so
> maybe the Hong Kong mirror site might be appropriate -
> http://ftp.hk.debian.org/debian/


Hi Bob,


Your advice noted.  Thanks


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: apt-get cannot conect to server

2009-01-04 Thread Stephen Liu

--- NN_il_Confusionario  wrote:

> On Sun, Jan 04, 2009 at 08:48:01PM +0200, Andrei Popescu wrote:
> > On Sun,04.Jan.09, 22:23:08, Stephen Liu wrote:
> > > I think the cause of problem is on;
> > > ftp.au.debian.org
> > 
> > Good to hear that you found the problem,
> 
> quite possibly the problem was NOT correctly understood. Given that
> 
> ftp.au.debian.org   CNAME   mirror.linux.org.au
> 
> and that
> 
> mirror.linux.org.au A   150.203.164.37
> mirror.linux.org.au 2001:388:1034:2900:0:0:0:25
> 
> and that apt-get was connecting to a wrong ipv4 IP, this seems
> _exactly_
> the same thing as the problem cited in
> 
> http://blog.bofh.it/
> 
> section "ftp.it.debian.org non è 32.1.20.24" (in italian, but it has
> links in english such as
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435646 )


Hi,


Thanks for your URLs.


Strangely only "ftp.au.debian.org" got problem.  Other mirrors which I
tried, don't have problem.


Neither I have glibc installed.  libc6 is the latest version on Debian
repo


B.R.
Stephen 

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: apt-get cannot conect to server

2009-01-05 Thread Stephen Liu

--- NN_il_Confusionario  wrote:

> On Mon, Jan 05, 2009 at 12:27:20PM +0800, Stephen Liu wrote:
> > Strangely only "ftp.au.debian.org" got problem.  Other mirrors
> which I
> > tried, don't have problem.
> 
> if the other mirrors do not have a ipv6 dns record there is nothing
> strange about this 
>  
> > Neither I have glibc installed.  libc6 is the latest version on
> Debian
> > repo
> 
> this problem can also exist in the resolver library of your router
> (especially when it also acts as dhcp and/or caching dns server)
> 
> Setting the correct ipv4 address of ftp.au.debian.org in /etc/hosts
> might help (depending also upon /etc/nsswitch.conf and other glibc
> configuration files). Using the OpenDNS servers (or other sane dns
> servers) in /etc/resolv.conf instead of a buggy caching dns (if any)
> might also help. But only if your resolver library is not buggy.


Hi,


Thanks for your advice.


ftp.au.debian.org have fixed their server.  Now "apt-get update" works
without problem.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



how to set up sound

2009-01-12 Thread Stephen Liu
Hi folks,


Debian Etch - Workstation as host OS on Xen


Debian has been running as host OS on a Xen box, a server box, for
something without problem.  I don't need sound on server therefore I
didn't care whether it works or not.  On googling technical document
some websites have sound.  Therefore I'm trying to setup sound on it. 
Please advise where shall I check and how to add sound.  TIA


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



how to set up sound

2009-01-12 Thread Stephen Liu
Hi folks,


Debian Etch - Workstation as host OS on Xen


Debian has been running as host OS on a Xen box, a server box, for
something without problem.  I don't need sound on server therefore I
didn't care whether it works or not.  On googling technical document
some websites have sound.  Therefore I'm trying to setup sound on it. 
Please advise where shall I check and how to add sound.  TIA


B.R.
Stephen 

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: how to set up sound

2009-01-13 Thread Stephen Liu

--- Javier Barroso  wrote:

> On Tue, Jan 13, 2009 at 3:17 AM, Stephen Liu 
> wrote:
> > Hi folks,
> >
> >
> > Debian Etch - Workstation as host OS on Xen
> >
> >
> > Debian has been running as host OS on a Xen box, a server box, for
> > something without problem.  I don't need sound on server therefore
> I
> > didn't care whether it works or not.  On googling technical
> document
> > some websites have sound.  Therefore I'm trying to setup sound on
> it.
> > Please advise where shall I check and how to add sound.  TIA
> Did you mean getting sound inside domU , or I didn't understand  ?
> 
> If yes, you could take your pci inside your domU:
> http://www.wlug.org.nz/XenPciPassthrough


Hi Javier,


No.  All domUs are server.  They don't need sound.  I need sound on
dom0 only which are used to configure domU.  Occasionally I need
googling technical documents on it.  Therefore I try to setup sound
listening the sound clips integrated on their websites.  Thanks


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Networking problem

2008-10-02 Thread Stephen Liu
Hi folks,


I have 6 dumUs on Xen running Debian Etch including dum0.  Their
hostnames are;

dum0 - xen0.satimis.com
dumU1 - xen1.satimis.com
dumU2 - xen2.satimis.com
dumU3 - xen3.satimis.com IP - 192.168.0.113
etc.


xen3.satimis.com is a mail server.  It can send mails but unable
receive mails because Internet can't find its address.  Port 25 has
been forwarded to its IP already.  Is there any way solving the problem
instead of renaming its hostname as satimis.com?  Please advise.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Which package provides lvcreate

2008-10-13 Thread Stephen Liu
Hi folks,


Debian Etch


I need the tool lvcreate to create LV.  Please advise which of
following packages I have to install;

lvm-common
lvm2

???


Or I have to install both?  TIA


What are their main operation?


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Which package provides lvcreate

2008-10-13 Thread Stephen Liu

--- "Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:

> On Tue, Oct 14, 2008 at 11:37:39AM +0800, Stephen Liu wrote:
>  
> > I need the tool lvcreate to create LV.  Please advise which of
>  
> > What are their main operation?
> > 
> 
> For operational help for standard stuff, I always refer to the
> LVM-HOWTO.  Its available with all the other HOWTO's in
> doc-linux-html
> (available in other formats as well).


Whether you meant;

Chapter 5. Single list of HOWTOs
http://www.tldp.org/HOWTO/HOWTO-INDEX/howtos.html


> On etch, lvm2 depends on lvm-common.

Noted with thanks


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



About apt-file

2008-10-14 Thread Stephen Liu
Hi folks,


Etch


Reading man apt-file I can't resolve what flag to be up to find a
package which provides a named tool/command.

e.g. mysqladmin coming form mysql-server


Or any other packages will be more suitable for this job?


TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: About apt-file

2008-10-15 Thread Stephen Liu

--- Chris Burkhardt <[EMAIL PROTECTED]> wrote:

> Stephen Liu wrote:
> > Hi folks,
> > 
> > 
> > Etch
> > 
> > 
> > Reading man apt-file I can't resolve what flag to be up to find a
> > package which provides a named tool/command.
> > 
> > e.g. mysqladmin coming form mysql-server
> 
> apt-file search mysqladmin
> 
> apt-file search `which commandname`
> 
> but that might not be what you're asking for...
> 
> - Chris Burkhardt


Hi Chris,


$ apt-file find mysqladmin
$ apt-file search mysqladmin
$ apt-file list mysqladmin
$ apt-file show mysqladmin

All without output


$ apt-file search `which mysqladmin`
apt-file version 2.0.8.2
(c) 2002 Sebastien J. Gross <[EMAIL PROTECTED]>


apt-file [options] action [pattern]

Configuration options:
--sources-list  -ssources.list location
--cache -c Cache directory
--architecture  -aUse specific architecture
--cdrom-mount   -d   Use specific cdrom mountpoint
--package-only  -l  Only display packages name
--fixed-string  -F  Do not expand pattern
--ignore-case   -i  Ignore case distinctions
--regexp-x  pattern is a regular expression
--verbose   -v  run in verbose mode
--dummy -y  run in dummy mode (no action)
--help  -h  Show this help.
--version   -V  Show version number

Action:
update  Fetch Contents files from apt-sources.
search|findSearch files in packages
list|show  List files in packages
purge   Remove cache files


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: About apt-file

2008-10-15 Thread Stephen Liu

--- David Fox <[EMAIL PROTECTED]> wrote:

> On Wed, Oct 15, 2008 at 3:15 AM, Stephen Liu <[EMAIL PROTECTED]>
> wrote:
> > I have wajig installed but don't know how to use it making search.
> > 'man wajig' is very simple not much info provided.
> 
> I get:
> 
> [EMAIL PROTECTED]:~$ wajig whichpkg mysqladmin
> JIG Warning: fping was not found. Consider installing the package
> fping.
> 
> File Path   Package
>
===-=
> INSTALLED
> /usr/share/mysql/mysql-test/r/mysqladmin.result
> mysql-server-5.0
> /usr/share/man/man1/mysqladmin.1.gz
> mysql-client-5.0
> /usr/bin/mysqladmin
> mysql-client-5.0
> /usr/share/mysql/mysql-test/t/mysqladmin.test  
> mysql-server-5.0
>
-
> 
> That tells me the mysqladmin binary is installed by the package
> mysql-client-5.0.
> 


Hi David,


Thanks for your advice.


What I'm looking for is the package providing the command 'mysqladmin'
if neither having MySQL installed nor knowing which package provides
mysqladmin.  I need to install that package.


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: About apt-file

2008-10-15 Thread Stephen Liu

--- Jochen Schulz <[EMAIL PROTECTED]> wrote:

> Stephen Liu:
> > 
> > What I'm looking for is the package providing the command
> 'mysqladmin'
> > if neither having MySQL installed nor knowing which package
> provides
> > mysqladmin.  I need to install that package.
> 
> What about a simple 'apt-cache search mysql admin'? It reveals there
> is
> a package named mysql-admin.
> 
> J.

Hi Jochen,


This is only an example.  We already know mysqladmin coming from
mysql-server/-client.  Therefore we can add mysql on the search.  In
some other case if we have no idea of the package.  We only know the
command/file.  How can we find the package?  "apt-cache search
command/file" doesn't always work.


B.R.
Stephen 



Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: About apt-file

2008-10-15 Thread Stephen Liu

--- David Fox <[EMAIL PROTECTED]> wrote:

> On Tue, Oct 14, 2008 at 5:47 PM, Stephen Liu <[EMAIL PROTECTED]>
> wrote:
> > Or any other packages will be more suitable for this job?
> 
> I prefer wajig over apt-file -
> 
> $ wajig whichfile
> 
> gives you packages that contain the specified file


Hi David,


Thanks for your advice.


I have wajig installed but don't know how to use it making search. 
'man wajig' is very simple not much info provided.


$ wajig list-commands
.
.
whichpkg   Find the package that supplies the given command or file


$ wajig whichpkg mysqladmin

generate several pages of output difficult to follow.
...
...
A full-featured web search engine (MySQL)
A full-featured web search engine (postgresql)
A full-featured web search engine (SQLite)
etc.


Could you please shed me some light?  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: About apt-file

2008-10-15 Thread Stephen Liu

--- Johannes Wiedersich <[EMAIL PROTECTED]> wrote:

> On 2008-10-15 12:24, Stephen Liu wrote:
> > $ apt-file find mysqladmin
> > $ apt-file search mysqladmin
> > $ apt-file list mysqladmin
> > $ apt-file show mysqladmin
> > 
> > All without output
> 
> You have to run 'apt-file update' in order to populate apt-file's
> data
> base. Read 'man apt-file'.
> 
> Johannes


Hi Johannes,


Thanks for your advice.  I got it done.


Now;

$ apt-file list mysqladmin
$ apt-file show mysqladmin
Both without printout


$ apt-file search mysqladmin
autoconf-archive: usr/share/autoconf-archive/ac_prog_mysqladmin.m4
autoconf-archive:
usr/share/doc/autoconf-archive/htmldoc/ac_prog_mysqladmin.html
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_health.xml
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_startup_variables_description.dtd
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_startup_variables_description.xml
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_status_variables.xml
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_system_variables.xml
mysql-client-5.0: usr/bin/mysqladmin
mysql-client-5.0: usr/share/man/man1/mysqladmin.1.gz
mysql-server-5.0: usr/share/mysql/mysql-test/r/mysqladmin.result
mysql-server-5.0: usr/share/mysql/mysql-test/t/mysqladmin.test
otrs-doc-de:
usr/share/doc/otrs-doc-de/html/images/winmysqladmin_green.png
otrs-doc-de:
usr/share/doc/otrs-doc-de/html/images/winmysqladmin_red.png
otrs-doc-de:
usr/share/doc/otrs-doc-de/html/images/winmysqladmin_yellow.png
otrs-doc-en:
usr/share/doc/otrs-doc-en/html/images/winmysqladmin_green.png
otrs-doc-en:
usr/share/doc/otrs-doc-en/html/images/winmysqladmin_red.png
otrs-doc-en:
usr/share/doc/otrs-doc-en/html/images/winmysqladmin_yellow.png


$ apt-file find mysqladmin
autoconf-archive: usr/share/autoconf-archive/ac_prog_mysqladmin.m4
autoconf-archive:
usr/share/doc/autoconf-archive/htmldoc/ac_prog_mysqladmin.html
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_health.xml
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_startup_variables_description.dtd
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_startup_variables_description.xml
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_status_variables.xml
mysql-admin-common:
usr/share/mysql-gui/administrator/mysqladmin_system_variables.xml
mysql-client-5.0: usr/bin/mysqladmin
mysql-client-5.0: usr/share/man/man1/mysqladmin.1.gz
mysql-server-5.0: usr/share/mysql/mysql-test/r/mysqladmin.result
mysql-server-5.0: usr/share/mysql/mysql-test/t/mysqladmin.test
otrs-doc-de:
usr/share/doc/otrs-doc-de/html/images/winmysqladmin_green.png
otrs-doc-de:
usr/share/doc/otrs-doc-de/html/images/winmysqladmin_red.png
otrs-doc-de:
usr/share/doc/otrs-doc-de/html/images/winmysqladmin_yellow.png
otrs-doc-en:
usr/share/doc/otrs-doc-en/html/images/winmysqladmin_green.png
otrs-doc-en:
usr/share/doc/otrs-doc-en/html/images/winmysqladmin_red.png
otrs-doc-en:
usr/share/doc/otrs-doc-en/html/images/winmysqladmin_yellow.png


Both outputs are similar.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Problem on receiving mails

2008-10-16 Thread Stephen Liu
Hi folks,


Debian Etch
Postfix
Courier
MySQL


The mail server can send mails via telnet but unable to receive mails. 
All mails sent to [EMAIL PROTECTED] were rejected.


$ tail /var/log/mail.log
Oct 16 09:16:13 xen01 postfix/smtpd[1651]: connect from
web35208.mail.mud.yahoo.com[66.163.179.87]
Oct 16 09:16:14 xen01 postfix/smtpd[1651]: 51DD82055B:
client=web35208.mail.mud.yahoo.com[66.163.179.87]
Oct 16 09:16:15 xen01 postfix/cleanup[1655]: 51DD82055B:
message-id=<[EMAIL PROTECTED]>
Oct 16 09:16:15 xen01 postfix/qmgr[1574]: 51DD82055B:
from=<[EMAIL PROTECTED]>, size=1339, nrcpt=1 (queue active)
Oct 16 09:16:15 xen01 postfix/smtp[1656]: 51DD82055B:
to=<[EMAIL PROTECTED]>, relay=none, delay=1.1,
delays=1.1/0.01/0.05/0, dsn=5.4.4, status=bounced (Host or domain name
not found. Name service error for name=mail.satimis.com type=A: Host
not found)
Oct 16 09:16:15 xen01 postfix/cleanup[1655]: 358402056B:
message-id=<[EMAIL PROTECTED]>
Oct 16 09:16:15 xen01 postfix/qmgr[1574]: 358402056B: from=<>,
size=3309, nrcpt=1 (queue active)
Oct 16 09:16:15 xen01 postfix/bounce[1658]: 51DD82055B: sender
non-delivery notification: 358402056B
Oct 16 09:16:15 xen01 postfix/qmgr[1574]: 51DD82055B: removed
Oct 16 09:16:15 xen01 postfix/smtpd[1651]: disconnect from
web35208.mail.mud.yahoo.com[66.163.179.87]


# hostname -f
xen01.satimis.com



# postmap -q [EMAIL PROTECTED]/email]
mysql:/etc/postfix/mysql-virtual_domains.cf
# postmap -q [EMAIL PROTECTED]/email]
mysql:/etc/postfix/mysql-virtual_transports.cf
# postmap -q [EMAIL PROTECTED]/email]
mysql:/etc/postfix/mysql-virtual_forwardings.cf

all without printout


# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_size_limit = 0
mydestination = xen01.satimis.com, mail.satimis.com, localhost,
localhost.localdomain
myhostname = xen01.satimis.com
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
proxy_read_maps = $local_recipient_maps $mydestination
$virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps
$virtual_mailbox_domains $relay_recipient_maps $relay_domains
$canonical_maps $sender_canonical_maps $recipient_canonical_maps
$relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_session_cache_database =
btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps =
proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_create_maildirsize = yes
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains =
proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit_maps =
proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps =
proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_maildir_limit_message = "The user you are trying to reach is
over quota."
virtual_overquota_bounce = yes
virtual_uid_maps = static:5000


Please help.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on receiving mails

2008-10-16 Thread Stephen Liu

--- Andrei Popescu <[EMAIL PROTECTED]> wrote:

> On Thu,16.Oct.08, 19:03:13, Stephen Liu wrote:
>  
> [...]
> 
> > The mail server can send mails via telnet but unable to receive
> mails. 
> > All mails sent to [EMAIL PROTECTED] were rejected.
> [...] 
> > # postconf -n
> > alias_database = hash:/etc/aliases
> > alias_maps = hash:/etc/aliases
> > append_dot_mydomain = no
> > biff = no
> > broken_sasl_auth_clients = yes
> > config_directory = /etc/postfix
> > inet_interfaces = all
> > mailbox_size_limit = 0
> > mydestination = xen01.satimis.com, mail.satimis.com, localhost,
> 
> I'm  not an expert, but my *guess* is that you need to add
> 'satimis.com' 
> here as you are trying to send mail to [EMAIL PROTECTED], not 
> [EMAIL PROTECTED] IIRC postfix will also take wildcards
> like: 
> '*satimis.com'. But I could be totally mistaken, as I have never run
> a 
> public mail server.
> 
> HTH,
> Andrei


Hi Andrei,


It doeen't help.  I tried it before.  Your advice works on Unix mailbox
but NOT on virtual domain. 


I just added "mail.satimis.com" there to check.  So you read it on my
previous posting.  Adding it there doesn't help. I'll remove it.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on receiving mails

2008-10-16 Thread Stephen Liu

--- Bob Cox <[EMAIL PROTECTED]> wrote:

> On Thu, Oct 16, 2008 at 19:03:13 +0800, Stephen Liu
> ([EMAIL PROTECTED]) wrote: 
> 
> > Hi folks,
> > 
> > 
> > Debian Etch
> > Postfix
> > Courier
> > MySQL
> > 
> > 
> > The mail server can send mails via telnet but unable to receive
> mails. 
> > All mails sent to [EMAIL PROTECTED] were rejected.
> 
> [EMAIL PROTECTED]:~$ host satimis.com
> satimis.com has address 220.232.213.178
> satimis.com mail is handled by 10 xen01.satimis.com.
> satimis.com mail is handled by 20 smtp.secureserver.net.
> satimis.com mail is handled by 30 mailstore1.secureserver.net.
> 
> [EMAIL PROTECTED]:~$ host xen01.satimis.com
> xen01.satimis.com has address 220.232.213.178
> 
> [EMAIL PROTECTED]:~$ host mail.satimis.com
> Host mail.satimis.com not found: 3(NXDOMAIN)
> 
> > $ tail /var/log/mail.log
> [...]
> > Oct 16 09:16:15 xen01 postfix/smtp[1656]: 51DD82055B:
> > to=<[EMAIL PROTECTED]>, relay=none, delay=1.1,
> > delays=1.1/0.01/0.05/0, dsn=5.4.4, status=bounced (Host or domain
> name
> > not found. Name service error for name=mail.satimis.com type=A:
> Host
> > not found)
> 
> It looks like an incorrect MX is being used: mail.satimis.com, which
> appears not to exist, rather than xen01.satimis.com
> 
> Have you recently changed the MX records and perhaps the changes had
> not
> fully propagated?


Hi Bob,


You're correct.


2 days ago I changed the MX records from "mail" to "xen5" testing
another mail server running as guest on this Xen box.  That server runs
Unix mailbox.  It can send/receive mails w/o problem with recepient
address to [EMAIL PROTECTED]  But I need adding "satimis.com" to
mydestination.


About 1/2 hours ago I finished setup this mail server running virtual
domain, also as guest on this Xen box.  I changed MX to "xen01"
matching its hostname.  I'll change MX back to "mail" to see what will
happen.


Thanks


B.R.
Stephen L


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on receiving mails

2008-10-16 Thread Stephen Liu

--- Bob Cox <[EMAIL PROTECTED]> wrote:

> On Thu, Oct 16, 2008 at 19:03:13 +0800, Stephen Liu
> ([EMAIL PROTECTED]) wrote: 
> 
> > Hi folks,
> > 
> > 
> > Debian Etch
> > Postfix
> > Courier
> > MySQL
> > 
> > 
> > The mail server can send mails via telnet but unable to receive
> mails. 
> > All mails sent to [EMAIL PROTECTED] were rejected.
> 
> [EMAIL PROTECTED]:~$ host satimis.com
> satimis.com has address 220.232.213.178
> satimis.com mail is handled by 10 xen01.satimis.com.
> satimis.com mail is handled by 20 smtp.secureserver.net.
> satimis.com mail is handled by 30 mailstore1.secureserver.net.
> 
> [EMAIL PROTECTED]:~$ host xen01.satimis.com
> xen01.satimis.com has address 220.232.213.178
> 
> [EMAIL PROTECTED]:~$ host mail.satimis.com
> Host mail.satimis.com not found: 3(NXDOMAIN)
> 
> > $ tail /var/log/mail.log
> [...]
> > Oct 16 09:16:15 xen01 postfix/smtp[1656]: 51DD82055B:
> > to=<[EMAIL PROTECTED]>, relay=none, delay=1.1,
> > delays=1.1/0.01/0.05/0, dsn=5.4.4, status=bounced (Host or domain
> name
> > not found. Name service error for name=mail.satimis.com type=A:
> Host
> > not found)
> 
> It looks like an incorrect MX is being used: mail.satimis.com, which
> appears not to exist, rather than xen01.satimis.com
> 
> Have you recently changed the MX records and perhaps the changes had
> not
> fully propagated?
> 
> -- 
> Bob 


Hi Bob,


Further to my late email.


Change MX back to "mail"


Sent a mail to [EMAIL PROTECTED]


# tail /var/log/mail.log
Oct 16 13:07:04 xen01 postfix/qmgr[1976]: 299472055B:
from=<[EMAIL PROTECTED]>, size=1339, nrcpt=1 (queue active)
Oct 16 13:07:04 xen01 postfix/trivial-rewrite[2036]: warning: do not
list domain satimis.com in BOTH mydestination and
virtual_mailbox_domains
Oct 16 13:07:04 xen01 postfix/smtp[2038]: 299472055B:
to=<[EMAIL PROTECTED]>, relay=none, delay=1.2,
delays=1.1/0.01/0.04/0, dsn=5.4.4, status=bounced (Host or domain name
not found. Name service error for name=mail.satimis.com type=A: Host
not found)
Oct 16 13:07:04 xen01 postfix/cleanup[2037]: 1028C205A8:
message-id=<[EMAIL PROTECTED]>
Oct 16 13:07:04 xen01 postfix/qmgr[1976]: 1028C205A8: from=<>,
size=3309, nrcpt=1 (queue active)
Oct 16 13:07:04 xen01 postfix/bounce[2040]: 299472055B: sender
non-delivery notification: 1028C205A8
Oct 16 13:07:04 xen01 postfix/qmgr[1976]: 299472055B: removed
Oct 16 13:07:04 xen01 postfix/smtpd[2033]: disconnect from
web35201.mail.mud.yahoo.com[66.163.179.80]
Oct 16 13:07:06 xen01 postfix/smtp[2038]: 1028C205A8:
to=<[EMAIL PROTECTED]>, relay=g.mx.mail.yahoo.com[206.190.53.191]:25,
delay=2.2, delays=0/0/1.1/1.1, dsn=2.0.0, status=sent (250 ok dirdel)
Oct 16 13:07:06 xen01 postfix/qmgr[1976]: 1028C205A8: removed


Mail rejected.


Sent a mail to [EMAIL PROTECTED]


# tail /var/log/mail.log
Oct 16 13:07:04 xen01 postfix/cleanup[2037]: 1028C205A8:
message-id=<[EMAIL PROTECTED]>
Oct 16 13:07:04 xen01 postfix/qmgr[1976]: 1028C205A8: from=<>,
size=3309, nrcpt=1 (queue active)
Oct 16 13:07:04 xen01 postfix/bounce[2040]: 299472055B: sender
non-delivery notification: 1028C205A8
Oct 16 13:07:04 xen01 postfix/qmgr[1976]: 299472055B: removed
Oct 16 13:07:04 xen01 postfix/smtpd[2033]: disconnect from
web35201.mail.mud.yahoo.com[66.163.179.80]
Oct 16 13:07:06 xen01 postfix/smtp[2038]: 1028C205A8:
to=<[EMAIL PROTECTED]>, relay=g.mx.mail.yahoo.com[206.190.53.191]:25,
delay=2.2, delays=0/0/1.1/1.1, dsn=2.0.0, status=sent (250 ok dirdel)
Oct 16 13:07:06 xen01 postfix/qmgr[1976]: 1028C205A8: removed
Oct 16 13:10:24 xen01 postfix/anvil[2035]: statistics: max connection
rate 1/60s for (smtp:66.163.179.80) at Oct 16 13:07:02
Oct 16 13:10:24 xen01 postfix/anvil[2035]: statistics: max connection
count 1 for (smtp:66.163.179.80) at Oct 16 13:07:02
Oct 16 13:10:24 xen01 postfix/anvil[2035]: statistics: max cache size 1
at Oct 16 13:07:02


Mail also be rejected.


Both failed.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Problem on receiving mails

2008-10-16 Thread Stephen Liu

--- Bob Cox <[EMAIL PROTECTED]> wrote:

> On Thu, Oct 16, 2008 at 21:17:04 +0800, Stephen Liu
> ([EMAIL PROTECTED]) wrote: 
> 
> [...]
> 
> > Further to my late email.
> > 
> > 
> > Change MX back to "mail"
> > 
> > 
> > Sent a mail to [EMAIL PROTECTED]
> > 
> > 
> > # tail /var/log/mail.log
> > Oct 16 13:07:04 xen01 postfix/qmgr[1976]: 299472055B:
> > from=<[EMAIL PROTECTED]>, size=1339, nrcpt=1 (queue active)
> > Oct 16 13:07:04 xen01 postfix/trivial-rewrite[2036]: warning: do
> not
> > list domain satimis.com in BOTH mydestination and
> > virtual_mailbox_domains
> > Oct 16 13:07:04 xen01 postfix/smtp[2038]: 299472055B:
> > to=<[EMAIL PROTECTED]>, relay=none, delay=1.2,
> > delays=1.1/0.01/0.04/0, dsn=5.4.4, status=bounced (Host or domain
> name
> > not found. Name service error for name=mail.satimis.com type=A:
> Host
> > not found)
> 
> This is bound to happen because:
> 
> [EMAIL PROTECTED]:~$ host satimis.com
> satimis.com has address 220.232.213.178
> satimis.com mail is handled by 10 mail.satimis.com.
> 
> [EMAIL PROTECTED]:~$ host mail.satimis.com
> Host mail.satimis.com not found: 3(NXDOMAIN)
> 
> You need an IP address for mail.satimis.com as well as for
> satimis.com,
> don't you?


This is a Xen box (virtualization) all servers are running on domU
(guest).  I have only one external IP.  The local IPs of the host and
guest are as follows;

Host 192.168.0.110
guest_1 192.168.0.201 (xen01.satimis.com)
guest_2 192.168.0.202 (xen02.satimis.com)


All ports 25,80,143,443,etc.are now forwarded to 192.168.0.201
(guest_1).  That is the network setup here.


For Unix mailbox there is no problem on send and receive mails.


B.R.
Stephen L




> 
> I think I am doing something similar to you for my domain rcox.org:
> 
> [EMAIL PROTECTED]:~$ host rcox.org
> rcox.org has address 82.71.52.122
> rcox.org mail is handled by 10 mailgate.bobcox.net.
> 
> [EMAIL PROTECTED]:~$ host mailgate.bobcox.net
> mailgate.bobcox.net has address 82.71.52.122
> 
> 
> -- 
> Bob Cox.  Stoke Gifford, near Bristol, UK.
> Registered user #445000 with the Linux Counter -
> http://counter.li.org/
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: About apt-file

2008-10-17 Thread Stephen Liu

--- Michelle Konzack <[EMAIL PROTECTED]> wrote:

> Am 2008-10-15 22:47:15, schrieb Stephen Liu:
> > Hi Jochen,
> > 
> > This is only an example.  We already know mysqladmin coming from
> > mysql-server/-client.  Therefore we can add mysql on the search. 
> In
> > some other case if we have no idea of the package.  We only know
> the
> > command/file.  How can we find the package?  "apt-cache search
> > command/file" doesn't always work.
> 
> I do not understand your problem, since if you know  the  filename, 
> why
> does 'apt-file search ' not work for you?
> 
> I use it since apt-file exist and have not a singel problem with it.
> 
> And since I have installed all Contents-.gz, I find ANY  files 
> in
> main, contrib, non-free and of  course,  in  sid,  lenny,  etch, 
> sarge,
> woody, potato, slink, hamm and bo.


Hi Michelle,


Florian advised me on his posting to run;

apt-file search /bin/command (filename)


That solves my problem.  Thanks


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Question on configuration

2008-10-24 Thread Stephen Liu
Hi folks,


Debian Etch - base installation, running as domU (guest) on a Xen box


I'm installing BIND on its tarball and encountering following problem.


# ./configure --prefix=/usr/local/bind
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... /usr/bin/ar
checking for etags... no
checking for emacs-etags... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


# cat /usr/local/src/bind-9.5.0/config.log
  $ ./configure --prefix=/usr/local/bind
[]
/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = i686
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
[]


$ apt-file search /bin/etags | grep etags
emacs21-bin-common: usr/bin/etags.emacs21
xemacs21-bin: usr/bin/etags.xemacs21

Which package shall I install ?


$ apt-file search /bin/etags | grep emacs-etags
No printout

What package shall I install ?


$ apt-file search /bin/perl5 | grep perl5
perl-base: usr/bin/perl5.8.8

To install perl-base ?


$ apt-file search /bin/gcc | grep gcc
ccontrol: usr/bin/gccontrol
gcc: usr/bin/gcc
gcc: usr/bin/gccbug
gcc-2.95: usr/bin/gcc-2.95
gcc-3.3: usr/bin/gcc-3.3
gcc-3.3: usr/bin/gccbug-3.3
gcc-3.4: usr/bin/gcc-3.4
gcc-3.4: usr/bin/gccbug-3.4
gcc-4.1: usr/bin/gcc-4.1
gcc-4.1: usr/bin/gccbug-4.1
gcc272: usr/bin/gcc272
gccxml: usr/bin/gccxml
gccxml: usr/bin/gccxml_cc1plus
icecc: usr/lib/icecc/bin/gcc
pentium-builder: usr/bin/gcc
xutils-dev: usr/bin/gccmakedep

To install gcc-4.1 ?


$ apt-file search /bin/cl.exe | grep cl.exe
No printout

What package shall I install ?


$ apt-file search /bin/cc | grep cc
ccache: usr/bin/ccache
ccal: usr/bin/ccal
: usr/bin/
cccd: usr/bin/cccd
ccmalloc: usr/bin/ccmalloc
ccontrol: usr/bin/ccontrol
ccontrol: usr/bin/ccontrol-init
ccrypt: usr/bin/ccat
ccrypt: usr/bin/ccdecrypt
ccrypt: usr/bin/ccencrypt
ccrypt: usr/bin/ccrypt
ccs: sbin/ccs_test
ccs: sbin/ccs_tool
ccs: sbin/ccsd
ccze: usr/bin/ccze
ccze: usr/bin/ccze-cssdump
cfs: usr/bin/ccat
cmake: usr/bin/ccmake
graphviz: usr/bin/ccomps
heartbeat-2: usr/sbin/ccm_tool
hercules: usr/bin/cckd2ckd
hercules: usr/bin/cckdcdsk
hercules: usr/bin/cckdcomp
hercules: usr/bin/cckddiag
hercules: usr/bin/cckdswap
icecc: usr/lib/icecc/bin/cc
libccscript2-0.6-3: usr/bin/ccscript
libcommoncpp2-dev: usr/bin/ccgnu2-config
libpam-ccreds: usr/sbin/cc_dump
libpam-ccreds: usr/sbin/cc_test
liwc: usr/bin/ccmtcnvt
psi3: usr/bin/ccdensity
psi3: usr/bin/ccenergy
psi3: usr/bin/cceom
psi3: usr/bin/cceom-d
psi3: usr/bin/cchbar
psi3: usr/bin/cclambda
psi3: usr/bin/ccresponse
psi3: usr/bin/ccsort
psi3: usr/bin/cctriples
shishi: usr/bin/ccache2shishi
shishi-dbg: usr/lib/debug/usr/bin/ccache2shishi
wims: var/lib/wims/bin/ccsum
xutils-dev: usr/bin/ccmakedep

Which of the above package shall I install ?

Which C compiler shall I install?  Any other additional packages ?  

Please help.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Question on configuration

2008-10-24 Thread Stephen Liu

--- Raj Kiran Grandhi <[EMAIL PROTECTED]> wrote:

> Stephen Liu wrote:
> > Hi folks,
> > 
> > 
> > Debian Etch - base installation, running as domU (guest) on a Xen
> box
> > 
> > 
> > I'm installing BIND on its tarball and encountering following
> problem.
> > 
> > 
> > # ./configure --prefix=/usr/local/bind
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... i686-pc-linux-gnu
> > checking whether make sets $(MAKE)... no
> > checking for ranlib... ranlib
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether ln -s works... yes
> > checking for ar... /usr/bin/ar
> > checking for etags... no
> > checking for emacs-etags... no
> > checking for perl5... no
> > checking for perl... /usr/bin/perl
> > checking for gcc... no
> > checking for cc... no
> > checking for cl.exe... no
> > configure: error: no acceptable C compiler found in $PATH
> > See `config.log' for more details.
> 
> If all you need is a recent version of bind9, it may be simpler to
> just 
> install it from the sid repos. If you are determined to build from
> the 
> source, then first install the package build-essential. Also install
> the 
> build dependencies for bind9.
> 
> # apt-get install build-essential
> That will install the compilers and development libraries needed to 
> build any package.
> 
> Assuming you have a line for sid sources in your sources.list,
> 
> # apt-get build-dep bind9
> will install all the dependencies required to compile bind9

Hi


Thanks for your advice.


I'm building "postfix virtual" mail server.


Previouls I have been following 3 howtos building "postfix virtual"
mail server.  After finish non of the server can work.


Now I'm following "Postfix Virtual";
http://www.postfixvirtual.net/

to go 4th round.


This howto starts installing packages on their tarballs.  I 'm prepared
following all steps there.  


Do I need installing gcc, perl5, etc. ?  Thanks


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



About BIND rndc.key

2008-10-29 Thread Stephen Liu
Hi folks,


BIND 9.5.0 complied from source
chrooted
Configuration : prefix=/usr/local/bind


On starting bind;
# /usr/local/bind/sbin/named -u named -t /usr/local/bind -c
/etc/named.conf -g
30-Oct-2008 01:31:18.771 starting BIND 9.5.0 -u named -t
/usr/local/bind -c /etc/named.conf -g
30-Oct-2008 01:31:18.830 loading configuration from '/etc/named.conf'
30-Oct-2008 01:31:18.856 listening on IPv4 interface lo, 127.0.0.1#53
30-Oct-2008 01:31:18.858 listening on IPv4 interface eth0,
192.168.0.203#53
30-Oct-2008 01:31:18.868 default max-cache-size (33554432) applies
30-Oct-2008 01:31:18.869 automatic empty zone: 0.IN-ADDR.ARPA
30-Oct-2008 01:31:18.869 automatic empty zone: 127.IN-ADDR.ARPA
30-Oct-2008 01:31:18.869 automatic empty zone: 254.169.IN-ADDR.ARPA
30-Oct-2008 01:31:18.869 automatic empty zone: 2.0.192.IN-ADDR.ARPA
30-Oct-2008 01:31:18.869 automatic empty zone:
255.255.255.255.IN-ADDR.ARPA
30-Oct-2008 01:31:18.869 automatic empty zone:
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
30-Oct-2008 01:31:18.870 automatic empty zone:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
30-Oct-2008 01:31:18.870 automatic empty zone: D.F.IP6.ARPA
30-Oct-2008 01:31:18.870 automatic empty zone: 8.E.F.IP6.ARPA
30-Oct-2008 01:31:18.870 automatic empty zone: 9.E.F.IP6.ARPA
30-Oct-2008 01:31:18.870 automatic empty zone: A.E.F.IP6.ARPA
30-Oct-2008 01:31:18.870 automatic empty zone: B.E.F.IP6.ARPA
30-Oct-2008 01:31:18.871 default max-cache-size (33554432) applies:
view _bind
30-Oct-2008 01:31:18.871 none:0: open: /usr/local/bind/etc/rndc.key:
file not found
30-Oct-2008 01:31:18.871 couldn't add command channel 127.0.0.1#953:
file not found
30-Oct-2008 01:31:18.871 none:0: open: /usr/local/bind/etc/rndc.key:
file not found
30-Oct-2008 01:31:18.871 couldn't add command channel ::1#953: file not
found
30-Oct-2008 01:31:18.882 ignoring config file logging statement due to
-g option
30-Oct-2008 01:31:18.885 running


It is started and running now.  But I found rndc.key not created.


# updatedb
# locate rndc.key
no printout


Do I need to create it on this version on BIND?


Which options shall be up on running;

# rndc-conf   /usr/local/bind/etc/rndc.key

???


There is no "man" running.


TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



How to start chroot BIND automatically at boot

2008-10-29 Thread Stephen Liu
Hi folks,


Debian Etch
bind-9.5.0 compiled on source
chrooted


Which file I have to edit adding;
/etc/init.d/bind9 start


so bind9 will start automatically at boot.


# ls /etc/ | grep rc
bash.bashrc
inputrc
nanorc
rc.local
rc0.d
rc1.d
rc2.d
rc3.d
rc4.d
rc5.d
rc6.d
rcS.d
wgetrc


rc.local ?  It is an empty file.  Only "exit 0" is there.


TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: How to start chroot BIND automatically at boot

2008-10-30 Thread Stephen Liu

--- Andrei Popescu <[EMAIL PROTECTED]> wrote:

> On Thu,30.Oct.08, 12:48:32, Stephen Liu wrote:
> > Hi folks,
> > 
> > 
> > Debian Etch
> > bind-9.5.0 compiled on source
> > chrooted
>  
> Hello,
> 
> In my very humble opinion, the point of using Debian (as opposed to
> LFS) 
> would be that you have packages precompiled and ready to use, so you 
> don't have to write init scripts by yourself.
> 
> In case you really, really need to recompile (because the Debian
> package 
> disables some options or enables too many) you can always pull the 
> sources for the Debian package and recompile that (incorporating 
> whatever changes you need).


Hi Andrei,


Thanks for your advice.


I'm following the guide of Postfix Virtual to build a mail server;
http://www.postfixvirtual.net/dnsbind.html#


It compiles all packages from source.  I just follow their steps.


> > Which file I have to edit adding;
> > /etc/init.d/bind9 start
> > 
> > so bind9 will start automatically at boot.
>  
> That would be /etc/init.d/bind9 ;)
> 
> > # ls /etc/ | grep rc
> > bash.bashrc
> > inputrc
> > nanorc
> > rc.local
> > rc0.d
> > rc1.d
> > rc2.d
> > rc3.d
> > rc4.d
> > rc5.d
> > rc6.d
> > rcS.d
> > wgetrc
> > 
> > 
> > rc.local ?  It is an empty file.  Only "exit 0" is there.
> 
> Of course, what did you expect to find here? But if your script is 
> specific to a package that it is usually better to use a separate
> file.  
> There is somewhere a skeleton file which you can use to build your 
> script, but I would rather take the script from the official Debian
> bind 
> package and adapt to my needs.


According to the guide it runs;

#/usr/local/bind/sbin/named -u named -t /usr/local/bind -c
/etc/named.conf

to start bind9


I'll put;
/usr/local/bind/sbin/named -u named -t /usr/local/bind -c
/etc/named.conf

on rc.local


# ls /etc/init.d/ | grep bind9
No printout.

The official script is not installed because I installed bind9 from
source, I suppose.


Thanks


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: How to start chroot BIND automatically at boot

2008-10-30 Thread Stephen Liu

--- Jeff D <[EMAIL PROTECTED]> wrote:

> On Thu, 30 Oct 2008, Stephen Liu wrote:
> 
> > Hi folks,
> >
> >
> > Debian Etch
> > bind-9.5.0 compiled on source
> > chrooted
> >
> > Which file I have to edit adding;
> > /etc/init.d/bind9 start
> >
> > so bind9 will start automatically at boot.
> >
> > TIA
> >
> >
> > B.R.
> > Stephen L
> 
> make sure you have the sysv-rc package installed and run
> update-rc.d bind9 defaults
> 
> or man update-rc.d for other options
> 
> Jeff


Hi Jeff,


Thanks for your advice.


# apt-cache policy sysv-rc
sysv-rc:
  Installed: 2.86.ds1-38+etchnhalf.1
  Candidate: 2.86.ds1-38+etchnhalf.1
  Version table:
 *** 2.86.ds1-38+etchnhalf.1 0
500 http://ftp.au.debian.org etch/main Packages
100 /var/lib/dpkg/status


The package has been installed.


Can I run;
update-rc.d bind9

to activate starting bind9 at boot ?  Because I installed bind-9.5.0
from source.  


It runs;

#/usr/local/bind/sbin/named -u named -t /usr/local/bind -c
/etc/named.conf

to start bind9


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



rc.local fails to work

2008-11-04 Thread Stephen Liu
Hi folks,


Debian Etch


I have 3 commands on /etc/rc.local


# cat /etc/rc.local
/bin/sh -e
#
# rc.local
#

/usr/local/bind/sbin/named -u named -t /usr/local/bind -c
/etc/named.conf

/usr/local/sbin/clamd

su - amavis -c "/usr/local/sbin/amavisd"

exit 0
* end *


# ls -l /etc/rc.local
-rwxr-xr-x 1 root root 444 Nov  4 11:00 /etc/rc.local


Previously rc.local worked without problem, commands executed at
booting.  For unknown cause they stop working.  I have to start them
manually after bootup.


Please advise where shall I check and how to fix the problem.  TIA


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu

--- Ron Johnson <[EMAIL PROTECTED]> wrote:

> On 11/10/08 04:19, Stephen Liu wrote:
> > Hi folks,
> > 
> > 
> > Debian Etch
> > 
> > 
> > Postfix can't send and receive mails.
> > 
> > 
> > On running;
> > # /etc/init.d/postfix check
> > 
> > # tail /var/log/mail.log
> > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .arj 
> tried:
> > arj, unarj
> > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .arc 
> tried:
> > nomarch, arc
> > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .zoo 
> tried:
> > zoo
> > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .lha 
> tried:
> > lha
> > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .doc 
> tried:
> > ripole
> > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .cab 
> tried:
> > cabextract
> > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .tnef
> > Nov 10 10:00:56 xen05 amavis[3329]: Internal decoder for .tnef
> > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .exe 
> tried:
> > rar, unrar; lha; arj, unarj
> > Nov 10 10:00:56 xen05 amavis[3329]: (!!) TROUBLE in pre_loop_hook:
> > db_home directory is not writable: /var/lib/amavis/db at
> > /usr/sbin/amavisd-new line 6921.
> > 
> > 
> > Please advise where shall I check and how to fix the problem.  TIA
> 
> This is an amavis issue, not a postfix problem.
> 
> If no Windows boxes are using this machine as a mail server, then 
> you can drop amavis.
> 
> -- 
> Ron Johnson, Jr.
> Jefferson LA  USA


Hi Ron,


Thanks for your hint.


Ran
# adduser clamav amavis

adding the user clamav to the group amavis


then problem gone but another problem surfaces;


# /etc/init.d/postfix check

# tail /var/log/mail.log
Nov 10 12:56:15 xen05 postfix/smtpd[2973]: lost connection after RCPT
from localhost.localdomain[127.0.0.1]
Nov 10 12:56:15 xen05 postfix/smtpd[2973]: disconnect from
localhost.localdomain[127.0.0.1]
Nov 10 13:09:48 xen05 postfix/master[2752]: reload configuration
/etc/postfix
Nov 10 13:10:25 xen05 postfix/smtpd[3006]: connect from
localhost.localdomain[127.0.0.1]
Nov 10 13:11:11 xen05 postfix/smtpd[3006]: EDC4F7824C:
client=localhost.localdomain[127.0.0.1]
Nov 10 13:11:49 xen05 postfix/cleanup[3008]: EDC4F7824C:
message-id=<[EMAIL PROTECTED]>
Nov 10 13:11:49 xen05 postfix/qmgr[3002]: EDC4F7824C:
from=<[EMAIL PROTECTED]>, size=383, nrcpt=1 (queue active)
Nov 10 13:11:49 xen05 postfix/smtp[3009]: connect to
127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Nov 10 13:11:49 xen05 postfix/smtp[3009]: EDC4F7824C:
to=<[EMAIL PROTECTED]>, relay=none, delay=56, delays=56/0.01/0/0,
dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection
refused)
Nov 10 13:11:52 xen05 postfix/smtpd[3006]: disconnect from
localhost.localdomain[127.0.0.1]


postfix still can't send/receive mails.

"... connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
.." Why port 10024 comes into play?


Any advice.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu

--- tôba <[EMAIL PROTECTED]> wrote:

- snip -

 
> > Hi Ron,
> > 
> > 
> > Thanks for your hint.
> > 
> > 
> > Ran
> > # adduser clamav amavis
> > 
> > adding the user clamav to the group amavis
> > 
> > 
> > then problem gone but another problem surfaces;
> > 
> > 
> > # /etc/init.d/postfix check
> > 
> > # tail /var/log/mail.log
> > Nov 10 12:56:15 xen05 postfix/smtpd[2973]: lost connection after
> RCPT
> > from localhost.localdomain[127.0.0.1]
> > Nov 10 12:56:15 xen05 postfix/smtpd[2973]: disconnect from
> > localhost.localdomain[127.0.0.1]
> > Nov 10 13:09:48 xen05 postfix/master[2752]: reload configuration
> > /etc/postfix
> > Nov 10 13:10:25 xen05 postfix/smtpd[3006]: connect from
> > localhost.localdomain[127.0.0.1]
> > Nov 10 13:11:11 xen05 postfix/smtpd[3006]: EDC4F7824C:
> > client=localhost.localdomain[127.0.0.1]
> > Nov 10 13:11:49 xen05 postfix/cleanup[3008]: EDC4F7824C:
> > message-id=<[EMAIL PROTECTED]>
> > Nov 10 13:11:49 xen05 postfix/qmgr[3002]: EDC4F7824C:
> > from=<[EMAIL PROTECTED]>, size=383, nrcpt=1 (queue active)
> > Nov 10 13:11:49 xen05 postfix/smtp[3009]: connect to
> > 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
> > Nov 10 13:11:49 xen05 postfix/smtp[3009]: EDC4F7824C:
> > to=<[EMAIL PROTECTED]>, relay=none, delay=56, delays=56/0.01/0/0,
> > dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:
> > Connection refused)
> > Nov 10 13:11:52 xen05 postfix/smtpd[3006]: disconnect from
> > localhost.localdomain[127.0.0.1]
> > 
> > 
> > postfix still can't send/receive mails.
> > 
> > "... connect to 127.0.0.1[127.0.0.1]: Connection refused (port
> 10024)
> > .." Why port 10024 comes into play?
> 
> Oh yes, that's normal because of amavis. See your main.cf file.
> Tha happens when amavis is dead or hangs. I suggest
> a /etc/init.d/amavisd-new start


Hi Tôba,


Thanks for your advice.


I don't have /etc/init.d/amavisd-new here


# find / -name amavisd-new
/usr/share/doc/amavisd-new
/usr/share/lintian/overrides/amavisd-new
/usr/sbin/amavisd-new
/etc/cron.daily/amavisd-new
/etc/cron.d/amavisd-new
/etc/logcheck/ignore.d.workstation/amavisd-new
/etc/logcheck/ignore.d.server/amavisd-new


# /etc/cron.daily/amavisd-new stop
bayes: expire_old_tokens: locker: safe_lock: cannot create tmp lockfile
/etc/spamassassin/bayes.lock.xen05.satimis.com.3110 for
/etc/spamassassin/bayes.lock: Permission denied


# /etc/cron.daily/amavisd-new start
bayes: expire_old_tokens: locker: safe_lock: cannot create tmp lockfile
/etc/spamassassin/bayes.lock.xen05.satimis.com.3116 for
/etc/spamassassin/bayes.lock: Permission denied


# /etc/cron.d/amavisd-new stop
-bash: /etc/cron.d/amavisd-new: Permission denied

# /etc/cron.d/amavisd-new start
-bash: /etc/cron.d/amavisd-new: Permission denied


How can I proceed further?  TIA


B.R.
Stephen




Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu

--- tôba <[EMAIL PROTECTED]> wrote:

- snip -

> > 
> > # find / -name amavisd-new
> > /usr/share/doc/amavisd-new
> > /usr/share/lintian/overrides/amavisd-new
> > /usr/sbin/amavisd-new
> > /etc/cron.daily/amavisd-new
> > /etc/cron.d/amavisd-new
> > /etc/logcheck/ignore.d.workstation/amavisd-new
> > /etc/logcheck/ignore.d.server/amavisd-new
> > 
> > 
> > # /etc/cron.daily/amavisd-new stop
> > bayes: expire_old_tokens: locker: safe_lock: cannot create tmp
> > lockfile /etc/spamassassin/bayes.lock.xen05.satimis.com.3110 for
> > /etc/spamassassin/bayes.lock: Permission denied
> > 
> > 
> > # /etc/cron.daily/amavisd-new start
> > bayes: expire_old_tokens: locker: safe_lock: cannot create tmp
> > lockfile /etc/spamassassin/bayes.lock.xen05.satimis.com.3116 for
> > /etc/spamassassin/bayes.lock: Permission denied
> > 
> > 
> > # /etc/cron.d/amavisd-new stop
> > -bash: /etc/cron.d/amavisd-new: Permission denied
> > 
> > # /etc/cron.d/amavisd-new start
> > -bash: /etc/cron.d/amavisd-new: Permission denied
> > 
> > 
> > How can I proceed further?  TIA
> 
> 
> Try  /etc/init.d/amavis instead.
> 
> If you do dpkg -L amavis, you can see the list of files in the
> package.



Hi Tôba


Further to my late posting.


After running;

# cd /var/lib/amavis/

# chown virtual:virtual db

# ls -l
total 12
drwxr-xr-x 2 virtual virtual 4096 2008-11-08 05:52 db
drwxr-xr-x 2 virtual virtual 4096 2008-11-07 11:06 tmp
drwxr-xr-x 2 virtual virtual 4096 2008-11-07 11:06 virusmails


Mail can be sent via telnet.


# tail /var/log/mail.log
Nov 10 16:25:42 xen05 postfix/qmgr[2746]: A360C782F4:
from=<[EMAIL PROTECTED]>, size=791, nrcpt=1 (queue active)
Nov 10 16:25:42 xen05 postfix/smtpd[2884]: disconnect from
localhost.localdomain[127.0.0.1]
Nov 10 16:25:42 xen05 amavis[2417]: (02417-02) FWD via SMTP:
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, 250 2.6.0 Ok,
id=02417-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
A360C782F4
Nov 10 16:25:42 xen05 amavis[2417]: (02417-02) Passed CLEAN, LOCAL
[127.0.0.1] [127.0.0.1] <[EMAIL PROTECTED]> ->
<[EMAIL PROTECTED]>, Message-ID:
<[EMAIL PROTECTED]>, mail_id: pmhX0KqR3luj,
Hits: -, queued_as: A360C782F4, 594 ms
Nov 10 16:25:42 xen05 amavis[2417]: (02417-02) TIMING [total 606 ms] -
SMTP EHLO: 121 (20%)20, SMTP pre-MAIL: 1 (0%)20, SMTP pre-DATA-flush:
13 (2%)22, SMTP DATA: 19 (3%)26, body_digest: 5 (1%)26, gen_mail_id: 99
(16%)43, mime_decode: 35 (6%)49, get-file-type1: 38 (6%)55,
decompose_part: 2 (0%)55, parts_decode: 0 (0%)55, update_cache: 13
(2%)57, decide_mail_destiny: 1 (0%)57, fwd-connect: 62 (10%)68,
fwd-mail-from: 16 (3%)70, fwd-rcpt-to: 114 (19%)89, fwd-data-cmd: 1
(0%)89, write-header: 1 (0%)90, fwd-data-contents: 1 (0%)90,
fwd-data-end: 32 (5%)95, fwd-rundown: 2 (0%)95, prepare-dsn: 2 (0%)96,
main_log_entry: 15 (3%)98, update_snmp: 5 (1%)99, unlink-1-files: 3
(1%)100, rundown: 2 (0%)100
Nov 10 16:25:42 xen05 postfix/smtp[2882]: 039AE7829B:
to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:10024, delay=74,
delays=73/0.01/0.27/0.49, dsn=2.6.0, status=sent (250 2.6.0 Ok,
id=02417-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
A360C782F4)
Nov 10 16:25:42 xen05 postfix/qmgr[2746]: 039AE7829B: removed
Nov 10 16:25:43 xen05 postfix/smtpd[2879]: disconnect from
localhost.localdomain[127.0.0.1]
Nov 10 16:25:43 xen05 postfix/smtp[2885]: A360C782F4:
to=<[EMAIL PROTECTED]>,
relay=gmail-smtp-in.l.google.com[209.85.143.27]:25, delay=1.3,
delays=0.15/0.05/0.26/0.83, dsn=2.0.0, status=sent (250 2.0.0 OK
1226334083 i9si1521562tid.9)
Nov 10 16:25:43 xen05 postfix/qmgr[2746]: A360C782F4: removed


But mail sent on Gmail to [EMAIL PROTECTED] has been rejected.  


# tail /var/log/mail.log
Nov 10 16:35:16 xen05 postfix/cleanup[2898]: 490F07829B:
message-id=<[EMAIL PROTECTED]>
Nov 10 16:35:16 xen05 postfix/smtpd[2896]: disconnect from
localhost.localdomain[127.0.0.1]
Nov 10 16:35:16 xen05 amavis[2418]: (02418-03) FWD via SMTP:
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, 250 2.6.0 Ok,
id=02418-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
490F07829B
Nov 10 16:35:16 xen05 postfix/qmgr[2746]: 490F07829B:
from=<[EMAIL PROTECTED]>, size=1176, nrcpt=1 (queue active)
Nov 10 16:35:16 xen05 amavis[2418]: (02418-03) Passed CLEAN,
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID:
<[EMAIL PROTECTED]>, mail_id: FDLLpb2+oHHy,
Hits: -, queued_as: 490F07829B, 495 ms
Nov 10 16:35:16 xen05 amavis[2418]: (02418-03) TIMING [total 506 ms] -
SMTP EHLO: 19 (4%)4, SMTP pre-MAIL: 1 (0%)4, SMTP pre-DATA-flush: 8
(2%)5, SMTP DATA: 28 (6%)11, body_digest: 7 (1%)13, gen_mail_id: 2
(0%)13, mime_decode: 37 (7%)20, get-file-type1: 42 (8%)28,
decompose_part: 2 (0%)29, parts_decode: 0 (0%)29, update_cache: 13
(3%)31, decide_mail_destiny: 1 (0%)31, fwd-connect: 180 (36%)67,
fwd-mail-from: 67 (13%)80, fwd-rcpt-to: 24 (5%)85, fwd-data-cmd: 1
(0%)85, write-header: 1 (0%)86, fwd-data-contents: 0 (0%)86,
fwd-data-end: 33 (7%)92, fwd-rundown: 1 (0%)93, prepare-dsn: 7 (1%)94,
main_log_entry: 20 (4%)98, update_snmp:

Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu

--- tôba <[EMAIL PROTECTED]> wrote:


- snip -
> > > 
> > > Oh yes, that's normal because of amavis. See your main.cf file.
> > > Tha happens when amavis is dead or hangs. I suggest
> > > a /etc/init.d/amavisd-new start
> > 
> > 
> > Hi Tôba,
> > 
> > 
> > Thanks for your advice.
> > 
> > 
> > I don't have /etc/init.d/amavisd-new here
> > 
> > 
> > # find / -name amavisd-new
> > /usr/share/doc/amavisd-new
> > /usr/share/lintian/overrides/amavisd-new
> > /usr/sbin/amavisd-new
> > /etc/cron.daily/amavisd-new
> > /etc/cron.d/amavisd-new
> > /etc/logcheck/ignore.d.workstation/amavisd-new
> > /etc/logcheck/ignore.d.server/amavisd-new
> > 
> > 
> > # /etc/cron.daily/amavisd-new stop
> > bayes: expire_old_tokens: locker: safe_lock: cannot create tmp
> > lockfile /etc/spamassassin/bayes.lock.xen05.satimis.com.3110 for
> > /etc/spamassassin/bayes.lock: Permission denied
> > 
> > 
> > # /etc/cron.daily/amavisd-new start
> > bayes: expire_old_tokens: locker: safe_lock: cannot create tmp
> > lockfile /etc/spamassassin/bayes.lock.xen05.satimis.com.3116 for
> > /etc/spamassassin/bayes.lock: Permission denied
> > 
> > 
> > # /etc/cron.d/amavisd-new stop
> > -bash: /etc/cron.d/amavisd-new: Permission denied
> > 
> > # /etc/cron.d/amavisd-new start
> > -bash: /etc/cron.d/amavisd-new: Permission denied
> > 
> > 
> > How can I proceed further?  TIA
> 
> 
> Try  /etc/init.d/amavis instead.
> 
> If you do dpkg -L amavis, you can see the list of files in the
> package.


Hi Tôba,


I tried several time before but without result.


# /etc/init.d/amavis start
Starting amavisd: Pid_file "/var/run/amavis/amavisd.pid" already
exists.  Overwriting!
amavisd-new.


# /etc/init.d/amavis stop
Stopping amavisd: (not running).


# /etc/init.d/amavis start
Starting amavisd: Pid_file "/var/run/amavis/amavisd.pid" already
exists.  Overwriting!
amavisd-new.


# dpkg -L amavis
Package `amavis' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.


# dpkg --info amavis
dpkg-deb: failed to read archive `amavis': No such file or directory


# dpkg --contents amavis
dpkg-deb: failed to read archive `amavis': No such file or directory



B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



postfix can't send and receive mails

2008-11-10 Thread Stephen Liu
Hi folks,


Debian Etch


Postfix can't send and receive mails.


On running;
# /etc/init.d/postfix check

# tail /var/log/mail.log
Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .arj  tried:
arj, unarj
Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .arc  tried:
nomarch, arc
Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .zoo  tried:
zoo
Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .lha  tried:
lha
Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .doc  tried:
ripole
Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .cab  tried:
cabextract
Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .tnef
Nov 10 10:00:56 xen05 amavis[3329]: Internal decoder for .tnef
Nov 10 10:00:56 xen05 amavis[3329]: No decoder for   .exe  tried:
rar, unrar; lha; arj, unarj
Nov 10 10:00:56 xen05 amavis[3329]: (!!) TROUBLE in pre_loop_hook:
db_home directory is not writable: /var/lib/amavis/db at
/usr/sbin/amavisd-new line 6921.


Please advise where shall I check and how to fix the problem.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: postfix can't send and receive mails

2008-11-10 Thread Stephen Liu

--- tôba <[EMAIL PROTECTED]> wrote:


- snip -


> > But mail sent on Gmail to [EMAIL PROTECTED] has been rejected.  
> > 
> > 
> > # tail /var/log/mail.log
> > Nov 10 16:35:16 xen05 postfix/cleanup[2898]: 490F07829B:
> > message-id=<[EMAIL PROTECTED]>
> > Nov 10 16:35:16 xen05 postfix/smtpd[2896]: disconnect from
> > localhost.localdomain[127.0.0.1]
> > Nov 10 16:35:16 xen05 amavis[2418]: (02418-03) FWD via SMTP:
> > <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, 250 2.6.0
> > Ok, id=02418-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued
> as
> > 490F07829B
> > Nov 10 16:35:16 xen05 postfix/qmgr[2746]: 490F07829B:
> > from=<[EMAIL PROTECTED]>, size=1176, nrcpt=1 (queue active)
> > Nov 10 16:35:16 xen05 amavis[2418]: (02418-03) Passed CLEAN,
> > <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>,
> Message-ID:
> > <[EMAIL PROTECTED]>, mail_id:
> FDLLpb2+oHHy,
> > Hits: -, queued_as: 490F07829B, 495 ms
> > Nov 10 16:35:16 xen05 amavis[2418]: (02418-03) TIMING [total 506
> ms] -
> > SMTP EHLO: 19 (4%)4, SMTP pre-MAIL: 1 (0%)4, SMTP pre-DATA-flush: 8
> > (2%)5, SMTP DATA: 28 (6%)11, body_digest: 7 (1%)13, gen_mail_id: 2
> > (0%)13, mime_decode: 37 (7%)20, get-file-type1: 42 (8%)28,
> > decompose_part: 2 (0%)29, parts_decode: 0 (0%)29, update_cache: 13
> > (3%)31, decide_mail_destiny: 1 (0%)31, fwd-connect: 180 (36%)67,
> > fwd-mail-from: 67 (13%)80, fwd-rcpt-to: 24 (5%)85, fwd-data-cmd: 1
> > (0%)85, write-header: 1 (0%)86, fwd-data-contents: 0 (0%)86,
> > fwd-data-end: 33 (7%)92, fwd-rundown: 1 (0%)93, prepare-dsn: 7
> (1%)94,
> > main_log_entry: 20 (4%)98, update_snmp: 7 (1%)99, unlink-1-files: 3
> > (1%)100, rundown: 1 (0%)100
> > Nov 10 16:35:16 xen05 postfix/smtp[2894]: C6E94782F5:
> > to=<[EMAIL PROTECTED]>, orig_to=,
> > relay=127.0.0.1[127.0.0.1]:10024, delay=4634,
> > delays=4633/0.01/0.03/0.49, dsn=2.6.0, status=sent (250 2.6.0 Ok,
> > id=02418-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
> > 490F07829B)
> > Nov 10 16:35:16 xen05 postfix/qmgr[2746]: C6E94782F5: removed
> > Nov 10 16:35:16 xen05 postfix/local[2899]: 490F07829B:
> > to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
> > relay=local, delay=0.13, delays=0.07/0.05/0/0, dsn=2.0.0,
> status=sent
> > (delivered to mailbox)
> > Nov 10 16:35:16 xen05 postfix/qmgr[2746]: 490F07829B: removed
> 
> So, I think your postfix works, your amavis works according  the
> logs.
> But I do not see the gmail rejected related log?
> I think you have to review your rules. Maybe they are too strict if
> mails from gmail are rejected?


Yes, you're right, incoming mail stopped by Shorewall without registry
on mail.log.



Ran;

xen05:~# /etc/init.d/shorewall stop


Sent a mail on Yahoo to [EMAIL PROTECTED]  The mail was rejected as
well.


# tail /var/log/mail.log
Nov 11 02:38:34 xen05 postfix/anvil[3266]: statistics: max cache size 1
at Nov 11 02:35:38
Nov 11 02:39:15 xen05 postfix/master[2745]: reload configuration
/etc/postfix
Nov 11 02:41:53 xen05 postfix/smtpd[3445]: warning: 121.34.170.57:
hostname 57.170.34.121.broad.sz.gd.dynamic.163data.com.cn verification
failed: Name or service not known
Nov 11 02:41:53 xen05 postfix/smtpd[3445]: connect from
unknown[121.34.170.57]
Nov 11 02:41:55 xen05 postfix/smtpd[3445]: NOQUEUE: reject: RCPT from
unknown[121.34.170.57]: 554 5.7.1 <[EMAIL PROTECTED]>: Relay access
denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP
helo=<57.170.34.121.broad.sz.gd.dynamic.163data.com.cn>
Nov 11 02:41:55 xen05 postfix/smtpd[3445]: lost connection after RCPT
from unknown[121.34.170.57]
Nov 11 02:41:55 xen05 postfix/smtpd[3445]: disconnect from
unknown[121.34.170.57]
Nov 11 02:45:15 xen05 postfix/anvil[3446]: statistics: max connection
rate 1/60s for (smtp:121.34.170.57) at Nov 11 02:41:53
Nov 11 02:45:15 xen05 postfix/anvil[3446]: statistics: max connection
count 1 for (smtp:121.34.170.57) at Nov 11 02:41:53
Nov 11 02:45:15 xen05 postfix/anvil[3446]: statistics: max cache size 1
at Nov 11 02:41:53


I have been googling a while without solution discovered.  The cause is
supposed to be no relay_domains defined.


# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
delay_warning_time = 4h
disable_vrfy_command = yes
inet_interfaces = all
local_recipient_maps =
mailbox_size_limit = 0
masquerade_exceptions = root
maximal_backoff_time = 8000s
maximal_queue_lifetime = 7d
minimal_backoff_time = 1000s
mydestination = xen05.satimis.com, localhost.satimis.com, , localhost
myhostname = xen05.satimis.com
mynetworks = 127.0.0.0/8
mynetworks_style = host
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_helo_timeout = 60s
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org,
reject_rbl_clien

Re: postfix can't send and receive mails

2008-11-11 Thread Stephen Liu

--- lee <[EMAIL PROTECTED]> wrote:

> On Tue, 11 Nov 2008 12:59:10 +0800 (CST)
> Stephen Liu <[EMAIL PROTECTED]> wrote:
> 
> > Nov 11 02:41:55 xen05 postfix/smtpd[3445]: NOQUEUE: reject: RCPT
> from
> > unknown[121.34.170.57]: 554 5.7.1 <[EMAIL PROTECTED]>: Relay access
> > denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP
> > helo=<57.170.34.121.broad.sz.gd.dynamic.163data.com.cn>
> > Nov 11 02:41:55 xen05 postfix/smtpd[3445]: lost connection after
> RCPT
> > from unknown[121.34.170.57]
> > Nov 11 02:41:55 xen05 postfix/smtpd[3445]: disconnect from
> > unknown[121.34.170.57]
> 
> > I have been googling a while without solution discovered.  The
> cause
> > is supposed to be no relay_domains defined.
> 
> > mysql> SELECT * from domains;
> > +--+---+---+-+
> > | pkid | domain| transport | enabled |
> > +--+---+---+-+
> > |1 | localhost | virtual:  |   1 |
> > |2 | localhost.localdomain | virtual:  |   1 |
> > |3 | satimis.com.tld   | virtual:  |   1 |
> > +--+---+---+-+
> > 3 rows in set (0.00 sec)
> > 
> > 
> > Whether it just needs "satimis.com" dropping
> ".tld"-top_level_domain ?
> 
> That seems about right. I don't know postfix, but it seems that
> postfix
> on  rejected to relay mail from <[EMAIL PROTECTED]> to
> <[EMAIL PROTECTED]> and dropped the SMTP connection after the
> recipient
> (RCPT) was transmitted because the domain satimis.com is not one of
> the
> domains you configured postfix to relay mail for.


Hi lee,


# grep relayhost /etc/postfix/main.cf
relayhost =


> , I guess, is xen05.satimis.com, though I didn't see where
> you allow postfix to handle mail for  other than in
> "mydestination". If you have several hosts in the domain satimis.com
> and
> want postfix to relay mail for them, you will need to configure
> postfix
> to do so.
> 
> What I don't understand is why localhost, localhost.localdomain and
> xen05.satimis.com are also listed as virtual mailbox domains: These
> domains are not virtual?


comment out that line 'mydestination';


# grep mydestination /etc/postfix/main.cf
#mydestination = xen05.satimis.com, localhost.satimis.com, , localhost


Incoming mails are still rejected;


# tail /var/log/mail.log
Nov 12 06:47:48 xen05 postfix/anvil[3444]: statistics: max cache size 1
at Nov 12 06:44:27
Nov 12 06:53:52 xen05 postfix/smtpd[3448]: connect from
web35206.mail.mud.yahoo.com[66.163.179.85]
Nov 12 06:53:53 xen05 postfix/smtpd[3448]: NOQUEUE: reject: RCPT from
web35206.mail.mud.yahoo.com[66.163.179.85]: 554 5.7.1
<[EMAIL PROTECTED]>: Relay access denied; from=<[EMAIL PROTECTED]>
to=<[EMAIL PROTECTED]> proto=SMTP
helo=
Nov 12 06:53:54 xen05 postfix/smtpd[3448]: disconnect from
web35206.mail.mud.yahoo.com[66.163.179.85]
Nov 12 06:53:55 xen05 postfix/smtpd[3448]: connect from
web35206.mail.mud.yahoo.com[66.163.179.85]
Nov 12 06:53:56 xen05 postfix/smtpd[3448]: NOQUEUE: reject: RCPT from
web35206.mail.mud.yahoo.com[66.163.179.85]: 554 5.7.1
<[EMAIL PROTECTED]>: Relay access denied; from=<[EMAIL PROTECTED]>
to=<[EMAIL PROTECTED]> proto=SMTP helo=
Nov 12 06:53:56 xen05 postfix/smtpd[3448]: disconnect from
web35206.mail.mud.yahoo.com[66.163.179.85]
Nov 12 06:57:16 xen05 postfix/anvil[3449]: statistics: max connection
rate 2/60s for (smtp:66.163.179.85) at Nov 12 06:53:55
Nov 12 06:57:16 xen05 postfix/anvil[3449]: statistics: max connection
count 1 for (smtp:66.163.179.85) at Nov 12 06:53:52
Nov 12 06:57:16 xen05 postfix/anvil[3449]: statistics: max cache size 1
at Nov 12 06:53:52



> So how do you configure the domains postfix is supposed to relay mail
> for?


Could you please explain in more detail.  Where to check and how to
correct it.  TIA



B.R.
Stephen



> 
> BTW, if you think exim, a domain --- as in: to relay|accept mail for
> ---
> is always a FQDN (letting aside, maybe, localhost). That is important
> to
> understand, and if this is any different with postfix, I'd be curious
> to know how.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: postfix can't send and receive mails (SOLVED) - resend

2008-11-12 Thread Stephen Liu
Hi lee,


Your advice solves my pending problem.  Thanks.


I'm following this howto;

http://flurdy.com/docs/postfix/edition5.html

building postfix virtual which is my goal.  This is my 5th round.  All
previous tests failed (following other howto NOT relating to this
howto).


> On Wed, 12 Nov 2008 14:57:54 +0800 (CST)
> Stephen Liu <[EMAIL PROTECTED]> wrote:
> 
> > # grep relayhost /etc/postfix/main.cf
> > relayhost =
> 
> Ok, I guess that would mean that there are no hosts specified for
> which
> xen05 is allowed to relay mail.
> 
> > comment out that line 'mydestination';
> 
> http://www.postfix.org/basic.html says:
> 
>   "The mydestination parameter specifies what domains this machine
> will
>deliver locally, instead of forwarding to another machine. The
> default
>is to receive mail for the machine itself."
> 
> See also the examples for the default on that page. I don't know what
> exactly you are trying to do --- if you only want to send and recieve
> mail from and to users on xen05, the default for mydestination should
> suffice.
> 
> But if you are trying to have mail for users at another domain
> (satimis.com is another domain) delivered locally, you need to
> specify
> that domain as one of the domains given in mydestination. For
> example:
> 
> mydestination = $myhostname, localhost.$mydomain, localhost,
> satimis.com


The above advice works seamlessly.  Incoming mails arrive.


Made following tests;


1)
Sent a mail on Gmail to [EMAIL PROTECTED]  Mail arrived, being
delivered to /var/spool/mail/satimis file


# tail /var/log/mail.log
Nov 12 12:41:31 xen05 postfix/cleanup[3176]: 757D9782F6:
message-id=<[EMAIL PROTECTED]>
Nov 12 12:41:31 xen05 postfix/smtpd[3180]: disconnect from
localhost.localdomain[127.0.0.1]
Nov 12 12:41:31 xen05 postfix/qmgr[2884]: 757D9782F6:
from=<[EMAIL PROTECTED]>, size=2221, nrcpt=1 (queue active)
Nov 12 12:41:31 xen05 amavis[2419]: (02419-01) FWD via SMTP:
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, 250 2.6.0 Ok,
id=02419-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
757D9782F6
Nov 12 12:41:32 xen05 postfix/local[3182]: 757D9782F6:
to=<[EMAIL PROTECTED]>, relay=local, delay=0.58,
delays=0.08/0.37/0/0.14, dsn=2.0.0, status=sent (delivered to mailbox)
Nov 12 12:41:32 xen05 postfix/qmgr[2884]: 757D9782F6: removed
Nov 12 12:41:32 xen05 amavis[2419]: (02419-01) Passed CLEAN,
[74.125.44.152] [74.125.44.152] <[EMAIL PROTECTED]> ->
<[EMAIL PROTECTED]>, Message-ID:
<[EMAIL PROTECTED]>, mail_id:
12vF5yRxczq8, Hits: -, queued_as: 757D9782F6, 1722 ms
Nov 12 12:41:32 xen05 amavis[2419]: (02419-01) TIMING [total 1736 ms] -
SMTP EHLO: 341 (20%)20, SMTP pre-MAIL: 1 (0%)20, mkdir tempdir: 15
(1%)21, create email.txt: 2 (0%)21, SMTP pre-DATA-flush: 11 (1%)21,
SMTP DATA: 10 (1%)22, body_digest: 10 (1%)23, gen_mail_id: 4 (0%)23,
mkdir parts: 1 (0%)23, mime_decode: 136 (8%)31, get-file-type1: 73
(4%)35, decompose_part: 2 (0%)35, parts_decode: 0 (0%)35, update_cache:
110 (6%)41, decide_mail_destiny: 2 (0%)41, fwd-connect: 160 (9%)51,
fwd-mail-from: 11 (1%)51, fwd-rcpt-to: 26 (2%)53, fwd-data-cmd: 2
(0%)53, write-header: 12 (1%)54, fwd-data-contents: 0 (0%)54,
fwd-data-end: 38 (2%)56, fwd-rundown: 6 (0%)56, prepare-dsn: 734
(42%)98, main_log_entry: 15 (1%)99, update_snmp: 7 (0%)100,
unlink-1-files: 5 (0%)100, rundown: 1 (0%)100
Nov 12 12:41:32 xen05 postfix/smtp[3178]: DA9DB782D3:
to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.4,
delays=1.6/0.03/0.41/1.4, dsn=2.6.0, status=sent (250 2.6.0 Ok,
id=02419-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
757D9782F6)
Nov 12 12:41:32 xen05 postfix/qmgr[2884]: DA9DB782D3: removed


# ls -al /var/spool/mail/
total 52
drwxrwsr-x  3 rootmail 4096 2008-11-12 12:55 .
drwxr-xr-x 14 rootroot 4096 2008-11-07 11:31 ..
-rw---  1 rootmail30076 2008-11-12 06:25 root
-rw---  1 satimis mail 6639 2008-11-12 12:55 satimis
drwxr-sr-x  2 virtual virtual  4096 2008-11-08 06:33 virtual


2)
Sent another mail on Yahoo to [EMAIL PROTECTED]


# tail /var/log/mail.log
Nov 12 12:41:32 xen05 amavis[2419]: (02419-01) TIMING [total 1736 ms] -
SMTP EHLO: 341 (20%)20, SMTP pre-MAIL: 1 (0%)20, mkdir tempdir: 15
(1%)21, create email.txt: 2 (0%)21, SMTP pre-DATA-flush: 11 (1%)21,
SMTP DATA: 10 (1%)22, body_digest: 10 (1%)23, gen_mail_id: 4 (0%)23,
mkdir parts: 1 (0%)23, mime_decode: 136 (8%)31, get-file-type1: 73
(4%)35, decompose_part: 2 (0%)35, parts_decode: 0 (0%)35, update_cache:
110 (6%)41, decide_mail_destiny: 2 (0%)41, fwd-connect: 160 (9%)51,
fwd-mail-from: 11 (1%)51, fwd-rcpt-to: 26 (2%)53, fwd-data-cmd: 2
(0%)53, write-header: 12 (1%)54, fwd-data-contents: 0 (0%)54,
fwd-data-end: 38 (2%)56, fwd-rundown: 6 (0%)56, prepare-dsn: 734
(42%)98, main_log_entry: 15 (1%)99, update_snmp: 7 (0%

Re: postfix can't send and receive mails (SOLVED) - resend

2008-11-12 Thread Stephen Liu

--- lee <[EMAIL PROTECTED]> wrote:

> On Wed, 12 Nov 2008 21:25:24 +0800 (CST)
> Stephen Liu <[EMAIL PROTECTED]> wrote:
> 
> > building postfix virtual which is my goal.
> 
> Hm, if you want to make it "virtual only", I guess you would have to
> have an empty mydestinations and add all the domains for which mail
> is
> to be delivered locally (that is somewhat illogical, though, because
> the mail is actually being delivered locally, just using a different
> transport) to the database (or to where ever you store the list of
> virtual domains).


That is what I'm trying to do.  I have the database maildb created


To run following commands on mysql to create further new domain:-

INSERT INTO domains (domain) VALUES ('domain.tld'); 
INSERT INTO aliases (mail,destination) VALUES 
('@domain.tld','[EMAIL PROTECTED]'), 
('[EMAIL PROTECTED]','[EMAIL PROTECTED]'), 
('[EMAIL PROTECTED]','[EMAIL PROTECTED]');


To run following commands on mysql to add further new user to the
system;_

INSERT INTO users (id,name,maildir,clear) VALUES 
('[EMAIL PROTECTED]','short description','foldername/','password'); 
INSERT INTO aliases (mail,destination) VALUES 
('[EMAIL PROTECTED]','[EMAIL PROTECTED]');


I have run following commands previously to create the 1st domain on
this box:-

mysql> INSERT INTO aliases (mail,destination) VALUES
-> ('@satimis.com.tld','[EMAIL PROTECTED]'),
-> ('[EMAIL PROTECTED]','[EMAIL PROTECTED]'),
-> ('[EMAIL PROTECTED]','[EMAIL PROTECTED]');
Query OK, 3 rows affected (0.00 sec)
Records: 3  Duplicates: 0  Warnings: 0


To add the first new user to the system

mysql> INSERT INTO users (id,name,maildir,clear) VALUES
-> ('[EMAIL PROTECTED]','Stephen','Stephen/','x05satimis');
Query OK, 1 row affected (0.00 sec)

mysql> INSERT INTO aliases (mail,destination) VALUES
-> ('[EMAIL PROTECTED]','[EMAIL PROTECTED]');
Query OK, 1 row affected (0.00 sec)


But I can't find the folder 'Stephen/'


I don't know why?  


Besides I haven't figured out how to edit main.cf directing the
incoming mails to their respective folders.  Advice would be
appreciated.  TIA



> If you do not serve a large number of domains and/or users that are
> not
> local users on the host, you don't need to use virtual domains at
> all.


No, I don't have large number of domains/users.  This is only a test. 
I'm trying to learn how to make it through test.


> It still doesn't work right before you fix the setup of virtual
> domains. Either remove it, or fix it, but if you fix it, you will
> have
> to do something about mydestinations. If you fix it and leave
> mydestinations untouched, you will have specified two different ways
> of
> dealing with mail for some of the domains you serve (i. e. deliver
> locally and deliver "virtually").


How to make it?  Thanks

 
> > Nov 12 12:48:10 xen05 postfix/smtpd[3378]: NOQUEUE: reject: RCPT
> from
> > web35208.mail.mud.yahoo.com[66.163.179.87]: 450 4.7.1
> > <[EMAIL PROTECTED]>: Recipient address rejected: Greylisted, see
> > http://isg.ee.ethz.ch/tools/postgrey/help/satimis.com.html;
> > from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=SMTP
> > helo=
> > 
> > It also arrived, being added on the same file
> /var/spool/mail/satimis
> > again.
> 
> But the recipient address <[EMAIL PROTECTED]> is graylisted for
> some
> reason. And afair, 450 is a temporary error, telling the sending MTA
> to
> try again later because it is to be expected that the problem will be
> solved and the mail can be accepted later, see the RFC. You need to
> find out why this message has been delivered though it shouldn't, and
> weather 450 is the right response or not: If you always don't want to
> accept incoming mail to greylisted addresses, the response should be
> 550.


But this only happened once.


> To be curious, what happens when a mail is detected to be SPAM or to
> contain a virus? Exim can have mails scanned before accepting them;
> does
> postfix the same? 


I don't know.  I'm learning.


> I would highly recommend that because it's pretty
> much the only policy you can have for viruses: It prevents you from
> making mail vanish without notice --- which is not acceptable in any
> case --- and from flooding the mail queue with error messages that
> cannot be delivered and should not be sent in response to viruses
> anyway. You can do the same for SPAM, unless you have users who
> pref

Re: postfix can't send and receive mails (SOLVED)

2008-11-12 Thread Stephen Liu

Hi lee,





> On Wed, 12 Nov 2008 14:57:54 +0800 (CST)
> Stephen Liu <[EMAIL PROTECTED]> wrote:
> 
> > # grep relayhost /etc/postfix/main.cf
> > relayhost =
> 
> Ok, I guess that would mean that there are no hosts specified for
> which
> xen05 is allowed to relay mail.
> 
> > comment out that line 'mydestination';
> 
> http://www.postfix.org/basic.html says:
> 
>   "The mydestination parameter specifies what domains this machine
> will
>deliver locally, instead of forwarding to another machine. The
> default
>is to receive mail for the machine itself."
> 
> See also the examples for the default on that page. I don't know what
> exactly you are trying to do --- if you only want to send and recieve
> mail from and to users on xen05, the default for mydestination should
> suffice.
> 
> But if you are trying to have mail for users at another domain
> (satimis.com is another domain) delivered locally, you need to
> specify
> that domain as one of the domains given in mydestination. For
> example:
> 
> mydestination = $myhostname, localhost.$mydomain, localhost,
> satimis.com
> 
> You need to read the documentation to find out what exactly
> $myhostname
> and $mydomain are and/or how they get filled. I still have doubts
> about
> localhost.$mydomain, that one doesn't make any sense to me: localhost
> is localhost, there is no domain involved with that.
> 
> > # tail /var/log/mail.log
> > Nov 12 06:53:52 xen05 postfix/smtpd[3448]: connect from
> > web35206.mail.mud.yahoo.com[66.163.179.85]
> > Nov 12 06:53:53 xen05 postfix/smtpd[3448]: NOQUEUE: reject: RCPT
> from
> > web35206.mail.mud.yahoo.com[66.163.179.85]: 554 5.7.1
> > <[EMAIL PROTECTED]>: Relay access denied;
> 
> That seems about right because you don't have specified that
> mail for users at satimis.com is to be delivered locally.
> 
> Note that xen05.satimis.com and satimis.com are two different domains
> (or hosts). That's why I pointed out in my other post that in terms
> of
> mail delivery, a domain is always a FQDN.
> 
> > from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=SMTP
> > helo=
> > Nov 12 06:53:54 xen05 postfix/smtpd[3448]: disconnect from
> > web35206.mail.mud.yahoo.com[66.163.179.85]
> > Nov 12 06:53:55 xen05 postfix/smtpd[3448]: connect from
> > web35206.mail.mud.yahoo.com[66.163.179.85]
> > Nov 12 06:53:56 xen05 postfix/smtpd[3448]: NOQUEUE: reject: RCPT
> from
> > web35206.mail.mud.yahoo.com[66.163.179.85]: 554 5.7.1
> > <[EMAIL PROTECTED]>: Relay access denied;
> from=<[EMAIL PROTECTED]>
> > to=<[EMAIL PROTECTED]> proto=SMTP
> helo=
> 
> You are not delivering mail for satimis.com locally, and you don't
> relay it, either. The only choice is to reject it. Remember, in terms
> of mail delivery, a domain is always a FQDN.
> 
> > Nov 12 06:53:56 xen05 postfix/smtpd[3448]: disconnect from
> > web35206.mail.mud.yahoo.com[66.163.179.85]
> > Nov 12 06:57:16 xen05 postfix/anvil[3449]: statistics: max
> connection
> > rate 2/60s for (smtp:66.163.179.85) at Nov 12 06:53:55
> > Nov 12 06:57:16 xen05 postfix/anvil[3449]: statistics: max
> connection
> > count 1 for (smtp:66.163.179.85) at Nov 12 06:53:52
> > Nov 12 06:57:16 xen05 postfix/anvil[3449]: statistics: max cache
> size
> > 1 at Nov 12 06:53:52
> 
> These max values seem a bit odd. Only 2 connections per minute
> allowed?
> Cache size only 1 (1 of what?)?
> 
> > Could you please explain in more detail.  Where to check and how to
> > correct it.  TIA
> 
> Well, I can try, but like I said, I don't know postfix ... You need
> to
> tell us what exactly you want to do (relay mail? recieve it? send
> it? ...), what domains and hosts are involved and how mail arrives
> (static IP? fetchmail?).
> 
> The next thing is to check the stuff about virtual domains --- I'm
> guessing that you don't need any of that. See
> http://www.postfix.org/virtual.8.html:
> 
> "   virtual_mailbox_domains ($virtual_mailbox_maps)
>   Postfix is final destination for the specified list
>   of   domains;  mail  is  delivered  via  the  $vir-
>   tual_transport mail delivery transport.
> "
> 
> "   virtual_mailbox_maps (empty)
>   Optional lookup tables with all valid addresses  in
>   the domains that match $virtual_mailbox_domains.
> "
> 
> Now you specified
> 
> > mysql> SELECT * from domains;  
> > +--+---+---+-+
> > | pki

Re: postfix can't send and receive mails

2008-11-12 Thread Stephen Liu

--- tôba <[EMAIL PROTECTED]> wrote:

> On Wed, 12 Nov 2008 14:57:54 +0800 (CST)
> Stephen Liu <[EMAIL PROTECTED]> wrote:
> 
> > 
> > --- lee <[EMAIL PROTECTED]> wrote:
> > 
> > > On Tue, 11 Nov 2008 12:59:10 +0800 (CST)
> > > Stephen Liu <[EMAIL PROTECTED]> wrote:
> > > 
> > > > Nov 11 02:41:55 xen05 postfix/smtpd[3445]: NOQUEUE: reject:
> RCPT
> > > from
> > > > unknown[121.34.170.57]: 554 5.7.1 <[EMAIL PROTECTED]>: Relay
> access
> > > > denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]>
> proto=ESMTP
> > > > helo=<57.170.34.121.broad.sz.gd.dynamic.163data.com.cn>
> > > > Nov 11 02:41:55 xen05 postfix/smtpd[3445]: lost connection
> after
> > > RCPT
> > > > from unknown[121.34.170.57]
> > > > Nov 11 02:41:55 xen05 postfix/smtpd[3445]: disconnect from
> > > > unknown[121.34.170.57]
> > > 
> > > > I have been googling a while without solution discovered.  The
> > > cause
> > > > is supposed to be no relay_domains defined.
> > > 
> > > > mysql> SELECT * from domains;
> > > > +--+---+---+-+
> > > > | pkid | domain| transport | enabled |
> > > > +--+---+---+-+
> > > > |1 | localhost | virtual:  |   1 |
> > > > |2 | localhost.localdomain | virtual:  |   1 |
> > > > |3 | satimis.com.tld   | virtual:  |   1 |
> > > > +--+---+---+-+
> > > > 3 rows in set (0.00 sec)
> > > > 
> > > > 
> > > > Whether it just needs "satimis.com" dropping
> > > ".tld"-top_level_domain ?
> > > 
> > > That seems about right. I don't know postfix, but it seems that
> > > postfix
> > > on  rejected to relay mail from <[EMAIL PROTECTED]> to
> > > <[EMAIL PROTECTED]> and dropped the SMTP connection after the
> > > recipient
> > > (RCPT) was transmitted because the domain satimis.com is not one
> of
> > > the
> > > domains you configured postfix to relay mail for.
> > 
> > 
> > Hi lee,
> > 
> > 
> > # grep relayhost /etc/postfix/main.cf
> > relayhost =
> > 
> > 
> > > , I guess, is xen05.satimis.com, though I didn't see
> > > where you allow postfix to handle mail for  other than
> in
> > > "mydestination". If you have several hosts in the domain
> satimis.com
> > > and
> > > want postfix to relay mail for them, you will need to configure
> > > postfix
> > > to do so.
> > > 
> > > What I don't understand is why localhost, localhost.localdomain
> and
> > > xen05.satimis.com are also listed as virtual mailbox domains:
> These
> > > domains are not virtual?
> > 
> > 
> > comment out that line 'mydestination';
> > 
> > 
> > # grep mydestination /etc/postfix/main.cf
> > #mydestination = xen05.satimis.com, localhost.satimis.com, ,
> localhost
> > 
> > 
> > Incoming mails are still rejected;
> 
> 
> Commenting mydestination was a bad idea.
> Insead of commenting, you should add satimis.com or replace
> xen05.satimis.com and localhos.satimis.com by satimis.com.
> Your log show relay access denied to [EMAIL PROTECTED] One of the
> causes is that satimis.com is not in mydestination.
> 
> relayhost is used if you want route all mail to a server (eg your
> FAI's
> server) and that server will route it to the mx. So, I suggest you to
> put your FAI smtp server if you have home connection and your server
> do
> not have a fqdn.
> 
> Hope it will help.


Hi Tôba,


I don't have FAI server here.


What I'm trying to build is a mail server running postfix virtual
having multiple domains.  Each domain has its own users.  This is a
test only enable me to learn how to build it.


This mail server is running as guest on a Xen box which is also for
testing purpose.  There are several guests built on this Xen box.  All
of them are mail servers, either working or not finished building yet. 
But they are not running without being started, just sitting there. 
They can be started running simultaneously.


What I'm trying to achieve is;

1)
to have several domains installed on this mail server, each domain
having its own users

2)
data of domains and their users are retain on maildb running on mysql 

3)
all outg

Re: Vbox -vs- OpenVZ?

2008-11-13 Thread Stephen Liu

--- Mark Allums <[EMAIL PROTECTED]> wrote:

> Dennis Wicks wrote:
> > Greetings;
> > 
> > Just saw a mention of another interesting product; OpenVZ.
> > 
> > Has anybody done any comparison between VBox and OpenVZ?
> > 
> > Any opinions about which is better?
> > 
> > Many TIA!
> > Dennis
> > 
> 
> VirtualBox has been getting a lot of maintenance lately, which I
> regard 
> as a Good Sign.  Don't know about openVZ.
> 
> Mark Allums


Hi Mark,


Is VirtualBox for kernel virtualization?  How about Vserver?


B.R.
Stephen


Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Problem on slow keystroke response - guest on Xen box

2008-11-27 Thread Stephen Liu
Hi folks,


Host - Debian Etch
Guests - Debian Etch.


Performed following steps to create duplicate guest, a mail server.


1)
# cp /etc/xen/guest-1.cfg /etc/xen/guest-2.cfg


edit guest-2.cfg changing the settings of:-
disk = ['file:/vserver/domains/guest-2_directory/disk.img,hda1,w',
'file:/vserver/domains/guest-2_directory/swap.img,hda2,w']

#  Hostname
name = 'guest-2_hostname'

#  Networking
vif = ['ip=guest-2_localIP, mac=00:16:3E:C2:AA:77']


2)
# mkdir /vserver/domains/guest-2_directory

# cp /vserver/domains/guest-1_directory/disk.img
/vserver/domains/guest-2_directory/

# cp /vserver/domains/guest-1_directory/swap.img
/vserver/domains/guest-2_directory/


3)
Start guest-2 and login with password of guest-1

Edit /etc/hosts, /etc/hostname, /etc/network/interfaces, root_password,
user_passwords, etc.


4)
Restart guest-2 and login with new data.  The new mail server, guest-2,
is working.


But occasionally I found running both guest-1 and guest-2
simultaneously slow response to keystroke will occur on either of them.
 I have to sit back and wait.  Please advise where shall I check and
how to fix this problem?  TIA


Besides, is there a better way to clone a guest on the same Xen box?


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Seeking advice on networking

2008-11-28 Thread Stephen Liu
Hi folks,


Host - Debian Etch Workstation
Guest01 - mail server for routing
Guest02 - mail server, hostname01. localIP01, domain01
Guest03 - mail server, hostname02, localIP02, domain02
Guest04 - mail server, hostname03, localIP02, domain03
etc.

all mail servers running postfix as MTA on Debian Etch.

single (one) external IP with all ports forwarded to Guest01 except
port 53 which is forwarded to the DNS server, also running on a guest
of the Xen box.


Guest01 routes all incoming mails according to their domains to
respective mail servers.  All outgoing mails are sent via the routing
mail server, Guest01, to Internet.


The system is working nicely on Intranet.  Mail client, Evolution, on
workstations connected to local network, the Intranet, can send/receive
mails on the mail servers.  Server settings on mail client work on
either local IP or on hostname.  


My question is if the workstation is on remote site, not on local
network.  What will be the server settings on the mail client.  If on
external IP how can the remote mail client find the mail server which
it needs to connect.  Please shed me some light.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Problem after upgrade

2008-12-19 Thread Stephen Liu
Hi folks,

Xen
dom0/host   Debian Etch, a workstation
domU/guest  Postfix mail server on Debian Etch


dom0
after running
# aptitude update
# aptitude upgrade

It works without problem.


domU
after running
# aptitude update

# aptitude upgrade

1)
A new version of configuration file /etc/clamav/clamd.conf is
available,
but your version has been locally modified.

install the package maintainer's version
...
...
2)
A new version of configuration file /etc/clamav/freshclam.conf is
available, but your version has been locally modified.

install the package maintainer's version


Reboot the guest (domU)


Problem comes.  On dum0, mouse pointer becomes unstable.  On dragging
the mouse it vibrates not easy to control.  Press keys on keyboard
without response, requiring hitting the key twice/3rd times.  Shutdown
domU everything becomes normal.  It seems a program continuously
restarting.


It was also noticing that

On domU
# xm list

Name ID   Mem VCPUs  State   Time(s)
Domain-0 0  3417 2   r-  10635.8
xen12.satimis.com232 1   r-240.0


The number "240.0" corresponding to "xen12.satimis.com" changed rapidly
on next run of "xm list".  The HD LED flashed.


Please advise where to check the cause and how to fix the problem.  TIA


Remark:
Actually the guest (domU) only starts.  It is not doing any work. 
However the mail server can work to send/receive mails without problem.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



clamd consuming 99.6% cpu

2008-12-20 Thread Stephen Liu
Hi folks,


Debian Etch,


After running update and upgrade.  On running 'top' it is discovered
that "clamd" continuously consuming 99.6% CPU.  Please advise how to
fix the problem.  TIA


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: clamd consuming 99.6% cpu

2008-12-21 Thread Stephen Liu

--- frank  wrote:

> On Sat, 2008-12-20 at 17:29 +0800, Stephen Liu wrote:
> 
> > After running update and upgrade.  On running 'top' it is
> discovered
> > that "clamd" continuously consuming 99.6% CPU.  Please advise how
> to
> > fix the problem.  TIA
> 
> Maybe your clamd version is broken. Check with strace what clamd is
> doing. I ll bet its reading the heuristic file. If so use another
> version. I got a fixed one from here.


Hi Frank,


Thanks for your advice.


This mail server is running on a Xen box as guest.  The host is a
Debian Etch workstation.  I also ran "aptitute update/upgrade" on the
host.  This is no problem afterwards up to now.


I found a solution, maybe a temporary one as follow;


Edited /etc/clamav/clamd.conf
adding a line "PhishingScanURLs no" to the end of the file.  Rebooted
the guest, the mail server, then problem gone.


Performed following test;

Delete the the above line on /etc/clamav/clamd.conf

Problem re-occurs


# ls -l /etc/clamav/clamd.conf
-rw-r--r-- 1 root root 1212 2008-12-22 00:10 /etc/clamav/clamd.conf


# grep clamav /etc/group
amavis:x:108:clamav
clamav:x:109:


# strace clamd
execve("/usr/sbin/clamd", ["clamd"], [/* 15 vars */]) = 0
uname({sys="Linux", node="xen13.satimis.com", ...}) = 0
brk(0)  = 0x8055000
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f59000
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=14291, ...}) = 0
mmap2(NULL, 14291, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f55000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/usr/lib/libclamav.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320h\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=385156, ...}) = 0
mmap2(NULL, 384116, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7ef7000
mmap2(0xb7f53000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5c) = 0xb7f53000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p5\0\000"...,
512) = 512fstat64(3, {st_mode=S_IFREG|0644, st_size=76548, ...}) = 0
mmap2(NULL, 87808, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7ee1000
mmap2(0xb7ef3000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xb7ef3000
mmap2(0xb7ef5000, 5888, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ef5000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240H\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=89370, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7ee
mmap2(NULL, 74200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7ecd000
mmap2(0xb7edc000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb7edc000
mmap2(0xb7ede000, 4568, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ede000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1253680, ...}) = 0
mmap2(NULL, 1259676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7d99000
mmap2(0xb7ec3000, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a) = 0xb7ec3000
mmap2(0xb7eca000, 10396, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eca000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/lib/libbz2.so.1.0", O_RDONLY)= 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\20"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=66200, ...}) = 0
mmap2(NULL, 65060, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7d89000
mmap2(0xb7d98000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0xb7d98000
close(3)= 0
a

How to stop squirrelmail temporarily

2008-12-22 Thread Stephen Liu
Hi folks,


Debian Etch
Postfix
SquirrelMail
Apache2


Please advise how to stop squirrelmail, the webmail, running
temporarily.  TIA


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: How to stop squirrelmail temporarily

2008-12-23 Thread Stephen Liu

--- Tzafrir Cohen  wrote:

> On Mon, Dec 22, 2008 at 08:02:02PM +0800, Stephen Liu wrote:
> > Hi folks,
> > 
> > 
> > Debian Etch
> > Postfix
> > SquirrelMail
> > Apache2
> > 
> > 
> > Please advise how to stop squirrelmail, the webmail, running
> > temporarily.  TIA
> 
> Stop apache? Add a temporary rewrite / alias / symlink to redirect
> the 
> traffic to a "down for repairs" page? Make the 404 page "down for 
> repairs"?


Hi Tzafrir,


I need ports 143 and 993 for another test.  I suspect SquirrelMail
taking up those ports.


Thanks


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: How to stop squirrelmail temporarily

2008-12-23 Thread Stephen Liu
> On Wed, 2008-12-24 at 11:38 +0800, Stephen Liu wrote:
> 
> > I need ports 143 and 993 for another test.  I suspect SquirrelMail
> > taking up those ports.
> 
> Your imap server will listen on those ports; Squirrelmail will
> connect
> to one of those, but not listen on it.



Hi Richard,


Thanks for your advice.


I'm testing perdition: Mail Retrieval Proxy
http://www.vergenet.net/linux/perdition/


but can't get it started;

# tail -9 /var/log/syslog | grep perdition
..
vanessa_socket_server_bind_sockaddr_in: bind: Address already in use
Dec 24 03:37:44 xen13 perdition[3247]: vanessa_socket_server_bind:
vanessa_socket_server_bind
Dec 24 03:37:44 xen13 perdition[3247]: main: vanessa_socket_server_bind
Dec 24 03:37:44 xen13 perdition[3247]: Fatal error listening for
connections. Exiting.


perdition uses ports 143 and 993


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: How to stop squirrelmail temporarily

2008-12-24 Thread Stephen Liu
 I-Node PID/Program
namePath
unix  2  [ ACC ] STREAM LISTENING 3412 2647/mysqld 
   /var/run/mysqld/mysqld.sock
unix  2  [ ACC ] STREAM LISTENING 4173
2824/authdaemond/var/run/courier/authdaemon/socket.tmp
unix  2  [ ACC ] STREAM LISTENING 4479 2938/master 
   public/cleanup
unix  2  [ ACC ] STREAM LISTENING 4486 2938/master 
   private/tlsmgr
unix  2  [ ACC ] STREAM LISTENING 4491 2938/master 
   private/rewrite
unix  2  [ ACC ] STREAM LISTENING 4495 2938/master 
   private/bounce
unix  2  [ ACC ] STREAM LISTENING 4499 2938/master 
   private/defer
unix  2  [ ACC ] STREAM LISTENING 4503 2938/master 
   private/trace
unix  2  [ ACC ] STREAM LISTENING 4507 2938/master 
   private/verify
unix  2  [ ACC ] STREAM LISTENING 4511 2938/master 
   public/flush
unix  2  [ ACC ] STREAM LISTENING 4515 2938/master 
   private/proxymap
unix  2  [ ACC ] STREAM LISTENING 4519 2938/master 
   private/smtp
unix  2  [ ACC ] STREAM LISTENING 4523 2938/master 
   private/relay
unix  2  [ ACC ] STREAM LISTENING 4527 2938/master 
   public/showq
unix  2  [ ACC ] STREAM LISTENING 4531 2938/master 
   private/error
unix  2  [ ACC ] STREAM LISTENING 4535 2938/master 
   private/discard
unix  2  [ ACC ] STREAM LISTENING 4539 2938/master 
   private/local
unix  2  [ ACC ] STREAM LISTENING 4543 2938/master 
   private/virtual
unix  2  [ ACC ] STREAM LISTENING 4547 2938/master 
   private/lmtp
unix  2  [ ACC ] STREAM LISTENING 4551 2938/master 
   private/anvil
unix  2  [ ACC ] STREAM LISTENING 4555 2938/master 
   private/scache
unix  2  [ ACC ] STREAM LISTENING 4559 2938/master 
   private/maildrop
unix  2  [ ACC ] STREAM LISTENING 4563 2938/master 
   private/uucp
unix  2  [ ACC ] STREAM LISTENING 4567 2938/master 
   private/ifmail
unix  2  [ ACC ] STREAM LISTENING 4571 2938/master 
   private/bsmtp
unix  2  [ ACC ] STREAM LISTENING 4575 2938/master 
   private/scalemail-backend
unix  2  [ ACC ] STREAM LISTENING 4579 2938/master 
   private/mailman
unix  2  [ ACC ] STREAM LISTENING 4583 2938/master 
   private/amavis
unix  2  [ ACC ] STREAM LISTENING 4592 2938/master 
   public/pre-cleanup
unix  2  [ ACC ] STREAM LISTENING  2583/amavisd
(maste /var/run/amavis/amavisd.sock


# /etc/init.d/perdition stop
Stopped /usr/sbin/perdition.pop3 (pid 2874).
Stopped /usr/sbin/perdition.pop3s (pid 2876).
No /usr/sbin/perdition.imap4 found running; none killed.
No /usr/sbin/perdition.imaps found running; none killed.


# ps aux | grep perdition
root  3114  0.0  2.0   2864   692 pts/2S+   11:02   0:00 grep
perdition


# kill -9 692
-bash: kill: (692) - No such process


# kill -9 2864
-bash: kill: (2864) - No such process


# kill -9 3114
-bash: kill: (3114) - No such process


# /etc/init.d/perdition start
Starting /usr/sbin/perdition.pop3...
Starting /usr/sbin/perdition.pop3s...
Starting /usr/sbin/perdition.imap4...
Starting /usr/sbin/perdition.imaps...


# tail -f /var/log/syslog | grep perdition
Dec 24 11:03:38 xen13 perdition[3121]: version=1.17, add_domain="",

- snip -

Dec 24 11:03:38 xen13 perdition[3124]: vanessa_socket_daemon_setid:
uid=65534 eu id=65534 gid=65534 egid=65534
Dec 24 11:03:38 xen13 perdition[3127]:
vanessa_socket_server_bind_sockaddr_in: b ind: Address already in use
Dec 24 11:03:38 xen13 perdition[3127]: vanessa_socket_server_bind:
vanessa_socke t_server_bind
Dec 24 11:03:38 xen13 perdition[3127]: main: vanessa_socket_server_bind
Dec 24 11:03:38 xen13 perdition[3127]: Fatal error listening for
connections. Ex iting.


Still fail.


B.R.
Stephen L





> 
> 
> 
> On Wed, Dec 24, 2008 at 4:52 AM, Stephen Liu 
> wrote:
> 
> > > On Wed, 2008-12-24 at 11:38 +0800, Stephen Liu wrote:
> > >
> > > > I need ports 143 and 993 for another test.  I suspect
> SquirrelMail
> > > > taking up those ports.
> > >
> > > Your imap server will listen on those ports; Squirrelmail will
> > > connect
> > > to one of those, but not listen on it.
> >
> >
> >
> > Hi Richard,
> >
> >
> > Thanks for your advice.
> >
> >
> > I'm testing perdition: Mail Retrieval Proxy
> > http://www.vergenet.net/linux/perdition/
> >
> >
> > but can&#x

Where to download cyrus-sasl

2009-01-02 Thread Stephen Liu
Hi folks,


Debian Etch
Postfix
MySQL


I need to install cyrus-sasl but can't find it on repo.  


I visit;
Debian Cyrus SASL packages
http://pkg-cyrus-sasl2.alioth.debian.org/


but could not discover where to download the package.  Please shed me
some light.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Where to download cyrus-sasl

2009-01-02 Thread Stephen Liu

--- Andrei Popescu  wrote:

> On Fri,02.Jan.09, 22:53:14, Stephen Liu wrote:
> > Hi folks, 
> > 
> > Debian Etch
> > Postfix
> > MySQL
> >
> > I need to install cyrus-sasl but can't find it on repo.  
> 
> I'm guessing you need libsasl2-modules.
> 
> Regards,


Hi Andrei,


Thanks for your advice.


I'm following this howto;
Postfix SMTP AUTH (and TLS) HOWTO
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/index.html

adding SMTP AUTH
 

This is a routing mail server which is working here already without
problem, running virtual domain (all domains point to ONE external IP).
 Incoming mails are routed to their own mail server in the same
network.Remote mail clients can download mails on their own mail
server after login.  But the roaming mail clients can't send mails via
their own mail server.  I'm trying to build SMTP AUTH.


Any advice which cyrus package/packages I need to installed.


Remark: Perdition is running on this routing mail server.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Where to download cyrus-sasl

2009-01-02 Thread Stephen Liu

--- "Boyd Stephen Smith Jr."  wrote:

> On Friday 2009 January 02 08:53:14 Stephen Liu wrote:
> > I need to install cyrus-sasl but can't find it on repo.
> 
> cyrus-sasl is broken into 13 different packages on debian:
> http://packages.debian.org/source/etch/cyrus-sasl2
> 
> To start with, you'll probably want libsasl.  Based on the other
> information 
> you provided, libsasl2-modules-sql may also be appropriate.  All the
> binary 
> packages should be in "main", but I haven't confirmed that.
> 
> Once you determine the package(s) you need, you can install it just
> like any 
> other package:
> aptitude install 
> -- 
> Boyd Stephen Smith Jr. 


Hi,


Thanks for your advice.


I'm following this howto;
Postfix SMTP AUTH (and TLS) HOWTO
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/index.html

to build SMTP AUTH


What other packages I need additional to libsasl and
libsasl2-modules-sql?  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Where to download cyrus-sasl

2009-01-02 Thread Stephen Liu

--- Alex Potter  wrote:

> On Fri, 02 Jan 2009 16:00:15 +0100, Stephen Liu wrote:
> 
> > I need to install cyrus-sasl but can't find it on repo
> 
>
http://packages.debian.org/search?keywords=sasl&searchon=names&suite=stable§ion=all
> or
> http://preview.tinyurl.com/9uq5oz
> 
> -- 
> Regards


Hi Alex,


Advice noted with thanks.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Repo for downloading PSPP

2009-04-22 Thread Stephen Liu

Hi folks,


Debian Lenny


$ cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

deb http://ftp.us.debian.org/debian/ lenny non-free
deb http://ftp.us.debian.org/debian/ lenny contrib
* end *


Please advise which repo provides PSPP?  TIA


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Problem running "apt-get update"

2009-04-22 Thread Stephen Liu

Hi folks,


Debian Lenny


$ cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

deb http://ftp.us.debian.org/debian/ lenny non-free
deb http://ftp.us.debian.org/debian/ lenny contrib
[/code]# apt-file update
* end *


# apt-file update
Can't get
http://security.debian.org/dists/lenny/updates/Contents-i386.gz

Please advise how to fix the problem. TIA


B.R.
sato,os

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: Boot Debian to a command line and prevent X from starting on boot

2009-04-24 Thread Stephen Liu


--- Robert Menes  wrote:

> Hi folks, I have a Debian lenny-stable install that I need a little
> memory refresher with.
> 
> I need to boot and go straight to a terminal, and not start X on
> bootup. I know there was a
> way of doing so, but I forgot (I'm a little rusty and need to not be
> rusty).
> 
> Can someone tell me how to just boot and land on the command line,
> bypassing X? Thanks!


Hi Robert,


Whether you meant starting "text mode"/"init 3" at boot whenever you
need but not permanently.  If "YES" I did it frequently about 5~6 years
ago.  The steps are as follows;

1. Boot your computer into GRUB
2. Highlight the most recent kernel on the list (if having several
kernels)
3. Press "e" key to edit the commands for that kernel before booting.
4. On the next screen, highlight the line that says "kernel
/vmlinuz..." and press the "e" key again.
5. At the END of the line of " grub edit > kernel /vmlinuz..." hit the
space bar once (to get a space before typing) and type "init 3"/"3"
(without the quotation marks) and then press "enter" key.
6. You should now be back at the previous screen having "init 3"/"3" at
the end of the line.  Now press the "b" key to boot into text mode!

# starx   (If login as ROOT start GUI as ROOT.   Just tries to starts
x, regardless of runlevel)


Sorry I'm not working on Debian replying your posting.  I can't check
the above steps for you which I dig out from my database.  HTH


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Re: why fake raid on motherboards?

2009-04-25 Thread Stephen Liu


--- Mark Allums  wrote:

- snip -


> Only certain editions of Windows can boot from soft raid, and none of
> 
> the consumer versions.  Just the server/enterprise ones.
> 
> One can use fake/soft raid with cheap add-in cards, like the stuff 
> Highpoint does with their low-end cards.  The advantage is, if your 
> motherboard fails, you can transfer the card to a new motherboard. 
> Since the cards are relatively cheap, you can get more than one, and 
> thus keep a spare around in case the card fails.  Also, some brands 
> maintain compatibility with the older cards in the same family, so
> you 
> may be able to upgrade the card without reformatting the drives.


I ran Highpoint RAID card 7~8 years ago.  It was termed as Software
RAID dislike Adaptec RAID card.  The latter is termed as Hardware RAID
card but very expensive.  It worked without problem.  Later I found not
much advantage on running RAID.  Therefore I ceased running RAID
anymore.


I don't run Windows either.  I can find the replacement on almost all
proprietary software running on Windows.  What I can't find is the
Windows java engine on IE.  Some stupid websites still request visitors
running Windows IE to browse their sites.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



About packages on Lenny repo

2009-04-26 Thread Stephen Liu

Hi folks,


I need following packages to install PSPP graphing interface;


(see)
The following package is required to enable PSPP's graphing features.
.

on;
http://cvs.savannah.gnu.org/viewvc/pspp/INSTALL?revision=1.16&root=pspp&view=markup&pathrev=MAIN


libplot, from GNU plotutils
(http://www.gnu.org/software/plotutils/).

Whether it is;
libplplot9 (5.8.0-6) [universe]
Scientific plotting library
???


# apt-cache policy libplplot9
libplplot9:
  Installed: (none)
  Candidate: 5.9.0-8
  Version table:
 5.9.0-8 0
500 http://ftp.us.debian.org lenny/main Packages


pkg-config
(http://pkg-config.freedesktop.org/wiki/)

# apt-cache policy pkg-config
pkg-config:
  Installed: (none)
  Candidate: 0.22-1
  Version table:
 0.22-1 0
500 http://ftp.us.debian.org lenny/main Packages



libglade 
(http://www.jamesh.id.au/software/libglade/), version 2.0 or later.


Whether it is;
libglade2-0 (1:2.6.2-1)
library to load .glade files at runtime
???


# apt-cache policy libglade2-0
libglade2-0:
  Installed: 1:2.6.2-1
  Candidate: 1:2.6.2-1
  Version table:
 *** 1:2.6.2-1 0
500 http://ftp.us.debian.org lenny/main Packages
100 /var/lib/dpkg/status

Already installed.


Optional:- 


libncurses (http://www.gnu.org/software/ncurses/).  Without it,
  PSPP will assume it is running in an 80x25 terminal.

Whether it is;
libncurses5 (5.7+20081213-1)
shared libraries for terminal handling
???


# apt-cache policy libncurses5
libncurses5:
  Installed: 5.7+20081213-1
  Candidate: 5.7+20081213-1
  Version table:
 *** 5.7+20081213-1 0
500 http://ftp.us.debian.org lenny/main Packages
100 /var/lib/dpkg/status

Already installed.


libreadline and libhistory
  (http://tiswww.case.edu/php/chet/readline/rltop.html).  Without
  them, interactive command editing and history features in the
  text-based user interface will be disabled.


Whether it is;
libreadline5 (5.2-3.1)
GNU readline and history libraries, run-time libraries
???

# apt-cache policy libreadline5
libreadline5:
  Installed: 5.2-3.1
  Candidate: 5.2-3.1
  Version table:
 *** 5.2-3.1 0
500 http://ftp.us.debian.org lenny/main Packages
100 /var/lib/dpkg/status

Already installed.


I can't find;
libhistory

Where can I get it?  Thanks


Texinfo (http://www.gnu.org/software/texinfo/), version 4.7 or
  later.  Installing Texinfo will allow you to build PSPP
  documentation in PostScript or PDF format.

# apt-cache policy texinfo
texinfo:
  Installed: (none)
  Candidate: 4.11.dfsg.1-4
  Version table:
 4.11.dfsg.1-4 0
500 http://ftp.us.debian.org lenny/main Packages


Please advise.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



How to install X packages collectively

2009-04-27 Thread Stephen Liu

Hi folks,


Debian 5.0 minimal
No desktop


What option shall be up to run either "apt-get install" or "aptitude
install" installing X packages collectively.  Thanks.


Further more;

# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

deb http://ftp.us.debian.org/debian/ lenny non-free
deb http://ftp.us.debian.org/debian/ lenny contrib 
* end *

Any additional repo I have to add?  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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



Large font on display

2010-02-26 Thread Stephen Liu
Hi folks,


Mobo - Asus M4A78T-E
CPU - Phenom II X4 955
RAM - DDR3 1333 dualchannel 8G
Display - Samsung 2494
Debian 504 64bit

Hi folks,

Where can I download respective drivers.  Linux drivers coming with the mobo 
can't work.  There is no driver for Linux on the CD coming with the display.  
Fonts becomes very large even selecting "8".  The screen can't expand to the 
full size of the display.  However resolution is correct.  Please help.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 

  1   2   >