503 (service unavailable) and not able to access - Red Hat ...
文章推薦指數: 80 %
in A Box running with both tomcat and httpdX services . tomcat JVM log showing 500 error but after restart HTTPDX issue resolved.
RedHat
LearningCommunity
AllcommunityThiscategoryThisboardKnowledgebaseUsers
cancel
Turnonsuggestions
Auto-suggesthelpsyouquicklynarrowdownyoursearchresultsbysuggestingpossiblematchesasyoutype.
Showingresultsfor
Searchinsteadfor
Didyoumean:
SignIn
Help
BrowseCommunityCommunityDiscussRedHatTechnologyGeneralPlatform&LinuxContainers,DevOps&OpenShiftCloud&OpenStackDeveloper&MiddlewareAutomation,Management&AnsibleStorageOtherRedHatLearningSubscriptionRedHatAcademyExploreRedHatLearningCommunityNewsCourse&ExamAnnouncementsSkillsPathsCertificationResourcesCommunityUpdatesRHLSResourcesLearnRedHatTrainingVideosExpertExtraVideos
RedHatCommunity
:
Discuss
:
Developer&Middleware
:
503(serviceunavailable)andnotabletoaccess...
Options
SubscribetoRSSFeed
MarkTopicasNew
MarkTopicasRead
FloatthisTopicforCurrentUser
Bookmark
Subscribe
PrinterFriendlyPage
jeesshnasree
FlightEngineer
MarkasNew
Bookmark
Subscribe
SubscribetoRSSFeed
Permalink
Print
EmailtoaFriend
ReportInappropriateContent
11-05-2019
10:10AM
3,512Views
503(serviceunavailable)andnotabletoaccesstheapplication
HiAll, actuallyoneissuefaceddueto500errorsinApplicationJVMlog. exampleboxnameis=x.x.x.x(ABox), inABoxrunningwith bothtomcatandhttpdXservices. tomcatJVMlogshowing500errorbutafterrestartHTTPDXissueresolved. Application(tomcat)JVMnotrestartbutwithoutissuesworkinggood(heretomcatJVMrunningwitholdtimestamp)andonlyrestartedHttpdX. actuallyinHttpdXerror.logcontainbelowinformation: [Time-Stamp][proxy:error][pid123:tid456](111)connectionrefused:AH00957:ajb:attempttoconnectX.X.X.X(ABoxIPaddress/localhost)failed. [Time-Stamp][proxy:error][pid123:tid456]AH00959:X_proxy_connect_backeddisablingworkerforX.X.X.X(ABoxIPaddress/localhost)for60s. [Time-Sramp][proxy:error][pid123:tid456]AH00940:apj:disabledforX.X.X.X(ABoxIPaddress/localhost). CurrentlyIdon'tthelogs. boxdetails:OperatingSystem:Linux6.x,HTTPD:2.4.6,tomcat:8,DB:oracle11g. couldyoupleaseletmeprovidesolutionforfixwithoutrestartHttpdX. Ihopeexplainedissueclearly. ifpossible,kindlysharethecauseoftheissue. regards,jeesshnasree
Labels(1)
Labels
503
0
Kudos
Share
Jointhediscussion
Allforumtopics
PreviousTopic
NextTopic
2Replies
flozano
Moderator
MarkasNew
Bookmark
Subscribe
SubscribetoRSSFeed
Permalink
Print
EmailtoaFriend
ReportInappropriateContent
11-07-2019
12:47AM
3,495Views
Re:503(serviceunavailable)andnotabletoaccesstheapplication
Wewouldneedmuchmoredetailedinformationtobeabletohelpyou,forexamplethecompletenamesandversionnamesforyoursoftware.Thereisnosuchthingas"Linux6.x"IassumeyoumeanRHEL6.xbutwhatis"x"?Andwhatabout"httpdX"whatitmeans?
Thelogmessagesseemtoindicatethatyouhttpdinstanceisrunningamod_jkconnector,butitcouldberunningothermodulesthatprovideAJPconnectivitytoTomcat.Therearemanynetworksettingsfrombothhttpdandtomcatthatneedtomatch,elseyouwouldseetheseerrors.
Someonewouldneeddetailsaboutyourserverandnetworktopolityandseethehttpandtomcatconfigurationfilestosuggestpotentialfixes.Thesefixeswouldprobablyrequireretartinghttpd.
Itcouldalsobethatafirewallisblockingtrafficbetweenyourhttpdandtomcatinstances.Eveniftheyareonthesameserver,theyarestillsubjecttokernelfirewallrulesandSELinux.
IfyouhaveaRHELsubscription,youcouldopenasupportrequest.Thatwouldtheeasiestpath.
0
Kudos
Share
Reply
Loading...
ARSHAD_AZIZ
Cadet
MarkasNew
Bookmark
Subscribe
SubscribetoRSSFeed
Permalink
Print
EmailtoaFriend
ReportInappropriateContent
11-26-2019
12:01PM
3,414Views
Re:503(serviceunavailable)andnotabletoaccesstheapplication
AspertheproblemdescriptionandthelogsofHttpd,itisevidentthat connectionpoolworkertothebackendserverisintheerrorstateandbydefault,Httpdwillnotforwardanyrequeststothatserveruntilthetimeoutexpires(defaultis60seconds).Youcantrytosetthefollowing,toavoidthissituation,inProxyPass.ProxyPass/ http://
延伸文章資訊
- 1Tomcat responding HTTP 503 - Stack Overflow
- 2Error 503 returned by applications that use Tomcat (e.g. ...
The "503 error" usually indicates that Tomcat is not running or that it experienced a class error...
- 3Tomcat server return 503 error Service Unavailable - Bitnami ...
The server is temporarily unable to service your request due to maintenance downtime or capacity ...
- 4Create a 503 Status Code for your Site - InMotion Hosting
- 5How to Fix 503 Service Temporarily Unavailable Error in Apache
1. Reboot Apache Server. One of the simplest ways to fix 503 service temporarily unavailable erro...