SRX Services Gateway
Highlighted
SRX Services Gateway

access error:500 internal sever error

[ Edited ]
‎10-05-2010 04:24 AM

Hi-

 

i have problem in web accessing   in srx 210  from intrernal and external interface.it show message access error 500 internal server error .what the cause and how to slove it.as i have not get any solution.so how to solve this error.

 

9 REPLIES 9
Highlighted
SRX Services Gateway

Re: access error:500 internal sever error

[ Edited ]
‎10-05-2010 04:42 AM

Was it working before & stopped working suddnely ?

Make sure that HTTP is allowed  under " set system services "  & under the host inbound traffic

Can you paste the output of  " show log httpd" just after trying the HTTP acess

Can you paste your config showing which interface you are trying to access

Restarting the SRX can give fast solution if it is a software isuue

 

*******************  Mark My Post as Accepted if it solved your problem*******************

 

Highlighted
SRX Services Gateway

Re: access error:500 internal sever error

‎10-05-2010 10:42 AM

This is typically what you get if you forget to configure the interface for web management.

 

Make sure "set system services web-management http interface <external interface>" exists in your configuration.

Highlighted
SRX Services Gateway

Re: access error:500 internal sever error

‎10-07-2010 12:08 AM

Hi-

 I have already configured the configuration as you recommended here. As, I have already  configured these configuration,I am unable to access the j-web interface.

the log for http log is posted here.

 

shyan@inepal# run show log httpd.log          
   default:2 main  Configuration for J-Web
   default:2 main  --------------------------------------------
   default:2 main  Host:               inepal
   default:2 main  CPU:                i386
   default:2 main  OS:                 FREEBSD
   default:2 main  Distribution:       unknown Unknown
   default:2 main  OS:                 FREEBSD
   default:2 main  Version:            2.4.0.0
   default:2 main  BuildType:          RELEASE
   default:2 main  Started at:         Wed Oct  6 11:53:38 2010
   default:2 main  Log rotation count: 0
   default:2 main  --------------------------------------------
   default:2 main  Set log level for all modules to 2
   default:2 main  Server Root "/jail"
   default:2 main  Document Root for iss-nepal:
        "/html"
   default:2 main  Setting Cache Max Age to: 5184000 seconds
   default:2 main  Add webauthHandler
   default:2 main  Add dirHandler
   default:2 main  Activating module (Builtin) upload
   default:2 main  Add uploadHandler
   default:2 main  Add uploadHandler
    upload:2 main  Upload directory: /tmp
   default:2 main  Add cgiHandler for ".php"
   default:2 main  Add copyHandler
httpServer:0 main  Allowing HTTP connections on: fe-0/0/5.0
httpServer:0 main  Allowing HTTP connections on: fe-0/0/7.0
httpServer:0 main  Allowing HTTP connections on: ge-0/0/0.0
   default:2 main  Activating module (Builtin) ssl
   default:2 main  Activating module (Builtin) openSsl
   default:2 main  Document Root for :443:  "/html"
   default:2 main  Starting host named: "inepal"
   default:2 main  Starting host named: "inepal"
   default:1 main  Error: Can't open a socket on , port 80
   default:1 main  Error: Can't listen for HTTP on :80
   default:1 main  Error: Can't start server, exiting.

Highlighted
SRX Services Gateway

Re: access error:500 internal sever error

[ Edited ]
‎10-07-2010 04:17 AM

There are many errors at the HHTP process log files :

default:1 main  Error: Can't open a socket on , port 80
default:1 main  Error: Can't listen for HTTP on :80
default:1 main  Error: Can't start server, exiting.

Can you try restarting the HTTP process  : " SRX# run restart web-managemet"

Also can you try rebooting the SRX

If both didnot solve the issue , can you paste your configuration  & indicate through which interface are you trying to access the SRX Jweb

 

*******************  Mark My Post as Accepted if it solved your problem*******************

Highlighted
SRX Services Gateway

Re: access error:500 internal sever error

[ Edited ]
‎10-07-2010 04:55 AM

Hi-
when i run restart web-management, shows
error: Web management gatekeeper process is not running
Web management gatekeeper process started, pid 3682.

here Web management gatekeeper process started, pid 3682. though i can't access, same problem occur again.
how to resolve the case.

Highlighted
SRX Services Gateway

Re: access error:500 internal sever error

‎10-07-2010 05:08 AM

Have you tried rebooting the box ? it seems to be a software issue

After the reboot , are you still not able to access ?

Highlighted
SRX Services Gateway

Re: access error:500 internal sever error

[ Edited ]
‎10-09-2010 09:18 PM

Hi-

 

I have tried after rebooting the device also, but the same problem remin till, i am unable to access the web-management access and same error after the rebooting.

currently i am using junos os 10.0r3.10 before upgrading to this version box was run with version 9.5.Now, how to reslove the probelm either downgrading the version or upgrading or reinstalling the same version ? is there other way to resolve the problem upgrading or downgrading,  plz ?

Highlighted
SRX Services Gateway
Solution
Accepted by topic author shyan
‎08-26-2015 01:27 AM

Re: access error:500 internal sever error

‎10-10-2010 01:07 AM

Hi-

 

I resolve the problem by reinstalling the firmware.

Thanks to all for your efforts.

 

Highlighted
SRX Services Gateway

Re: access error:500 internal sever error

‎08-20-2013 10:54 PM

hi as ur descirption, can u tell me what the fireware u reinstall? i meet the same issue in a SRX3400. it cant open the socket of the port 80. i cant access using j-web. thx!

Feedback