- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- do not receive mails from the logger
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2006 10:23 PM
тАО07-23-2006 10:23 PM
do not receive mails from the logger
I do not receive any mail from the logger facility as I've checked the mailbox for "root", everytime it shows "No mail for root".
What do I need to check and do....??
ATUL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 12:06 AM
тАО07-24-2006 12:06 AM
Re: do not receive mails from the logger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 12:55 AM
тАО07-24-2006 12:55 AM
Re: do not receive mails from the logger
What mail program are you using?
Are you getting any errors in the logs?
If not errors in the logs and just using mail to get informational messages on the system, please make sure that your resolution methods are working fine, usually when you local machine can not resolve its own name, either /etc/hosts, dns, etc it will not know where to send the mail messages anymore.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 01:50 AM
тАО07-24-2006 01:50 AM
Re: do not receive mails from the logger
I'm talking about the output when we issue the command "mail" and we get the following output ---
-------------------------------------------
[root@cubot1 ~]# mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/root": 5 messages 5 new
>N 1 root@localhost.local Tue Jul 18 04:02 67/2257 "LogWatch for cubot1"
N 2 root@localhost.local Wed Jul 19 04:02 92/2787 "LogWatch for cubot1"
N 3 root@localhost.local Thu Jul 20 04:02 82/2541 "LogWatch for cubot1"
N 4 root@localhost.local Fri Jul 21 04:02 90/2707 "LogWatch for cubot1"
N 5 root@localhost.local Sat Jul 22 04:02 91/2737 "LogWatch for cubot1"
&
-------------------------------------------
If anyone can help me in tracing this thing as to why it is not happening.
Beside, this I have the IP Address and its hostname stored in /etc/hosts file.
Thanks...
ATUL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 01:56 AM
тАО07-24-2006 01:56 AM
Re: do not receive mails from the logger
Do you mind sending the output for /etc/hosts file, and do you remember what changed on the system since the last time that you got mail?
Is the host file your only resolution method in your network?
Regards,
jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 09:01 AM
тАО07-24-2006 09:01 AM
Re: do not receive mails from the logger
service sendmail status
It should be "running"
Second thing:
tail -f /var/log/maillog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 04:59 PM
тАО07-24-2006 04:59 PM
Re: do not receive mails from the logger
Here's the output from /etc/hosts ---
-------------------------------------
[root@MLXILSFTP ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.16.18.246 MLXILSFTP
#Netbackup IP Address
10.16.0.99 icstgbk1
[root@MLXILSFTP ~]#
--------------------------------------
When I try to start the SENDMAIL service, I get the following output ---
-----------------------------------------
[root@MLXILSFTP ~]# service sendmail start
Starting sendmail: [ OK ]
Starting sm-client: can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
[FAILED]
[root@MLXILSFTP ~]#
-----------------------------------------
Also, the output of tail -f /var/log/maillog is given below ----
------------------------------------------
[root@MLXILSFTP ~]# tail -f /var/log/maillog
Jul 24 04:03:02 MLXILSFTP sendmail[32612]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied
Jul 24 04:03:02 MLXILSFTP sendmail[32614]: My unqualified host name (MLXILSFTP) unknown; sleeping for retry
Jul 24 04:04:02 MLXILSFTP sendmail[32614]: unable to qualify my own domain name (MLXILSFTP) -- using short name
Jul 24 04:04:02 MLXILSFTP sendmail[32614]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied
Jul 25 04:02:04 MLXILSFTP sendmail[2017]: My unqualified host name (MLXILSFTP) unknown; sleeping for retry
Jul 25 04:03:04 MLXILSFTP sendmail[2017]: unable to qualify my own domain name (MLXILSFTP) -- using short name
Jul 25 04:03:04 MLXILSFTP sendmail[2017]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied
Jul 25 04:03:04 MLXILSFTP sendmail[2019]: My unqualified host name (MLXILSFTP) unknown; sleeping for retry
Jul 25 04:04:04 MLXILSFTP sendmail[2019]: unable to qualify my own domain name (MLXILSFTP) -- using short name
Jul 25 04:04:04 MLXILSFTP sendmail[2019]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied
Jul 25 10:14:00 MLXILSFTP sendmail[2344]: My unqualified host name (MLXILSFTP) unknown; sleeping for retry
Jul 25 10:15:00 MLXILSFTP sendmail[2344]: unable to qualify my own domain name (MLXILSFTP) -- using short name
Jul 25 10:15:00 MLXILSFTP sendmail[2344]: alias database /etc/aliases rebuilt by lomadmin
Jul 25 10:15:00 MLXILSFTP sendmail[2344]: /etc/aliases: 78 aliases, longest 10 bytes, 802 bytes total
Jul 25 10:15:00 MLXILSFTP sendmail[2348]: My unqualified host name (MLXILSFTP) unknown; sleeping for retry
Jul 25 10:16:00 MLXILSFTP sendmail[2348]: unable to qualify my own domain name (MLXILSFTP) -- using short name
Jul 25 10:16:00 MLXILSFTP sendmail[2415]: starting daemon (8.13.1): SMTP+queueing@01:00:00
Jul 25 10:16:00 MLXILSFTP sm-msp-queue[2422]: My unqualified host name (MLXILSFTP) unknown; sleeping for retry
Jul 25 10:17:00 MLXILSFTP sm-msp-queue[2422]: unable to qualify my own domain name (MLXILSFTP) -- using short name
Jul 25 10:17:00 MLXILSFTP sm-msp-queue[2422]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied
------------------------------------------
Plz help.........
---
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 02:04 AM
тАО07-25-2006 02:04 AM
Re: do not receive mails from the logger
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 06:51 PM
тАО07-25-2006 06:51 PM
Re: do not receive mails from the logger
I did that and the output is pasted below ---
---------------------------------------
[root@MLXILSFTP ~]# chmod 770 /var/spool/clientmqueue
[root@MLXILSFTP ~]# service sendmail start
Starting sendmail: [ OK ]
Starting sm-client: can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
[FAILED]
[root@MLXILSFTP ~]#
---------------------------------------
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2006 07:33 PM
тАО07-26-2006 07:33 PM
Re: do not receive mails from the logger
I'll suggest you to reinstall sendmail package in order to fix permission problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2006 07:44 PM
тАО07-26-2006 07:44 PM
Re: do not receive mails from the logger
Information about the distro is given below ----
-----------------------------------------
[lomadmin@MLXILSFTP ~]$ cat /proc/version
Linux version 2.6.9-34.ELsmp (bhcompile@hs20-bc1-7.build.redhat.com) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Fri Feb 24 16:54:53 EST 2006
[lomadmin@MLXILSFTP ~]$
-----------------------------------------
And I've tried that as well but it didn't help me either..
Anywayz thanks for that...
--
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2006 08:28 PM
тАО07-26-2006 08:28 PM
Re: do not receive mails from the logger
Please check ownership/permission - this works for me:
[root@linux1 ~]# ll -d /var/spool/clientmqueue
drwxrwx--- 2 smmsp smmsp 4096 Jul 27 00:00 /var/spool/clientmqueue
[root@linux1 ~]# grep smm /etc/passwd
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2006 07:24 PM
тАО08-01-2006 07:24 PM
Re: do not receive mails from the logger
I have got something for you -----
--------------------------------------------
[root@MLXILSFTP ~]# ll -d /var/spool/clientmqueue
drwxrwx--- 2 smmsp smmsp 4096 Jul 26 12:23 /var/spool/clientmqueue
[root@MLXILSFTP ~]# grep smm /etc/passwd
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
[root@MLXILSFTP ~]# vi /etc/passwd
[root@MLXILSFTP ~]# service sendmail start
Starting sendmail: [ OK ]
Starting sm-client: can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
[FAILED]
[root@MLXILSFTP ~]#
--------------------------------------------
The logfile output is given below --->
--------------------------------------------
Aug 2 12:37:36 MLXILSFTP sendmail[26371]: My unqualified host name (MLXILSFTP) unknown; sleeping for retry
Aug 2 12:38:36 MLXILSFTP sendmail[26371]: unable to qualify my own domain name (MLXILSFTP) -- using short name
Aug 2 12:38:36 MLXILSFTP sendmail[26371]: alias database /etc/aliases rebuilt by lomadmin
Aug 2 12:38:36 MLXILSFTP sendmail[26371]: /etc/aliases: 78 aliases, longest 10 bytes, 802 bytes total
Aug 2 12:38:36 MLXILSFTP sendmail[26441]: My unqualified host name (MLXILSFTP) unknown; sleeping for retry
Aug 2 12:39:36 MLXILSFTP sendmail[26441]: unable to qualify my own domain name (MLXILSFTP) -- using short name
Aug 2 12:39:37 MLXILSFTP sendmail[26442]: starting daemon (8.13.1): SMTP+queueing@01:00:00
Aug 2 12:39:37 MLXILSFTP sm-msp-queue[26449]: My unqualified host name (MLXILSFTP) unknown; sleeping for retry
Aug 2 12:40:37 MLXILSFTP sm-msp-queue[26449]: unable to qualify my own domain name (MLXILSFTP) -- using short name
Aug 2 12:40:37 MLXILSFTP sm-msp-queue[26449]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied
--------------------------------------------
ATUL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2006 09:10 PM
тАО08-01-2006 09:10 PM
Re: do not receive mails from the logger
what is your sendmail ownership?
here is mine:
-rwxr-sr-x 1 root smmsp 733912 Mar 22 19:18 /usr/sbin/sendmail.sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2006 09:45 PM
тАО08-01-2006 09:45 PM
Re: do not receive mails from the logger
it's given below ----
[root@MLXILSFTP ~]# ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 Jul 17 13:17 /usr/sbin/sendmail -> /etc/alternatives/mta
[root@MLXILSFTP ~]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2006 10:48 PM
тАО08-01-2006 10:48 PM
Re: do not receive mails from the logger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2006 05:54 AM
тАО08-02-2006 05:54 AM
Re: do not receive mails from the logger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2006 01:39 AM
тАО08-03-2006 01:39 AM
Re: do not receive mails from the logger
Here's the output as per your recommendation ---
-----------------------------------------
[root@MLXILSFTP ~]# ll /usr/sbin/sendmail.sendmail
-rwxr-sr-x 1 root smmsp 732356 Sep 1 2004 /usr/sbin/sendmail.sendmail
[root@MLXILSFTP ~]#
-----------------------------------------
Atul