怎样解决Error: Busjquery namee...

WSO2 Enterprise Service Bus - Endpoint Error Handling | WSO2 Inc
WSO2 Platform Overview
Comprehensive and open platform for your connected business
Services and Apps Dev
Unified Governance
Mobile and IoT
Frameworks
Check out comprehensive solutions for your specific industry
Industries
Cloud Overview
Our 100% open source products the way you need it in the cloud
An easy, cost effective solution for
consuming WSO2 products
as a service.
Deploy WSO2 middleware on various
PaaS and IaaS environments.
Your private cloud deployment
with guaranteed SLA,
managed by WSO2.
Find out what’s taking place online, or at a city near you
Resources Overview
Deep dive into WSO2 products and customers solutions
By Content Type
Support Overview
Learn how WSO2 can be your partner for 100% project success
WSO2 Enterprise Service Bus - Endpoint Error Handling
Archived Content
This article is provided for historical perspective only, and may not reflect current conditions. Please refer to relevant product page for more up-to-date product information and resources.
Discuss this article on
Endpoints error handling is critical for any
deployment. In this article,
describes how to handle errors at the endpoint level.
Supun KamburugamuvaTechnical LeadWSO2 Inc
WSO2 Enterprise Service Bus - Endpoint Error Handling
Terminology
Service Provider Endpoint: WSO2 Enterprise Service Bus acts as a central distribution point, which distributes messages received from clients to the relevant service provider endpoints
WSO2 Enterprise Service Bus Endpoint: This is a representation of a service provider endpoint which lies inside WSO2 Enterprise Service Bus configuration
Introduction
Enterprises are inherently complex, comprising of hundreds of applications with completely different semantics. Some of these applications are custom built, where as some are acquired from third parties and some even can be a combination of both and they can be operating in different system environments.Most of these applications do run on different system environments, which makes it more complex. Due to these factors, it is vital to integrate these heterogeneous applications.
has the capability to provide the core technology to integrate these applications, which can be defined as the state of the art for Enterprise Application Integration (EAI) which is based on SOA principles. With WSO2 Enterprise Service Bus, the entire process gets enhanced by performing various tasks like message transformation, routing, transport switching, before sending the message to the service provider.
The main configuration building blocks which comes under WSO2 Enterprise Service Bus are as follows:
Proxy services
Mediators are the functional components inside WSO2 Enterprise Service Bus. They do various things like logging, XSLT transformation, sending messages out, XPath based filtering etc. So mediators are at the core of message processing inside WSO2 Enterprise Service Bus. The last step of a message processing inside WSO2 Enterprise Service Bus is to send the message out to a service provider. As far as the WSO2 Enterprise Service Bus is concerned it sends the message to a listening service endpoint. The message sends from the WSO2 Enterprise Service Bus to the service can be very different from the incoming message. For example, incoming message may be a SOAP 1.1
message over HTTP. But WSO2 Enterprise Service Bus can send this message to the service as a SOAP 1.2 message over JMS. In this case even though the WSO2 Enterprise Service Bus endpoint exposed to the client is a SOAP 1.1 over HTTP, the actual endpoint is a SOAP 1.2 over JMS.
An Endpoint is an abstraction of the service provider. Once a message is sent using a mediator, it should know what the service provider endpoint is. The endpoint is capable enough to provide this information. In a scenario where several ideal service endpoints serves requests of the same type, WSO2 ESB can be used as a Load Balancer. The main reason behind it is that all these endpoints are having the same functionality and it is natural to view them as a single unit.
WSO2 Enterprise Service Bus has the concept of building endpoints to represent service provider Endpoints. The following are the Endpoints built on WSO2 Enterprise Service Bus.
Address Endpoint
WSDL Endpoint
Default Endpoint
Load Balancing Endpoint
Fail-Over Endpoint
Out of the above mentioned lot, the most widely used Endpoints are Address and WSDL Endpoints. Each Endpoint has its own XML configuration in the Synapse Language. Synapse Language is an XML language used for configuring the Enterprise Service Bus.
Since Endpoints send the message out, they can encounter various transport errors. For example connection may time out, or connection may be closed by the actual service.
Why Error Handling is important?
Since WSO2 Enterprise Service Bus is a long running application, transient failures can occur time to time. Retiring on transient failures enhances the fault tolerance of a system. For a WSO2 Enterprise Service Bus, transient failures includes communication failures between service providers and WSO2 Enterprise Service Bus, data base operation failures and so on. The communication failures are the most frequent ones.
So Endpoint error handling is a key part of any successful Enterprise Service Bus deployment. Since most of the time we are using TCP, people may think, how can errors occur? After all TCP is very reliable, isnt it?. But not in real life. Messages can fail or lost due to various reasons in a real TCP network. These errors may be very rare. But they can occur. For understanding the importance of error handling consider the following scenario.
Usually when an error occurs and if the WSO2 Enterprise Service Bus is not configured to accept the error, it will mark the Endpoint as a failure. This leads to a message failure. By default, Endpoint will be marked as failed for a quite a long time. The error WSO2 Enterprise Service Bus encountered can be a intermittent issue that occurs once in a week, but due to this single error, subsequent messages may get lost. Of course you can configure WSO2 Enterprise Service Bus to handle this kind of situations and this article will give you an in depth understanding of how Endpoints work so that you can configure it optimally.
We call Address, Default and WSDL Endpoints as Leaf Endpoints. They do the actual sending of the message. A Load Balance or Fail-Over endpoint uses one or several of these Leaf Endpoints to send the message. So a Load Balance or Fail-Over Endpoint is a logical grouping of Leaf Endpoints. A Load Balance or Fail-Over Endpoint never sends the message directly. Instead they delegate the sending to the Leaf Endpoints, depending on the configuration and the status.
Endpoint is an abstraction of the remote server, where WSO2 Enterprise Service Bus is sending the messages out. It can specify what are the message properties used for sending the message. For example it can specify the message format, i.e. SOAP 1.1 or it can specify the WS Security policy for the outbound message.
WSO2 Enterprise Service Bus Endpoint has the configurations to specify its behavior on error conditions, which might occur between WSO2 Enterprise Service Bus and the actual service Endpoint.
An Endpoint has a state. Before going on to the Endpoint configurations we will look at the states and how the transition happens.
Endpoint States
At any given time, the state of the Endpoint can be Active, Timeout, Suspended or OFF . The Endpoint state transition normally happens on a message basis. To put an endpoint in to OFF state, we need to use JMX, so that the state is not in the State Transition Diagram. Let us now analyze the different endpoint states in detail:
Description
Endpoint is up and running.
Endpoint encountered an error, it is a candidate for suspension. If it continues to encounter errors it will be suspended. It can still send messages.
Endpoint encountered errors and is sent to a state where it cannot send requests. It cannot send messages and messages coming to it will result in a fault.
Endpoint is not active.
When WSO2 Enterprise Service Bus boots up, Endpoints are in the Active state and ready to send messages. If the user doesn't put the Endpoint into OFF state, it will be in the Active state until an error occurs.
When an error occurs, the Endpoint can be configured to stay in Active or to go to Timeout or Suspended state. Every error has an error code. Endpoint configuration allows you to define the errors to put the Endpoint into Timeout and Suspension modes. If a particular error is not defined for Timeout or Suspended states, the error will be ignored.
So errors are handled in three ways:
Put the Endpoint into SUSPENDED state
Put the Endpoint into TIMEOUT state
Ignore and stay in ACTIVE state
If the specific error does
not have a specified Time out then the Connection Close will be treated as TIMEOUT errors.
All the other errors will put the Endpoint into a SUSPENDED state.
When an error occurs Endpoint will first try to see whether it is an error for putting the endpoint into TIMEOUT. Then it will check whether it is an error for putting the endpoint in to SUSPENDED state.
In this state Endpoint can forward messages bound to a maximum number of continues failures. If it continously fails and the maximum number exceeds Endpoint will be marked as SUSPENDED. If one message succedd the endpoint will be marked as Active.
For example let's assume number of tries is set to 3. When an error occurs and endpoint is set to this state we have three tries. If the next three messages are sent using this endpoint, and encounters then the an error, the endpoint will be put to SUSPENDED state. If one of the messages succeeds before putting the endpoint into SUSPENDED state, endpoint will be marked as ACTIVE.
A suspended endpoint cannot be used for sending the messages. After endpoint is put in to this state, it can be tried again after a configurable time. After this time period expires, WSO2 Enterprise Service Bus will try to forward messages from this endpoint. If the message succeeds, then WSO2 Enterprise Service Bus will mark the endpoint as active. If the next message fails, the endpoint will be put to SUSPENDED or TIMEOUT state depending on the error.
The next period is calculated using the following formula.
Next suspension time period = Max (Initial Suspension duration * (progression factor try count), Maximum Duration)
All the variables in the above formula are configuration values used to calculate the try count. Try count means, how many tries occurred after the endpoint is SUSPENDED. As the try count increases, the next SUSPENSION time period will also increase. This increase is bound to a maximum duration.
Leaf Endpoint Configurations
This is the configuration for address endpoint. Since we all are only interested in error configurations, the same applies for WSDL endpoint as well. The error handling configuration are as follows:
timeout settings
markForSuspension settings
suspenOnFailure settings
We will look at those setting individually.
&address uri=&endpoint address& [format=&soap11|soap12|pox|get&]
[optimize=&mtom|swa&] [encoding=&charset encoding&]&&&
[statistics=&enable|disable&] [trace=&enable|disable&]&
&enableRM [policy=&key&]/&?
&enableSec [policy=&key&]/&?
&enableAddressing [version=&final|submission&] [separateListener=&true|false&]/&?
&duration&timeout duration in seconds&/duration&
&action&discard|fault&/action&
&/timeout&?
&markForSuspension&
[&errorCodes&xxx,yyy&/errorCodes&]
&retriesBeforeSuspension&m&/retriesBeforeSuspension&
&retryDelay&d&/retryDelay&
&/markForSuspension&
&suspendOnFailure&
[&errorCodes&xxx,yyy&/errorCodes&]
&initialDuration&n&/initialDuration&
&progressionFactor&r&/progressionFactor&
&maximumDuration&l&/maximumDuration&
&/suspendOnFailure&
&/address&
Description
Miliseconds
Connection timeout interval. If a the remote endpoint doesn't respond in this time it will be treated as a timeout.
discard, fault, none
When a response comes to a timed out request, weather to discard it or invoke the fault handler
markForSuspension
Description
errorCodes
Comma separated list of error codes
Errors to send the endpoint in to TIMEOUT state retriesBeforeSuspension
retriesBeforeSuspension
In the TIMOUT state this number of requests minus one can be tried and can be failed before endpoint is marked as SUSPENDED retryDelay. This setting is a per Endpoint setting. It is not a per message setting. So several messages can be tried parrallely and fail and the remaining retries will be reduced.
retryDelay
suspendOnFailure
Description
errorCodes
Comma separated list of error codes
All the errors except the errors specified in markForSuspension
Errors to send the endpoint in to SUSPENDED state
initialDuration
miliseconds
60 x 60 x 1000
After an endpoint gets suspended it will wait for this amount of time before trying to send the messages coming to it. All the messages coming during this time period will result in fault sequence activation.
progressionFactor
The endpoint will try to send the messages after the initialDuration. next duration = Max(initialDuration x progressionFactor ^ retry count, maximumDuration)
maximumDuration
&miliseconds
Long.MAX_VALUE
Upper bound of retry duration
Sample Configuration
&endpoint name=&Sample_First& statistics=&enable& &
&address uri=&http://localhost/myendpoint& statistics=&enable& trace=&disable&&
&duration&60000&/duration&
&/timeout&
&markForSuspension&
&errorCodes&1505&/errorCodes&
&retriesBeforeSuspension&3&/retriesBeforeSuspension&
&retryDelay&1&/retryDelay&
&/markForSuspension&
&suspendOnFailure&
&errorCodes&, 1508&/errorCodes&
&initialDuration&1000&/initialDuration&
&progressionFactor&2&/progressionFactor&
&maximumDuration&64000&/maximumDuration&
&/suspendOnFailure&
&/address&
&/endpoint&
Here we are moving the endpoint TIMEOUT state for errors 101504 and 101505. After this process, 3 requests can fail for one of these errors before moving the endpoint in to the SUSPENDED state.
We are putting the endpoint in to suspension for errors , 101507 and 101508. But as you can see we are ignoring the error 101503. If error 101503 occurs, the endpoint will be in the ACTIVE state.
For more information about error codes refer APPENDIX A.
Failover Endpoint
With leaf endpoints, if an error occurs during a message transmission process, that message will be lost. The failed message will not be retried again. These errors do occur very rarely, but still message failures can occur. With some applications these rare message loses are acceptable, but sometimes even these rare message failures are not acceptable and Failover endpoint is the ideal solution for it.
Here is the configuration for failover endpoints. At the configuration level, a
failover is a logical grouping of one or more
leaf endpoints.
&failover&
&endpoint .../&+
&/failover&
When a message comes to the failover state, it will go through its list of endpoints to pick the first one in ACTIVE or TIMEOUT state. Then it will send the message using that particular endpoint. If an error occurs while sending the message, the failover will go through the endpoint list again from the beginning and will try to send the message using the first endpoint.
Some errors do put the endpoint in to TIMEOUT and some, keep the endpoint in the ACTIVE state. In these cases the retry can happen using the same endpoint. If the failure occurs with the first endpoint within the failover group and this error doesn't put the endpoint in to SUSPENDED state, the retry will happen using the same endpoint.
Failover gives priority to the first endpoint, which is not in the SUSPENDED state. So it will send the message through the first endpoint in the failover group, as long as it is not SUSPENDED. When the first endpoint is SUSPENDED it will send the requests using the second endpoint. When the first endpoint becomes ready to send again, it will try again, even though the second endpoint is still active.
If there is only one service endpoint and the message failure is not tolerable, failovers are possible with a single endpoint.
Here is a sample failover with one address endpoint.
Sample Fail-Over configuration
&endpoint name=&SampleFailover&&
&failover&
&endpoint name=&Sample_First& statistics=&enable& &
&address uri=&http://localhost/myendpoint& statistics=&enable& trace=&disable&&
&duration&60000&/duration&
&/timeout&
&markForSuspension&
&errorCodes&&/errorCodes&
&retriesBeforeSuspension&3&/retriesBeforeSuspension&
&retryDelay&1&/retryDelay&
&/markForSuspension&
&suspendOnFailure&
&initialDuration&1000&/initialDuration&
&progressionFactor&2&/progressionFactor&
&maximumDuration&64000&/maximumDuration&
&/suspendOnFailure&
&/address&
&/endpoint&
&/failover&
&/endpoint&
Here the Sample_First endpoint is marked as TIMEOUT if a connection runs out of time, a connection close or sends IO errors. For all the other errors, it will be marked as suspended. When this error occurs the fail over will retry using the first non SUSPENDED endpoint. In this case, it is the same endpoint (Sample_First). It will retry until the retry count becomes 0. The retry happens in parrellel. Since messages do come to this endpoint using many threads, the same message may not be retired 3 times. Another message may fail and can reduce the retry count. So it is important to note that the retry count is not a per message based setting, it is a per endpoint based setting.
In this configuration, we assume that these errors are rare and if they happen once in a while it is OK to retry again. If they happen frequently and continuously, which means that it requires immediate attention
to get it back to normal state.
Conclusion
Handling errors at the endpoint level is crucial to any successful deployment. Errors are bound to be discovered by running tests. So it is recommended to run few long running load tests and fine tune the endpoint configurations for errors that can occur intermittently due to various reasons.
APPENDIX&A
Error Codes
Error code
Description
Receiver IO error sending
Receiver IO error receiving
Sender IO error sending
Sender IO error receiving
Connection failed
Connection timed out
Connection closed
HTTP protocol violation
Connect cancel
Connect timeout
Send abort
Supun Kamburugamuva, Software Engineer, WSO2,
(C) 2016 WSO2 Inc. Powered by二次元同好交流新大陆
扫码下载App
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
阅读(3866)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_080070',
blogTitle:'DXP2004
warning / error/注意事项',
blogAbstract:'
底下红色部分是自己的解决办法
参考博客地址:
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}酷勤网 C 程序员的那点事!
浏览次数:次
作者:风之幻想
没有时间翻译了.直接贴出来吧.也许E文的更好吧.自己理解可能会更好吧.1.SCSI&bus&DATA&IN&phase&parity&errorCauseThe&most&common&cause&of&this&problem&is&unapproved&hardware.&Some&SCSI&devices&for&the&PC&market&do&not&meet&the&high&I/O&speed&requirements&for&the&UNIX&market.&Other&possible&causes&of&this&problem&are&improper&cabling&or&termination,&and&power&fluctuations.&Data&corruption&is&possible,&but&unlikely&to&occur,&because&this&parity&error&prevents&data&transfer.ActionCheck&that&all&SCSI&devices&on&the&bus&are&Sun-approved&hardware.&Then&verify&that&all&cables&measure&no&longer&than&six&meters&total&and&that&all&SCSI&connections&are&properly&terminated.&If&power&fluctuations&are&occurring,&invest&in&an&uninterruptible&power&supply.2.SCSI&transport&failed:&reason&'reset'CauseThis&message&indicates&that&the&system&sent&data&over&the&SCSI&bus,&but&the&data&never&reached&its&destination&because&of&a&SCSI&bus&reset.&The&most&common&cause&of&this&condition&is&conflicting&SCSI&targets.&Data&corruption&is&possible,&but&unlikely&to&occur,&because&this&failure&prevents&data&transfer.ActionVerify&that&all&cables&measure&no&longer&than&six&meters&total&and&that&all&SCSI&connections&are&properly&terminated.&If&power&surges&are&a&problem,&acquire&a&surge&suppressor&or&an&uninterruptible&power&supply.A&machine's&internal&disk&drive&is&usually&SCSI&target&3.&Make&sure&that&external&and&secondary&disk&drives&are&targeted&to&1,&2,&or&0,&and&do&not&conflict&with&each&other.&Also,&make&sure&that&tape&drives&are&targeted&to&4&or&5,&and&CD&drives&to&6,&avoiding&any&conflict&with&each&other&or&with&disk&drives.&If&the&targeting&of&the&internal&disk&drive&is&in&question,&power&off&the&machine,&remove&all&external&drives,&turn&on&the&power,&and&from&the&PROM&monitor&run&the&probe-scsi-all&or&probe-scsi&command.If&SCSI&device&targeting&is&acceptable,&memory&configuration&could&be&the&problem.&Ensure&that&high-capacity&memory&chips&(such&as&4-Mbyte&SIMMs)&are&in&lower&banks,&while&lower-capacity&memory&chips&(such&as&1-Mbyte&SIMMs)&are&in&the&upper&banks.SPARC&systems&do&not&always&support&third-party&CD-ROM&drives,&and&can&generate&a&similar&unknown&vendor&error&message.&Check&with&the&CD-ROM&vendor&for&specific&configuration&requirements.Some&third-party&disk&drives&have&a&read-ahead&cache&that&interferes&with&the&Solaris&device&drivers.&Make&sure&that&any&existing&read-ahead&cache&facility&is&turned&off.3.Security&exception&on&host&string.&USER&ACCESS&DENIED.CauseWhen&trying&to&create&a&user&with&Adminsuite&by&placing&the&home&directory&on&a&system&remote&from&the&NIS+&server,&the&user&gets&this&error&message:&Security&exception&on&host&hostname.&USER&ACCESS&DENIED.The&user&identity&(555)username&was&received,&but&that&useris&not&authorized&to&execute&the&requested&functionalityon&this&system.&Is&this&user&a&member&of&an&appropriatesecurity&group&on&this&system&?(Function:&class&directory&method&create_dir)The&user&can&use&rsh(1)&to&access&the&remote&machine&and&create&a&home&directory&on&the&system.ActionThe&user&was&not&in&the&system&administration&group&NIS+&tables.&#&niscat&group.org_dir&|&grep&sysadmin&&sysadmin::14:Add&the&user&name&to&the&system&administration&group.4.Segmentation&FaultCauseSegmentation&faults&usually&come&from&a&programming&error.&This&message&is&usually&accompanied&by&a&core&dump,&except&on&read-only&file&systems.ActionTo&see&which&program&produced&a&core(4)&file,&run&either&the&file(1)&command&or&the&adb(1)&command.&The&following&examples&show&the&output&of&the&file(1)&and&adb(1)&commands&on&a&core&file&from&the&dtmail&program.&$&file&corecore:&ELF&32-bit&MSB&core&file&SPARC&Version&1,&from&`dtmail'$&adb&corecore&file&=&core&--&program&`dtmail'SIGSEGV&&11:&segmentation&violation^D&&&&&&(use&Control-d&to&quit&the&adb&rogram)Ask&the&vendor&or&author&of&this&program&for&a&debugged&version.Technical&NotesA&process&has&received&a&signal&indicating&that&it&attempted&to&access&an&area&of&memory&that&is&protected&or&that&does&not&exist.&The&two&most&common&causes&of&segmentation&faults&are&attempting&to&dereference&a&null&pointer&or&indexing&past&the&bounds&of&an&array.5.sendmail[]:&can't&lookup&data&via&name&server&"dns"&or&sendmail[]:&can't&lookup&data&via&name&server&"nis"CauseThe&following&entry&in&the&/etc/nsswitch.conf&file,&sendmailvars:&dns&nis&files,&causes&the&messages&to&appear&in&the&console&window.ActionThe&sendmailvars&database&can&be&used&only&with&local&files&and/or&NIS+.&If&you&do&not&have&this&database&setup,&the&default&sendmailvars&entry&should&look&as&follows&in&the&/etc/nsswitch.conf&file:&sendmailvars:&files6.sendmailvars:&filessendmail[init]:&NOQUEUE:&SYSERR(root):&Cannot&bind&to&domain&&domain&:&no&such&map&in&server's&domain:&Bad&file&numberCauseThe&user&is&running&NIS&and&receives&this&error&on&several&NIS&machines.ActionCheck&the&following:1. For&the&system(s)&not&working,&make&sure&there&is&a&/var/yp/nicknames&file.&Also,&make&sure&that&this&file&contains&this&entry:&aliases&mail.aliases2. On&one&of&the&systems&not&working,&execute&the&following:&ypcat&aliases3. You&will&probably&get&this&message:&no&such&map&in&servers&domain.&Do&a&ypwhich&to&see&which&NIS&server&the&system&is&bound&to.&Next,&go&to&that&server&and&verify&that&the&mail.aliases&map&is&missing&from&/var/yp/domainname.&This&map&must&either&be&created&or&copied&over&from&one&of&the&NIS&servers&that&contains&the&map.7.sendmail[int]:&NOQUEUE:&SYSERR:&net&hang&reading&from&stringCauseThis&is&a&sendmail(1M)&message&that&appears&on&the&console&and&in&the&log&file&/var/adm/messages.&If&this&message&occurs&once&for&a&particular&user,&a&mail&message&from&this&user&might&end&with&a&partial&line&(having&no&terminating&newline&character).&If&this&message&appears&frequently&or&at&busy&times,&especially&along&with&other&networking&errors,&it&could&indicate&network&problems.ActionCheck&the&user's&mail&spool&file&to&see&if&a&message&ends&without&a&newline&character.&If&so,&talk&with&the&user&and&determine&how&to&prevent&the&problem&from&occurring&again.&If&these&messages&are&the&result&of&network&problems,&you&could&try&moving&the&mail&spool&directory&to&another&machine&with&a&faster&network&interface.Technical&NotesDuring&the&SMTP&receipt&of&DATA&phase,&a&message-terminating&period&on&a&line&of&its&own&never&arrived.&sendmail(1M)&timed&out&and&produced&this&error.
&风之幻想 回复于: 15:07:40
8.Service&wouldn't&let&us&acquire&selectionCauseThis&message&indicates&that&the&OpenWindows&selection&service&failed&to&seize&the&requested&selection&from&/tmp/winselection.&Consider&the&following&diagnostics:&the&requested&selection&could&be&0&for&unknown,&1&for&caret,&2&for&primary,&3&for&secondary,&or&4&for&clipboard.&The&result&could&be&0&for&failure,&2&for&nonexistent,&3&for&did&not&have,&4&for&wrong&rank,&5&for&continued,&6&for&cancelled,&or&7&for&unrecognized.9.setmnt:&Cannot&open&/etc/mnttab&for&writingCauseThe&system&is&having&problems&writing&to&/etc/mnttab.&The&file&system&containing&/etc&might&be&mounted&read-only,&or&not&mounted&at&all.ActionCheck&that&this&file&exists&and&is&writable&by&root.&If&so,&ensure&that&the&/etc&file&system&has&been&mounted,&and&is&mounted&read-write,&rather&than&read-only.10.share_nfs:&/home:&Operation&not&applicableCauseThis&message&usually&indicates&that&the&system&has&a&local&file&system&mounted&on&/home,&which&is&where&the&automounter&usually&mounts&users'&home&directories.ActionWhen&a&system&is&running&the&automounter,&do&not&mount&local&file&systems&on&the&/home&directory.&Mount&them&on&another&directory,&such&as&/disk2,&which&on&most&systems&you&have&to&create.&You&could&also&change&the&automounter&auto_home&entry,&but&that&is&a&more&difficult&solution.11.Signal&8&errorCauseIn&this&case,&the&user&gets&a&Signal&8&error&during&installation--right&after&starting&Openwindows--and&installation&stops.ActionShut&down&the&system&"gracefully,"&and,&as&it&is&rebooting,&place&a&ZIP&drive&cartridge&(blank&or&used)&in&the&ZIP&drive.&Begin&the&normal&installation&of&the&Solaris&IA&software.&It&is&not&possible&to&continue&the&existing&installation&of&the&Solaris&software&by&putting&a&cartridge&in&the&ZIP&drive&after&receiving&this&error.&When&the&Solaris&software&checks&all&of&your&hardware,&it&thinks&the&ZIP&drive&is&just&another&hard&drive&and&attempts&to&read&from&it.&If&there&is&no&cartridge&in&the&drive,&then&you&receive&the&signal&8&error.&If&the&Solaris&software&installation&"sees"&a&cartridge&in&the&ZIP&drive,&it&reads&from&it,&even&if&there&is&no&data&on&the&cartridge,&and&then&continues.12.SIMS&license&error:&licenses&invalidCauseThis&is&a&license&internet&mail&server&problem.&The&user&is&installing&a&departmental&version&of&SIMS&3.1&on&a&Pentium&2&PC&that&is&running&the&Solaris&2.6&IA&release.&The&system&is&using&a&Java(TM)&interface&and&keeps&getting&the&above&error.&The&two&license&files&from&the&license&center&are:&SERVER&server&DAEMON&lic.SUNW&/etc/opt/licenses/lic.SUNW&INCREMENT&SLAPD.1&lic.SUNW&1.000&08-Mar-1998&1&&SERVER&nwlab4&727a2b6a&7588&DAEMON&suntechd&/etc/opt/licenses/suntechd&/etc/opt/licenses/daemon_options&INCREMENT&sun.mail.mbox&suntechd&3.100&08-Mar-ActionMerge&the&two&license&files&together&and&delete&the&extra&SERVER&line.13.Slice&c0t1d0s0&is&too&small&to&contain&1&replicasCauseWhen&trying&to&add&a&state&replica&using&metatool&to&cylinder&0&of&a&disk,&the&following&error&message&appears:&&Your&attempt&to&attach&metastate&database&replicas&on&slice&"c?t?d?s?"&failed&for&the&following&reason:&Slice&c?t?d?s?&is&too&small&to&contain&1&replicas.This&is&because&metatool&masks&out&the&very&first&cylinder&to&protect&the&disk&label.&On&disksuite&v4.1,&metatool&does&allow&adding&the&databases&to&cylinder&0&on&2.1Gbyte&disks&or&larger.ActionAs&a&workaround,&start&at&cylinder&1&(not&cylinder&0)&or&use&the&command&line&(metadb&-a).14.snmpdx:&bind()&failed&on&udp&on&161&[errno:&address&already&in&use]&125&snmpdx&dmid:&unable&to&connect&to&snmpdxCauseThe&user&is&running&the&Solaris&2.6&release&with&a&Cisco&FDDI&card&and&is&receiving&the&above&error.ActionIn&the&Solaris&2.6&software&a&startup&script&is&included&in&/etc/rc3.d&that&starts&snmpdx&(which&uses&port&161).&You&receive&the&error&message&because&the&FDDI&SNMP&agent&is&running,&and&it&has&already&claimed&port&161.&Two&solutions&are:&1. Move&the&snmpdx&start-up&script&mv&/etc/rc3.d/S76snmpdx&&&&/etc/rc3.d/s76snmpdx2. so&that&snmpdx&does&not&start.3. Check&if&the&FDDI&can&use&a&different&port,&other&than&161.15.Socket&type&not&supportedCauseThe&support&for&the&socket&type&has&not&been&configured&into&the&system&or&no&implementation&for&it&exists.Technical&NotesThe&symbolic&name&for&this&error&is&ESOCKTNOSUPPORT,&errno=121.16.Soft&error&rate&(int%)&during&writing&was&too&highCauseThis&message&from&the&SCSI&tape&drive&appears&when&Exabyte&or&DAT&tapes&generate&too&many&soft&(recoverable)&errors.&It&is&followed&by&the&advisory&Please,&replace&tape&cartridge&message.&Soft&errors&are&an&indication&that&hard&errors&could&soon&occur,&causing&data&corruption.ActionFirst,&clean&the&tape&head&with&a&cleaning&tape,&as&recommended&by&the&manufacturer.&If&that&remedy&does&not&work,&replace&the&tape&cartridge.&If&the&problem&persists,&you&might&need&to&replace&the&tape&drive&with&new&tape&cartridges.17.Software&caused&connection&abortCauseA&connection&abort&occurred&internally&to&your&host&machine.Technical&NotesThe&symbolic&name&for&this&error&is&ECONNABORTED,&errno=130.
&风之幻想 回复于: 15:08:32
18.Srmount&errorCauseThis&error&is&RFS&specific.&It&occurs&when&an&attempt&is&made&to&stop&RFS&while&resources&are&still&mounted&by&remote&machines,&or&when&a&resource&is&readvertised&with&a&client&list&that&does&not&include&a&remote&machine&with&the&resource&currently&mounted.Technical&NotesThe&symbolic&name&for&this&error&is&ESRMNT,&errno=69.19.Stale&NFS&file&handleCauseA&file&or&directory&that&was&opened&by&an&NFS&client&was&either&removed&or&replaced&on&the&server.ActionIf&you&were&editing&this&file,&write&it&to&a&local&file&system&instead.&Try&remounting&the&file&system&on&top&of&itself&or&shutting&down&any&client&processes&that&refer&to&stale&file&handles.&If&neither&of&these&solutions&works,&reboot&the&system.Technical&NotesThe&original&vnode&is&no&longer&valid.&The&only&way&to&remove&this&error&is&to&force&the&NFS&server&and&client&to&renegotiate&file&handles.Th20.statd:&cannot&talk&to&statd&at&stringCauseThis&message&comes&from&the&NFS&status&monitor&daemon&statd(1M),&which&provides&crash&recovery&services&for&the&NFS&lock&daemon&lockd(1M).&The&message&indicates&that&statd(1M)&has&left&old&references&in&the&/var/statmon/sm&and&/var/statmon/sm.bak&directories.&After&a&user&has&removed&or&modified&a&host&in&the&hosts&database,&statd(1M)&might&not&properly&purge&files&in&these&directories,&which&results&in&its&trying&to&communicate&with&a&nonexistent&host.ActionRemove&the&file&named&variable&(where&variable&is&the&host&name)&from&both&the&/var/statmon/sm&and&/var/statmon/sm.bak&directories.&Then&kill&the&statd(1M)&daemon&and&restart&it.&If&that&does&not&get&rid&of&the&message,&kill&and&restart&lockd(1M)&as&well.&If&that&remedy&does&not&work,&reboot&the&machine&at&your&convenience.21.stty:&TCGETS:&Operation&not&supported&on&socketCauseThis&message&occurs&when&a&user&tries&to&use&remote&copy&with&rcp(1)&or&remote&shell&with&rsh(1)&from&one&machine&to&another,&but&has&an&stty(1)&command&in&the&remote&.cshrc&file.&This&error&creates&failure&for&the&rcp(1)&or&rsh(1)&command.ActionThe&solution&is&to&move&the&invocation&of&the&stty(1)&command&to&the&user's&.login&(or&equivalent)&file.&Alternatively,&execute&the&stty(1)&command&in&.cshrc&only&when&the&shell&is&interactive.&You&could&perform&the&following&test:&if&($?prompt)&stty&...Technical&NotesThe&rcp(1)&and&rsh(1)&commands&make&a&connection&using&sockets,&which&do&not&support&stty(1)'s&TCGETS&ioctl.22.su:&No&shellCauseThis&message&indicates&that&someone&changed&the&default&login&shell&for&root&to&a&program&that&is&missing&from&the&system.&For&example,&the&final&colon-separated&field&in&/etc/passwd&could&have&been&changed&from&/sbin/sh&to&/usr/bin/bash,&which&does&not&exist&in&that&location.&Possibly&an&extra&space&was&appended&at&the&end&of&the&line.&The&outcome&is&that&you&cannot&login&as&root&or&switch&user&to&root,&and,&thus,&cannot&directly&fix&this&problem.ActionThe&only&solution&is&to&reboot&the&system&from&another&source,&then&edit&the&password&file&to&correct&this&problem.&Invoke&sync(1M)&several&times,&then&halt&the&machine&by&typing&Stop-A&or&by&pressing&the&reset&button.&Reboot&as&single-user&from&CD-ROM,&the&net,&or&diskette,&such&as&by&typing&boot&cdrom&-s&at&the&prompt.After&the&system&starts&and&gives&you&a&#&prompt,&mount&the&device&corresponding&to&the&original&root&partition&somewhere,&such&as&with&a&mount(1M)&command&similar&to&the&one&that&follows.&Then&run&an&editor&on&the&newly&mounted&system&password&file&(use&ed(1)&if&terminal&support&is&lacking):&#&mount&/dev/dsk/c0t3d0s0&/mnt#&ed&/mnt/etc/passwdUse&the&editor&to&change&the&password&file's&root&entry&to&call&an&existing&shell,&such&as&/usr/bin/csh&or&/usr/bin/ksh.Technical&NotesTo&keep&the&No&shell&problem&from&happening,&habitually&use&admintool&or&/usr/ucb/vipw&to&edit&the&password&file.&These&tools&make&it&difficult&to&change&password&entries&in&ways&that&make&the&system&unusable.23.su:&'su&root'&failed&for&login&on&/dev/pts/intCauseThe&user&specified&by&login&tried&to&become&superuser,&but&typed&the&wrong&password.ActionIf&the&user&is&supposed&to&know&the&root&password,&wait&to&see&if&the&correct&password&is&supplied.&If&the&user&is&not&supposed&to&know&the&root&password,&ask&why&he&or&she&is&attempting&to&become&superuser.24.su:&'su&root'&succeeded&for&login&on&/dev/pts/intCauseThe&user&specified&by&login&just&became&superuser&by&typing&the&root&password.ActionIf&the&user&is&supposed&to&know&the&root&password,&this&message&is&only&informational.&If&the&user&is&not&supposed&to&know&the&root&password,&change&this&password&immediately&and&ask&how&the&user&learned&it.25.SunPC&may&NOT&run&correctly&as&rootCauseWith&SunPC&4.1&and&the&102924&jumbo&patch&installed,&a&user&(who&is&not&root)&attempts&to&run&SunPC&and&receives&the&following&error&message:&SunPC&may&NOT&run&correctly&as&root.Please&run&in&user&mode.SunPC&script&is&exitingThe&user's&primary&group&ID&is&probably&root.&For&example:&$&/usr/bin/iduid=33650(gruff)&gid=0(root)ActionChange&the&user's&primary&group&to&another&group,&such&as&10,&and,&because&the&user&still&needs&to&be&in&the&root&group,&add&the&root&group&to&the&user's&secondary&group&list.26.syncing&file&systems...CauseThis&message&indicates&that&the&kernel&is&updating&the&super-blocks&before&taking&the&system&down&to&ensure&file&system&integrity.&This&message&appears&after&a&halt(1M)&or&reboot(1M)&command.&It&can&also&appear&after&a&system&panic,&in&which&case&the&system&might&contain&corrupted&data.ActionIf&you&just&halted&or&rebooted&the&machine,&take&no&action.&This&message&is&normal.&In&case&of&a&system&panic,&look&up&the&panic&messages.&Your&system&vendor&might&be&able&to&help&diagnose&the&problem.&So&that&you&can&describe&the&panic&to&the&vendor,&either&leave&your&system&in&its&panicked&state&or&be&sure&that&you&can&reproduce&the&problem.Technical&NotesNumbers&that&sometimes&display&after&the&three&dots&in&the&message&show&the&count&of&dirty&pages&that&are&being&written&out.&Numbers&in&brackets&show&an&estimate&of&the&number&of&busy&buffers&in&the&system.27.syslog&service&starting.CauseDuring&system&reboot,&this&message&might&appear&and&the&boot&seemingly&hangs.&After&starting&syslogd(1M)&service,&the&system&runs&/etc/rc2.d/S75cron,&which&in&turn&calls&ps(1).&Sometimes&after&an&abrupt&system&crash&/dev/bd.off&becomes&a&link&to&nowhere,&causing&the&ps(1)&command&to&hang&indefinitely.ActionReboot&as&a&single&user&(for&example&with&boot&-s)&and&run&ls&-l&/dev/bd*&to&see&if&this&is&the&problem.&If&so,&remove&/dev/bd.off,&then&run&bdconfig&off&or&reboot&with&the&-r&(reconfigure)&option.This&is&the&most&commonly&reported&situation&that&causes&ps(1)&to&hang.28.System&booting&after&fatal&error&FATALCauseThe&system&reboots&automatically.&Afterward,&the&messages&file&contains&System&booting&after&fatal&error&FATAL.The&message&is&issued&during&a&reboot&after&the&system&detects&a&hardware&error.&The&following&can&cause&this&response:&UPA&address&parity&error,&Master&queue&overflows,&DTAG&parity&errors,&E-Cache&tag&parity&errors,&and&Coherence&errors.ActionUse&prtdiag(1M)&to&help&identify&failed&hardware&components.&The&errors&indicate&that&you&either&have&a&bad&CPU&module&or&a&bad&system&board.e&symbolic&name&for&this&error&is&ESTALE,&errno=151.
&oldhero 回复于: 15:10:20
好东东,顶了。还望哪个高人能准确翻译出来,看E文还真有点吃力。
&胭脂扣 回复于: 08:37:51
顶,收藏了.谢谢楼主.要是有翻译好的就更好了.
&race 回复于: 08:40:31
转贴最好注明出处
&nononhm 回复于: 09:00:11
培训文档可以翻译解决方案最好是看回原文
&popol 回复于: 10:17:40
&kaka_sun 回复于: 15:05:33
快过年了,我也想奉献一份大礼
&gary.chen 回复于: 16:48:44
风之幻想推荐的要好好看看.&&&&先收藏下,以后慢慢看.
& 相关主题:}

我要回帖

更多关于 gethostname 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信