[SOLVED] Which setting is done on Server to get this message?
HI Guys,
System is Solaris 10
I need to know where exactly the setting is done so as to get below email to us:-
Code:
Job-Scheduler@server31 [mailto:sysmgr@server31.sys.com]
Sent: Monday, November 25, 2013 7:15 AM
To: sysmgr@server31.sys.com
Subject: Output from "cron" command
Your "cron" job on server31
/usr/local/bin/sudo /users/sysmgr/ios
produced the following output:
/opt/SUNWexplo/output/explorer.844d540d.server31-2013.11.25.01.00/disks
/opt/SUNWexplo/output/explorer.844d540d.server31-2013.11.25.01.00/disks
/opt/SUNWexplo/output
a explorer.844d540d.server31-2013.11.25.01.00/ 0K
a explorer.844d540d.server31-2013.11.25.01.00/rda/ 0K
a explorer.844d540d.server31-2013.11.25.01.00/rda/RDA.log 7K
where server31 is the server name.
Below entry is scheduled in crontab:-
/usr/local/bin/sudo /users/sysmgr/ios
like this:-
Code:
45 02 * * 1 /usr/local/bin/sudo /users/sysmgr/ios
Whenever this script gets executed we get above mail , but now we are not getting it, what could be the problem.
I am not so sound in mailing stuff, however I found that sendmail is running as follows:-
cron attempts to email the output of any programs it runs. No output, no email. Traditionally, programs you run in cron are supposed to be silent, unless something goes wrong, so it can email you errors.
Please excuse me as I might ask some silly questions.
Our main problem is we are not getting email from "no.reply@oracle.com" about sun exploer status like this:-
Code:
-----Original Message-----
From: no.reply@oracle.com [mailto:no.reply@oracle.com]
Sent: Tuesday, November 12, 2013 5:29 AM
To: Unixteam
Subject: SunTM Explorer status
Following is a status of your SunTM Explorer Data Collector files that were sent to Sun:
Hostid Hostname Date Processed Current Version?
3f329f Server1 2013/11/11 01:00 Success No (Found 7.3)
3f16a7 Server2 2013/11/11 01:00 Success No (Found 7.3)
4d540d Server3 2013/11/11 02:08 Success Yes (Found 8.01)
3aed03 Server4 2013/11/11 02:07 Success Yes (Found 8.01)
This is what we have set in crontab in all servers (server1 to server4)
Hi guys . I am trying to take the output of top command and mail it to myself . The code is :
echo ##############################################################
/usr/local/bin/top c n 1 b >> /export/home/top-output.txt
echo ##############################################################
... (6 Replies)
20GB space (1GB Swap),and installed Centos 5.7-x86 arch. I want to use this VPS to host 2-4 domains, all of WordPress. What I want to ask is:
1. Do I need a VPS management software before installing Webuzo (from Softaculous)? If yes, what was his name?
2. Do I need to install the software... (0 Replies)
how can i send an integer via message queue?
i try this, but it doesn't work, child process receive 13345943 instead of 5
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/msg.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <errno.h>
#include <unistd.h>... (2 Replies)
Hello All,
I am working on SuSe Linux Platform. Some times ago i got an issue with an application for which i had to update that in all desktops (SLED == SuSe Linux Desktop).
Since this time number of desktops were less then it was possible to go and update package manually. But in... (1 Reply)
Hello,
I recently got my first "real" job, i come from a *microsoft* world, I'm being asked to setup from scratch a database and a webserver that allows users to view/add/edit data (intranet).
I installed Ubuntu Server 7.10 which comes with LAMP (apache 2.*, mysql5.* and php 5.*)
The only... (2 Replies)
Hi ,
i am having RedHat AS 4 in my home PC.now i want to access applications remotely i.e from office.
how can i do that.
in short i would like to make my PC as server for doing test's. while I am @ work.
I am using static IP.
leenus (1 Reply)
I've recently changed my gateway setting using SMIT. Everything went fine except that the gateway setting kept reverting back to the old one everytime I reboot the server.
I'm on AIX 5.2 running p-Series. Thanks for any info. (3 Replies)
Hey, I'm running RH 7.1 and i want to beable to swap files back and from it. I've got Wu-ftpd installed and when i try to connect on my windows box with my root account it says to login so i type root and my password and it says that it's an incorrect login. I know i have to add it to a login... (4 Replies)
Hello,
Corrently we are useing winproxy to use internet. my client desktops connects to winproxy using tcpip and get the access, now we have changed windows opreating system to linux 7.1. my problem is i am able to connect internet on linux machine but now i wants all clients connect to linux... (2 Replies)