> Source: [sk122657](https://support.checkpoint.com/results/sk/sk122657)

# sk122657 - "Internal Server Error" is received when trying to access Gaia Portal/WebUI

| Property | Value |
|----------|-------|
| Solution ID | sk122657 |
| Date Created | 2018-02-19 |
| Last Modified | 2019-05-30 |
| Technical Level | Advanced |
| Products | Multi-Domain Security Management Server |
| Versions | R82.10, R81.20, R82 |
| OS | Gaia |

## Symptoms

- * The following error is received on browser when trying to access Gaia Portal/WebUi:  
  `"Internal Server Error:
  The server encountered an internal error or misconfiguration and was unable to complete your request.`  
  `
  Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.`  
  `
  More information about this error may be available in the server error log."
  `

* Server was upgraded from R77.30 to R80.10.

* access_log shows below text:  

  `
  159.x.x.x - - [10/Jan/2018:13:07:19 -0500] "GET / HTTP/1.1" 500 531
  `  
  `
  159.x.x.x - - [10/Jan/2018:13:07:55 -0500] "-" 408 -
  `  
  `
  159.x.x.x - - [10/Jan/2018:13:08:49 -0500] "GET / HTTP/1.1" 500 531
  `  
  `
  159.x.x.x - - [10/Jan/2018:13:08:49 -0500] "GET /favicon.ico HTTP/1.1" 500 531
  `

* error_log shows:   

  `
  [DATE TIME] [cgi:error] [pid 23398] [client x.x.x.x:59420] AH01215: /usr/bin/ipstcl2: error while loading shared libraries: libcpopenssl.so: cannot open shared object file: Permission denied: /web/cgi-bin2/login.tcl
  `  
  `
  [DATE TIME] [cgi:error] [pid 23398] [client x.x.x.x:59420] End of script output before headers: login.tcl
  `

* Permissions of login.tcl, cgi-bin2, /opt/CPshrd-R80/lib and libopenssl.so are correct (Compared them with working GAIA machine).

* Restarting the httpd process and resetting the GAIA Certificate has no impact.

* /etc/hosts.allow file has an entry with: ALL: ALL

## Cause

$CPDIR and $CPDIR/lib had permission issues.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
