Hi! I managed to fix the issue after some research :) ! thank you for your help and your time everyone !
Cheers, Karima Le jeudi 12 mars 2015 12:38:25 UTC, Thomas Orozco a écrit : > > Hi, > > Like I asked a bit earlier, please include the Apache log files. > > The trace only indicate Apache couldn't start. The log files will indicate > why. > > Cheers, > On Mar 12, 2015 11:15 AM, "Karima Kaddouri" <[email protected] > <javascript:>> wrote: > >> Thank you so much for your input guys ! >> >> I tried to find the root of the error from the trace but I couldn't, so I >> am posting it here hoping someone could. >> >> RuntimeError >> ------------ >> Supervisor service httpd was unable to be started >> >> Cookbook Trace: >> --------------- >> >> /opt/scalr-server/embedded/cookbooks/supervisor/providers/service.rb:49:in >> `block (2 levels) in class_from_file' >> >> /opt/scalr-server/embedded/cookbooks/supervisor/providers/service.rb:47:in >> `block in class_from_file' >> >> Resource Declaration: >> --------------------- >> # In >> /opt/scalr-server/embedded/cookbooks/scalr-server/recipes/group_httpd_enabled.rb >> >> 42: supervisor_service 'httpd' do >> 43: command >> "#{node[:scalr_server][:install_root]}/embedded/bin/httpd" \ >> 44: " -f #{etc_dir_for node, 'httpd'}/httpd.conf" \ >> 45: ' -DFOREGROUND' >> 46: stdout_logfile "#{log_dir_for node, 'supervisor'}/httpd.log" >> 47: stderr_logfile "#{log_dir_for node, 'supervisor'}/httpd.err" >> 48: action [:enable, :start] >> 49: autostart true >> 50: startsecs 5 >> 51: subscribes :restart, 'user[scalr_user]' if >> service_is_up?(node, 'httpd') >> 52: subscribes :restart, 'template[php_ini]' if >> service_is_up?(node, 'httpd') >> 53: end >> >> Compiled Resource: >> ------------------ >> # Declared in >> /opt/scalr-server/embedded/cookbooks/scalr-server/recipes/group_httpd_enabled.rb:42:in >> >> `from_file' >> >> supervisor_service("httpd") do >> action [:enable, :start] >> updated true >> retries 0 >> retry_delay 2 >> default_guard_interpreter :default >> declared_type :supervisor_service >> cookbook_name :"scalr-server" >> recipe_name "group_httpd_enabled" >> command "/opt/scalr-server/embedded/bin/httpd -f >> /opt/scalr-server/etc/httpd/httpd.conf -DFOREGROUND" >> stdout_logfile "/opt/scalr-server/var/log/supervisor/httpd.log" >> stderr_logfile "/opt/scalr-server/var/log/supervisor/httpd.err" >> autostart true >> startsecs 5 >> service_name "httpd" >> process_name "%(program_name)s" >> numprocs 1 >> numprocs_start 0 >> priority 999 >> autorestart :unexpected >> startretries 3 >> exitcodes [0, 2] >> stopsignal :TERM >> stopwaitsecs 10 >> stdout_logfile_maxbytes "50MB" >> stdout_logfile_backups 10 >> stdout_capture_maxbytes "0" >> stderr_logfile_maxbytes "50MB" >> stderr_logfile_backups 10 >> stderr_capture_maxbytes "0" >> serverurl "AUTO" >> end >> >> >> Running handlers: >> [2015-03-12T11:13:23+00:00] ERROR: Running exception handlers >> - Raven::Chef::SentryHandler >> Running handlers complete >> [2015-03-12T11:13:24+00:00] ERROR: Exception handlers complete >> [2015-03-12T11:13:24+00:00] FATAL: Stacktrace dumped to >> /opt/scalr-server/embedded/cookbooks/cache/chef-stacktrace.out >> Chef Client failed. 22 resources updated in 21.162231414 seconds >> [2015-03-12T11:13:24+00:00] ERROR: supervisor_service[httpd] >> (scalr-server::group_httpd_enabled line 42) had an error: RuntimeError: >> Supervisor service httpd was unable to be started >> [2015-03-12T11:13:24+00:00] FATAL: Chef::Exceptions::ChildConvergeError: >> Chef run process exited unsuccessfully (exit code 1) >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "scalr-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
