Sendmail issue on solaris 10
Hi,
I am getting the following logs frequently on my solaris 10 server.
Jun 30 16:52:01 <servername> sendmail[20814]: [ID 801593 mail.info] m5UFq10v020814: from=metron, size=536, class=0, nrcpts=1, msgid=<200806301552.m5UFq10v0208
14@<servername>.>, relay=metron@localhost
Jun 30 16:52:01 <servername> sendmail[20814]: [ID 801593 mail.info] m5UFq10v020814: to=metron, ctladdr=metron (104/4), delay=00:00:00, xdelay=00:00:00, mailer
=relay, pri=30536, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Jun 30 16:54:01 <servername> sendmail[21265]: [ID 801593 mail.info] m5UFs0KJ021265: from=metron, size=536, class=0, nrcpts=1, msgid=<200806301554.m5UFs0KJ0212
65@<servername>.>, relay=metron@localhost
Could you please geve me an idea about the issue.
Thanks in advance.
So far it is happening for root. What do you suggest I do to fix it?
Below is an example of what I have been seeing. If you look at "To", you will see where the problem is..."relay" should not be there. The host name should not be there either as the masquerading configuration is set up. Something is causing "relay" to appear and I cant seem to find what it is.
-----Original Message-----
From: [email protected]
Sent: Friday, September 29, 2006 14:59
To: [email protected]
Subject: File Structures on node
Message was edited by:
DCMetroSunAdmin
Similar Messages
-
Sendmail issue on Solaris 10 system...
I have two systems running Solaris 10 that are having sendmail issues. If mail messages like the one below gets bounced back or if someone replies to it, the message will go to [email protected], and that should not happen. I believe I configured these systems the same way as the others and they seem to be fine. I have reconfigured the sendmail on the problems systems and I am still seeing messages going to [email protected] Below is what our reports should be sending to us and below that is what we should not be sending. How do I fix this problem? Can someone help, please. Thanks.
CORRECT:
-----Original Message-----
From: root@nunode7 [mailto:[email protected]]
Sent: Monday, December 11, 2006 0:04
To: [email protected]
Subject: Daily Security Report
Begin report of failed attempts to 'su' for nunode7 on Sun Dec 10 2006
No failed attempts to report
End report of failed attempts to 'su' for nunode7 on Sun Dec 10 2006
INCORRECT:
-----Original Message-----
From: root@nunode15 [mailto:[email protected]]
Sent: Tuesday, December 12, 2006 0:01
To: [email protected]
Subject: Daily Security Report
Begin report of failed attempts to 'su' for nunode15 on Mon Dec 11 2006
No failed attempts to report
End report of failed attempts to 'su' for nunode15 on Mon Dec 11 2006
---------------------------------------------------------------------So far it is happening for root. What do you suggest I do to fix it?
Below is an example of what I have been seeing. If you look at "To", you will see where the problem is..."relay" should not be there. The host name should not be there either as the masquerading configuration is set up. Something is causing "relay" to appear and I cant seem to find what it is.
-----Original Message-----
From: [email protected]
Sent: Friday, September 29, 2006 14:59
To: [email protected]
Subject: File Structures on node
Message was edited by:
DCMetroSunAdmin -
Configure sendmail client on solaris 9
Hi,
I am facing problem in configuring sendmail client on solaris 9 .I was able to receive mail if I send mail to any indiviual email id but I was unable to send mail to alias group even after run new aliases .
Regards
KumarPlease post the error message and the sendmail logging so we can see what goes wrong.
-
Hi,
I wanted to send mails from my solaris box. Below is the step i used
# svcs | grep mail
# svcadm enable smtp
# svcs | grep mail
online 14:24:58 svc:/network/smtp:sendmail
# mail -s "HELLO" [email protected]
Nothing happens after this... i tried with different mail id's and different mail servers but all failed.
can someone help me in troubleshooting this issue?
Regards,
Ashok Kumar.GHi Chris & Darren,
Thanks for your updates. Currently i have resolved the issue and i am able to send mail to gmail & yahoo accounts. The issue was with my domain name present in /etc/hosts file and settings in /etc/nsswitch.conf file.
But i am unable to send any mail's to my company's POP3 mail server email accounts.
# mailq
/var/spool/mqueue is empty
Total requests: 0
# grep DS* /etc/mail/sendmail.cf
##### SENDMAIL CONFIGURATION FILE
##### DO NOT EDIT THIS FILE! Only edit the source .mc file.
#O DontBlameSendmail=safe
# default LDAP map specification
# need to set this now before any LDAP maps are defined
#O LDAPDefaultSpec=-h localhost
# my LDAP cluster
# need to set this before any LDAP lookups are done (including classes)
#D{sendmailMTACluster}$m
#Dj$w.Foo.COM
DS
DnMAILER-DAEMON
CPREDIRECT
DZ8.13.8
O DeliveryMode=background
#O IgnoreDots=False
#O HostStatusDirectory=.hoststat
# single thread deliveries (requires HostStatusDirectory)?
#O SingleThreadDelivery=False
O DaemonPortOptions=Name=MTA-v4, Family=inet
O DaemonPortOptions=Name=MTA-v6, Family=inet6
O DaemonPortOptions=Port=587, Name=MSA, M=E
#O DirectSubmissionModifiers
O QueueDirectory=/var/spool/mqueue
# time for DeliverBy; extension disabled if less than 0
#O DeliverByMin=0
#O DontPruneRoutes=False
# default UID (can be username or userid:groupid)
#O DefaultUser=mailnull
#O UserDatabaseSpec=/etc/mail/userdb
#O DelayLA=0
#O MaxDaemonChildren=0
#O DefaultCharSet=unknown-8bit
#O DialDelay=0s
#O DontExpandCnames=False
#O DontInitGroups=False
#O DoubleBounceAddress=postmaster
#O DeadLetterDrop=/var/tmp/dead.letter
#O DontProbeInterfaces=False
# Return-Receipt-To: header implies DSN request
#O RrtImpliesDsn=False
# Data file (df) memory-buffer file maximum size
#O DataFileBufferSize=4096
#O MailboxDatabase=pw
# override compile time flag REQUIRES_DIR_FSYNC
#O RequiresDirfsync=true
#O AuthMechanisms=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
#O DefaultAuthInfo=/etc/mail/default-auth-info
# DHParameters (only required if DSA/DH is used)
#O DHParameters
# QUEUE GROUP DEFINITIONS #
H?D?Resent-Date: $a
H?D?Date: $a
# HPosted-Date: $a
# H?l?Received-Date: $b
# addresses sent to [email protected] will give a 551 error code
R$* < @ $+ .REDIRECT. > $: $1 < @ $2 . REDIRECT . > < ${opMode} >
R$* < @ $+ .REDIRECT. > <i> $: $1 < @ $2 . REDIRECT. >
R$* < @ $+ .REDIRECT. > < $- > $#error $@ 5.1.1 $: "551 User has moved; please try " <$1@$2>
# handle non-DNS hostnames (*.bitnet, *.decnet, *.uucp, etc)
R<TEMP> $* $#error $@ 4.1.8 $: "451 Domain of sender address " $&f " does not resolve"
R<PERM> $* $#error $@ 5.1.8 $: "553 Domain of sender address " $&f " does not exist"
R<FORGED> $#error $@ 5.7.1 $: "550 Relaying denied. IP name possibly forged " $&{client_name}
##### MAIL FILTER DEFINITIONS
##### MAILER DEFINITIONS
R$+ $: $>AddDomain $1 add local domain if needed
R$+ $: $>AddDomain $1 add local domain if needed
R$+ $: $>AddDomain $1 add local domain if needed
SAddDomain
Mlocal, P=/usr/lib/mail.local, F=lsDFMAw5:/|@qPSXmnz9, S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/SMTP,
Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D=$z:/,
Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
nslookup MYMAILSERVERIP
# nslookup MYMAILSERVERIP
Server: 203.208.224.91
Address: 203.208.224.91#53
Non-authoritative answer:
36.6.127.203.in-addr.arpa name = mail.XXXX.com.
Authoritative answers can be found from:
6.127.203.in-addr.arpa nameserver = dnssec2.singnet.com.sg.
6.127.203.in-addr.arpa nameserver = dnssec3.singnet.com.sg.
6.127.203.in-addr.arpa nameserver = dnssec1.singnet.com.sg.
dnssec1.singnet.com.sg internet address = 165.21.83.11
dnssec2.singnet.com.sg internet address = 195.13.10.226
dnssec3.singnet.com.sg internet address = 165.21.100.11
nslookup mailhost.OLAMNET.COM
# nslookup OLMXDB.OLAMNET.COM
Server: 203.208.224.91
Address: 203.208.224.91#53
** server can't find OLMXDB.OLAMNET.COM: NXDOMAIN
Please advice...!!!
Regards,
Ashok Kumar.G -
Sendmail Configuration in Solaris 10
I have a script that I've been using in Solaris 9 to disable incoming mail. The script basically
- edits the "/etc/rc2.d/S88sendmail" file
- replaces MODE = "-bd" with MODE = " "
- sends command "/etc/init.d/sendmail stop" to stop sendmail
- sends command "/etc/init.d/sendmail start" to restart sendmail
Can anyone tell me how to do this in Solaris 10 since "/etc/rc2.d/S88sendmail" file no longer exists. I'm assuming it has something to do with SMF. I've found documentation on how to start and stop services (ie: sendmail) with SMF but can't seem to find how to make configuration changes.
Any help is greatly appreciated.The sendmail control file is in /lib/svc/method/smtp-sendmail (you may have to export them first using the svccfg tool)
Edit it and change the line MODE="-bd" to MODE=""
Edit the /etc/mail/submit.cf file.
Change the line D{MTAHost}[127.0.0.1] to D{MTAHost}[mail.yourdomain.com]
Restart Sendmail with: svcadm disable smtp; svcadm enable smtp -
Installation Issues on Solaris 10
Hi all,
I've tried several times to install Sun Java Platform Application Suite on Solaris 10, and each time after the installation finished, it shows the same issues. I'll attach the errant installation summary file and the critical part of the install log below.
If someone can point me in the right directiron or tell me where else to look for more details on what might be wrong. I'd appreciate it.
--Zhiyuan
==============================================================
Installation Summary Report
Install Summary
Java Enterprise System Application Platform Suite : Installed
Sun Java(TM) System Web Server 7.0 : Installed, Configured
Sun Java(TM) System High Availability Session Store 4.4 : Installed, Configured
Java DB : Installed, Configure After Install
Sun Java(TM) System Message Queue 3.7 UR1 : Installed
Sun Java(TM) System Application Server Enterprise Edition 8.2 : Installed, Configured
Sun Java(TM) System Monitoring Console 1.0 : Installed, Configure After Install
Sun Java(TM) System Directory Preparation Tool : Installed
Sun Java(TM) System Directory Server Enterprise Edition 6.0 : Installed, Configured
Sun Java(TM) System Access Manager 7.1 : Installed, Configuration Failed
Service Registry 3.1 : Installed, Configure After Install
Sun Java(TM) System Portal Server 7.1 : Installed, Configuration Failed
Sun Java(TM) System Portal Server Secure Remote Access 7.1 : Installed, Configuration Failed
Sun Java(TM) System Web Proxy Server 4.0.4 : Installed, Configured
Configuration Data
Sun Java(TM) System Web Server 7.0 :
Web Server Instance installation Directory : /peg/var/opt/SUNWwbsvr7
Web Server installation Directory : /peg/opt
Web Server Administration Server Host : hzhsd050.statestr.com
Web Server Admin Server Mode : true
Web Server only CLI installation : false
Sun Java(TM) System Application Server Enterprise Edition 8.2 :
Domains and Instance Configuration Directory : /peg/var/opt/SUNWappserver
Application Server Installation Directory : /peg/opt/SUNWappserver
Sun Java(TM) System Directory Preparation Tool :
Directory Preparation Tool Installation Directory : /peg/opt/SUNWcomds
Sun Java(TM) System Directory Server Enterprise Edition 6.0 :
Directory Server Installation Directory : /peg/opt/SUNWdsee
Sun Java(TM) System Access Manager 7.1 :
Access Manager Installation Directory : /peg/opt
Access Manager Protocol : http
Access Manager Port : 8080
LDAP User ID : amldapuser
Administrator User ID : amAdmin
Web Container : AppServer
Access Manager Application Server Installation Directory : /peg/opt/SUNWappserver/appserver
Document Root : /peg/var/opt/SUNWappserver/domains/domain1/docroot
Access Manager Console Host (for Existing console) : hzhsd050.statestr.com
Access Manager Console Deploy URI : amconsole
Access Manager Password Deploy URI : ampassword
Access Manager Host : hzhsd050.statestr.com
Access Manager Console Port(for Existing console) : 8080
Access Manager Services Deploy URI : amserver
Access Manager Cookie Domain List : .statestr.com
Access Manager Common Domain Deploy URI : amcommon
Access Manager Directory Server Host Name : hzhsd050
Access Manager Directory Server Host : hzhsd050.statestr.com
Access Manager Directory Server Port : 389
Access Manager Directory Root Suffix : dc=statestr,dc=com
Access Manager Directory Manager DN : cn=Directory Manager
Organization Marker Object Class : sunISManagedOrganization
User Marker Object Class : inetorgperson
Organization Naming Attribute : o
User Naming Attribute : uid
Service Registry 3.1 :
Service Registry Installation Directory : /peg/opt
Sun Java(TM) System Portal Server 7.1 :
PS Install Base Directory : /peg/opt
JDK Install Directory : /usr/jdk/entsys-j2se
Web Container Type : SUNONE8
Web Container Install Directory : /peg/opt/SUNWappserver/appserver
Web Container Domain Directory : domain1
Web Container Instance : server
Web Container Document Root Directory : /peg/var/opt/SUNWappserver/domains/domain1/docroot
Web Container Administrator : admin
Web Container Administration Protocol : https
Web Container Administration Host : hzhsd050.statestr.com
Web Container Administration Port : 4849
Directory Server Host : hzhsd050.statestr.com
Directory Server Port : 389
Directory Manager DN : cn=Directory Manager
Access Manager Install Base Directory : /peg/opt
Access Manager Service Deployment URI : /amserver
Access Manager Console Deployment URI : /amconsole
Organization DN : dc=statestr,dc=com
Access Manager Password Key : lyF6/3TrMapDb3ghHMsdO1+nxruRO4ZT
EntSysResources:PS_DEPLOY_NOW : y
Install Sample Portal(s)? : true
EntSysResources:SRA_SWITCH_CORE : true
Portal Access URL (protocol://host:port/portal/dt) : http://hzhsd050.statestr.com:8080/portal
Portal ID : portal1
Search ID : search1
Sun Java(TM) System Portal Server Secure Remote Access 7.1 :
SRA Install Base Directory : /peg/opt
Access Manager Service Deployment URI : /amserver
Organization DN : dc=com
Create a new web container instance? : y
Server Protocol : http
Server Domain : statestr.com
Gateway Protocol : https
Gateway Domain : statestr.com
Gateway Port : 443
Gateway Profile : default
Gateway Protocol : https
Gateway Host Name : hzhsd050
Gateway Domain : statestr.com
Gateway Port : 443
Gateway IP Address : 10.248.38.82
Gateway Profile : default
Netlet Proxy Host Name : hzhsd050
Netlet Proxy Domain : statestr.com
Netlet Proxy Port : 10555
Netlet Proxy IP Address : 10.248.38.82
Netlet Proxy Gateway Profile : default
Rewriter Proxy Host Name : hzhsd050
Rewriter Proxy Domain : statestr.com
Rewriter Proxy Port : 10443
Rewriter Proxy IP Address : 10.248.38.82
Rewriter Proxy Gateway Profile : default
Certificate Organization : SSTC
Certificate Division : Software
Certificate City : Hangzhou
Certificate State : Zhejiang
Certificate Country : CN
Sun Java(TM) System Web Proxy Server 4.0.4 :
Web Proxy Server installation Directory : /peg/opt/SUNWproxy
Web Proxy Server Administration Server User Name : admin
Web Proxy Server Administration Server Port : 8888
Web Proxy Server Server Instance Port : 8081
Web Proxy Server Server Instance - Start on reboot : Y
The configuration log is saved in : /var/sadm/install/logs/JavaES_Install_log.1652367220
===========================================================
*** Start configuring PortalServer... ***
|#]
[#|2007-08-22T11:15:39+08:00|INFO|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=;_SourceMethodName=;_JavaESMessageID=;_JavaESResourceBundle=EntSysLoggingResources|Configuration Class name class com.sun.entsys.installer.portalserv.config.PortalServerConfigurator|#]
[#|2007-08-22T11:15:39+08:00|FINE|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=PortalServerConfigurator;_SourceMethodName=configure();_JavaESMessageID=JavaES_ConfigIS09;_JavaESResourceBundle=EntSysLoggingResources|Entering Method|#]
[#|2007-08-22T11:15:39+08:00|FINE|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=PortalServerConfigurator;_SourceMethodName=getSelectedPortalSRAComponents();_JavaESMessageID=JavaES_ConfigIS09;_JavaESResourceBundle=EntSysLoggingResources|Entering Method|#]
[#|2007-08-22T11:15:39+08:00|FINE|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=PortalServerConfigurator;_SourceMethodName=getSelectedPortalSRAComponents();_JavaESMessageID=JavaES_ConfigIS10;_JavaESResourceBundle=EntSysLoggingResources|Exiting Method|#]
[#|2007-08-22T11:15:39+08:00|INFO|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=PortalServerConfigurator;_SourceMethodName=configure();_JavaESMessageID=JavaES_ConfigPS02;_JavaESResourceBundle=EntSysLoggingResources;_JavaESArg1=[PortalServer, PortalServerL10n, SRACore, PortalSRAL10n, PortalSRANetletL10n, SRAGateway, SRANetletProxy, SRARewriterProxy]|Selected Components List = '&5B;PortalServer, PortalServerL10n, SRACore, PortalSRAL10n, PortalSRANetletL10n, SRAGateway, SRANetletProxy, SRARewriterProxy&5D;'|#]
[#|2007-08-22T11:15:39+08:00|INFO|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=PortalServerConfigurator;_SourceMethodName=configure();_JavaESMessageID=JavaES_ConfigPS03;_JavaESResourceBundle=EntSysLoggingResources;_JavaESArg1=[PortalServer]|Configuration for '&5B;PortalServer&5D;' is deferred...|#]
[#|2007-08-22T11:15:39+08:00|CONFIG|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=EntsysConfigurator;_SourceMethodName=performConfiguration(compID, configParams);_JavaESMessageID=JavaES_Config0006;_JavaESResourceBundle=EntSysLoggingResources;_JavaESArg1=PortalServer|Configuration succeeded for PortalServer|#]
[#|2007-08-22T11:15:39+08:00|INFO|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=ConfigLeaf;_SourceMethodName=install(WizardState);_JavaESMessageID=JavaES_Config0002;_JavaESResourceBundle=EntSysLoggingResources;_JavaESArg1=PortalServer|
*** End configuring PortalServer ***
Command /peg/opt/SUNWportal/bin/psconfig generated the follwing outputs:
|#]
[#|2007-08-22T11:18:10+08:00|CONFIG|JavaES|JavaESInstall|_versionID=1.0;_threadID=11;_SourceJavaFile=EntsysConfigurator;_SourceMethodName=executeCmd(cmdArray);_JavaESMessageID=;_JavaESResourceBundle=|
Successfully created PSConfig.properties file
Copying config templates from: /peg/opt/SUNWportal/template/config
Successfully created PortalDomainConfig.properties file
Validating the Input Config XML File|#]
[#|2007-08-22T11:18:10+08:00|WARNING|JavaES|JavaESInstall|_versionID=1.0;_threadID=11;_SourceJavaFile=EntsysConfigurator;_SourceMethodName=executeCmd(cmdArray);_JavaESMessageID=;_JavaESResourceBundle=|
Configuration Failed : For input string: "DIRECTORY_PORT"|#]
[#|2007-08-22T11:18:10+08:00|FINE|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=PortalServerConfigurator;_SourceMethodName=stopRequiredServers();_JavaESMessageID=JavaES_ConfigIS09;_JavaESResourceBundle=EntSysLoggingResources|Entering Method|#]
[#|2007-08-22T11:18:25+08:00|INFO|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=EntsysConfigurator;_SourceMethodName=executeCmd(cmd,envp,dir);_JavaESMessageID=JavaES_Config0010;_JavaESResourceBundle=EntSysLoggingResources;_JavaESArg1=/peg/opt/SUNWappserver/appserver/bin/asadmin stop-domain domain1|
ldapsearch tool not found at /opt/SUNWdsee/dsee6/bin/ldapsearch
Exiting the install script|#]
[#|2007-08-22T11:11:26+08:00|SEVERE|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=IdentityServConfigurator;_SourceMethodName=configure();_JavaESMessageID=JavaES_ConfigIS24;_JavaESResourceBundle=EntSysLoggingResources;_JavaESArg1=2|Access Manager Configuration Failed ...2|#]
[#|2007-08-22T11:11:27+08:00|FINE|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=IdentityServConfigurator;_SourceMethodName=configure();_JavaESMessageID=JavaES_ConfigIS10;_JavaESResourceBundle=EntSysLoggingResources|Exiting Method|#]
[#|2007-08-22T11:11:31+08:00|CONFIG|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=EntsysConfigurator;_SourceMethodName=generatePasswdFile(fileName, keys, passwds;_JavaESMessageID=JavaES_Config0016;_JavaESResourceBundle=EntSysLoggingResources;_JavaESArg1=asadPFile|Creating password file: asadPFile|#]
[#|2007-08-22T11:11:32+08:00|CONFIG|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=EntsysConfigurator;_SourceMethodName=generatePasswdFile(fileName, keys, passwds;_JavaESMessageID=JavaES_Config0017;_JavaESResourceBundle=EntSysLoggingResources;_JavaESArg1=/var/tmp/asadPFile45261tmp|Successfully Created password file: /var/tmp/asadPFile45261tmp|#]
[#|2007-08-22T11:11:47+08:00|INFO|JavaES|JavaESConfig|_versionID=1.0;_threadID=11;_SourceJavaFile=EntsysConfigurator;_SourceMethodName=executeCmd(cmd,envp,dir);_JavaESMessageID=JavaES_Config0010;_JavaESResourceBundle=EntSysLoggingResources;_JavaESArg1=/peg/opt/SUNWappserver/appserver/bin/asadmin stop-domain --domaindir /peg/var/opt/SUNWappserver/domains domain1|
/////////////////////////////////////Hi Philippe,
Thanks for your reply.
I installed the whole suite including directory server in a non-defaut install directory. I am wondering if changing install directory will cause issues.
--Zhiyuan -
OBIEE 11g (11.1.1.5) installation issue on solaris 10
Hello all
I am trying to install OBIEE 11g (11.1.1.5) on solaris 10 and i am facing the following issue once i run the "./runInstaller"
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 1536 MB. Actual 53110 MB Passed
Checking swap space: must be greater than 500 MB. Actual 63528 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,
Continue? (y/n) [n] y
Ignoring required pre-requisite failures. Continuing...Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-12-02_11-38-43AM. Please wait ...Error in CreateOUIProcess(): 22
: Invalid argument
-bash-3.00$
Even if i run the command "./runInstaller -silent" am facing the following issue
-bash-3.00$ ./runInstaller -silent
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 1536 MB. Actual 52789 MB Passed
Checking swap space: must be greater than 500 MB. Actual 63521 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-12-02_12-22-37PM. Please wait ...Error in CreateOUIProcess(): 22
: Invalid argument
Please let me know how to fix this issue?
Thank youhi
Still facing the same error after all the prerequisites are passed
Checking Temp space: must be greater than 1536 MB. Actual 17419 MB Passed
Checking swap space: must be greater than 500 MB. Actual 68344 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-12-05_12-38-33PM. Please wait ...Error in CreateOUIProcess(): 22
: Invalid argument
Please let me know if am missing something here?
Thanks -
Sendmail broken from Solaris 10 11/06 to Solaris 10 8/07 - port 25 broken
I am in the process of building a new solaris 10 8/07 server to replace a solaris 10 11/06 server. Both are running.
Sendmail on both has changes limited to:
correcting /etc/hosts to include mailhost entry
dns server pointing to localhost as mailhost
local-host-names set on each
aliases set up and newaliases run
Otherwise, the configuration files are standard and both are running the as shipped main.cf.
svcadm enable -r network/smtp seems to work fine and the services show as enabled
The 11/06 server has run fine for close to a year.
The 8/07 server has mconnect work fine to localhost but I get connection denied when I try to come in via the ip number.
TCP Wrappers are not running, but even then I have hosts.allow set with lots of variations of ALL: ALL.
No errors in /var/log/syslog.
How do I figure out what is happening on the port and why it is not connecting?
# mconnect localhost
connecting to host localhost (127.0.0.1), port 25
connection open
220 mailhost.molten-rock.com ESMTP Sendmail 8.13.8+Sun/8.13.8; Sun, 4 Nov 2007 16:44:25 +1300 (NZDT)
# mconnect magma
connecting to host magma (192.168.25.250), port 25
connect: Connection refused
# uname -a
SunOS magma 5.10 Generic_127112-02 i86pc i386 i86pc
# svcs | grep smtp
online 15:45:50 svc:/network/smtp:sendmailThanks, but had found a previous discussion with this hint and applied it.
svccfg -s sendmail listprop shows config /local_only = false
Yes, I would really love to fix the fault, but what I would really like is some hints as to how to debug ports under svc control. -
I have been banging my head against the wall with this for several weeks now. I am trying to setup Solaris 10 mail clients and server. What I would like to do is have all my Solaris (10) systems send to one Solaris 10 mailhost (alias is mailsrv). That host will then resolve local addresses or send to other destinations (to the outside world or our Barracuda and on to Exchange) via definitions in the local aliases file or just pass it on if it can not determine it.
I have the clients working with the following cf file:
OSTYPE(`solaris8')
DOMAIN(`solaris-generic')
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
FEATURE(`msp', `[mailsrv]')
However, the MTA will not allow the mail to come in. I have set the local_only property via:
svccfg -s svc:/network/smtp:sendmail setprop config/local_only=false
My MC file contains this:
OSTYPE(`solaris8')
DOMAIN(`solaris-generic')
DAEMON_OPTIONS(`Port=smtp, Name=MTA')
CwMyDomain.com
MASQUERADE_AS(`MyDomain.com')
FEATURE(`masquerade_envelope')
FEATURE(`masquerade_entire_domain')
FEATURE(`always_add_domain')
FEATURE(`relay_entire_domain')
FEATURE(`allmasquerade')
MASQUERADE_DOMAIN(`MyDomain.com')
define(`LUSER_RELAY', `mailfilter.MyDomain.com')
MAILER(`local')
MAILER(`smtp')
This config works perfectly to deliver mail to the local user or pass it on to the outside world or Barracuda/Exchange. However, it will not accept mail from another Solaris host. SMTP is running:
%netstat -a | grep smt
*.smtp *.* 0 0 49152 0 LISTEN
I can telnet to port 25 from another machine and actually send a valid email via SMTP commands. I can even send to it from my Exchange server. It just won't allow sendmail to talk to it from another host. The mail just sits in the queue:
%mailq
/var/spool/clientmqueue (1 request)
-----Q-ID----- Size -----Q-Time----- ------------Sender/Recipient-----------
o5FHjjBL004148 5 Tue Jun 15 13:45 root
(Deferred: Connection refused by mailsrv.MyDomain.com.)
MyEmailAddress
Total requests: 1
Any suggestions would be appreciated.
JimSo far it is happening for root. What do you suggest I do to fix it?
Below is an example of what I have been seeing. If you look at "To", you will see where the problem is..."relay" should not be there. The host name should not be there either as the masquerading configuration is set up. Something is causing "relay" to appear and I cant seem to find what it is.
-----Original Message-----
From: [email protected]
Sent: Friday, September 29, 2006 14:59
To: [email protected]
Subject: File Structures on node
Message was edited by:
DCMetroSunAdmin -
German character set issues on Solaris
Hi,
I am facing an issue with German character settings with my Java application on a solaris box.
When I run my application on the box, and I pass an input file with German special characters they get converted as ?. However, other normal English characters are formed properly.
When I run the same application on another Solaris box with a different JRE, the German characters are formed properly.
I understand that there is a difference in the archiecture between the 2 boxes ie.e
64 bit SPARC machine v/s 32 bit x86 machine
the JRE
1.4.2_03(64bit) v/s 1.4.1_01
I am tryinbg to evaludate further differences between the 2 environments to pinpoint the issue, and get this resolved on the 1st box.
Can anyone provide me any inputs?
LavinWhen you read the file, please point out what character set using. For example:
FileInputStream fstream = new FileInputStream(url.getFile());
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in, Charset.forName("ISO-8859-1")));
br.readLine();
This link possibly can help you.
http://www.velocityreviews.com/forums/t126128-jdk-14-character-set-change.html -
Mutex locking issue on Solaris 10
We are having a problem with mutex locking.
On one scenario we are running our application
On a v245 running Solaris 10 6/06 update 2 patch 118833-24
On our 5120 we are running Solaris 10 8/07 update 4patch 137111-05.
Our application creates several thousand simultaneous mutex inits (pthread_mutex_init). Approx 12 are locked at any one time. Our problem is after several min the application fails because the mutex destroy does not appear to destroy the mutex. This is true only on our 5120 but not on our v245. As a result our application runs fine on the v245 but fails quickly on the 5120.
Do you have any knowledge of why this might be happening?
Any help you can provide in this will be greatly appreciated.
If this is not the right group to post this messages please let me know.
Thanks!How many threads do you have performing these mutex operations? The 5120 probably runs a lot more concurrent threads than the v245 does, so it's likely you're running into a race condition that's only apparent when the number of concurrent threads is large enough.
What kind of mutexes are they? Recursive, process-shared, "normal"? Where are they located? Dynamically-allocated heap memory, local stack variables, mmap()'d memory? If they're recursive or "normal" mutexes in heap memory, you've most likely got a race condition in your application, because the source code at opensolaris.org for pthread_mutex_destroy() is pretty much nothing but "memset( &mutex, 0, sizeof( mutex ) )" for normal mutexes. It's hard to imagine how that could fail.
You can use the race-condition tools that are part of Sun Studio 12 or another memory-checking application such as Purify to find out where your error may be. Given the timing issues apparently involved, those are probably your best options. The overhead of tools such as watchmalloc or even the run-time memory checker in Sun Studio may be too much and mask your timing issues. Assuming that's what the root cause of your problem is.
I didn't look at what's involved in destroying a process-shared mutex, though. That's a lot more complicated.
On edit: How do you know that pthread_mutex_destroy() is not destroying the mutex?
Edited by: AndrewHenle on Jun 16, 2009 3:46 PM -
I am having a bit of an issue using the opatch command; for some reason, it's not returning the desired output. All I keep getting is a "OPatch succeeded" response. I can't even confirm the Java version installed; when I execute the java command, I do not get any response. Any ideas why this may be so?
Opatch command out is below.
bash-3.00$ ./opatch lsinventory
OPatch succeeded.
bash-3.00$ ./opatch -help
OPatch succeeded.Java command returns nothing.
bash-3.00$ $ORACLE_HOME/jdk/bin/java -fullversion
bash-3.00$Our Database and OS setup is as below.
SQL> select * from v$version
2 /
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
SQL>
bash-3.00$ cat /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007Regards,
Phiri>
Pl post details of OS and Opatch versions. The PATH variable needs to include the OPatch directory.
>
I do not get any response when I issue the command to show me the version of Opatch; see below.
bash-3.00$ pwd
/disk1/oracle/ora10g/product/OPatch
bash-3.00$ ./opatch version
OPatch succeeded.
bash-3.00$Adding OPatch to the PATH does not yield anything either.
bash-3.00$ PATH=$PATH:/disk1/oracle/ora10g/product/OPatch
bash-3.00$ cd
bash-3.00$ op
opatch opatch.bat opatchprereqs openjade openssl optisa
bash-3.00$ pwd
/disk1/oracle
bash-3.00$ opatch version
OPatch succeeded.
bash-3.00$OS details are below.
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007Regards,
Phiri -
Bash issue on solaris 8 ( Segmentation fault for non root users)
Hi,
This is solaris 8 on sparc and a NFS file server for the NIS+ environment. As supposed to be this file server is nis+ client.
Now this issue happens only sometimes and goes away on its own but it did not this time.
I connect to file server using ssh, system closes my session,
this is ssh -vvv log , copied here : http://pastebin.ca/1633893Please note that my shell is /bin/bash. It worked 99% time but not now, nothing is changed on system.
If I ssh root@fileserver then ssh connection works fine. root can also run bash command. and run other commands in bash
For a normal user with csh if the user tries "bash" , then gets
user@fileserver%> bash
Segmentation Fault
I am thinking this is somewhere related to rpc but I do not see any errors on nis+ server nor on fileserver.
%>truss bash o/p is here :
http://pastebin.ca/1633907Please let me know what is this issue related to. If by stopping/restarting a process helps that would be great.
one more thing to note is, other nis+ clients can mount shares from this fileserver properly and authentication also works fine on them even for users with /bin/bash shell and bash does work manually also.
If you need any other info, please let me know
Please help!
Thanks!Anyone any idea? I thought the truss o/p copied in pastebin might be very useful
Additional info, for someone with /bin/tcsh as shell, when su - <user> from root account, following messages come up
free(4b31688) bad block. (memtop = 4b7e400 membot = 9c9a0)
free(4b31688) bad block. (memtop = 4b7e400 membot = 9c9a0)
free(4b316c8) bad block. (memtop = 4b7e400 membot = 9c9a0)
free(4b316c8) bad block. (memtop = 4b7e400 membot = 9c9a0)
free(4b31448) bad block. (memtop = 4b7ec00 membot = 9c9a0)
free(4b31448) bad block. (memtop = 4b7ec00 membot = 9c9a0)
free(49fca08) bad block. (memtop = 4b7f400 membot = 9c9a0)
free(49fca08) bad block. (memtop = 4b7f400 membot = 9c9a0)$ truss -f -t stat,open /bin/bash
http://pastebin.ca/1635134 -
Logrot.pl (v.4.4) issue on solaris 9
logrot.pl does not check diskspace before doing a copy process of syslog_info; if there is not enough space, the copy process fails and the content of syslog_log is lost;
I know, that the error handling of such a script cannot take respect on each and every possible error that could appear but in case of the syslog file I would say it is such an essential file that it would be great that the loss of the content could be avoided.
currently I am unable to test if this issue is present in the current version but I found it to be valid in LMS 3.2 on solaris 9; here is the confiuration of logrot.pl
/var/log is configured as the backup directory,
/var/log/syslog_info is configured to be backed up
it seems when starting logrot.pl it first tries to copy syslog_info
the copy process fails due to /var being 100% in use
bash-2.05# /opt/CSCOpx/bin/logrot.pl -c
Read config successfully.
Logrot Configuration Menu
1. Edit variables
2. Edit log files
3. Quit and save changes
4. Quit without saving changes
Enter option: 1
Number Variable Name [Variable Value]
1. Backup Directory [/var/log]
2. Restart Delay [60]
q. Go back
Enter variable number to change: q
Logrot Configuration Menu
1. Edit variables
2. Edit log files
3. Quit and save changes
4. Quit without saving changes
Enter option: 2
Number Logfile Name Number of Archives Max Size Compress
1. /var/log/syslog_info 13 1024 gz
a. Add logfile(s)
d. Delete logfile(s)
q. Go back
Enter option or logfile number to edit: q
Logrot Configuration Menu
1. Edit variables
2. Edit log files
3. Quit and save changes
4. Quit without saving changes
Enter option: 4
bash-2.05#
===============================================================
===============================================================
bash-2.05# /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/logrot.pl
cp: /var/log/syslog_info.12.gz: No space left on device
cp: /var/log/syslog_info.0: No space left on device
Wed Jun 8 16:44:03 2011: WARNING: Unable to archive /var/log/syslog_info: No such file or directory
gzip: /var/log/syslog_info.0: No such file or directory
Wed Jun 8 16:44:03 2011: WARNING: Unable to compress /var/log/syslog_info.0: 256
bash-2.05#
bash-2.05# cd /var/log/
bash-2.05# ls -al
total 769616
drwxr-xr-x 2 root sys 1536 Jun 8 16:44 .
drwxr-xr-x 38 root root 1024 Sep 24 2010 ..
-rw------- 1 root sys 0 Jul 27 2005 authlog
-rw-r--r-- 1 root other 372880 Jun 8 02:00 cmMapShare.log
-rw-r--r-- 1 root other 838 Mar 22 2006 sysidconfig.log
-rw-r--r-- 1 root other 884 Jun 8 04:00 syslog
-rw-r--r-- 1 root other 17392 Jun 7 01:00 syslog.0
-rw-r--r-- 1 root other 17299 Jun 1 01:00 syslog.1
-rw-r--r-- 1 root other 16107 May 25 01:00 syslog.2
-rw-r--r-- 1 root other 15908 May 18 01:00 syslog.3
-rw-r--r-- 1 root other 16249 May 11 01:00 syslog.4
-rw-r--r-- 1 root other 17047 May 4 01:00 syslog.5
-rw-r--r-- 1 root other 15908 Apr 27 01:00 syslog.6
-rw-r--r-- 1 root other 15912 Apr 20 01:00 syslog.7
-rw-rw-r-- 1 root sys 0 Jun 8 16:44 syslog_info
-rw-rw-r-- 1 root sys 16485733 Sep 1 2010 syslog_info.0.gz
-rw-rw-r-- 1 root sys 16485733 Sep 1 2010 syslog_info.1.gz
-rw-rw-r-- 1 root sys 19319177 Dec 1 2009 syslog_info.10.gz
-rw-rw-r-- 1 root sys 87397723 Nov 3 2009 syslog_info.11.gz
-rw-rw-r-- 1 root sys 84321257 Oct 5 2007 syslog_info.2.Z.old
-rw-rw-r-- 1 root sys 20818106 Aug 1 2010 syslog_info.2.gz
-rw-rw-r-- 1 root sys 23242884 Jul 1 2010 syslog_info.3.gz
-rw-rw-r-- 1 root sys 19556306 Jun 1 2010 syslog_info.4.gz
-rw-rw-r-- 1 root sys 18299543 May 1 2010 syslog_info.5.gz
-rw-rw-r-- 1 root sys 21785629 Apr 1 2010 syslog_info.6.gz
-rw-rw-r-- 1 root sys 21120869 Mar 1 2010 syslog_info.7.gz
-rw-rw-r-- 1 root sys 23420015 Feb 1 2010 syslog_info.8.gz
-rw-rw-r-- 1 root sys 20852151 Jan 1 2010 syslog_info.9.gz
bash-2.05
before this action syslog_info was about 3 GigWould it be sufficient to change the warning about archival to an error to make it fatal?
-
Sendmail problem following Solaris 8 upgrade
Having upgraded to Solaris 8 a while ago I now notice that the email system no longer works and hasn't done so since the upgrade. The relevant message I receive in /var/adm/messages is as follows;
May 27 08:55:26 old_spwks2 sendmail[248]: [ID 702911 mail.crit] My unqualified host name (old_spwks2) unknown; sleeping for retry
May 27 08:56:26 old_spwks2 sendmail[248]: [ID 702911 mail.alert] unable to qualify my own domain name (old_spwks2) -- using short name
May 27 08:56:26 old_spwks2 sendmail[248]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 77: fileclass: cannot open /etc/mail/local-host-names: Group writable directory
May 27 08:56:26 old_spwks2 sendmail[248]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 472: fileclass: cannot open /etc/mail/trusted-users: Group writable directory
Any help would be much appreciated"Solaris 8, Update 7" is the Operating Environment distribution from February 2002.
It is otherwise reffered to as "Solaris 8 HW 2/02"
http://sunsolve.sun.com/handbook_pub/Software/Solaris_Ref/So laris_8_2-02/index.html
You must <u>install</u> the distribution, you cannot patch your way to get there.
Your error message is telling you that you are not running a supported OS, for the Sun Java AS that you hope to run.
If you have access to a computer with a CD burner drive, you can download the two disk images and create your own set of media.
http://sunsolve.sun.com/handbook_pub/Software/
Again, you will need to install that OS.
Build your computer all over again.
Maybe you are looking for
-
Clearing GR/IR Account Matched Items
Hi all, I'm trying to clear some GR/IR Accounts in F.13, and I'm getting some errors. Error Log: Consolidated companies 2000 and ' ' are different. I believe that there is more than one trading partner hitting the same gl account. Any suggestions??
-
i can t seem to run or move it from the itune app section.
-
I have been unable to find out how to select the storyline where I want a clip inserted. Every time I try to insert a clip at the beginning of my project, it goes into the Title Storyline, not my primary one.
-
Still images are blurry when dropped into Canvas
HI, I am running Final Cut 7. When I drop still images into onto the Timeline, when I click on that image to appear in the Canvas they are blurry. However, when I put on the Alpha+RGB they are as sharp as they normally are - except they are red. Ho
-
Error while refreshing XL Reporter Composer
HI, Customer is running 2007A PL49 with MS Office 2003. While refresh report composer, the below error message pop out. Error starting Excel! Cause:(Open Workbook)Method '' of object '' failed. Regards Thomas