tencent cloud

Tencent Container Security Service

Release Notes
Product Introduction
Overview
Strengths
Use Cases
Features and Versions
Purchase Guide
Applying for Trial
Purchasing Pro Edition
Purchasing Image Scan
Purchasing Log Analysis
Getting Started
Operation Guide
Security Overview
Asset Management
Vulnerability Detection
Image Risk Management
Cluster Risk Management
Baseline Management
Runtime Security
Advanced Defense
Policy Management
Protection Switch
Alarm Settings
Log Analysis
Hybrid Cloud Installation Guide
Compromised Container Isolation
Log Field Data Parsing
Practical Tutorial
Mirror Vulnerability Scanning and Vulnerability Management
Troubleshooting
Offline Linux Client
Troubleshooting for Cluster Access
API Documentation
History
Introduction
API Category
Making API Requests
Network Security APIs
Cluster Security APIs
Security Compliance APIs
Runtime security - High-risk syscalls
Runtime Security - Reverse Shell APIs
Runtime Security APIs
Alert Settings APIs
Advanced prevention - K8s API abnormal requests
Asset Management APIs
Security Operations - Log Analysis APIs
Runtime Security - Trojan Call APIs
Runtime Security - Container Escape APIs
Image Security APIs
Billing APIs
Data Types
Error Codes
FAQs
TCSS Policy
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

Offline Linux Client

PDF
Focus Mode
Font Size
Last updated: 2024-01-23 15:35:06
This document describes how to troubleshoot an offline Linux agent, including how to troubleshoot agent process startup failures and network failures.
Note:
When the image security scan reports an offline agent, you need to locate the associated server based on the image name/ID before troubleshooting the offline agent.

Agent process startup failures

1. Enter the ps -ef|grep YD command to check whether the TCSS processes exist.
Normally, TCSS has two processes as shown below:
1


If the processes do not exist, possible reasons include the following:
The TCSS agent is not installed on the server or has been uninstalled from the server. In this case, install it as instructed in Getting Started.
The agent has a conflict or crash and thus cannot be started.
2. If the TCSS agent has been installed on the server, troubleshoot the problem as follows:
View the agent log stored in /usr/local/qcloud/YunJing/log.
Run the sh /usr/local/qcloud/YunJing/startYD.sh command to start TCSS.

Network failures

If the processes exist, but TCSS is offline, the cause is network disconnection in most cases. Then, troubleshoot the problem as follows:
1. If you cannot access the TCSS domain name, change the DNS. Run the following command to check whether the domain name is accessible:
VPC or CPM environment: telnet s.yd.tencentyun.com 5574. Normally, the returned result is as shown below:


If it is inaccessible: i. Change the dns nameserver field: vim /etc/resolv.conf. nameserver 183.60.83.19nameserver 183.60.82.98 ii. Then, run telnet s.yd.tencentyun.com 5574 again to check whether you can connect to it.

iii. If it can be connected, wait for a few minutes (the time length depends on the network conditions), and then you will see that the server is online again.
Classic network environment (non-VPC servers): telnet s.yd.qcloud.com 5574. Normally, the returned result is as shown below:


If it is inaccessible: i. Change the dns nameserver field: vim /etc/resolv.conf. Comment out the original nameserver field first, and then add the nameserver field. For more information on the nameserver IP, see Private Network Access. ii. Then, run telnet s.yd.qcloud.com 5574 again to check whether you can connect to it. iii. If it can be connected, wait for a few minutes (the time length depends on the network conditions), and then you will see that the server is online again.
2. Make sure your firewall policies allow the TCP ports 5574, 8080, 80, and 9080.
3. If the TCSS processes exist and the offline status of the agent is not caused by network issues, package the agent logs (log path: /usr/local/qcloud/YunJing/log) and contact us for assistance.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback