OK, so it's not in the database! Of course assuming you are absolutely sure you are checking in the correct database!
Make sure you are placing your
portal-ext.properties in the folder where Liferay is installed. Don't know your setup but
/opt/apache just does not sound like Liferay home. The folder you are looking for, is the one containing something similar to:
1drwxr-xr-x 7 liferay liferay 4096 2011-12-21 10:37 data
2drwxr-xr-x 2 liferay liferay 4096 2012-05-28 14:03 deploy
3drwxr-xr-x 2 liferay liferay 4096 2011-12-19 11:05 license
4drwxr-xr-x 2 liferay liferay 4096 2012-05-28 13:21 logs
5drwxr-xr-x 10 liferay liferay 4096 2011-12-19 11:15 tomcat-7.0.23
Please sign in to flag this as inappropriate.