Posted by peterm95018 on December 20, 2010 at 8:26pm
I've got a fresh Lucid install. I've run through the installation with a wipe and rebuild in between. I am not able to get past step 11. This is where hudson runs the mecury_init script. I need some clues on where and what to look at next. Here's the tail of my console output which looks like a MySQL connection failure. I can connect to mysql as root from the terminal.
Could not connect: Access denied for user 'track'@'localhost' (using password: YES) * Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
...done.
* Restarting web server apache2
... waiting ...done.
* Stopping HTTP accelerator
...done.
* Starting HTTP accelerator
...done.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Finished: FAILURE
Comments
update - fixed
I ignored the error I was getting in the console log and was able to get pressflow installed properly. Ok and on to moving a site into pressflow.
Same problem
I can access Hudson the first time and can start the Mercury_init script, but when I try to follow the process, I get a server connection error. From that point on, I cannot access Hudson any longer.?????
This is my umpteenth time trying to get Mercury working, several times on a local test server and the past few times on a Linode slice using the manual install instructions for Mercury 1.1 beta. Do any of these Mercury installs work? I've spent untold hours with this.
I'm not the sharpest Linux admin in the drawer, but this is ridiculous.....
Success!!!
Finally!
Not sure why, but the first Hudson init did not complete successfully. I restarted bcfg2 and ran Mercury_init again and this time, everything completed! Yay! This is a great Christmas present.
It would sure be nice to have a doc that gives a good summary of what is happening with all this configuration and why so many tools are necessary to setup Mercury. That would really help all us noobs to understand the process a bit better.
I'd be willing to volunteer some help to work up such a document if I can get access to the powers that be....
Looking forward to actually using the system!
Here's a couple of other thoughts...
One thing that I had to think through was the mysql account/password for root. During a default Lucid install, you're forced to select a MySQL password. So I used my standard MySQL root password... But, that's a different set of credentials than my system account which is what Mercury / Hudson are looking for. I reset the passwords to match; things went better after that.
I wasn't able to get Solr configured correctly. For my testing, it's not necessary, but it would be nice to get some time working with it. I read the Solr group posts and tried hooking up Solr to Tomcat, but wasn't able to figure out if I need a config on a different set of ports for Solr. I'll come back to that later. I wasn't clear on where I should be launching the start.jar from or what directory holds the correct config files.
re: Here's a couple of other thoughts...
The install of mysql on Lucid using the Pantheon scripts shouldn't ask for a password.... It will if you install mysql manually.
Also, Solr should be setup with no further configuration required....
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
Same step, different problem
Hi.. I am getting an error when trying to follow the step by step installation instructions at http://groups.drupal.org/node/70268, I also tried the steps mentioned Here and re-tried mercury.init > Build Now in hudson, but I still get these errors. specifically towards the end, this is what I get:
.
.
.
Failed to manipulate service dmesg
Phase: final
Correct entries: 490
Incorrect entries: 2
Service:network-interface Service:ureadahead
Total managed entries: 492
Unmanaged entries: 257
Mercury Update Complete!
Starting Pressflow Update Script
Using saved parent location: http://bazaar.launchpad.net/~pressflow/pressflow/6/
No revisions to pull.
Pressflow Update Complete!
Starting AWS Specific Configuration (non ebs-boot instances only)
mysql stop/waiting
mv: cannot overwrite directory
/mnt/mysql/lib/mysql' with non-directory/etc/init.d/ec2-ssh-host-key-gen': No such file or directorymysql start/running, process 7572
* Stopping HTTP accelerator
...done.
* Starting HTTP accelerator
...done.
chmod: cannot access
Finished: FAILURE
and then when I check to see if mercury is running it's not. any help would be appreciated.. thanks
re: Same step, different problem
The chmod: cannot access/etc/init.d/ec2-ssh-host-key-gen error tells me that you're probably not using AWS (which is fine) but the /mnt/mysql/lib/mysql path is only sued by Mercury on AWS servers....
Either way, the issue is that mysql isn't running. One fix to is to make sure that /mnt/mysql/lib/mysq exists? Or change the path to tho appropriate place in /etc/my.conf.
Hope this helps,
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
apt-get upgrade error
I am trying a fresh install on an AWS Lucid 64 bit (m1-large - ami-d19ca9a5) following http://groups.drupal.org/node/70268 .
On Step 2, when I run
sudo apt-get update; sudo apt-get -y upgrade; sudo apt-get -y dist-upgradeI get the following error.
Fetched 23.9MB in 10s (2,280kB/s)Reading package lists... Error!
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ lucid-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_lucid-security_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ lucid-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_lucid-security_universe_binary-amd64_Packages)
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing prism-google-mail (NewFileDesc2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_karmic-updates_universe_binary-amd64_Packages
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
Reading package lists... Error!
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ lucid-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_lucid-security_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ lucid-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_lucid-security_universe_binary-amd64_Packages)
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing prism-google-mail (NewFileDesc2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_karmic-updates_universe_binary-amd64_Packages
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
Reading package lists... Error!
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ lucid-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_lucid-security_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ lucid-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_lucid-security_universe_binary-amd64_Packages)
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing prism-google-mail (NewFileDesc2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_karmic-updates_universe_binary-amd64_Packages
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
I followed an Ubuntu thread on this at http://ubuntuforums.org/showthread.php?p=9288678 and did the following:
create a file such as:
/etc/apt/apt.conf.d/11cache
And add the line:
APT::Cache-Limit "32768000";and changed the
sudo apt-get update; sudo apt-get -y upgrade; sudo apt-get -y dist-upgradeto
sudo apt-get update && sudo apt-get -y dist-upgradewhich got rid of the original error.
For reference. I will put that in the wiki after I have the full installation working
working
So is this working correctly yet? I noticed that this instruction is not in the wiki itself but were you only aiming for the link to this comment to be in the wiki?
what you don't know will inspire you
Thanks!
I kept running into this same error and I was able to finally resolve it thanks to this information!