Oc_id Component is failing to start after changing the ip of the server

oc_id Component is failing to start after changing the ip of the chef server in AWS .

When i tried to tail the logs i found the following error:

2017-12-08_19:00:07.95484 /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/bundler-1.14.6/lib/bundler.rb:179:in rescue in tmp_home_path':/opt/opscode/embedded/service/oc_idis not writable. (ArgumentError) 2017-12-08_19:00:07.95516 Bundler also failed to create a temporary home directory at’:
2017-12-08_19:00:07.95517 could not find a temporary directory
2017-12-08_19:00:07.95520 from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/bundler-1.14.6/lib/bundler.rb:169:in tmp_home_path' 2017-12-08_19:00:07.95521 from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/bundler-1.14.6/lib/bundler.rb:159:inuser_home’
2017-12-08_19:00:07.95523 from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/bundler-1.14.6/lib/bundler.rb:183:in user_bundle_path' 2017-12-08_19:00:07.95525 from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/bundler-1.14.6/lib/bundler/settings.rb:288:inglobal_config_file’
2017-12-08_19:00:07.95537 from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/bundler-1.14.6/lib/bundler/settings.rb:49:in initialize' 2017-12-08_19:00:07.95539 from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/bundler-1.14.6/lib/bundler.rb:246:innew’
2017-12-08_19:00:07.95540 from /opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/bundler-1.14.6/lib/bundler.rb:246:in `settings’

Can you please suggest us how we can fix this issue.

Thank you in advance.