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

# sk99012 - SmartEndpoint unable to connect to Endpoint server after migration from Windows to Gaia

| Property | Value |
|----------|-------|
| Solution ID | sk99012 |
| Date Created | 2014-03-31 |
| Last Modified | 2018-04-25 |
| Technical Level | General |
| Products | Endpoint Security |
| Versions | Cloud, E89.X, E88.X, R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * "Endpoint Management Server not started" error when launching Endpoint GUI.  

* In server_messages.log we see the message:  
  Attempt (attempt number) to read token.txt failed, probably because fwm process is not ready and token.txt is not initialized yet  

* In server_messages.log we see the message:  
  WARN - Can't load server.xml from /opt/CPuepm-R77/engine/conf/server.xml  

* In server_messages.log we see the message:  
  WARN - Permissions incorrect, read permission is not allowed on the file.

## Cause

There might be insufficient permissions for some files under $UEPMDIR/engine/conf/ on the server.

## Solution

1. Go to *$UEPMDIR/engine/conf/*   

2. To see the current permissions, run the command: ls -la  

3. Compare the permissions and the owner of each folder and file to the following:

   ```
   -rw-r--r-- 1 cpep_user cpep_user 4621 Sep 11 2013 activemq.xml
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 4572 Aug 29 2013 activemq.xml.template
   ```

   ```
   drwxrws--- 2 admin       cpep_user 4096 Sep 11 2013 cert
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 1637 Aug 29 2013 cp-server.xml
   ```

   ```
   -rw-rw-r-- 1 admin       cpep_user 217 Sep 11 2013 cptnl_srv.conf
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 121 Aug 29 2013 ds.global.properties
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 560 Aug 29 2013 ds.local.properties
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 347 Aug 29 2013 ds_krb5.conf
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 540 Aug 29 2013 ds_krb5.policy
   ```

   ```
   -rw-rw-r-- 1 cpep_user  cpep_user 9031 Oct 25 09:22 epsNetwork
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 554 Sep 11 2013 global.properties
   ```

   ```
   -rw-rw-r-- 1 admin       cpep_user 554 Mar 30 10:33 global.properties.backup
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 132 Aug 29 2013 gsseg_jaas.conf
   ```

   ```
   drwxrws--- 2 admin       cpep_user 4096 Sep 11 2013 jk
   ```

   ```
   -rw-rw---- 1 cpep_user cpep_user 4825 Mar 26 15:01 local.properties
   ```

   ```
   -rw-rw-r-- 1 admin        cpep_user 4825 Mar 30 10:33 local.properties.backup
   ```

   ```
   -rw-r--r-- 1 cpep_user  cpep_user 4825 Sep 11 2013 local.properties.original
   ```

   ```
   -rw-rw---- 1 admin       cpep_user 0 Mar 30 11:40 per.txt
   ```

   ```
   drwxrws--- 4 admin       cpep_user 4096 Sep 11 2013 policy
   ```

   ```
   drwxrws--- 3 admin       cpep_user 4096 Sep 11 2013 sandbox
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 1783 Aug 29 2013 server.xml
   ```

   ```
   drwxrws--- 2 admin       cpep_user 4096 Mar 30 10:33 ssl
   ```

   ```
   drwxrws--- 3 admin       cpep_user 4096 Sep 11 2013 templ
   ```

   ```
   -rw-rw---- 1 admin       cpep_user 38 Mar 30 10:33 token.txt
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 5982 Aug 29 2013 uepmConfig.xml
   ```

   ```
   drwxrws--- 4 admin       cpep_user 4096 Sep 11 2013 updates
   ```

   ```
   -rwxrwx--- 1 admin       cpep_user 4097 Aug 29 2013 web.xml
   ```

   <br />

   <br />

4. If there are incompatibilities between the permission on the server to the above, run the commands:  

   1. To change the permissions, run : *chmod*   

      Example:

      *#chmod 770 global.properties*

      770 means the following permissions: *-rwxrwx---*

      <br />

   2. To change the owner\\group, run: *chown*

      Example:

      *#chown admin.cpep_user token.txt*

      It means: *Owner: admin*

      *Group: cpep_user*

<br />

If the permissions are correct, [Contact Check Point Support](http://www.checkpoint.com/services/contact/index.html).   
For faster resolution and verification please collect [CPinfo](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92739) files from the Security Management and Security Gateways involved in the case.

---

# 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
