When I use the code:

/opt/bitnami/apache2/bin$ sudo ./httpd start
./httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

sudo service apache2 restart

* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
   ...fail!

I want to install some web sites on apache htdocs, I want to know how to restart the bitnami apache. Second: What is the root password for bitnami ubuntu mysql or how to set it

thanks.

asked 08 Oct '11, 03:52

bruce's gravatar image

bruce
169910
accept rate: 0%

edited 08 Oct '11, 11:50

Beltran%20Rueda's gravatar image

Beltran Rueda ♦♦
11.1k81550


The root password for the mysql database in the Virtual Machines or AMIs is "bitnami". The error that you are getting is that the 80 port is not free, another server or application is using it. Try to stop another application and start it again:

$ sudo /opt/bitnami/ctlscript.sh restart apache

You can check other servers that they could be using this port:

$ ps aux | grep http

You can copy your sites and publish them in "/opt/bitnami/apache2/htdocs" folder.

link

answered 08 Oct '11, 11:54

Beltran%20Rueda's gravatar image

Beltran Rueda ♦♦
11.1k81550
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×401
×257
×119

Asked: 08 Oct '11, 03:52

Seen: 1,503 times

Last updated: 08 Oct '11, 11:54

powered by BitNami OSQA