Re: sendmail queues

Although i think i have sendmail configured properly I had to write a script 
which parses the mqueue directory and removes unnecessary files (data files 
without control file, lost-control files, transcript files etc). I run it 
periodically to address given issues. Don't know about parallel stuff...

Regards,
Bostjan

On Tuesday 31 of August 2004 13:36, urgrue wrote:
> If my sendmail's queue fills up for some reason (for example, if a primary
> MX is down and my sendmail is its secondary MX), it takes _ages_ for it to
> empty out again. Sendmail seems to process each spooled file consecutively
> instead of in parallel, and for some reason takes ages on each. It seems
> like it doesnt "trash" mails ever. Some of the mails in the spool are a
> month old - in most cases probably spam or similar mails that dont have a
> valid destination at all, therefore simply just eat up sendmail's time as
> it goes through them all, waiting for timeout on each.
> Shouldn't mails older than 5 days simply get trashed, since I have
> Timeout.queuereturn set to 5d?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo <at> vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Matías López Bergero | 1 Sep 18:26 2004
Picon

Re: can't get lastlogin info wen loging in trough ssh


Laurent CARON wrote:
| Matías López Bergero wrote:
|
|>
|>
|> Hello,
|> Thanks for the answer Laurent,
|>
|> I am not very sure of what to look for.. or add.
|> Everything looks ok there. I compare it to another system that displays
|> the lastlogin date on the ssh login process.
|>
|> This is how the sshd file in pam.d look like:
|>
|> #%PAM-1.0
|> auth       required     /lib/security/pam_stack.so service=system-auth
|> auth       required     /lib/security/pam_nologin.so
|> account    required     /lib/security/pam_stack.so service=system-auth
|> password   required     /lib/security/pam_stack.so service=system-auth
|> session    required     /lib/security/pam_stack.so service=system-auth
|> session    required     /lib/security/pam_limits.so
|> session    optional     /lib/security/pam_console.so
|>
|> Suggestions?
|>
| Try adding
| session    optional   /lib/security/pam_lastlog.so
|
| Laurent
(Continue reading)

Luca Ferrari | 1 Sep 18:36 2004
Picon

reiserfs UncorrectableError - panic!

Hi,
today one of my machines stop working, with errors about the filesystem. After 
a reboot, the system shows a few messages like the following:

hda: dma_intr: status=0x51 {DriverReady SeejComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=1025375, high=0, 
low=1025375, sector=1025375
end_request: I/O error, dev hda, sector 1025375

I've tried to boot the machine with a rescue cdrom (the OS is suse 9.1) and I 
made a check on the disk. However, while "reiserfsck --check /dev/hda1" 
worked, "reiserfsck --rebuild-tree /dev/hda1" stops saying:
bread: cannot read a block # 9543

and, of course, I'm not able to start the machine. This happens also for 
another partition, but not for all /dev/hda partitions. In fact, /dev/hda9 
and /dev/hda11 were rightly checked. 
Searching on Internet I found that it could be a disk problem (i.e., a 
physical problem); but I hope it's not. However it must be said that the 
machine and disk in question have been used for only one year.
Any suggestion?

Thanks,
Luca
--

-- 
Luca Ferrari,
fluca1978 <at> infinito.it
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
(Continue reading)

markus reichelt | 1 Sep 19:04 2004

Re: reiserfs UncorrectableError - panic!


Luca Ferrari <fluca1978 <at> infinito.it> wrote:
> hda: dma_intr: status=0x51 {DriverReady SeejComplete Error }
> hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=1025375, high=0, 

the disk is failing and not likely to recover. backup what you can
and replace the disk. it might be a good idea to start using the
smartmon tools

--

-- 
Bastard Administrator in $hell

Laurent CARON | 1 Sep 19:00 2004
Picon

Re: reiserfs UncorrectableError - panic!

Luca Ferrari wrote:

>Hi,
>today one of my machines stop working, with errors about the filesystem. After 
>a reboot, the system shows a few messages like the following:
>
>hda: dma_intr: status=0x51 {DriverReady SeejComplete Error }
>hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=1025375, high=0, 
>low=1025375, sector=1025375
>end_request: I/O error, dev hda, sector 1025375
>
>I've tried to boot the machine with a rescue cdrom (the OS is suse 9.1) and I 
>made a check on the disk. However, while "reiserfsck --check /dev/hda1" 
>worked, "reiserfsck --rebuild-tree /dev/hda1" stops saying:
>bread: cannot read a block # 9543
>
>and, of course, I'm not able to start the machine. This happens also for 
>another partition, but not for all /dev/hda partitions. In fact, /dev/hda9 
>and /dev/hda11 were rightly checked. 
>Searching on Internet I found that it could be a disk problem (i.e., a 
>physical problem); but I hope it's not. However it must be said that the 
>machine and disk in question have been used for only one year.
>Any suggestion?
>
>Thanks,
>Luca
>  
>
seems the disk will soon die.

(Continue reading)

Kirkwood, David A | 1 Sep 21:58 2004
Picon

smbmount

I have a linux system that, unfortunately lives in a mostly microsoft world.
I have samba enabled and can share my disks out with all the proper
permissions etc just fine. However,  on occassion I need files from a
windows server. The documentation for smbmount seems to indicate that I can
connect to the windows system if I know some wins information such as the
machine ID. How do I find this if I only know th ip, or better still what is
the syntax of the command I need to execute on the linux system. The remote
system is a windows server, but I don't know the version of the O/S.

As always, all help is appreciated.

Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

JULIAN, JOHN C (AIT | 1 Sep 22:20 2004
Picon

RE: smbmount

You need to know a login and password for the box.
The machine name as found on the win box by: right click "my computer" /
properties / network identification.  I think you can use an IP address
instead of the name.
The share name of whatever you are trying to mount.

linux syntax to mount on /mnt/winbox is:
mount -t smbfs //windowsid/sharename /mnt/winbox -o
username=winlogin,password=apassword,ro

The ,ro is make it read only. You can leave that off for read/write.

John Julian

-----Original Message-----
From: linux-admin-owner <at> vger.kernel.org
[mailto:linux-admin-owner <at> vger.kernel.org] On Behalf Of Kirkwood, David
A
Sent: Wednesday, September 01, 2004 3:59 PM
To: 'Linux Mail List'
Subject: smbmount

I have a linux system that, unfortunately lives in a mostly microsoft
world.
I have samba enabled and can share my disks out with all the proper
permissions etc just fine. However,  on occassion I need files from a
windows server. The documentation for smbmount seems to indicate that I
can
connect to the windows system if I know some wins information such as
the
(Continue reading)

Scott Taylor | 1 Sep 22:43 2004

Re: smbmount


Kirkwood, David A said:

> The documentation for smbmount seems to indicate that I
> can connect to the windows system if I know some wins information such
as the machine ID. How do I find this if I only know th ip, or better
still what is the syntax of the command I need to execute on the linux
system. The remote system is a windows server, but I don't know the
version of the
>  O/S.

man smbclient

You can use smbclient -L (IP)

nmap is also nice to search the entire network for nmb clients. ;)

If it is an NT based windoze you will probably need a user name and
password, at least a username (maybe not) for Win9x

Knowing more about your network always helps.

--
Scott

--
Scott
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
(Continue reading)

Scott Taylor | 1 Sep 22:56 2004

Re: smbmount


Oops.  Forgot
man nmblookup
also

findsmb works real well too
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Luca Ferrari | 2 Sep 09:17 2004

Re: reiserfs UncorrectableError - panic!

On Wednesday 01 September 2004 19:04 markus reichelt's cat walking on the 
keyboard  wrote:

> Luca Ferrari <fluca1978 <at> infinito.it> wrote:
> > hda: dma_intr: status=0x51 {DriverReady SeejComplete Error }
> > hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=1025375,
> > high=0,
>
> the disk is failing and not likely to recover. backup what you can
> and replace the disk. it might be a good idea to start using the
> smartmon tools

Just to say, can it be related to the upgrade to the suse 9.1 made a month 
ago?

Luca

--

-- 
Luca Ferrari,
fluca1978 <at> katamail.com

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane