Created 06-20-2015 10:18 AM
When I try to install Cloudera Director on AWS I get errors (see below). I’ve tried Googling, but no one else seems to have this problem, so I’m using the Cloudera Forums as my last resort. Below are my steps to replicate. Please let me know if you would like to know additional details. Thanks in advance.
Errors:
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match cloudera-director-server Default-Start values (3 4 5)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match cloudera-director-server Default-Stop values (0 1 2 6)
Steps to replicate:
wget http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/cloudera-director.list
wget http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/archive.key
sudo apt-key add archive.key
sudo mv cloudera-director.list /etc/apt/sources.list.d
sudo apt-get update
sudo apt-get install cloudera-director-client cloudera-director-server
sudo service cloudera-director-server start
Miscellaneous notes:
I’m using a VPC
Instance type: m4.xlarge
AMI ID: ubuntu-trusty-14.04-amd64-server-20150325 (ami-d05e75b8)
Created 06-25-2015 06:39 AM
Hi Ryan,
I'm just following up to see if editing the init script eliminated the runlevel warnings.
The error code of 3 is likely just a confirmation from the script that the server is not running. If that keeps happening, we'll want to take a look at /var/log/cloudera-director-server/application.log file to see if there are any error messages indicating a problem.
Bill
Created 06-22-2015 08:39 AM
Hi there,
Thanks for giving Cloudera Director a try. I took a look at our init.d script, and it does look to me like the Default-Start and Default-Stop runlevel values are not what I'd have expected them to be. I am checking with others on the team who take care of our packaging to see if they should be changed.
In the meantime, my research seems to show that the warnings may be harmless. Does the Cloudera Director server process start up regardless of the warnings?
Also, you could try editing /etc/init.d/cloudera-director-server and changing the values for Default-Start and Default-Stop to "2 3 4 5" and "0 1 6", respectively, and then starting the server. The warnings may go away.
Bill
Created 06-22-2015 08:44 AM
Created 06-25-2015 06:39 AM
Hi Ryan,
I'm just following up to see if editing the init script eliminated the runlevel warnings.
The error code of 3 is likely just a confirmation from the script that the server is not running. If that keeps happening, we'll want to take a look at /var/log/cloudera-director-server/application.log file to see if there are any error messages indicating a problem.
Bill
Created 06-28-2015 12:38 PM
Hi Bill,
I modified the default values, but the issue persisted. I looked in the log that you mentioned, and noticed that is said it needed Java to be installed. When I did: sudo apt-get install oracle-j2sdk1.7, everything worked. Below are the complete steps that I followed for those that are troubleshooting similar issues.
wget http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/cloudera-director.list
wget http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/archive.key
sudo apt-key add archive.key
sudo mv cloudera-director.list /etc/apt/sources.list.d
sudo apt-get update
sudo apt-get install cloudera-director-client cloudera-director-server
sudo apt-get install oracle-j2sdk1.7
sudo service cloudera-director-server start
Thanks,
Ryan
Created 07-02-2015 12:45 PM
Great! Glad things are working for you now.