Forum

HTTP Error 500.0 - ...
 
Bildirimler
Hepsini Temizle

HTTP Error 500.0 - Hatası

9 Yazılar
3 Üyeler
0 Reactions
2,809 Görüntüleme
(@ErdoganPALA)
Gönderiler: 158
Estimable Member
Konu başlatıcı
 

Merhaba, windows 2008 plesk paneli sunucumda böyle bir hata almaktayım. Sitenin ana dizini çalışıyor, admin paneline giriş yapmak istediğimde aşağıdaki hatayı alıyorum bu problemi nasıl çözebilirim yardımcı olan arkadaşlara teşekkür ederim.

HTTP Error 500.0 - Internal Server Error
C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe - The FastCGI process exited unexpectedly Detailed Error Information
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP5-FastCGI-php
Error Code 0xc0000005
Requested URL http://domain.com:80/admin/index.php
Physical Path C:\inetpub\vhosts\domain.com\httpdocs\admin\index.php
Logon Method Anonymous
Logon User

 
Gönderildi : 20/12/2011 13:11

(@ozgurmazlum)
Gönderiler: 2208
Illustrious Member
 

Php.ini  üzerinden hata mesajlarını açmanız gerekmektedir. Böylece soruna daha detaylı bakabiliriz.

 
Gönderildi : 20/12/2011 14:02

(@ErdoganPALA)
Gönderiler: 158
Estimable Member
Konu başlatıcı
 

Hata mesajları açık sunucu üzerinde giriş yapmaya çalışdığımızda yukarıda belirtdiğim hatayı alıyoruz, client girmeyi denediğimizde ise;

 

Internal Server Error

The server encountered an internal error or
misconfiguration and was unable to complete
your request.

Please contact the server administrator to inform of the time the error occurred
and of anything you might have done that may have
caused the error.

More information about this error may be available
in the server error log.

Bu hatayı almaktayız.

 

 
Gönderildi : 20/12/2011 14:43

(@huseyinsevin)
Gönderiler: 821
Prominent Member
 

PHP nin son sürümünü indirip C:\PHP dizinine kurunuz ve sitenizde PHP çalıştırmak için ilgili web sitesinde burdaki php-cgi.exe dosyasını seçiniz. Handler Mapping ayarlarından.

 

http://www.cozumpark.com/blogs/windows_server/archive/2011/04/10/_31013101_s-7-5-temel-y-netim-lemleri.aspx bu makaleden de yararlanabilirsiniz. PHP ile ilgili kısma bakmanızı öneririm. Sorununuzu çözecektir.

 
Gönderildi : 20/12/2011 14:58

(@ErdoganPALA)
Gönderiler: 158
Estimable Member
Konu başlatıcı
 

Hüseyin Bey, Sunucuda plesk panel var php manuel kurmadık Plesk panel kendisi kuruyor herşeyi bir kaç işlem yaptım şuanki aldığım;

Server Error in '/' Application.


Runtime Error

Description: An application error occurred on the
server. The current custom error settings for this application prevent
the details of the application error from being viewed remotely (for
security reasons). It could, however, be viewed by browsers running on
the local server machine.

Details: To enable the details of this specific error
message to be viewable on remote machines, please create a
<customErrors> tag within a "web.config" configuration file
located in the root directory of the current web application. This
<customErrors> tag should then have its "mode" attribute set to
"Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

Notes: The current error page you are seeing can be
replaced by a custom error page by modifying the "defaultRedirect"
attribute of the application's <customErrors> configuration tag to
point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

 
Gönderildi : 20/12/2011 15:21

(@huseyinsevin)
Gönderiler: 821
Prominent Member
 

Evet biliyorum Plesk kendisi kuruyor PHP yi zaten kendi web yönetim arayüzü içinde PHP gerekli. Peki siz benim dediğim şekilde bir PHP kurulumu yaptınız mı? Fakat Pleks'in kurduğu PHP yi kaldırmayın kesinlikle.

 

Birde web.config ten hata göstermeyi aktif edebilirmisiniz?

 

<configuration>
    <system.web>
        <customErrors mode="On"/>
    </system.web>
</configuration>

 

 
Gönderildi : 20/12/2011 15:46

(@ErdoganPALA)
Gönderiler: 158
Estimable Member
Konu başlatıcı
 

php kurulumu yapmadım, web.config dosyasının yolunuda söylermisiniz.

 
Gönderildi : 20/12/2011 16:36

(@ErdoganPALA)
Gönderiler: 158
Estimable Member
Konu başlatıcı
 

Ana dizin çalışıyordu şimdi oda aldığım hata;

 

Server Error in '/' Application.


Could not load type 'C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: Could not load type 'C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe'.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[HttpException (0x80004005): Could not load type 'C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe'.]
   System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +8812123
   System.Web.Configuration.HandlerFactoryCache.GetTypeWithAssert(String type) +38
   System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type) +13
   System.Web.Configuration.HandlerFactoryCache..ctor(String type) +19
   System.Web.HttpApplication.GetFactory(String type) +81
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184


 

 
Gönderildi : 20/12/2011 16:42

(@ErdoganPALA)
Gönderiler: 158
Estimable Member
Konu başlatıcı
 

Şuan durum site çalışıyor fakat admin klasörüne erişim sağlıyamıyorum plesk event loglarına bakdığımda şöyle bir log mevcut

Unable to duplicate started process handle: (5) Access is denied.   at RaiseException in C:\Windows\syswow64\KERNELBASE.dll
   at CxxThrowException in C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\MSVCR80.dll
   at 40483A in C:\Program Files (x86)\Parallels\Plesk\admin\bin\plesksrv.exe
   at 42A619 in C:\Program Files (x86)\Parallels\Plesk\admin\bin\plesksrv.exe
   at 4A6D51 in C:\Program Files (x86)\Parallels\Plesk\admin\bin\plesksrv.exe
   at memcpy_s in C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\MSVCR80.dll
   at 73BB109C in C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\MSVCP80.dll
   at DuplicateHandle in C:\Windows\syswow64\kernel32.dll
   at 41F2FE in C:\Program Files (x86)\Parallels\Plesk\admin\bin\plesksrv.exe
   at 42F14A in C:\Program Files (x86)\Parallels\Plesk\admin\bin\plesksrv.exe

Execute file name: 

 

IIS sunucudan giriş yapmak istediğimde şu hata devam ediyor;

 

 

HTTP Error 500.0 - Internal Server Error

C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe -
The FastCGI process exited unexpectedly

Detailed Error Information
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP_via_FastCGI
Error Code 0xc0000005
Requested URL http://domain.com:80/admin/index.php
Physical Path C:\inetpub\vhosts\domain.com\httpdocs\admin\index.php
Logon Method Anonymous
Logon User Anonymous
Most likely causes:
  • IIS received the request; however, an internal error occurred during the
    processing of the request. The root cause of this error depends on which module
    handles the request and what was happening in the worker process when this error
    occurred.
  • IIS was not able to access the web.config file for the Web site or
    application. This can occur if the NTFS permissions are set incorrectly.
  • IIS was not able to process configuration for the Web site or
    application.
  • The authenticated user does not have permission to use this DLL.
  • The request is mapped to a managed handler but the .NET Extensibility
    Feature is not installed.
Things you can try:
  • Ensure that the NTFS permissions for the web.config file are correct and
    allow access to the Web server's machine account.
  • Check the event logs to see if any additional information was logged.
  • Verify the permissions for the DLL.
  • Install the .NET Extensibility feature if the request is mapped to a managed
    handler.
  • Create a tracing rule to track failed requests for this HTTP status code.
    For more information about creating a tracing rule for failed requests, click here.

 

 
Gönderildi : 20/12/2011 19:35

Paylaş: