This forum is no longer active. Please post your questions to our new community site

Forums Liferay

Liferay 5.2 on Mac OS X 10.6 Problems

Subscribe to Liferay 5.2 on Mac OS X 10.6 Problems 8 post(s), 2 voice(s)

 
Avatar smudoshi 5 post(s)

Getting Liferay up and running has been very simple and efficient (essentially one click!) with the Bitnami installer, thankfully.

However, after a reboot mysql refused to come up (PID error). I tried to start with mysqlD_safe and the mysql.server to no avail.

What I need:

1. The ctlscript.sh converted to a startup item.
2. Apache/Tomcat should redirect all http requests to https (on port 8888 only) and utilize a self-signed certificate.
3. MySql MUST come up reliably and be accessible from any IP by the root user.

Any help would be GREATLY appreciated…

-smudoshi

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

1. The ctlscript.sh converted to a startup item.

This quick guide could be helpful for you https://bitnami.com/article/how-to-install-servi…

2. Apache/Tomcat should redirect all http requests to https (on port 8888 only) and utilize a self-signed certificate.

Tomcat is easy to configure to do that. Take a look this guide http://tomcat.apache.org/tomcat-5.5-doc/ssl-how…

3. MySql MUST come up reliably and be accessible from any IP by the root user.

The database is not accessible from outside by default. In this post you can find how to configure to be accessible from other machines: https://bitnami.com/forums/forums/virtual-applia…

I hope it helps.

 
Avatar smudoshi 5 post(s)

Beltran!

Thanks for the guidance. I will see if I can make sense of these howtos.

-Dr. Udoshi

 
Avatar smudoshi 5 post(s)

Not having much luck at all. May have to seek commercial support. Anyone willing to take on my micrproject for a fee, please contact me. I also need WebDav to work.

-smudoshi

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

If you post the errors we can try to help you.

 
Avatar smudoshi 5 post(s)

After reboot, when I try to start up by sudo ./ctlscript.sh start…
tomcat starts with no problem, by mysql says:

sudo ./ctlscript.sh start mysql
Password:
Could not open required defaults file: /Applications/liferay/mysql/my.cnf
Fatal error in defaults handling. Program aborted
Could not open required defaults file: /Applications/liferay/mysql/my.cnf
Fatal error in defaults handling. Program aborted
Starting mysqld daemon with databases from /Applications/liferay/mysql/data
STOPPING server from pid file /Applications/liferay/mysql/data/UdoshiMAC.local.pid
100317 14:04:35 mysqld ended

ARGH!

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

If you installed the Stack as a regular user you should start it using the same user. Do not use sudo to start it. Cheers.

 
Avatar smudoshi 5 post(s)

Absolutely! Thank you beltran, it was indeed a permissions problem. Pesky permissions… :) We are back up and running now.

Forums Liferay