-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOError: [Errno 2] No such file or directory: '/home/ec2-user/pacbot/dist/jobs/rule-engine.jar' #57
Comments
Is there a chance someone can help us what we need to change to solve that problem? We are just using a clean AWS Linux 2 AMI and installing the components as in your description |
@marcschroeter I have similar issue, I believe this issue has to do with Java9, I'm testing out with Java8 to see if it is working... |
@Leectan but it looks like i have Java 8 installed java -version |
Hey @marcschroeter , Could you please let us know the machine configuration from which you are trying to install pacbot? The machine need to have at-least 8GB of memory to complete successful build. |
Thank you so much! I could it install now @johnakash But i am not able to login with default credentials Authentication Failed. Please check your credentials. |
@marcschroeter if you could enumerate how you install the pip dependencies and java and maven, and OS you are running on would be great. I'm sure it would be a great help. |
@marcschroeter I get these errors along the way when I tried to install it. Wondering if you experienced the same.. |
@marcschroeter looks like I have the same issue as you had before... wondering what you did differently here. |
@Leectan since installer building UI and API jars together on the fly we need to make use an instance with minimum 8GB memory. Please upgrade the machine configuration and give a try. Before running the installer again, please make sure you have executed destroy command and cleaned all resources created as part of PacBot
|
@johnakash I'm running on Ubuntu 4GB CPU and 16GB memory.... |
@johnakash it looks alot like software dependencies are broken to me... especially Java and Maven.... |
@marcschroeter Could you please check if you can see tables of oauth_user table in RDS? |
@Leectan Please join on gitter, we can have a quick chat and close it out. |
@johnakash gitter link please |
@johnakash nvm, saw. |
@Leectan this is what i am doing on a Amzaon Linux 2 AMI: sudo yum install git -y |
@johnakash how can i connect to the RDS DB? How can i find the credentials? |
Could you please check if maven installed in the machine? |
@johnakash when i excecute "mvn versions:display-dependency-updates" i get this. Is this what you need to know? [INFO] |
This looks good and the PacBot is seems to be installed in your account. At the end of installation the Portal URL (to login) and default login details will be printed. Please try to login with those credentials. |
i am not able to login with default credentials Authentication Failed. Please check your credentials. |
this was the output - but i cannot login with that - i can see the website but then get Authentication Failed. Please check your credentials. ********** Login Domain: internal-pacbot-xxxxxxx.eu-central-1.elb.amazonaws.com |
@marcschroeter , Please let us know when you can be available to troubleshoot the issue in Gitter. |
We are closing this issue since there is no response for the last 7 days. |
Started building the jar...............
Traceback (most recent call last):
File "setup_pacman.py", line 213, in
_access_validation(assignedpolicieslist, user_name, user_arn)
File "setup_pacman.py", line 190, in _access_validation
awsterraformbuild._create_aws_resources(accessKey, secretKey, region)
File "/home/ec2-user/pacbot/installer/awsterraformbuild.py", line 28, in _create_aws_resources
jsonRead._build_ui_apps(aws_access_key, aws_secret_key, region)
File "/home/ec2-user/pacbot/installer/jsonRead.py", line 760, in _build_ui_apps
bucket=_get_s3_bucket_name() + '-' + _get_base_accountid()
File "/home/ec2-user/pacbot/installer/ui/build_apps.py", line 37, in build_api_and_ui_apps
self.build_jar_and_ui_from_code()
File "/home/ec2-user/pacbot/installer/ui/build_apps.py", line 84, in build_jar_and_ui_from_code
self.copy_jars_to_upload_dir(self.codebase_root_dir)
File "/home/ec2-user/pacbot/installer/ui/build_apps.py", line 113, in copy_jars_to_upload_dir
shutil.copy2(copy_file_from, self.upload_dir)
File "/usr/lib64/python2.7/shutil.py", line 144, in copy2
copyfile(src, dst)
File "/usr/lib64/python2.7/shutil.py", line 96, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/ec2-user/pacbot/dist/jobs/rule-engine.jar'
The text was updated successfully, but these errors were encountered: