zatosource / zato

ESB, SOA, REST, APIs and Cloud Integrations in Python
https://zato.io
GNU Affero General Public License v3.0
1.12k stars 240 forks source link

Cannot start Zato #1064

Closed rashmireddy2719 closed 4 years ago

rashmireddy2719 commented 4 years ago

I followed all the steps to install zato on ubuntu from https://zato.io/docs/tutorial/01.html and created an empty directory env/qs-1 and executed zato quickstart create ~/env/qs-1 sqlite localhost 6379 \ --kvdb_password 'mypassword' --verbose

It shows: File "/opt/zato/current/bin/zato", line 11, in load_entry_point('zato-cli', 'console_scripts', 'zato')() File "/opt/zato/3.1.0/code/zato-cli/src/zato/cli/zato_command.py", line 424, in main return run_command(args) File "/opt/zato/3.1.0/code/zato-cli/src/zato/cli/init.py", line 382, in run_command command_classargs.command.run(args) Traceback (most recent call last): File "/opt/zato/3.1.0/code/zato-cli/src/zato/cli/init.py", line 658, in run return_code = self.execute(args) File "/opt/zato/3.1.0/code/zato-cli/src/zato/cli/quickstart.py", line 297, in execute os.mkdir(ca_path) PermissionError: [Errno 13] Permission denied: '/opt/zato/env/qs-1/ca'

Can anyone help me to solve this error?

dsuch commented 4 years ago

Hello @rashmireddy2719,

this is a permission denied error - raised by the operating system, not Zato. I am not sure what is not clear here?

Regards.

rashmireddy2719 commented 4 years ago

Thanks, @dsuch ,

It's my bad, got that error resolved.