Trap syntax error in trap-schedule.dat alert; possibly SMC related
Receiving many ID xxxxxx daemon.alert events every hour. The message is:
[ID xxxxxx daemon.alert] syslog Nov 10 14:00:10 trap syntax error in trap-schedule.dat(200) at token '???'
followed immediately (same timestamp) with:
[ID yyyyyy daemon.alert] syslog Nov 10 14:00:10 trap *** aborting execution ***
I coudn't find anything on the web specifically for this message but several hits that looked similar seemed to indicate that this might be a problem in SMC. If it is not I apologize in advance.
System is an ldom:
Solaris 10;
SunOS clsol8 5.10 Generic_127127-11 sun4v sparc SUNW,T5140
Current situation is:
# /opt/SUNWsymon/sbin/es-validate
This script will help you in validation of Sun (TM) Management Center.
Validation Tool Version : 4.0
Host name : clsol8
Number of CPUs : 24
Platform : SUNW,T5140
Operating System : SunOS 5.10
Memory size : 2048 Megabytes
Swap space : 595480k used, 3727296k available
JAVA VERSION : "1.5.0_14"
Sun Management Center Production Environment Installation.
Following layers are installed : SERVER, AGENT, CONSOLE
Installation location : /opt/SUNWsymon
Sun Management Center installation status:
PRODUCT : Production Environment
INSTALLATION STATUS : Setup.
DATABASE SETUP : Setup.
COMPLETELY INSTALLED PACKAGES : SUNWescom,SUNWesbui,SUNWesbuh,SUNWenesi,
: SUNWesdb,SUNWesagt,SUNWessrv,SUNWessa,
: SUNWesjp,SUNWesaxp,SUNWesse,SUNWesclt,
: SUNWesjrm,SUNWmeta,SUNWenesf,SUNWesmdr,
: SUNWesgui,SUNWesweb,SUNWessvc,SUNWesasc,
: SUNWescix,SUNWsuagt,SUNWsusrv,SUNWesval,
: SUNWesmc,SUNWessms,SUNWessdv,SUNWescdv,
: SUNWlgsmc,SUNWeslac,SUNWesodbc,SUNWesmib,
: SUNWesken,SUNWesmod,SUNWesae,SUNWesaem,
: SUNWesmcp,SUNWesafm,SUNWescon,SUNWsucon,
: SUNWescli,SUNWesclb
<NOTE: I had to cut out a bunch of installed components to hit character limit>
Sun Management Center Add-Ons and Versions:
PRODUCT VERSION
Production Environment 4.0
Advanced System Monitoring 4.0_Build15
Sun Fire Entry-Level Midrange S 3.5-v6
Service Availability Manager 4.0_Build15
Performance Reporting Manager 4.0_Build15
Solaris Container Manager 4.0_Build15
Sun Fire Midrange Systems Platf 3.5-v6
System Reliability Manager 4.0_Build15
Sun Management Center Integrati 4.0_Build15
Workgroup Server 3.6
Generic X86/X64 Config Reader 4.0_Build15
Sun Management Center Patch installation details:
No Sun Management Center patch is installed.
Sun Management Center disk-space consumption:
PRODUCT APPROXIMATE DISK SPACE CONSUMED
Production Environment : 54452 kB
Advanced System Monitoring : 2391 kB
Sun Fire Entry-Level Midrange S : 1738 kB
Service Availability Manager : 1838 kB
Performance Reporting Manager : 3371 kB
Solaris Container Manager : 3688 kB
Sun Fire Midrange Systems Platf : 3270 kB
System Reliability Manager : 970 kB
Sun Management Center Integrati : 540 kB
Workgroup Server : 3707 kB
Generic X86/X64 Config Reader : 608 kB
TOTAL : 76573 kB
Database is located at : /var/opt/SUNWsymon/db/data/SunMC
Free space available on this partition is : 6493142 kB
Following locales are installed :
Information about upgrade from old versions is not available.
Sun Management Center Ports:
SUNMC COMPONENT PORT_ID
agent service 1161
trap service 162
event service 163
topology service 164
cfgserver service 165
cstservice service 167
metadata service 168
platform service 166
grouping service 5600
rmi service 2099
webserver_HTTP service 8080
webserver_HTTPS service 8443
You are currently running SNMPDX.
Sun Management Center Server Hosts definitions in domain-config.x:
SUNMC COMPONENT SERVER_HOST
agent service clsol8
trap service clsol8
event service clsol8
topology service clsol8
cfgserver service clsol8
cstservice service clsol8
metadata service clsol8
platform service clsol8
Sun Management Center Processes:
SUNMC SERVICE STATUS
Java Server Running.
Database services Not Running.
Grouping service Running.
Event-handler service Running.
Topology service Not Running.
Trap-handler service Not Running.
Configuration service Running.
CST service Not Running.
Metadata Services Running.
Hardware service Not Running.
Web server Running.
Sun Management Center Agent Running.
Platform Agent Not Running.
Privilege level for Sun Management Center users :
CATEGORY USERS
esadm : smcadmin
esdomadm : smcadmin
esops :
ALL USERS : smcadmin
server is local host
Web server package is installed correctly.
Web Server is up and responding.
Web Server servlet engine is up and responding.
I have also read that patching SMC has caused problems for some people so I don't really want to try that until I get some feedback.
Hi Mike,
Tried your suggestion to rename the .dat and let SMC recreate it but I can't get the SMC database service to launch. So it looks like I am having trouble with the database. Any suggestions?
To back up, you nailed it with the loss of power - we lost both power supplies on a Sunday night with no warning and nothing in /var/adm/messages (since we send them to a loghost.) It was determined that chips within each power supply in the T5140 failed. So we replaced both power supplies and fired the server up. That is when we started getting the trap errors and only those two errors on clsol8.
I did check http://sun.com/msg/SMF-8000-KS but am not sure how that helps.
What I tried:
On clsol8 as root:
# cd /opt/SUNWsymon/sbin
# ls
{db-memconfig.sh es-details es-imagetool es-setup
db-start es-device es-inst es-start
db-stop es-dt es-keys.sh es-stop
es-apps es-gui-imagetool es-lic es-tool
es-backup es-guiinst es-load-default es-trapdest
es-chelp es-guisetup es-makeagent es-uninst
es-cli es-guistart es-platform es-validate
es-common.sh es-guistop es-restore esmultiip
es-config es-guiuninst es-run ports.config}
# ./es-stop -A
{Stopping metadata component
Stopping cfgserver component
Stopping topology component
Stopping event component
Stopping grouping service
Stopping trap component
Stopping java server
Stopping webserver
Stopping agent component
Stopping platform component}
<attempting Mike's solution suggestion>
# cd /var/opt/SUNWsymon/cfg
# ls
trap-schedule.dat
# mv trap-schedule.dat trap-schedule.dat.maybeCorrupted
# /opt/SUNWsymon/sbin/es-start -Ac
{Some of the SunMC services are in maintenace state.
Please check the corresponding SMF service log in /var/svc/log directory.
Please disable the services in maintenance state and re-start the services again.}
# svcs -vx
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: maintenance since November 6, 2009 3:50:51 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: This service is not running.
svc:/application/management/sunmcwebserver:default (SunMC webserver service)
State: maintenance since November 12, 2009 2:45:50 PM CST
Reason: Start method failed repeatedly, last exited with status 103.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcwebserver:default.log
Impact: This service is not running.}
# svcadm disable sunmcdatabase
# svcadm disable sunmcwebserver
# svcs -vx
# svcadm enable sunmcdatabase
# svcadm enable sunmcwebserver
# /opt/SUNWsymon/sbin/es-start -Ac
{Failed to successfully perform Database Startup.}
# svcs -vx
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: maintenance since November 12, 2009 2:49:50 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: This service is not running.}
# cd /
# svcadm disable sunmcdatabase
# shutdown -y -g0 -i6
(after reboot, I logged into clsol8 and su'd to root)
# svcs -xv
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: disabled since November 12, 2009 3:02:11 PM CST
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
Impact: 1 dependent service is not running:
svc:/application/management/sunmctopology:default}
# svcadm enable sunmcdatabase
# svcadm disable sunmcdatabase
# svcadm clear sunmcdatabase
svcadm: Instance "svc:/application/management/sunmcdatabase:default" is not in a maintenance or degraded state.
# svcadm refresh sunmcdatabase
# svcadm enable sunmcdatabase
# svcs -xv
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: offline since November 12, 2009 3:09:25 PM CST
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: 1 dependent service is not running:
svc:/application/management/sunmctopology:default
# svcs -xv
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: maintenance since November 12, 2009 3:10:30 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: 1 dependent service is not running:
svc:/application/management/sunmctopology:default
[ Nov 12 15:08:37 Leaving maintenance because disable requested. ]
[ Nov 12 15:08:37 Disabled. ]
[ Nov 12 15:09:07 Rereading configuration. ]
[ Nov 12 15:09:25 Enabled. ]
[ Nov 12 15:09:25 Executing start method ("/lib/svc/method/es-svc.sh start datab
ase") ]
execution of verifyDatabaseUp failed
exiting........................
[ Nov 12 15:10:30 Method "start" exited with status 95 ]
Similar Messages
-
Cfgserver syntax error in auth.suppl.dat
Hi Guys,
I am trying to fix the following problem
Aug 6 12:13:32 f15k1-cons cfgserver[25532]: [ID 876111 daemon.alert] syslog Aug 06 12:13:32 cfgserver *** aborting execution ***
Aug 6 12:13:46 f15k1-cons cfgserver[27509]: [ID 749361 daemon.alert] syslog Aug 06 12:13:46 cfgserver syntax error in auth-suppl.dat(1) at token '???'
And following is the auth.suppl.dat file
authkey(esmaster) = "b:6e:8d:b8:25:a2:dd:c6:13:21:ce:17:9a:56:f4:e1"
origauthkey(esmaster) = "b:6e:8d:b8:25:a2:dd:c6:13:21:ce:17:9a:56:f4:e1"
localize(esmaster) = "1"
authkey(espublic) = "b2:2:b:c0:d3:f2:1e:14:dc:a7:df:3e:de:fe:7a:cc"
localize(espublic) = "0"
prevauthkey(zia) = "f9:cd:87:e9:4e:49:1f:6b:6d:5:22:41:aa:6b:b3:79"
authkey(zia) = "f9:cd:87:e9:4e:49:1f:6b:6d:5:22:41:aa:6b:b3:79"
defaultdomain(zia) = "snmp://131.170.9.68:164/mod/topology+view-3"
prevauthkey(mathew) = "c9:68:2c:dc:2f:d:db:f:17:a9:bb:5e:d5:e0:42:b8"
authkey(mathew) = "c9:68:2c:dc:2f:d:db:f:17:a9:bb:5e:d5:e0:42:b8"
prevauthkey(andrew) = "2c:29:16:23:7c:13:9f:6a:b3:64:1c:80:eb:a8:c1:f9"
authkey(andrew) = "2c:29:16:23:7c:13:9f:6a:b3:64:1c:80:eb:a8:c1:f9"
defaultdomain(andrew) = "snmp://131.170.9.68:164/mod/topology+view-3"
prevauthkey(stuart) = "b:6e:8d:b8:25:a2:dd:c6:13:21:ce:17:9a:56:f4:e1"
authkey(stuart) = "73:db:b7:3b:c7:93:72:5e:19:60:26:c0:4a:7b:9e:2"
defaultdomain(stuart) = "snmp://131.170.9.68:164/mod/topology+view-3"
May I ask what is wrong with this configuration file.
Any help is highly appreciated please.
Regards,
Zia-ul-HassanHi Zia-ul-Hassan,
I renamed file auth-suppl.dat , that cleared the
warnings but didn't let me login to SunMC console,Do you know if that system crashed, or ran out of disk space? There may be more than 1 bad file left around. It often shows up as one of the SunMC Server processes constantly restarting itself (as shown in /var/adm/messages, or in the /var/opt/SUNWsymon/log/*.log files)
If the logs look OK another thing to try is to reset the security seeds on the Server:
/opt/SUNWsymon/sbin/es-config -r
Then try logging in again after SunMC has restarted.
Regards,
[email protected]
http://www.HalcyonInc.com
!! New !! : http://forums.HalcyonInc.com -
Agent syntax error in fscan+syslog.dat(1) at token '{'
Hello
I'm getting the following message thousand of times per day.
Sep 25 13:43:16 [10.64.47.16.183.179] agent[5350]: syslog Sep 25 13:43:16 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:43:16 [10.64.47.16.183.179] agent[5350]: syslog Sep 25 13:43:16 agent *** aborting execution ***
Sep 25 13:43:16 [10.64.47.16.183.179] agent[5350]: [ID 886278 daemon.alert] syslog Sep 25 13:43:16 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:43:16 [10.64.47.16.183.179] agent[5350]: [ID 362431 daemon.alert] syslog Sep 25 13:43:16 agent *** aborting execution ***
Sep 25 13:44:21 [10.64.47.16.183.179] agent[7778]: syslog Sep 25 13:44:21 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:44:21 [10.64.47.16.183.179] agent[7778]: syslog Sep 25 13:44:21 agent *** aborting execution ***
Sep 25 13:44:21 [10.64.47.16.183.179] agent[7778]: [ID 580518 daemon.alert] syslog Sep 25 13:44:21 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:44:21 [10.64.47.16.183.179] agent[7778]: [ID 457334 daemon.alert] syslog Sep 25 13:44:21 agent *** aborting execution ***
Sep 25 13:45:27 [10.64.47.16.183.179] agent[10206]: syslog Sep 25 13:45:27 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:45:27 [10.64.47.16.183.179] agent[10206]: [ID 275109 daemon.alert] syslog Sep 25 13:45:27 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:45:27 [10.64.47.16.183.179] agent[10206]: syslog Sep 25 13:45:27 agent *** aborting execution ***
Sep 25 13:45:27 [10.64.47.16.183.179] agent[10206]: [ID 903135 daemon.alert] syslog Sep 25 13:45:27 agent *** aborting execution ***
Sep 25 13:46:33 [10.64.47.16.183.179] agent[12637]: syslog Sep 25 13:46:33 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:46:33 [10.64.47.16.183.179] agent[12637]: [ID 869362 daemon.alert] syslog Sep 25 13:46:33 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:46:33 [10.64.47.16.183.179] agent[12637]: syslog Sep 25 13:46:33 agent *** aborting execution ***
Sep 25 13:46:33 [10.64.47.16.183.179] agent[12637]: [ID 622345 daemon.alert] syslog Sep 25 13:46:33 agent *** aborting execution ***
Sep 25 13:47:38 [10.64.47.16.183.179] agent[15065]: syslog Sep 25 13:47:38 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:47:38 [10.64.47.16.183.179] agent[15065]: [ID 563921 daemon.alert] syslog Sep 25 13:47:38 agent syntax error in fscan+syslog.dat(1) at token '{'
Sep 25 13:47:38 [10.64.47.16.183.179] agent[15065]: syslog Sep 25 13:47:38 agent *** aborting execution ***
Sep 25 13:47:38 [10.64.47.16.183.179] agent[15065]: [ID 543858 daemon.alert] syslog Sep 25 13:47:38 agent *** aborting execution ***Any ideas?
--AndreasHello Bobby
One problem was fixed but now I have a new one :(
Sep 26 08:18:58 wgtsinf01 agent[1727]: [ID 657200 daemon.alert] syslog Sep 26 08:18:58 agent invalid URL mode:
Sep 26 08:18:58 wgtsinf01 agent[1727]: [ID 968156 daemon.alert] syslog Sep 26 08:18:58 agent *** aborting execution ***
Sep 26 08:18:58 wgtsinf01 agent[1727]: [ID 657200 daemon.alert] syslog Sep 26 08:18:58 agent invalid URL mode:
Sep 26 08:18:58 wgtsinf01 agent[1727]: [ID 968156 daemon.alert] syslog Sep 26 08:18:58 agent *** aborting execution ***
Sep 26 08:19:05 wgtsinf01 agent[3663]: [ID 285625 daemon.alert] syslog Sep 26 08:19:05 agent invalid URL mode:
Sep 26 08:19:05 wgtsinf01 agent[3663]: [ID 285625 daemon.alert] syslog Sep 26 08:19:05 agent invalid URL mode:
Sep 26 08:19:05 wgtsinf01 agent[3663]: [ID 213369 daemon.alert] syslog Sep 26 08:19:05 agent *** aborting execution ***
Sep 26 08:19:05 wgtsinf01 agent[3663]: [ID 213369 daemon.alert] syslog Sep 26 08:19:05 agent *** aborting execution ***
Sep 26 08:19:14 wgtsinf01 agent[7068]: [ID 759446 daemon.alert] syslog Sep 26 08:19:14 agent invalid URL mode:
Sep 26 08:19:14 wgtsinf01 agent[7068]: [ID 759446 daemon.alert] syslog Sep 26 08:19:14 agent invalid URL mode:
Sep 26 08:19:14 wgtsinf01 agent[7068]: [ID 605446 daemon.alert] syslog Sep 26 08:19:14 agent *** aborting execution ***
Sep 26 08:19:14 wgtsinf01 agent[7068]: [ID 605446 daemon.alert] syslog Sep 26 08:19:14 agent *** aborting execution ***
Sep 26 08:19:22 wgtsinf01 agent[8792]: [ID 212727 daemon.alert] syslog Sep 26 08:19:22 agent invalid URL mode:
Sep 26 08:19:22 wgtsinf01 agent[8792]: [ID 473235 daemon.alert] syslog Sep 26 08:19:22 agent *** aborting execution ***
Sep 26 08:19:22 wgtsinf01 agent[8792]: [ID 212727 daemon.alert] syslog Sep 26 08:19:22 agent invalid URL mode:
Sep 26 08:19:22 wgtsinf01 agent[8792]: [ID 473235 daemon.alert] syslog Sep 26 08:19:22 agent *** aborting execution ***Any more ideas?
Cheers,
--Andreas -
Syntax error in scan+syslog.dat(1)
Hi,
I have repeated errors being logged by one of the SunMC agents on a Solaris 10 system. We are running Agent V4:
Nov 17 12:38:19 myserver agent[21172]: syslog Nov 17 12:38:19 agent syntax error in fscan+syslog.dat(1) at token '0'
Can someone please explain what this is and how to fix it?!
Cheers.....I have seen a configuration file get corrupted for unknown reasons. Look for a missing matching quote in the file in question fscan+syslog.dat(1). I stopped the es daemon to fix the file, and then restarted the SMC agent when done. This solved the streaming error I was getting that looked pretty much like yours.
Doug Morgan -
Syntax error while doing Convert data in LSMW
Hi experts,
I am using direct input method for uploading customer master records. After display read data step, when i click Convert data button, i get a runtime error saying that:
the data object "LEGACY_CUSTOMER_MASTER" has no component called "OLD_CUST_NO", but there is a component called "SAP_CUST_NO".
But actually we do not need OLD_CUST_NO field, so i did not include it while maintaining source fields. Someone plz help. I urgently need to resolve this.
Thanks.Hi ,
I think you have declared the filed old_cust_no in the maintain field mapping step may be in global declaration or in the mapping section of hte field. Without the use of filed OLD_CUST_NO you wont get the syntax error. Check the sysntax error in field mapping step and delete the unwanted field.Check the filed mapping section carefully based on the error.
Thanks. -
DB connectivi​ty toolkit: syntax error in a SELECT data from joined tables
Hello everyone
I'm trying to put in labview an SQL query on joined tables.
As example I take a DB for storing the data of 2on2 basketball games, whose tables are
matches(matchId,teamA,teamB)
teams(teamId,PlayerAname,PlayerBname,Nationality)
nationalities(NatId,natName)
To get a result table with the match number and the player names along with their nationality I use this query on MySQL (which works on the command line interface)
SELECT MatchID,
t1.PlayerAName, t1.PlayerBName, n1.natName,
t2.PlayerAName, t2.PlayerBName, n2.natName
FROM matches m
INNER JOIN teams t1 ON t1.teamID = m.teamA
INNER JOIN teams t2 ON t2.teamID = m.teamB
INNER JOIN nationalities n1 ON n1.natID = t1.nationality
INNER JOIN nationalities n2 ON n2.natID = t2.nationality
When I put it in labview, using the "select data" block, I get a syntax error as shown in the attached screenshot.
Am I mistanking something in using the JOIN statements, or the aliases?
Thanks in advance!
Solved!
Go to Solution.
Attachments:
select2dabone.vi 12 KBGiovasa wrote:
I do't like very much the chain of blocks execute query+n*(fetch element)+free object, so I try to avoid that as much that I can...
Sounds like a prime candidate for a subVI. You don't have to use it every time, but it probably would help for cases where you do want to put the SQL query directly in code.
Incidentally, if you're doing joins, you might consider using views, as that allows you to hide the details of the interactions of the tables in the DB itself.
Try to take over the world! -
Syntax error while loading hierarchy from an external file
Dear Expert:
I am new to BW and I met a problem today while loading hierarchy from an external file. Actually I am following below article to load the hierarchy:
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
When I schedule the infopackage, the error message says: "Syntax error in template RSTMPL9C, ROW 76". Actually there is only around 20 lines of records.
Since I am not familiar with hierarchy load, so:
1. while loading from external file, do I need to create one hierarchy in advance through "Maintain Hierarchies" in the infoobject? My understanding is since I can load that hierarchy from file, so I do not need to create one in advance, once the load completed, the hierarchy should automatically generated there. Is my understanding correct?
2. Before loading the hierarchy, do I need to load the master data of external characteristics in the hierarchy first? Here in my example, the sales hierarchy has 2 external characteritics (Country and region) in the hierarchy. Do I need to load some data first?
3. My 'Preview' function in the infopackage is gray so that I can not test the data loading. Why is it gray?
Information like file name, file dir, file type(csv), seperator should be correct there.
Can anybody help me take a look into that? Many thanks for your time in advance!
TimHi ctsiszidane:
There are some other SAP Notes that can help you solve the problem. Depending on your Support Package level check which of them is applicable.
Note 659461 - RSAR 682: Syntax error in template RSTMPL9A, row 246
Note 605690 - Escape characters are not processed correctly
Note 620152 - Syntax error in RSTMPL9A during data loading from a file
Regards,
Francisco Milán. -
Regarading IDOC status 26 ,syntax error
Hi All,
we have some problem to create IDOC type ORDERS05 for Purchase Order.
*ERROR STATUS 26:*
(SYNTAX ERROR IN IDOC (SEGMENT CANT B IDENTIFIED))
msg number E0078:
The segment E1EDK14 does not occur at the current level of the basic type ORDERS05 (extension ) AND
e1edk14 segment missed.instead of 5 ,it shows only 4.
*ERROR STATUS 26:*
(SYNTAX ERROR IN IDOC (MANDATORY DATA MISSING))
msg E0072:The segment E1EDK01 has the attribute 'Mandatory' in the syntax description of the basic type ORDERS05 (customer enhancement ).
header data was totally different.
it contains street fields,n country ,,like dat,instead of document number
However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.
This happens for order create (ORDERS) and for order change (ORDCHG)
Do you have any idea to solve the problem? I'm using a standard IDOC.hi
Usually posting program contains your logic which exists in process code this process code contain function module nothing but posting program
and also
check whether u r using
1) sap standard program
2) user defined program
3) enhancing sap program using user exits
if it is standard program check all ur ALE settings once again
if ur using user defined check ur program logic and compare it with idoc structure
if ur enhancing sap standard program check partner profiles using correct message & idoc type
check your user exit logic
reward if u find helpful
Thanks&Regards
Nagesh.Paruchuri -
Dimbuild causes network error 10054 "cannot send data"
Can anyone help with this? I have an <BR>ASO app that I run dimbuilds on every month. Every month I get the same error message when the dimbuild runs:<BR><BR>Error 1042012 - Network Error [10054]: Cannot send Data.<BR><BR>If I make an exact copy of the app and run the dimbuild on the copy, I get no errors and the dimbuild works fine. But when I run it on the original app, I always get the error message. <BR>Yet this month's app is a copy that the dimbuild worked on last month. <BR><BR>Does anyone out there know why this keeps happening? Any suggestions deeply appreciated. <BR>Thanks.<BR><BR>
<p>Hi Anaguiu,<br>I would clear the database and build dimensions using dimbuild rulewith no data in database<br>and then load data using data load rule.<br><br><br><br>Additionally I found some information at<br><br>http://dev.hyperion.com/techdocs/essbase/essbase_71/Docs/errmsgs/ernetwrk.htm#1042012<br><br>Quote<br>"1042012 Network error message: Cannot Send Data<br>Possible Problems<br>Analytic Services cannot send data over the network using namedpipes.<br><br>Possible Solutions<br>Increase the values for NETDELAY and NETRETRYCOUNT.<br>Check the index cache size, data cache size, and data block size tomake sure that they are within the recommended ranges. "<br><br><br>------------------<br>[email protected]<br></p>
-
Trapping ora- errors in alert.log
hello everyone,
A classical question that I think every DBA has encountered.
We have about 40 oracle database servers, some with 9i, others with 10g, still others with both. Some on Linux, others on Solaris.
My question is, how to trap ora- errors in the alert.log of these database and having them being sent as an email.
It's not an easy question to answer, I know. But I'd like to get ideas from your experiences in implementing the same thing in your environments.
Many thnx.
HiruyaHi,
this let you look for errors :
utl_file.get_line(vInHandle, vNewLine);
IF vNewLine like ('%ORA-%') then
Then this let you to mail the errors :
utl_smtp.mail
Here is my complete script :
SET SERVEROUT ON
DECLARE
c utl_smtp.connection;
vInHandle utl_file.file_type;
vNewLine VARCHAR2(250);
vMessage VARCHAR2(250);
I pls_integer := 0;
LC$Fic_in Varchar2(128) := 'db1ALRT.LOG'; -- a adapter sur votre configuration
LC$Dir_in Varchar(30) := 'C:\oracle\admin\db1\bdump';
PROCEDURE send_header(name VARCHAR2, header VARCHAR2) AS
BEGIN
utl_smtp.write_data(c,name ||':'|| header || UTL_TCP.CRLF);
END;
BEGIN
vInHandle := utl_file.fopen(LC$Dir_in, LC$Fic_in, 'R');
LOOP
BEGIN
utl_file.get_line(vInHandle, vNewLine);
IF vNewLine like ('%ORA-%') then
vMessage:=vMessage||chr(10)||vNewLine;
END IF;
EXCEPTION
WHEN OTHERS THEN
EXIT;
END;
END LOOP;
utl_file.fclose(vInHandle);
-----------------------SEND A MAIL---------------------------
c := utl_smtp.open_connection(‘smtpserver’,25);
utl_smtp.helo(c, ‘something.com');
utl_smtp.mail(c, [email protected]');
utl_smtp.rcpt(c, ‘[email protected]');
utl_smtp.open_data(c);
send_header('From', '"someone" <[email protected]>');
send_header('To', '"Recipient" < [email protected] >');
send_header('Subject', 'DB1 ERREUR ALERT LOG');
utl_smtp.write_data(c, UTL_TCP.CRLF ||vMessage);
utl_smtp.close_data(c);
utl_smtp.quit(c);
EXCEPTION
WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
BEGIN
utl_smtp.quit(c);
EXCEPTION
WHEN utl_smtp.transient_error
OR utl_smtp.permanent_error THEN
NULL;
END;
raise_application_error(-20000, SQLERRM);
END fopen;
/ -
Help with pesky "Error 28500 trapped in 2PC on transaction" error
Hi Folks,
I'm trying to stabilize a generic (ODBC) connection from Oracle to a Pervasive SQL database.
I get the errors below on a very regular basis in my alert log, even when the query to the remote database is a select statement. The statements are being executed from within a 3rd party application, so I don't know what might precede or follow the statements that cause the errors.
I've created a HS_TRANSACTION_LOG table in the Pervasive database, but that doesn't seem to have helped. I don't even know if the gateway is attempting to use it or not. The traces themselves do not have any errors in them, which makes this all the more strange and hard to debug. Any suggestions or insight would be much appreciated.
Here's the errors I keep seeing in my alert log
Fri Oct 30 09:48:55 2009
Error 28500 trapped in 2PC on transaction 8.33.39220. Cleaning up.
Error stack returned to user:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Pervasive][ODBC Client Interface][Client LNA]Your connection to the server is no longer working. To continue, disconnect from the data source and re-connect again. Contact your system administrator if you still need assistance.
ORA-02063: preceding 2 lines from FOSOKCPROD
Here's an excerpt from a trace.
Oracle Corporation --- FRIDAY OCT 30 2009 09:56:51.638
Version 11.1.0.7.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
HOSGIP returned value of "MASTER" for HS_FDS_RECOVERY_ACCOUNT
HOSGIP returned a value for HS_FDS_RECOVERY_PWD
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
Thanks
-Adam vonNiedaHi All,
Please can you send me the setup steps for HS generic connnectivilty between oralce 10g and pervasive sql 9 in windows 32 environemnt ..
Regards
Hyder -
How to trap 1843 error. .nOT Valid month..
This is in my cursor for loop
mstart_issue := TO_CHAR(to_date(mstart_issue,'YY-MON'),'Mon.YYYY') ;
mend_issue := to_char(to_date(mend_issue,'YY-MON'),'Mon.YYYY');
But it throws 1843 error..
i Have execptions for finding value error like
when value_error then
warn('value error'||moldmembership);
But i need something to trap the following error ie ..The moment not a valid month error occurs. .It should trap that error
Like warn('not validm onth'||membershpnumber)
What shall be the exeption to catch . .the 1843 error...
Like we got exceptions like when too many rows to catch duplicate records..
And this is how my end_issue data looks like .. . 10-jul
12-Aug date in yy-mon format..
But seems there is error..
Kindly help..
Thankssusf wrote:
Hi Thanks i am implementing both part of code.. Thanks ..
But ..When i use nls_date_language= 'AMERICAN' I see the output of date in some other language in sql
The output is like this..
Loka .2010
Loka .2010
Loka .2010
Loka .2010
Loka .2010
Loka .2010
Loka .2010
Marras.2010
Marras.2010
Marras.2010which line below generates the output above?
Here is the part of my code
declare
msno sub.sno%type;
e;
mSTART_ISSUE sub.start_issue%type;
MEND_ISSUE SUB.END_ISSUE%TYPE;
MCOMMENTS SUB.COMMENTS%TYPE;
MPCODE SUB.POSTCODE%TYPE;
mpay_mode sub.pay_mode%type;
mrmember sub.rmember%type;
mflag varchar2(1);
cursor c1 is select * from htmldb_collections where collection_name = 'CSV_DATA' and c001 != 'SNO';
invalid_month exception;
pragma exception_init( invalid_month, -1843 );
begin
mflag := 'N';
FOR XXX IN C1
LOOP
begin
mrmember := xxx.c023;
mstart_issue := xxx.c019;
mend_issue := xxx.c020;
BEGIN
IF SUBSTR ( UPPER (mstart_issue)
, -3
) IN ( 'JAN', 'FEB', 'MAR'
, 'APR', 'MAY', 'JUN'
, 'JUL', 'AUG', 'SEP'
, 'OCT', 'NOV', 'DEC'
THEN
MSTART_ISSUE := TO_CHAR(to_date(mstart_issue,'YY-MON','NLS_DATE_LANGUAGE=AMERICAN'),'Mon.YYYY') ;
mflag := 'Y';
ELSE
warn('not valid month startissue ' || moldmembership);
mflag := 'N';
END IF;
IF SUBSTR ( UPPER (mend_issue)
, -3
) IN ( 'JAN', 'FEB', 'MAR'
, 'APR', 'MAY', 'JUN'
, 'JUL', 'AUG', 'SEP'
, 'OCT', 'NOV', 'DEC'
THEN
mend_issue := to_char(to_date(mend_issue,'YY-MON','NLS_DATE_LANGUAGE=AMERICAN'),'Mon.YYYY');
mflag := 'Y';
ELSE
warn('not valid month endissue ' || moldmembership);
mflag := 'N';
END IF;
exception
when invalid_month then
warn('EXCEPTIONnot valid month xx ' || moldmembership);
END;
IF mflag = 'Y' then
insert into sub (sno,rno,designation,old,start_issue,end_issue,comments,pay_mode,rmember)
values
(msno,mrno,mdesignation,moldmem e,maddressedas,madd1,
madd2,mcounty,mcity,mstate,mcountry,mph_no,memail,mpostcode,mstart_issue,mend_issue,mco );
end if;
exception
when value_error then
warn('value error'||moldmembership);
end;
END LOOP;
END; -
I am using Developer Suite 9i with Oracle 9i as the backend. I have a doubt with trapping Oracle error 'ORA-00054'. For trapping a 'frm' error, say 40401, i write this code:-
DECLARE
lv_errtype VARCHAR2(3) := ERROR_TYPE;
lv_errcod NUMBER := ERROR_CODE;
lv_errtxt VARCHAR2(80) := ERROR_TEXT;
BEGIN
IF lv_errcod = 40401 THEN
null;
END IF;
END;
But, how to trap this error, say ORA-00054 or any other ORA error. In the back-end, we declare a exception using 'init_pragma(name,error_code)' and handle it.
In the forms front-end application, Developer Suite 9i, how do i handle that.
I hope, my question is clear. Please help in solving the doubt as it is urgent.
Regards.thanks for ur update, i was simulating a 'no data found' intentionally, and had written a ON-ERROR trigger at the form level using:-
DECLARE
lv_errtype VARCHAR2(3) := ERROR_TYPE;
lv_errcod NUMBER := ERROR_CODE;
lv_errtxt VARCHAR2(80) := ERROR_TEXT;
BEGIN
IF lv_errcod = 01403 THEN
message('no data found');
END IF;
message(lv_errtype);
END;
But, the message 'no data found' is not being raised, 'if' condition is not getting satisfied. In 'ERROR_TYPE', it is showing 'FRM', whereas, i am trying to simulate a database error. -
Error while scheduling data in QA
Hi Experts,
I am having this problem while Scheduling data in QA. I tried activating Infosource in se38 with program rs_transtru_activate_all but still i am getting the below error, can anyone let me know why is this happening....
Diagnosis
DataSource ZFAB_BILLINGCALC does not have the same status as the source
system in the Business Information Warehouse.
The time stamp in the source system is 10/06/2006 09:33:40 .
The time stamp in the BW system is 08/09/2006 15:52:25 .
System response
The load process has been terminated.
Procedure
Copy the DataSource again and then activate the transfer rules that
belong to it. You have to activate the transfer rules in every case,
even if they are still active after the DataSource has been copied.Kris,
I also got the similar error (time stamp)
Try this.
Replicate data source
Activate transfer structure in source system. For this
you navigate from source system tab---> your data source --> context menu --> display data source in source and then come back. It will activate the transfer structure in source. ( I dont know exact procedure but this worked for me many times)
I think this is sufficient.
If this not works include this step also Use the program for activating transfer structure in BW.
Hope this helps.
Vijay -
Data Source 0HR_PA_0 Syntax Error in the start routine while activating
Hi All,
I have migrated the Business content for the data source 0HR_PA_0
While activating the transformation-2 there is errors like:
Start Routine: Syntax error in routine
Rule (target: 0HDCNT_LAST, group: 01 Standard Group): Syntax error in routine
Rule (target: 0AGE_KYF, group: 01 Standard Group): Syntax error in routine
.................... etc
I need help to resolve this issue.
Thanks & Regards,
SavithaHello Jurgita,
When Data Source was migrated the codes related to COMM_STRUCTURE was missing in the start routinue.
Following codes (in bold) with regard to COMM_STRUCTURE added and then got activated
4. *--
5. COMM_STRUCTURE type tys_sc_1__rule_25,
6. l_subrc type sy-tabix,
7. l_abort type sy-tabix,
8. ls_monitor TYPE rsmonitor,
9. ls_monitor_recno TYPE rsmonitors.
10.
11. REFRESH:
12. MONITOR.
13.
14. * Runtime attributs
15. SOURCE_SYSTEM = p_r_request->get_logsys( ).
16. move-corresponding SOURCE_FIELDS to COMM_STRUCTURE.
17.
18. * Migrated update rule call
19. Perform routine_0011
20. using
21. COMM_STRUCTURE
22. CHANGING
Regards,
Savitha
Edited by: Savitha Ravi on Jun 19, 2009 6:34 AM
Maybe you are looking for
-
CS5 print dlg reverts to 'Photoshop Manages Colors'
Hello! I'm struggling with the Print dialog box in CS5 (12.0.4 x64). I want to apply printer color adjustments to a print job. I choose 'Printer Manages Colors' then open the Print Settings dialog for the printer, make the changes I want then clic
-
Need FM for displaying date as output EX:april 07
Hi All, I have a problem in displaying date for example: If i give period as 3 and year as 2007, the output should be displayed as april-07. Can any one help me out in finding a solution. Thanks in advance.
-
I am having an issue with the spry tabbed panels on my website. http://www.roxbury.org. On the intial page load, all of the sub menus appear for a few seconds and then only the active one appears like it is supposed to. When creating a new page from
-
STO WITH EXCISE, RG23A - Register is not updating
Hai experts, I have created stock transfer order, with reference to that order i have issued material to another plant. with reference to this document number i have created excise document in J1IS & J1IV... It has to update in RG23A Part II.. It is
-
How do i transfer itunes from my ipadmini to my laptop
i lost all my music on my laptop but had already sync to my ipad mini, how do i now sync back to laptop