Hello I opened a Rackspace account a little unaware that i would need to set up my own server. That said im glad i did after reading about Mercury etc. I have followed the instructions here-
http://groups.drupal.org/node/70268
And am pleased to say that i managed to get as far as #11 (Run the Mercury Init Hudson job). The problem i am having with this is i get this error in Putty when i restart Hudson.
The selected http port (8080) seems to be in use by another program
Please select another port to use for hudson
It seems that the problem is noted on the web and those that understand seem to know how to work around it. I do not im afraid and i was wondering if anyone could point me in the right direction? Im presuming i have to either stop something running in that 8080 port or else try and put Hudson through another port. That sadly is where my knowledge ends. To me Command lines, shells and SSH etc was something a step behind for for me and i never really intended to go there as its taken me over 2 years working on my frontend never my backend.
Can anyone help me with my woes?
Thanks
Comments
Sorry this seems to be the
Sorry this seems to be the fix for it
http://issues.hudson-ci.org/browse/HUDSON-7937
Forgive my ignorance when i say it makes not much sense to me. I havent even worked out how to have some kind of file manager on my new Rackspace server :(
I hit the same problem
Hi fadgadget
Great minds think alike...
I'm setting up my server with Rackspace too and hit the same problem. I found your post while searching for a solution myself.
Here's what I did:
Edit /etc/default/hudson
sudo nano /etc/default/hudsonLook for:
HTTP_PORT=8080And change it to:
HTTP_PORT=8081(or any other port you want, such as 8082, 8083, etc.)
Then save your file and restart hudson. :-)
sudo /etc/init.d/hudson restartThat's it!
BTW for anyone working on a localhost you can also change the final line of the file to the following:
HUDSON_ARGS="--webroot=/var/run/hudson/war --httpPort=$HTTP_PORT --httpListenAddress=localhost --ajp13Port=$AJP_PORT --prefix=$PREFIX"“–httpListenAddress=localhost” makes sure that hudson only listens on the loopback interface instead of publicly.
oooooooooo a reply and a good
oooooooooo a reply and a good one too by the looks of it. God am i glad to see you Wookie. Ive been at it all day. Longer than that really. right calm down ross ....lets try this....
sudo nano /etc/default/hudson - check
Im failing Wookie after that as i am so used to GUI (??) type file editing. I dont know how to find files on Rackspace yet. oh if i press CNTRL + W i can search... right ive found it. Now i need to work out how to edit it in Putty. That shouldnt be too hard. Hopefully i will brb :hope
Brilliant Wookie that sorted
Brilliant Wookie that sorted that right out for me thanks. I wont bother telling folks how to edit Ubuntu with Putty as i think Putty might not be their thing to use. Regarding the last line that needs replacing wookie would it be this one-
HUDSON_WAR=/usr/share/hudson/hudson.war
???
thanks
bah ive ran straight into the last hurdle too. When i get to the
After pressflow is configured:
I get this error on my install
"Failed to select your database on your MySQL database server, which means the connection username and password are valid, but there is a problem accessing your data. MySQL reports the following message: Unknown database 'pantheon'.
Are you sure you have the correct database name?
Are you sure the database exists?
Are you sure the username has permission to access the database?"
Ive always been rubbish at installing drupal manually. Im a Fantasico Kid. It's giving me this error in command line
"mysql> # Set root user password
mysql> mysql> set password for root@localhost=PASSWORD('apassword');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql"
I have actually been trying to sort it for 3 or 4 hours whilst i was waiting for some help on #11. I still can't get it to go in. Im missing something simple again.
Moving back to #11 i dont
Moving back to #11 i dont seem to have this in my Hudson
"Once logged in, click on "Mercury Init". I wonder if its because i dont have the latest version of Hudson. I'll look at upgrading it. Nothing on Mercury in my Plugins. Mercurial which wont be it as why would they suddenly change the name?
Updated Hudson here
http://wiki.hudson-ci.org/display/HUDSON/Installing+Hudson+on+Ubuntu
I notice that some you the 'Y' in Y/n questions are case sensitive just incase any noobs get caught out like me.
No for the life of me "Mercury Init' doesnt exist in the http://xx.xx.xxx.xxx:8081/ Hudson page. I must have done something wrong. The only part of that guide that i did actually 'take a guess' at something was the -
5) Start the BCFG2 client:
bit. I went for the
Non-AWS servers:
sudo bcfg2 -vqed
This is all above me and as i say if i had known what it was going to entail i would have put it all off for 6 months or so. Ive got so many other things to do on my site. I really never accounted for this. Going so well there till the end too. Its a bugger.
Fix
The fix for all these issues is posted over here: http://groups.drupal.org/node/146574#comment-489769