Quantcast
Channel: BitNami Answers - latest questions
Viewing all 2052 articles
Browse latest View live

PHPpgAdmin search feature broken

$
0
0

Hello,

I'm using PHPpgAdmin with a PostgreSQL DB installed with Bitnami to serve an OSQA App in a Ubuntu machine. I'm accessing through a SSH tunnel to the DB as explained in the documentation. Almost everything works fine, I can read tables and modify them.

My problem is that I can't make the SEARCH feature work.

When I look for something (i.e.: java) in "All objects" as can be seen in the picture, no objects are found. But if I look in the tables manually I can find a lot of elements that contains the string "java".

alt text

As the DB is growing, it becomes unmanageable to find things if I can't use this feature. Any idea why isn't working or if I could do it in other way?

Thanks for your help!


SSO for all apps

$
0
0

We use several BitNami apps. And every app has its own account system. Is there an SSO for all apps?

Cannot access Bitnami hosting URL after assigning Elastic IP

$
0
0

Hi,

I got my server up and running multiple wordpress installs and was able to access a new wordpress site using http://virtualhostname.i-64369a59-6d5de0.bitnamiapp.com

As per my previous question (http://answers.bitnami.com/questions/13241/virtual-hosts-and-testing-url) that meant that I was able to test the site before moving the actual domain over to it.

Then assigned an Elastic IP through Amazon (not through Bitnami's management console) and now I can no longer access the server through the bitnami URL...

What do I need to do to make http://i-64369a59-6d5de0.bitnamiapp.com point to my server again?

I thought of following the steps to import the server into Bitnami again, but then I'd have 2 servers within Bitnami (although it's the same one really) and might get charged for it (first one is free). Too scared to try the Delete button under Bitnami server management. Does that just delete the server from Bitnami or does it delete the real thing?

Help please! :-;

regards,

Dirk

restore a smartOS Gitlab backup on bitnami

$
0
0

Hi folks,

I have a gitlab running on my smartOS machine and I did a backup with the following command.

bundle exec rake gitlab:backup:create RAILS_ENV=production

after that I copied it on my new bitnami vm with gitlab on it and tried to restore my backup but it doesnst work.

Failure: The specified backup doesn't exist!

But where is he searching on the bitnami VM?

Restore Command:

bundle exec rake gitlab:backup:restore RAILS_ENV=production

Nice greetings myortyo

Discourse doesn't need the custom changes to Gemfile

$
0
0

I tried upgrading Discourse as described on the wiki. git stash apply was giving conflicts for Gemfile*, and when I just reset them to the github version with git checkout and did bundle install the commented out gems installed just fine.

So I'm thinking that particular workaround isn't needed any more?

error while starting solr on tomcat stack in aws

$
0
0

I am using bitnami tomcat7 AMI to create an instance in aws. I then install and configure solr there. The solr server doesn't start. Here is the Catalina log

INFO: Starting service Catalina
May 15, 2013 7:01:51 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.39
May 15, 2013 7:01:51 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /opt/bitnami/apache-tomcat/conf/Catalina/localhost/solr.xml
May 15, 2013 7:01:52 AM org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying configuration descriptor /opt/bitnami/apache-tomcat/conf/Catalina/localhost/solr.xml
java.lang.NullPointerException
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:625)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

May 15, 2013 7:01:52 AM org.apache.catalina.startup.HostConfig deployDescriptors
SEVERE: Error waiting for multi-thread deployment of context descriptors to complete
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:579)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1402)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)

The /opt/bitnami/apache-tomcat/conf/Catalina/localhost/solr.xml looks like this.

<?xml version="1.0" encoding="utf-8"?> <context crossContext="true" debug="0" docBase="/usr/share/solr/solr.war"> <environment name="solr/home" override="true" value="/usr/share/solr" type="java.lang.String"> </environment></context>

The contents of /usr/share/solr/ also looks fine bitnami@ip-10-144-66-148:/usr/share/solr$ ls -l total 11384

drwxr-xr-x 2 tomcat tomcat 4096 Jul 17 2012 bin
drwxr-xr-x 5 tomcat tomcat 4096 May 13 13:11 conf
drwxr-xr-x 9 tomcat tomcat 4096 Jul 17 2012 contrib
drwxr-xr-x 2 tomcat tomcat 4096 May 13 13:20 data
drwxr-xr-x 2 tomcat tomcat 4096 May 13 13:21 lib
-rw-r--r-- 1 tomcat tomcat 2259 Jul 17 2012 README.txt
-rw-r--r-- 1 tomcat tomcat 11628199 May 14 12:58 solr.war
-rw-r--r-- 1 tomcat tomcat 1676 Jul 17 2012 solr.xml

apache error on LAPP Stack5.4.14.-0 (64-bit) EBS ami-161e787f

$
0
0

This past weekend I started a couple of AWS EC2 micro instances using ami-161e787f. Unfortunately both of them are very unstable, and CloudWatch indicates high CPU while the usage pattern is very low. (Note: I have been using the Bitnami LAPP stack 64-bit EBS AMIs for a year now). While operating under ELB, the instance crashes a couple of times daily due to high ELB_latency.

I have been looking through the logs (unfortunately I do not have the logs of the crashed instances), and found this repeated error in the apache2/logs/error_log:

[mpm_prefork:error] [pid 12080] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

I have checked the logs from my older instances and this error did not appear before. I compared the setting in extra/httpd-mpm.conf file on the new and old instance and it did not change. However the MaxRequestWorkers in bitnami/httpd-micro.conf used to be 20 in an older version with apache 2.4.2, while not it is 5 (using apache 2.4.4). I tried to reset the value to 20 and restarted apache server, but I still see the error showing up in my logs.

I am using a micro instance, Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-40-virtual x86_64)

Could someone please help me figure this one out? Your help is appreciated!

Thanks, rpppmd

Jboss cluster on AWS

$
0
0

Hi,

just tried the JBoss stack on AWS. Quick question: is the JBoss prepared to be clustered? As i know, EC2 doesn't support multicast, every search on this topic results in: use tcp for that. But in your JBoss configs it's still udp (?). Could not find too much info with the latest Jboss AS, so just asking...

For example: https://community.jboss.org/thread/195729

thx


Issues using Discourse image on AWS - Breaks on reboot

$
0
0

Disclaimer: I am ignorant of all things rails, and a linux newbie.

Good evening! I am attempting to get Discourse running for use by our developers and I have been running into issues with email.

I wont bore you with the entire saga, but on my latest attempt, I was able to get it working.. the first run, using a bitnami image. I launched the machine, configured my production.rb smtp settings, and I was able to send multiple test emails, no problem at all. I then took the machine down for a backup (to save my successful work) and now I am looking at a familiar error. What it boils down to is that sidekiq won't start.

sudo ./ctlscript.sh start results in:

server started

/opt/bitnami/postgresql/scripts/ctl.sh : postgresql started at port 5432
/opt/bitnami/redis/scripts/ctl.sh : redis started at port 6379
/opt/bitnami/apps/discourse/scripts/sidekiq.sh : discourse_sidekiq could not be started
/opt/bitnami/apps/discourse/scripts/clockwork.sh : discourse_clockwork could not be started 
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80

nohup bundle exec sidekiq -e production > log/sidekiq.log 2>&1 & results in:

$ -bash: log/sidekiq.log: No such file or directory

Same thing without the -e flag (sudo nohup bundle exec sidekiq > log/sidekiq.log 2>&1 &)

Why, suddenly, can discourse not find this file? It was working fine before reboot. I am sure that I am doing something basic wrong or missing a step, but nothing has changed since I rebooted, so I am pretty confused. It must be something wrong with my startup procedure, as it works on first boot, but no subsequent boots.

I very much appreciate any assistance, thanks!

http://meta.discourse.org/t/running-discourse-on-ec2-problem-with-email-resolved/3192/15?u=shawn

ssh_exchange_identification in Gitorious amazon ec2 VM

$
0
0

Hi,

I am running a gitorious ec2 vm (micro) and have around 20 repositories installed there (node js modules).

Recently (started two days ago) I am facing issue when trying to checkout the modules using 'npm install'

npm ERR! git clone git@xxx.cloud.xxx.com:xxx/xxx_gaming_api_module.git Cloning into '/var/folders/69/1x1x9b657mgd245tq06h53jh0000gn/T/npm-49295/1368625037857-0.9469616713467985'...
npm ERR! git clone git@xxx.cloud.xxx.com:xxx/xxx_gaming_api_module.git 
npm ERR! git clone git@xxx.cloud.xxx.com:xxx/xxx_gaming_api_module.git ssh_exchange_identification: Connection closed by remote host
npm ERR! git clone git@xxx.cloud.xxx.com:xxx/xxx_gaming_api_module.git fatal: Could not read from remote repository.
npm ERR! git clone git@xxx.cloud.xxx.com:xxx/xxx_gaming_api_module.git 
npm ERR! git clone git@xxx.cloud.xxx.com:xxx/xxx_gaming_api_module.git Please make sure you have the correct access rights
npm ERR! git clone git@xxx.cloud.xxx.com:xxx/xxx_gaming_api_module.git and the repository exists.
npm ERR! Error: `git "clone" "git@xxx.cloud.xxx.com:xxx/xxx_gaming_api_module.git" "/var/folders/69/1x1x9b657mgd245tq06h53jh0000gn/T/npm-49295/1368625037857-0.9469616713467985"` failed with 128
npm ERR!     at ChildProcess.<anonymous> (/usr/local/Cellar/node/0.8.8/lib/node_modules/npm/lib/utils/exec.js:56:20)
npm ERR!     at ChildProcess.EventEmitter.emit (events.js:91:17)
npm ERR!     at Process._handle.onexit (child_process.js:674:10)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Darwin 12.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/xxx/xxx/Copilot/xxx_frontend_module
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59

Note that I can checkout a clone of each repository, but for checkout by using 'npm install' it will throw that error.

any idea ?

[RESOLVED] Internal Server Error 500

$
0
0

I am at the final stages of updating my wordpress site locally before sending it live to my current thorkarlsen.com domain but it seems I can no longer connect to my local sites?

The servers appear to be running fine but I get this error message when I try t go to the wordpress site and the wordpress admin dashboard

"Server error The website encountered an error while retrieving http://xxx.x.x.x:xxxx/wordpress/wp-admin/. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request."

The last thing I did was add a new php custom file to a theme.

I can't see any scheduled maintenance on the servers so am wondering if anyone else has this problem and if there is anything I can do to get back to my local files. Was hoping for a Sunday evening website launch so any help would be appreciated.

If it makes any difference, I can still connect to the phpMyAdmin site. Thanks

Failing when Capistrano try to run the "git clone" command

$
0
0

Hello,

already the second the I am trying to figure out this issue, but still without a result... I have set up Capistrano, using Amazon EC2 bitnami server and when Capistrano trying to clone the code from Github, I am getting following error message:

  • executing "git clone -q git@github.com:user/repo.git /opt/bitnami/apache2/htdocs/myapp/releases/20130503100357 && cd /opt/bitnami/apache2/htdocs/myapp/releases/20130503100357 && git checkout -q -b deploy 46b3fac1c86767a2be469f32a9c18652c04aafc0 && (echo 46b3fac1c86767a2be469f32a9c18652c04aafc0
    /opt/bitnami/apache2/htdocs/myapp/releases/20130503100357/REVISION)" servers: ["IP.compute-1.amazonaws.com"] [IP.compute-1.amazonaws.com] executing command [IP.compute-1.amazonaws.com :: out] ssh: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by ssh) [IP.compute-1.amazonaws.com :: out] Permission denied (publickey). [IP.compute-1.amazonaws.com :: out] fatal: The remote end hung up unexpectedly command finished in 960ms * [deploy:update_code] rolling back

Could you give me, please, any advice how to get over this issue? I've tried to google it, but I wasn't very successful with that...

Thank you very much

Edit to concrete5.conf broke File Manager Upload

$
0
0

I wanted to have my root url 127.0.0.1 point directly to my concrete5 site 127.0.0.1/concrete5 so i made a change to the concrete5.conf file and removed the # from the file where it says:

# Uncomment the following lines to see your application in the root of your URL. This is not compatible with more than one application.

#RewriteEngine On

#RewriteRule ^/$ /concrete5/ [PT]

Once I did that the url reroute worked but it broke my file uploads inside File Manager. I get this error now every time I try to upload the file:

An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables. File Uploads: 1 Max Upload File Size: 40M Post Max Size: 40M

I put back the # tags and it still doesn't work. Any help would be much appreciated.

Thanks,

Alex

Remote access of Bitnami Wordpress stack MySQL

$
0
0

Hi, I want to be able to access my bitnami mySQL from outside the local computer, I changed the "Bind-Address" ip address from 127.0.0.1 to the IP address of my remote computer, my remote computer was able to recognize the server but due to permission problems, could not log in(But this isnt my main problem).

The main problem is, when I change the "Bind-Address" whenever i load my bitnami wordpress, it gets a database connection error. Thus my wordpress wont work. 2nd problem is, only one ip address will be able to access the mySQL remotely cause it only asks for 1 Bind-Address.

Could someone please help me on this issue?

Thanks, RJ

Upgrading Bitnami Redmine 1.1.1 to latest version (2.3.1) - Windows environment

$
0
0

Hi, I'm having trouble finding guide that actually works in order to upgrade my Bitnami Redmine 1.1.1 to latest version (2.3.1) - In Windows environment. If anyone knows a guides that works or can help me, ill very appreciate it.

Thank you very much for your help.


setting DNS for bitnami drupal on vmware

$
0
0

I'm in the process of setting up the virtualized bitnami appliance on VMWare but am having some trouble with network config. I've got the static ip and gateway setup and can access the server via ip address in a browser but am still having trouble executed the code to install webmin:

$ wget http://downloads.sourceforge.net/project/webadmin/webmin/1.550/webmin-1.550.tar.gz

I get this back "wget: unable to resolve host address 'downloads.sourcforge.net'. I'm thinking this if from DNS misconfiguration. Where do I configure dns servers for the appliance?

Why does BitNami Redmine Stack/Apache crash with mod_dav_svn or mod_authz_svn?

$
0
0

I am in the process of trying to migrate our server, which uses BitNami Redmine Stack, to a new computer. Some details on each of the machines:

Old machine:
Windows XP x86
Redmine version: 1.1.3

New machine:
Windows 7 x64
Redmine version: 2.3.1

The installation was proceeding very smoothly according to the guide at Native Installers Quick Start Guide#How to upgrade the full Stack migrating the data and I completed all of the steps, including migrating the old server's data into the new mysql database, and then I continued beyond the point listed in that guide to migrate everything using the rake command "rake db:migrate RAILS_ENV='production'", and at that point, my new install was working well.

However, the old install also included integration with subversion, and so I needed to migrate that to the new installation as well. On the old installation, the files mod\_dav\_svn.so and mod\_authz\_svn.so were present in the apache2/modules folder, and the httpd.conf file looked as follows (without the slashes in front of each pound symbol - Markup and I do not get along well):

...
\#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_svn_module modules/mod_authz_svn.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
\#LoadModule cache_module modules/mod_cache.so
\#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
\#LoadModule charset_lite_module modules/mod_charset_lite.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
\#LoadModule dav_lock_module modules/mod_dav_lock.so
LoadModule dav_svn_module modules/mod_dav_svn.so
\#LoadModule dbd_module modules/mod_dbd.so
... \#SVN location and settings "<" Location /svn/ ">" #no quotes were here but I'm new to Markdown so I needed this line to show up DAV svn

SVNListParentPath on
SVNParentPath "C:/Repositories/"
SVNIndexXSLT "/svnindex.xsl"

AuthName "Subversion Repositories"
AuthType Basic
AuthBasicAuthoritative Off

AuthUserFile "C:/Repositories/htpasswd"
AuthzSVNAccessFile "C:/Repositories/authz"

\\#AuthMySQL section
AuthMySQLEnable             On
AuthMySQLAuthoritative      On
AuthMySQLHost               localhost
AuthMySQLPort               3306
AuthMySQLDB                 bitnami_redmine
AuthMySQLUser               bitnami
AuthMySQLPassword           c02b6d2ed1
AuthMySQLUserTable          users_auth_external
AuthMySQLGroupTable         users_auth_external
AuthMySQLNameField          username
AuthMySQLPasswordField      passwd
AuthMySQLGroupField         groups
AuthMySQLPwEncryption       sha1

\\#LDAP Auth, abandoned for complexity and slow performance.
\\#AuthzLDAPAuthoritative off
\\#AuthLDAPBindDN "cn=manager,cn=internal,dc=kdy,dc=linux"
\\#AuthLDAPBindPassword "F/CfncZDOareNx7+"
\\#AuthLDAPURL "ldap://192.168.3.1:389/dc=kdy,dc=linux?uid"

require valid-user

"<" /Location ">"

Following this example code from my old installation and the guide, I added the lines

LoadModule authz_svn_module modules/mod_authz_svn.so
LoadModule dav_svn_module modules/mod_dav_svn.so
and uncommented
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so

in the httpd.conf of my new installation. Lastly, I copied the entire Location block from the old httpd.conf to the new httpd.conf, reasoning that if it worked in the old install, it should work equally well in the updated version. I immediately realized that I would have to change the line

AuthMySQLPassword           c02b6d2ed1

So I did so accordingly, going to /installdir/apps/redmine/htdocs/config/database.yml and copying the password found there to this line.

I also assured that the repository still existed at C:/Repositories and that the authorization files were still present.

The next step was to restart the Apache server, so I did so using the redmine manager tool - at this point, Apache failed to restart. There was no error documented in the /installdir/apache2/logs/error.log and the only information I was given was on the "Application log" in the redmine manager tool, which said

Starting Apache Web Server...
Exit code: 1
Stdout:

Stderr: Unable to start apache

I have been unable to track or fix this error. I have narrowed it down and know that the issue is with adding the lines

LoadModule authz_svn_module modules/mod_authz_svn.so
LoadModule dav_svn_module modules/mod_dav_svn.so
or with the Location block, suggesting that something is wrong with these files in the new install, or that something is wrong with the way Apache uses them, or that something is wrong with my Location block which, to be honest, I still don't understand. I know that it must be these lines of code because without these lines, the Apache service will start and run flawlessly, complete with the data migrated from the old server's redmine_backup.sql. Can anyone help me diagnose this error?

If you are going to suggest that it is the fact that I'm using 64-bit Windows 7, I thought of that too - so I installed 32-bit Windows 7 and followed precisely these same steps, to no avail.

Is it possible to install BitNami Redmine using your own Apache and SVN servers?

$
0
0

What it says on the tin - is it possible to install BitNami Redmine using your own Apache server? Subversion too, but I can configure that later, I just don't want to use the pre-packaged Apache because, after several days of problem-diagnosing, I am 99% sure there is a critical error in some of the .so modules that come packaged with BitNami's version. The reason I believe this to be the case is I installed and configured another Apache service (WANdisco, to be specific) and the modules worked out of the box. See my other question for the complete problem if more information is needed.

How to install a non bitnami stack

$
0
0

I am trying to install an open source forum called Simple Machines Forum on my Bitnami Mamp stack. I followed the instructions from this link http://wiki.bitnami.com/Applications/BitNami_Custom_PHP_application and still no luck with it. After you unpack the tar file you are supposed to use their install.php file. So i've tried running the install in the browser using localhost/install and 127.0.0.1/forum/install. The page returns "The requested URL /forum/install.php was not found on this server." Has anyone had any luck installing an open source project that is not a Bitnami stack? Thanks

Migrate Moodle Site From One Single PC to Another

$
0
0

Hi, I'm very new to BitNami and Moodle - my apologies if I lack some of the fundamental knowledge of using these servoces and ask some basic questions...

Here's the scenario:

  • Moodle has been installed on a single PC using the installer: "bitnami-moodle-2.3.3-0-windows-installer"
  • Using only that PC, mentioned above, a Moodle site has been created.
  • We now want to share this Moodle site with someone so that they can access and review it.

Question: How do we go about setting up our site on someone else's computer?

Specifically, how do we send the 'site' to them? (i.e. all of the files necessary to access the content within the site.)


I'm currently working from this help page: Moodle migration

My biggest problem at the moment is backing up the database. I see this BitNami stack uses MySQLi (rather than MySQL) - can we assume it's the same for the purpose of backing up the database? There appear to be lots of sites advising on how to back up a MySQL database...

Thank you in advance.

Viewing all 2052 articles
Browse latest View live


Latest Images