Pages

Search

Send local mail - how? - Forums Linux

Send local mail - how? - Forums Linux


Send local mail - how?

Posted: 19 Jan 2005 12:43 AM PST

Laurenz Albe <com> writes:
 


Be very careful though with mail servers. There are very good reasons
why they are not "open" to external connections in the default
install. An port open to the outside (especially 25) is a security
risk which can be exploited if some flaw is found in the mail
server. Moreover if your server is misconfigured it could act as a
spam relay. So take the time to really understand SMTP and what you
are doing, maybe set up some firewalling. And avoid sendmail, it's one
of the most complex software piece ever. There are alternatives
(postfix, exim,...) which are more simple to master and way powerful
enough for a setup as small as yours.

Check some comp.mail FAQ for further info.


ext3 and reiserfs journalling - what is the difference and which is better?

Posted: 18 Jan 2005 04:42 PM PST


"Peter" <net.nz> wrote in message
news:paradise.net.nz... 

If you *ARE* running large systems, such as multi-Terabyte RAID arrays that
need their file systems merged into one master array, it can make a big
difference. Ext3 is Ext2 on steroids, a workhorse of the Linux world. It's
limitations have been fixed one at a time over the course of years. Reiserfs
is more specifically aimed at large arrays. It's pretty darned good, but
writing new tools to fully use new features (such as large scale storage
arrays) becomes much more complex because it is more complex.

In most uses, the performance difference between the two is negligible. Ext3
had a problem with too many thousands of files in one directory until after
the 2.6 kernel came out with htrees, and you may see a modest performance
improvement with ReiserFS with large local disks, but it's extremely useful
to be able to repartition Ext3 partitions reliable and to use the disk
labeling trick to boot from different OS's on different parts of the same
hardware when you re-arrange your disks, especially with SCSI disks
re-ordering themselves all the time.


RedHat - SuSE recomendation

Posted: 18 Jan 2005 02:22 PM PST


"Charles Prince" <co.uk> wrote in message
news:co.uk... 

Stable is nice, but hardware changes so quickly that it's usually worth
simply doing a forklift upgrade of your servers every 3 years or so, to get
far more capacity or to reduce power consumption and cooling and to get them
off your shelves before old, difficult to replace components become too hard
to get.

It is extremely rare to have the same servers of 3 or 4 years ago able to
match the performance of a modern machine of less size, space, and power
requirements.



What's the point in having to kernels on a system?

Posted: 18 Jan 2005 11:28 AM PST

anders <no> writes:
 
 
 
 
 
 
 

Yes, because the problem was not with the kernel. It was with kdegreet or
whatever, and that is not part of the kernel. It sounds like your new
kernel worked fine.

Anyway login to runlevel 3
(when the lilo prompt comes up, hit escape or tab and type in linux 3.)
You could try then logging in and running startx.

mount: /dev/cdrom1 is not a valid block device

Posted: 17 Jan 2005 02:22 PM PST

Laurenz Albe wrote: 
Hi Laurenz - thanks for responding.

Du you have all the requisite programs and tools needed for a 2.6 

For each item listed in Chages, I have the same or a later version
except the following.

[root@localhost root]# fsck.jfs -V
fsck.jfs version 1.0.17, 02-Apr-2002

[root@localhost root]# quota -V
Quota utilities version 3.06.

[root@localhost root]# showmount --version
showmount for nfs-utils 1.0.1

[root@localhost root]# ps --version
procps version 2.0.11

Except for the above, my version is the same or a higher version.

----

A current version of 'mount'?

[root@localhost root]# mount --version
mount: mount-2.11y

----

I assume that /dev/cdrom1 is a symbolic link.
Can you do an ls -l of what it points to?

[root@localhost root]# ls -l /dev/cdrom1
lrwxrwxrwx 1 root root 8 Jan 18 14:29 /dev/cdrom1 ->
/dev/hdc

----

Are there any messages in /var/log/messages? Any in dmesg?

[root@localhost root]# cat /var/log/messages | grep CD
Jan 18 14:29:48 localhost kernel: hdc: LITE-ON LTR-12101B, ATAPI
CD/DVD-ROM drive
Jan 18 14:29:48 localhost kernel: hdd: PIONEER DVD-ROM DVD-116 ATAPI
Model 010, ATAPI CD/DVD-ROM drive
Jan 18 14:29:48 localhost kernel: Uniform CD-ROM driver Revision: 3.20
[root@localhost root]#

[root@localhost root]# cat /var/log/messages | grep cd
Jan 18 14:29:47 localhost kernel: pktcdvd: v0.2.0a 2004-07-14 Jens Axboe
(de) and com
Jan 18 14:29:48 localhost kernel: uhci_hcd 0000:00:04.2: VIA
Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Jan 18 14:29:49 localhost kernel: uhci_hcd 0000:00:04.2: irq 9, io base
0x1820
Jan 18 14:29:49 localhost kernel: uhci_hcd 0000:00:04.2: new USB bus
registered, assigned bus number 1
Jan 18 14:29:49 localhost kernel: uhci_hcd 0000:00:04.3: VIA
Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
Jan 18 14:29:49 localhost kernel: uhci_hcd 0000:00:04.3: irq 9, io base
0x1840
Jan 18 14:29:49 localhost kernel: uhci_hcd 0000:00:04.3: new USB bus
registered, assigned bus number 2
Jan 18 14:29:49 localhost kernel: usb 1-1: new full speed USB device
using uhci_hcd and address 2
Jan 18 14:29:49 localhost kernel: usb 1-1.1: new full speed USB device
using uhci_hcd and address 3
Jan 18 14:29:49 localhost kernel: usb 1-1.2: new low speed USB device
using uhci_hcd and address 4
Jan 18 14:30:26 localhost kernel: cdrom: This disc doesn't have any
tracks I recognize!
[root@localhost root]#

[root@localhost root]# dmesg | grep CD
hdc: LITE-ON LTR-12101B, ATAPI CD/DVD-ROM drive
hdd: PIONEER DVD-ROM DVD-116 ATAPI Model 010, ATAPI CD/DVD-ROM drive
Uniform CD-ROM driver Revision: 3.20
[root@localhost root]#


[root@localhost root]# dmesg | grep cd
pktcdvd: v0.2.0a 2004-07-14 Jens Axboe (de) and com
uhci_hcd 0000:00:04.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller
uhci_hcd 0000:00:04.2: irq 9, io base 0x1820
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:04.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (#2)
uhci_hcd 0000:00:04.3: irq 9, io base 0x1840
uhci_hcd 0000:00:04.3: new USB bus registered, assigned bus number 2
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1.1: new full speed USB device using uhci_hcd and address 3
usb 1-1.2: new low speed USB device using uhci_hcd and address 4
cdrom: This disc doesn't have any tracks I recognize!
[root@localhost root]#

I should mention here that I have two CD drives, and there is no CD in
the drive that is hdd. If I put the cd that is in hdc into hdd, it is
recognized.

----

Can you describe your CDROM drive?

LITE-ON LTR-12101B, ATAPI CD/DVD-ROM drive

----

What kernel options have you used to build a driver for it?

[ed@localhost linux-2.6.10]$ grep CD .config
CONFIG_CDROM_PKTCDVD=y
CONFIG_CDROM_PKTCDVD_BUFFERS=8
CONFIG_CDROM_PKTCDVD_WCACHE=y
CONFIG_BLK_DEV_IDECD=y
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set
CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
CONFIG_USB_CDCETHER=y
# CONFIG_USB_LCD is not set
# CD-ROM/DVD Filesystems
[ed@localhost linux-2.6.10]$


----

Do you use devfs?

[ed@localhost linux-2.6.10]$ grep DEVFS .config
# CONFIG_DEVFS_FS is not set
[ed@localhost linux-2.6.10]$

----

[ed@localhost linux-2.6.10]$ uname -a
Linux localhost.localdomain 2.6.10 #13 Mon Jan 17 18:54:41 EST 2005 i686
athlon i386 GNU/Linux

----


I have continued to use kernel 2.6.10 all day today and other than not
being able to mount a CD in one of my cd drives, it has behaved
perfectly. I have not seen any other problems of any kind. Thanks for
any further thought you might give to this. The other CD drive
continues to work perfectly. I have verified that if I reboot with my
2.4 kernel, then both CD drives (and everything else) still work.

Ed

Debian as a File Server to Win98

Posted: 16 Jan 2005 05:23 PM PST

> Can I do this?

It can be done.
 

That question is moot. The Win98 clients will only see the share as it
is exported by SAMBA (SMB) and will not know how the files are stored
internally by Linux.

Install the samba and samba-doc and look at the samba doc files that
get installed:
# apt-get install samba
# apt-get install samba-doc
# dpkg -L samba-doc|more

Samba is capable of supporting anything from a small home LAN like you
describe to an enterprise scale infrastructure so the documents may be
a bit daunting, but there are some examples of very simple
configurations that probably match what you are trying to do.

HTH,
hank