Enabling Logs - imta.cnf file
cnbuild command is giving following error when i have added logging keyword to default notices in imta.cnf file.
imta.cnf file
! part II : channel blocks
defaults notices 1 2 4 7 copywarnpost copysendpost postheadonly noswitchchannel immnonurgent maxjobs 7 defaulthost dataone.in
logging dataone.in
Error:
root@ndlbbpa1-a-fixed # ./imsimta cnbuild
14:55:08.94: Error in mm_init -- no official host name for channel logging -- line #79 in file IMTA_CONFIG_FILE
any help
Thanks in Advance
Hi Shane
one more thing
My MTA's mail.log_current file output is as follows
23-Dec-2006 14:56:28.17 6592.13.51 tcp_local - Y TCP|0.0.0.0||68.165.91.250|25 SMTP/5staroutlet.com/5staroutlet.com
23-Dec-2006 14:56:28.21 65f9.9.45 tcp_local - O TCP|10.16.18.19|59531|202.242.187.72|25 SMTP/tmd.ac.jp/goldengate.tmd.ac.jp
23-Dec-2006 14:56:28.23 658d.1e.76 tcp_local + C TCP|10.16.18.38|25|59.92.85.60|1219 SMTP
23-Dec-2006 14:56:28.37 65de.5.46 tcp_local - O TCP|10.16.18.19|59537|202.88.236.138|25 SMTP/ksebnet.com/mail.ksebnet.com
23-Dec-2006 14:56:28.37 65f9.1c.46 tcp_local - O TCP|10.16.18.19|59458|203.124.150.194|25 SMTP/kapoorlampshades.com/eatspam.system3hosting.com
23-Dec-2006 14:56:28.44 5155.84.492 tcp_local - O TCP|10.16.18.19|59538|65.202.215.51|25 SMTP/sourcefire.com/mx.sourcefire.com
23-Dec-2006 14:56:28.49 658d.1f.77 tcp_local + O TCP|10.16.18.38|25|59.94.99.130|1259 SMTP
23-Dec-2006 14:56:28.51 65cc.15.40 tcp_local - C TCP|10.16.18.19|59345|91.121.3.126|25 SMTP/nanobody.net/mail.nanobody.net
23-Dec-2006 14:56:28.55 65d0.5.43 tcp_local - X TCP|10.16.18.19|57914|213.186.33.32|25 SMTP/graceful-dragon.com/mx0.ovh.net No greeting status received; trying next MX
23-Dec-2006 14:56:28.55 6592.13.52 tcp_local - Y TCP|0.0.0.0||68.165.91.250|25 SMTP/5staroutlet.com/5staroutlet.com
23-Dec-2006 14:56:28.57 65dc.12.30 tcp_local - C TCP|10.16.18.19|59419|213.36.80.90|25 SMTP/libertysurf.fr/mx.libertysurf.net
23-Dec-2006 14:56:28.60 65c3.0a.44 tcp_local - X TCP|10.16.18.19|57925|158.194.120.4|25 SMTP/risc.upol.cz/raven.upol.cz Error reading SMTP packet
23-Dec-2006 14:56:28.60 65b8.2.42 tcp_local - X TCP|10.16.18.19|57959|203.199.199.198|25 SMTP/niot.res.in/mail.niot.res.in Error reading SMTP packet
23-Dec-2006 14:56:28.66 65c3.5.45 tcp_local - X TCP|10.16.18.19|57923|64.46.38.35|25 SMTP/svco.in/axenetworks.in Error reading SMTP packet
23-Dec-2006 14:56:28.66 65b8.2.43 tcp_local - O TCP|10.16.18.19|59549|203.199.199.198|25 SMTP/niot.res.in/mail.niot.res.in
23-Dec-2006 14:56:28.78 6597.19.40 tcp_notify - Y TCP|0.0.0.0||66.150.161.57|25 SMTP/park.funnel.revenuedirect.com.akadns.net/park.funnel.revenuedirect.com.akadns.net
23-Dec-2006 14:56:28.78 65f7.1f.57 tcp_local - Y TCP|0.0.0.0||216.57.210.200|25 SMTP/yourdomain.com/yourdomain.com
23-Dec-2006 14:56:28.78 658d.1f.78 tcp_auth + U TCP|10.16.18.38|25|59.94.99.130|1259 SMTP Switched to channel tcp_auth [email protected] 235 2.7.0 LOGIN authentication successful.
23-Dec-2006 14:56:28.85 65f7.20.58 tcp_local - O TCP|10.16.18.19|59542|200.47.199.5|25 SMTP/kel-ediciones.com/mail.kel-ediciones.com
23-Dec-2006 14:56:28.88 65c3.0a.46 tcp_local - O TCP|10.16.18.19|59548|158.194.120.4|25 SMTP/risc.upol.cz/raven.upol.cz
23-Dec-2006 14:56:28.89 6592.13.53 tcp_local - Y TCP|0.0.0.0||68.165.91.250|25 SMTP/5staroutlet.com/5staroutlet.com
The output looks different and there is no Enqueing and dequeing of messages. it is simply opening the connection(o),closing(c) and rejecting(x) connection.
1. How i can solve this problem?
Thanks in Advance
Similar Messages
-
Imta.cnf - had to add nameservers to tcp_local channel?
I am working through a new installation of Sun Messaging Server. I was unable to send email outside of my domain and after a fair bit of debugging, I found that the MX lookups were failing. Being unfamiliar with the imta.cnf file (only been working with this a week) I finally figured out that what I needed to edit was tcp_local.
I had to add the followint to tcp_local to get it to work...
! tcp_local
tcp_local smtp nameservers xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx ... rest of defaults here...
My question is this... when I do a nslookup from the command line, things work. So, why would I have had to add the nameservers entry into imta.cnf?
-bash-3.00# nslookup gmail.com
Server: 130.39.245.26
Address: 130.39.245.26#53
Non-authoritative answer:
Name: gmail.com
Address: 64.233.161.107
Name: gmail.com
Address: 64.233.171.107
Name: gmail.com
Address: 216.239.57.107
-bash-3.00# nslookup
set type=mx
gmail.comServer: 130.39.245.26
Address: 130.39.245.26#53
Non-authoritative answer:
gmail.com mail exchanger = 10 gsmtp83-2.google.com.
gmail.com mail exchanger = 10 gsmtp185-2.google.com.
gmail.com mail exchanger = 5 gmail-smtp-in.l.google.com.
gmail.com mail exchanger = 10 gsmtp83.google.com.
gmail.com mail exchanger = 10 gsmtp163.google.com.
gmail.com mail exchanger = 10 gsmtp185.google.com.
Authoritative answers can be found from:
gmail.com nameserver = ns1.google.com.
gmail.com nameserver = ns2.google.com.
gmail.com nameserver = ns3.google.com.
gmail.com nameserver = ns4.google.com.
However, like I say, any message I sent to myself at gmail.com (or any other domain) sat in the queue forever. If I looked at the messages in the tcp_local queue, they all complained about MX failing.
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 00:52:58 -0500 (CDT)
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 00:54:37 -0500 (CDT)
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 01:17:56 -0500 (CDT)
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 01:18:27 -0500 (CDT)
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 01:20:14 -0500 (CDT)
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 01:33:00 -0500 (CDT)
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 01:33:38 -0500 (CDT)
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 01:36:19 -0500 (CDT)
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 01:38:52 -0500 (CDT)
Failed MX lookup; try again later
Boundary_(ID_MUEkO506xOVmuOTx9cuOYQ)
Wed, 05 Oct 2005 01:46:22 -0500 (CDT)
Failed MX lookup; try again later
and on and on....
my /etc/resolv.conf has proper entries.
my nsswitch.conf has this:
# You must also set up the /etc/resolv.conf file for DNS name
# server lookup. See resolv.conf(4).
hosts: files dns
Can anyone help me out here?Hm. I know of no such problem on Solaris. I run it on Solaris, myself, and have never seen anythikng like this.
You're sure that you had no DNS problem, that has since gone away?
You are letting nscd run? (there is a Solaris issue that running nscd works around, where if more than 256 dns lookups are done at one time, a buffer overflows)
You might want to hit
http://sunsolve.sun.com
and pull some current patches for your original release of 6.2:
118207-37
117784-10
119254-02
119345-01
118210-23
118540-10
118042-07
A couple of the above are language only, so you may not need all. -
I have been installing a number of hotfixes for Windows 7 using MSU files and the wusa.exe utility included in Windows. I thought it would be a good idea to generate separate log files for each update as it was installed since wusa.exe now supports this
option using /log:<file name>. However, the log files created do not seem to be regular text files or any other log file format that I immediately recognize. When opened in Notepad or Wordpad you can see that they contain a lot of additional binary data
which can't be read by a regular text viewer.
Does anyone know what format these log files are in? What tool should you use to read them?I have been installing a number of hotfixes for Windows 7 using MSU files and the wusa.exe utility included in Windows. I thought it would be a good idea to generate separate log files for each update as it was installed since wusa.exe now supports this
option using /log:<file name>. However, the log files created do not seem to be regular text files or any other log file format that I immediately recognize. When opened in Notepad or Wordpad you can see that they contain a lot of additional binary data
which can't be read by a regular text viewer.
Does anyone know what format these log files are in? What tool should you use to read them?
Only Microsoft can manage to design something as stupid as this. If you start wusa from the command line, it pops up the alternative command line switches. For log, it just says: " /log - installer will enable logging". It doesn't say that you
should specify the log file name, hence not HOW you specify it (" /log:<path\filename>.") It doesn't say what extension to use for the file, alas which file type it is (" /log:<path\filename.evtx>."). You open it in notepad, you cannot read it.
You open it in sccm's cmtrace.exe/trace32.exe, you get nothing. IT IS NOT POSSIBLE TO IMPLEMENT THIS IN A WORSE WAY. How can something be so bad? How can Microsoft get such stupidity inhouse, when you need to go through six interviews or something to get in??
I cannot believe it - unfortunely, this is seen again and again. -
Dev_webdisp_watchdog file maximum - enable log rotation
Hi all,
we are using web dispatcher 7.2, we start our dispatcher with the below command.
./sapwebdisp pf=/sapmnt/WPQ/profile/WPQ_W01_biddeford -auto_restart -f dev_webdisp &
we can see two process started one watchdog and one main process.
parallelly two log files are created dev_webdisp_watchdog & dev_webdisp.
When the dev_webdisp_watchdog reaches its maximum limit, it creates a new file dev_webdisp.old (instead of dev_webdisp_watchdog.old) and writes logs to that dev_webdisp.old file.
Also when dev_webdisp.old reaches its maximum limit, the log file stops.
We want to enable log rotation, can some one help so that the log files rotates?
Also the watch dog should writes logs to dev_webdisp_watchdog.old instead of dev_webdisp.old, not sure why its happening?
is it a bug?
Regards
SenthilHi,
the trace dev_webdisp_watchdog is created if you start the web dispatcher with the
-auto_restart option for the high availability
Regaring the trace rotate, take a look if you are using options like
rdisp/TRACE_LOGGING and rdisp/TRACE_PATTERN_0. See note 112.
Cheers,
Clébio -
To relocate mail.log, mail.log_current file to specific folder
Hi
We have configured CommSuite 6 in single host. The output of imsimta version:
Sun Java(tm) System Messaging Server 7.0-0.04 32bit (built Jun 20 2008)
libimta.so 7.0-0.04 32bit (built 01:01:00, Jun 20 2008)
Using /opt/sun/comms/messaging/config/imta.cnf
SunOS mail 5.10 Generic_120012-14 i86pc i386 i86pc
Output of imta_tailor file:
IMTA_USER=mailsrv
IMTA_USER_USERNAME=nobody
IMTA_WORLD_GROUP=mail
IMTA_LOG=/logs/messaging/imta
IMTA_PRIMARY_LOG=/logs/messaging/imta/mail.log_current
IMTA_SECONDARY_LOG=/logs/messaging/imta/mail.log_yesterday
IMTA_TERTIARY_LOG=/logs/messaging/imta/mail.log
We need to relocate mail.log, mail.log_current, mail.log_yesterday file to specific folder.
After above setting we cannot be able to relocate above file.
Pl. help us.
Thanks
P.K.world.group wrote:
We have configured CommSuite 6 in single host. The output of “imsimta version”:Please note that CommSuite 6 update 1 is now available and it is advisable that you upgrade using the "commpkg upgrade" command.
IMTA_LOG=/logs/messaging/imta
IMTA_PRIMARY_LOG=/logs/messaging/imta/mail.log_current
IMTA_SECONDARY_LOG=/logs/messaging/imta/mail.log_yesterday
IMTA_TERTIARY_LOG=/logs/messaging/imta/mail.logThese parameters are now ignored as per the Messaging Server 7.0 release notes:
http://wikis.sun.com/display/CommSuite6/Messaging+Server+7.0+Release+Notes#MessagingServer7.0ReleaseNotes-Ignoredimtatailorsettings
We need to relocate mail.log, mail.log_current, mail.log_yesterday file to specific folder. You can relocate the MTA log directory through the use of symlinks.
Regards,
Shane. -
Pooladm: cannot enable pools: No such file or directory
I'm having a problem enabling pools in Solaris 10. I used a core installation and manually installed the SUNWpool, SUNWpoolr, SUNWzoner, and SUNWzoneu packages.
When I try to execute "pooladm -e" to enable pools I get the following error:
pooladm: cannot enable pools: No such file or directory
Also, when I enable the svc:/system/pools:default service it errors into maintenance state with the same error in the log file.
I believe the problem is related to the non-existance of /dev/pool, but I'm not sure why it is not there.
Here is the output from truss:
bash-3.00# truss -f pooladm -e
2753: execve("/usr/sbin/pooladm", 0xFFBFFC8C, 0xFFBFFC98) argc = 2
2753: resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
2753: resolvepath("/usr/sbin/pooladm", "/usr/sbin/pooladm", 1023) = 17
2753: stat("/usr/sbin/pooladm", 0xFFBFFA68) = 0
2753: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
2753: stat("/lib/libpool.so.1", 0xFFBFF520) Err#2 ENOENT
2753: stat("/usr/lib/libpool.so.1", 0xFFBFF520) = 0
2753: resolvepath("/usr/lib/libpool.so.1", "/usr/lib/libpool.so.1", 1023) = 21
2753: open("/usr/lib/libpool.so.1", O_RDONLY) = 3
2753: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 172032, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF370000
2753: mmap(0xFF370000, 93041, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF370000
2753: mmap(0xFF398000, 7097, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 98304) = 0xFF398000
2753: munmap(0xFF388000, 65536) = 0
2753: memcntl(0xFF370000, 17100, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libc.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
2753: open("/lib/libc.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 1015808, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF200000
2753: mmap(0xFF200000, 909301, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF200000
2753: mmap(0xFF2EE000, 32017, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 909312) = 0xFF2EE000
2753: mmap(0xFF2F6000, 5984, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF2F6000
2753: munmap(0xFF2DE000, 65536) = 0
2753: memcntl(0xFF200000, 144128, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libxml2.so.2", 0xFFBFF520) Err#2 ENOENT
2753: stat("/usr/lib/libxml2.so.2", 0xFFBFF520) = 0
2753: resolvepath("/usr/lib/libxml2.so.2", "/usr/lib/libxml2.so.2", 1023) = 21
2753: open("/usr/lib/libxml2.so.2", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 1540096, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF080000
2753: mmap(0xFF080000, 1397070, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF080000
2753: mmap(0xFF1E4000, 72885, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 1392640) = 0xFF1E4000
2753: mmap(0xFF1F6000, 2168, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF1F6000
2753: munmap(0xFF1D6000, 57344) = 0
2753: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF360000
2753: memcntl(0xFF080000, 202876, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libscf.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libscf.so.1", "/lib/libscf.so.1", 1023) = 16
2753: open("/lib/libscf.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 172032, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF330000
2753: mmap(0xFF330000, 97095, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF330000
2753: mmap(0xFF358000, 4934, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 98304) = 0xFF358000
2753: munmap(0xFF348000, 65536) = 0
2753: memcntl(0xFF330000, 20432, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libnvpair.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libnvpair.so.1", "/lib/libnvpair.so.1", 1023) = 19
2753: open("/lib/libnvpair.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 98304, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF310000
2753: mmap(0xFF310000, 24206, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF310000
2753: mmap(0xFF326000, 1192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 24576) = 0xFF326000
2753: munmap(0xFF316000, 65536) = 0
2753: memcntl(0xFF310000, 7604, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libexacct.so.1", 0xFFBFF520) Err#2 ENOENT
2753: stat("/usr/lib/libexacct.so.1", 0xFFBFF520) = 0
2753: resolvepath("/usr/lib/libexacct.so.1", "/usr/lib/libexacct.so.1", 1023) = 23
2753: open("/usr/lib/libexacct.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 90112, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF060000
2753: mmap(0xFF060000, 15042, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF060000
2753: mmap(0xFF074000, 888, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 16384) = 0xFF074000
2753: munmap(0xFF064000, 65536) = 0
2753: memcntl(0xFF060000, 3568, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libpthread.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libpthread.so.1", "/lib/libpthread.so.1", 1023) = 20
2753: open("/lib/libpthread.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00002000, 16384, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3EC000
2753: mmap(0xFF3EC000, 12032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF3EC000
2753: close(3) = 0
2753: stat("/lib/libz.so.1", 0xFFBFF520) Err#2 ENOENT
2753: stat("/usr/lib/libz.so.1", 0xFFBFF520) = 0
2753: resolvepath("/usr/lib/libz.so.1", "/usr/lib/libz.so.1", 1023) = 18
2753: open("/usr/lib/libz.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 139264, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF030000
2753: mmap(0xFF030000, 69442, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF030000
2753: mmap(0xFF050000, 6012, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 65536) = 0xFF050000
2753: munmap(0xFF042000, 57344) = 0
2753: memcntl(0xFF030000, 5032, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libm.so.2", 0xFFBFF520) = 0
2753: resolvepath("/lib/libm.so.2", "/lib/libm.so.2", 1023) = 14
2753: open("/lib/libm.so.2", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 786432, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF00000
2753: mmap(0xFEF00000, 693647, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF00000
2753: mmap(0xFEFB8000, 28592, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 688128) = 0xFEFB8000
2753: munmap(0xFEFAA000, 57344) = 0
2753: memcntl(0xFEF00000, 33076, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libsocket.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libsocket.so.1", "/lib/libsocket.so.1", 1023) = 19
2753: open("/lib/libsocket.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF000000
2753: mmap(0xFF000000, 44594, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF000000
2753: mmap(0xFF01C000, 4277, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 49152) = 0xFF01C000
2753: munmap(0xFF00C000, 65536) = 0
2753: memcntl(0xFF000000, 14320, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libnsl.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libnsl.so.1", "/lib/libnsl.so.1", 1023) = 16
2753: open("/lib/libnsl.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 729088, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE00000
2753: mmap(0xFEE00000, 594942, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE00000
2753: mmap(0xFEEA2000, 33745, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 598016) = 0xFEEA2000
2753: mmap(0xFEEAC000, 23232, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEEAC000
2753: munmap(0xFEE92000, 65536) = 0
2753: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF300000
2753: memcntl(0xFEE00000, 89508, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libdoor.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
2753: open("/lib/libdoor.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 81920, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEFE0000
2753: mmap(0xFEFE0000, 3315, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEFE0000
2753: mmap(0xFEFF2000, 600, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 8192) = 0xFEFF2000
2753: munmap(0xFEFE2000, 65536) = 0
2753: memcntl(0xFEFE0000, 2240, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libuutil.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libuutil.so.1", "/lib/libuutil.so.1", 1023) = 18
2753: open("/lib/libuutil.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 106496, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEEE0000
2753: mmap(0xFEEE0000, 26032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEEE0000
2753: mmap(0xFEEF8000, 1882, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 32768) = 0xFEEF8000
2753: munmap(0xFEEE8000, 65536) = 0
2753: memcntl(0xFEEE0000, 6652, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: stat("/lib/libgen.so.1", 0xFFBFF520) = 0
2753: resolvepath("/lib/libgen.so.1", "/lib/libgen.so.1", 1023) = 16
2753: open("/lib/libgen.so.1", O_RDONLY) = 3
2753: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
2753: mmap(0x00010000, 98304, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEEC0000
2753: mmap(0xFEEC0000, 22089, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEEC0000
2753: mmap(0xFEED6000, 2303, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 24576) = 0xFEED6000
2753: munmap(0xFEEC6000, 65536) = 0
2753: memcntl(0xFEEC0000, 5656, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
2753: close(3) = 0
2753: munmap(0xFF3A0000, 8192) = 0
2753: mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEFD0000
2753: getcontext(0xFFBFF758)
2753: getrlimit(RLIMIT_STACK, 0xFFBFF738) = 0
2753: getpid() = 2753 [2752]
2753: setustack(0xFEFD2088)
2753: sigfillset(0xFF2F64D8) = 0
2753: stat("/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1", 0xFFBFF1B0) = 0
2753: resolvepath("/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1", "/platform/sun4v/lib/libc_psr.so.1", 1023) = 33
2753: open("/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1", O_RDONLY) = 3
2753: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEDF0000
2753: close(3) = 0
2753: brk(0x00022448) = 0
2753: brk(0x00024448) = 0
2753: getprivimplinfo(0xFFBFF2E0, 2076) = 0
2753: sysconfig(_CONFIG_NGROUPS) = 16
2753: zone_lookup("") = 0
2753: zone_getattr(0, ZONE_ATTR_PRIVSET, 0xFEFD02C8, 12) = 12
2753: getppriv(PRIV_EFFECTIVE, {ffffffffffffffffffffffff}) = 0
2753: open64("/dev/pool", O_RDONLY) Err#2 ENOENT
2753: fstat64(2, 0xFFBFEC88) = 0
pooladm2753: write(2, " p o o l a d m", 7) = 7
: 2753: write(2, " : ", 2) = 2
cannot enable pools2753: write(2, " c a n n o t e n a b l".., 19) = 19
: 2753: write(2, " : ", 2) = 2
No such file or directory2753: write(2, " N o s u c h f i l e".., 25) = 25
2753: write(2, "\n", 1) = 1
2753: _exit(1)All it took was running devfsadm and the errors were gone.
-
I have to enable log miner on 11g r2 database
i am following How to Setup LogMiner [ID 111886.1]
1. Make sure to specify an existing directory that Oracle has permissions
to write to by the PL/SQL procedure by setting the initialization
parameter UTL_FILE_DIR in the init.ora.
For example, set the following to use /oracle/logs:
UTL_FILE_DIR =/oracle/database
Be sure to shutdown and restart the instance after adding UTL_FILE_DIR to the init or spfile.
I am using spfile, how can i modify the initialization parameter, without modifiying the file,
We are using oracle fail safe manager, we restart the database using GUI, when i restart it will always read the spfile thats why i want to know how i can add the parameter
UTL_FILE_DIR without modified init.iora file
if i do
1) create pfile from spfile
and then how can i start the database from this pfile,
2) create spfile from pfilehi,
you can do with scope=spfile if you don't want to create/modify pfile, for example:
SQL> alter system set utl_file_dir='/backup/logminer' scope=spfile;
SQL> shutdown immediate;
SQL> startup
SQL> sho parameter utl_file_dir
NAME TYPE VALUE
utl_file_dir string /backup/logminer
-- edited
to startup from pfile Nikolay Ivankin told you the correct answer
Edited by: Fran on 16-abr-2012 6:45 -
Question :
When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode ?
Example:
Create Tablespace
CREATE SMALLFILE TABLESPACE "TEST_DATA"
LOGGING
DATAFILE '+DG_TEST_DATA_01(DATAFILE)' SIZE 10G
AUTOEXTEND ON NEXT 500K MAXSIZE 31000M
EXTENT MANAGEMENT LOCAL
SEGMENT SPACE MANAGEMENT AUTO;
LOGGING: Generate redo logs for creation of tables, indexes and partitions, and for subsequent inserts. Recoverable
Are they not logged and not recoverable if we do not enable LOGGING? What is that ARCHIVELOG mode does?What is that ARCHIVELOG Mode Does?
Whenever your database is in archive log mode , Oracle will backup the redo log files in the form of Archives so that we can recover the database to the consistent state in case of any failure.
Archive logging is essential for production databases where the loss of a transaction might be fatal.
Why Logging?
Logging is safest method to ensure that all the changes made at the tablespace will be captured and available for recovery in the redo logs.
It is just the level at which we defines:
Force Logging at DB level
Logging at Tablespace Level
Logging at schema Level
Before the existence of FORCE LOGGING, Oracle provided logging and nologging options. These two options have higher precedence at the schema object level than the tablespace level; therefore, it was possible to override the logging settings at the tablespace level with nologging setting at schema object level. -
Some of my JSF actions are not working correctly, and I'd like to enable logging for the faces framework, to be able to see which actions are being called, etc. Is there some way to get faces to write out to a containe rlog file, or even the console? (I'm using Log4J, and the faces JARs are in my WEB-INF/lib directory, if that helps).
thanks,Faces uses the standard java logging facility. You need to configure logging.properties which is in lib directory for the jvm.
-
Unable to enable logging for AD connector
I cant enable log for my AD connector because when i set environment variable
WLS_REDIRECT_LOG = F:\MyMachine\middleware\user_projects\domains\base_domain1\servers\oim_server1\logs\oim_server1-diagnostic-1.log
and restart server its starts logging everything in the oim_server1-diagnostic-1.log... even it ask the username and password in this log file....
Any Solution will be appreciatedThe configuration file for OJDL is logging.xml, which is located at the following path:
DOMAIN_HOME/config/fmwconfig/servers/OIM_SERVER/logging.xml
Here, DOMAIN_HOME and OIM_SERVER are the domain name and server name
specified during the installation of Oracle Identity Manager.
e.g. /home/ofmuser/fusion/Middleware/user_projects/domains/oimdomain/config/fmwconfig/servers/oim_server1
<?xml version="1.0" encoding="UTF-8"?>
<logging_configuration>
<log_handlers>
<log_handler name='adcs-handler' level='[LOG_LEVEL]' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
<property name='logreader:' value='off'/>
<property name='path' value='${domain.home}/servers/${weblogic.Name}/logs/LOGFILE_NAME.log'/>
<property name='format' value='ODL-Text'/>
<property name='useThreadName' value='true'/>
<property name='locale' value='en'/>
<property name='maxFileSize' value='5242880'/>
<property name='maxLogSize' value='52428800'/>
<property name='encoding' value='UTF-8'/>
</log_handler>
<logger name="OIMCP.ADCS" level="TRACE:32" useParentHandlers="false">
<handler name="adcs-handler"/>
<handler name="console-handler"/>
</logger>
replace LOG_LEVEL as TRACE:32
replace LOGFILE_NAME with proper name
first part put in log_handler
and the second part put into logger section
regards,
nayan
Edited by: Nishith Nayan on Jan 17, 2012 11:00 PM -
Export all logs into ascii files
Hi,
is there a way to automatically export all logs created with SignalExpress (I use the 2009 edition) automatically to ascii files, taking the names of each log as a base for the file name?
I am aware of the export to LVM/Ascii possibility, but this requires to manually edit the file name for each file.
So what I am looking for would be a way to apply the Options->Logging->"Automatically export log to text file" _afterwards_. Is there a way?
Cheers,
NielsHi Nils,
There is currently no utility or simple mechanism built into SignalExpress that will take an already created log, and then export it to ASCII.
I can think of a way to do it, as a "workaround" to say the least (assuming Time Waveform or Scalar logs).
1. Create a new SignalExpress project.
2. Import the logs you want to export to ASCII.
3. Go to Tools >> Options... and in the Logging section, set Automatically export log to text file = Yes.
4. Switch to Playback mode and select the first log.
5. Drop a Formula step and leave the default values (with Formula Y=x0)
6. Rename the output of the formula step as desired.
7. Right-click on the output of the formula step and select "Enable Recording".
8. Run the project.
From this point out, running the project will create a new (duplicate) log, and inside the new log folder will also be the exported ASCII file. By changing the active log, you can export each log.
Note 1: I did try using the Batch Process Log feature to export all logs at once, but SignalExpress returned an error after the first log...
Note 2: I'm not sure the names will be generated exactly as you would have liked.
I completely realize this is NOT ideal!
Phil -
How to enable log gathering in Nokia Suite?
Feeling a bit dumb here. All the instructions I've read suggest to enable log gathering by double-clicking enable_logs.js, which should prompt some sort of a dialog window. The problem is, I can't run .js files, I can only view them in Notepad, Firefox, etc. How exactly is this thing done?
Hi,
We have created FAQ for log collecting with new versíon 3.2:
How can i send the log files with the Nokia Suite 3.2?
Disconnect your device from your computer and exit Nokia Suite from File > Exit. Enable log gathering by double-clicking the enable_logs.js file in installation folder, normally C:\Program Files\Nokia\Nokia Suite. Then open Nokia Suite again and reconnect your device. Try to reproduce the error and click Help > Send feedback in Nokia Suite menu and fill in the description of the bug. Log files and system information will be automatically included in the feedback. You can also add screen shots and other files by choosing Add file (maximum size 5 MB).
Please let us know for the result.
Br
Mahayv -
Enabling Logs for tracking User Creation in OIM
Hi All,
Can anybody pls guide me how to enable logs, in order to track the database tables which are updated when user is created in OIM?
I have faint idea that -Uncommenting is required in log4j text file , But i am not sure?
nd Pls let me know if my requirement is not clear.
Thanks & Regards,
NewbieSteps to Enable Logs
1. Navigate to c:/Oracle/Xellerate/config , open log.txt file
2. Uncomment categories below <File Appender> to edit Location or pattern
3. Uncomment categories below <Xellerate> according to ur requirement.
The job is pretty simple!!!
Cheers!!
Newbie -
Enabling logging for ACF2 OIM 11g
Hi Experts,
I want to enable logging for ACF2 connector, I want to implement the logging in OJDL as per provided by 11g.
But in deployment guide for ACF2 i see under section of enabling logging has:
log4j.logger.COM.IDENTITYFORGE.ORACLE.INTEGRATION.IDFACF2USEROPERATIONS=INFO
The connector is the latest one 9.0.4.18 version.
seems they have still leveraged Log4j.. Does is work in OIM 11g, is there a way to implement OJDL. Please help!!Normally we configure OJDL it will be fine for OIM
http://idmoim.blogspot.in/2011/07/enabling-logging-in-oim-11g.html
what you are pointing is about Ldap Gateway. and ldap gateway still having log4j. go through the connector doc you will get all the required steps
yes for capturing ldap gateway operations log you have to enable log4j.it is fine with 11g as well
below from connector doc:(2.9 Installing and Configuring the LDAP Gateway)
7. To enable logging for the LDAP Gateway:
a. Copy the log4j JAR file from the application server directory in which it is
placed to the LDAP_INSTALL_DIR/lib directory.
b. Extract the log4j.properties file from the
LDAP_INSTALL_DIR/dist/idfserver.jar file.
c. Enter a log level as the value of the log4j.rootLogger variable. For example:
log4j.rootLogger=ERROR, A1
d. Save and close the file.
When you use the connector, the following log files are generated in the
LDAP_INSTALL_DIR/logs directory:
■ idfserver.log.0: This is the main log file.
■ acf2-agent-recon.log: This is the real-time, incremental reconciliation log file
that stores Oracle Identity Manager reconciliation messages. -
How to enable log for guest user in oracle R12.1.3 and path of log file?
Thanksuser12235518 wrote:
How to enable log for guest user in oracle R12.1.3 and path of log file?Please elaborate more on what exactly you are trying to achieve.
Please see these docs.
How to Obtain Debug Log in R12 [ID 787727.1]
How to enable and retrieve FND debug log messages [ID 433199.1]
Thanks,
Hussein
Maybe you are looking for
-
I put a Griffin case on my daughter's iPod Touch 5 and now there is no sound coming from the speaker. There is sound when we use the headphones. Is there a mute function that I may have switched on and if so how do I turn it off? It was a gift boug
-
Is it possible to receive a response message from a output PO process?
Hi everybody. We are doing a PO interface between SRM and external system via XI. When we create a PO in SRM we send it to XI using sproxy (PurchaseOrderRequest_Out message). But the external system always send back a response. Are there any way to c
-
Flex SDK error - ImportRecord cannot be cast to DefineFont
Hello, I'm using the FlexSDK, tried both stable and latest version from svn. Trying to Embed a source file into actionscript that is a swf containing an ImportRecord2 field that pulls in a font from an external swf to it. Gives this error message, wo
-
User Account with different languages
Dear Friends, I need to have one user account with a different langauge, i.e. I need that when a partucular user log-in, the system swithch to spanish, and when one other user log-in the system goes back to english. Is ti possible? and How? Thanks fo
-
How do I get rid of the need for an old document to have a plug in?