I would like to run cron job daily at 8:00 P.M in order to check the filesysem sizes , if if finds any filesystem space reaches to 90% it should me an email address to my outlook ( xxxxxx@abcd.com ) .
need your suggestion or direction how to achieve this.
Hi,
Thanks for your update,
could you help me to comeout of this mailx problem , I dont why it couldnot able to send message to one of my Microsoft Outlook email .
The part of the log that shows what mail server it is talking to would be helpful.
The MS Exchange server has to have SMTP enabled - you'll need to ask and Exchange expert about how to do that.
For Solaris 8 and below to make your Solaris machine use a particular machine as its mail server you can put an entry into its /etc/hosts file giving the IP address, name and then an alias of mailhost, this can be done in DNS using a MX (mail exchanger) record..
the ouput of nslookup command and contents of resolv.conf and nsswitch.conf files.
root $nslookup SAM.MRAI.COM
*** Can't find server name for address 127.0.0.1: No response from server
*** Default servers are not available
root $cat resolv.conf
domain mrai.com
#nameserver 182.40.3.16
root $cat nsswitch.conf#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd: files
group: files
hosts: files dns
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
printers: user files
auth_attr: files
prof_attr: files
project: files
Looks like your /etc/inet/hosts file needs a localhost entry put back into it or else the linking of /etc/hosts and /etc/inet/hosts has been lost.
Put:
127.0.0.1 localhost
into /etc/inet/hosts if not already present and ensure that /etc/hosts is a link to /etc/hosts (hard or symbolic).
Then try nslookup again.
Update:
Should have looked a bit more closely, the resolv.conf file does not list an active nameserver, the only one listed is commented out, I suggest you either try uncommenting out the one already listed in your resolv.conf and/or find out what the IP address of the DNS server on your network is and out it into your resolv.conf. This is why nslookup is trying to use localhost as the DNS server.
This is just give some overview of our setup we have two solaris fujitsu servers running with solaris 9 version and both are in active - active mode with veritas clustering, and on this servers we have Database on single server and on second server Application Tier.
1) I verified the link between /etc/hosts and /etc/inet/hosts it is there.
root $ls -ltr hosts
lrwxrwxrwx 1 root root 12 Oct 17 2005 hosts -> ./inet/hosts
2)I checked the below entry in /etc/hosts file its not there , if I made entry in this file do we face any impact due to this modification .
Jlliagre: i panic for removing this parameter becuase this server is in veritas clustering with another server in Active Active mode, this settings may cause any problem to our EBiz Suite 11i, but from Oracle Application workflow we are receiving emails to our MS Exchange users with out any issue.
Appreciate your time and efforts for resolving this issue
sorry for the late response