> For the complete documentation index, see [llms.txt](https://docs.veedna.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.veedna.com/sca360-secure-deployment-for-restricted-environments/troubleshooting-cli-issues.md).

# Troubleshooting CLI issues

### Troubleshooting

1. Q: CLI fails to execute A: Ensure to run “pre.sh” after CLI is extracted and rerun the command
2. Q: /tmp or /home does not have sufficient free space to run the CLI A: Before executing the CLI in a bash shell, export the environment variables “TMPDIR” and “HOME” to point to partitions where enough free space is available. The regular user that is running the CLI should have access to write to these directories.
3. Q: CLI crashes while running A: Collect the core if possible, or share a screenshot or output of the stack trace along with data specified in the section - “Data required for troubleshooting”
4. Q: SBOM data generated by the CLI is not available in SBOM360 portal A: Ensure to register the CLI using the device registration code before generating the SBOM. Verify the project input data given in “input.json” and that is a valid JSON.
5. Q: SBOM data generated by the CLI is not correct in SBOM360 portal A: Verify the project input data given in “input.json” and that is a valid JSON. Share the data specified in the section – “Data required for troubleshooting”&#x20;

### Data required for troubleshooting&#x20;

Assuming the CLI was executed inside the folder “/home/ubuntu/veecli”,

1. “/home/ubuntu/veecli/veelocal.log” – Log file created in the current folder where CLI was executed
2. “/home/ubuntu/veecli/output//*-SPDXRef-DOCUMENT-vdna\_*.tar.gz – Output of the analysis
3. “/home/ubuntu/veecli/output//collectionsummary.json – Summary of the analysis
4. “/home/ubuntu/veecli/input.json” – Input JSON used for SBOM creation
5. Output file where the CLI execution stdout and stderr was redirected to.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.veedna.com/sca360-secure-deployment-for-restricted-environments/troubleshooting-cli-issues.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
