i recently installed cassandra, but when i try to run it using bin/cassandra, it shows the error
No such file or directory.
Related
After I installed Ros Noetic with this command - sudo apt install ros-noetic-desktop-full. There are 2-3 errors which are of not being able to fetch a few packages(armadillo and other). I downloaded them later.
But after I typed this command - source /opt/ros/noetic/setup.bash, I got this error of - no such file or directory. I then added this command in .bashrc file and removed it after one execution realizing this file cannot be found by the computer (may be a different location but still can't locate). Then I reinstalled ROS noetic, this time in another folder I made .... and I still cannot locate the file and I am getting the same error again. I am using Oracle VM VirtualBox Manager with UBUNTU_20.04. I also installed Guest editions(for full screen purposes)
How exactly do you use flyway on Mac, because i'm having trouble! I've installed home brew, download flyway, and unzipped it. I have also set up the flyway.conf to use my DB url, username, and password but it only works within the conf folder. I get this error when i run "flyway info" in the terminal outside of the conf folder. "ERROR: Unable to connect to the database. Configure the url, user and password!" I have tried everything on the website. Thank!
I have gotten this working by using homebrew to install flyway:
brew install flyway
Then, from within the project directory I ran the following command. The sub-directory which contained my SQL scripts was ./db/migrations/
flyway -url="jdbc:postgresql://127.0.0.1/databasename" -user="username" -password="password" -locations="filesystem:db/migrations/" migrate
This worked for me and was relatively easy, the only thing to note was that the homebrew version of flyway was a bit behind the github / download version on their site.
On Mac Server OSX 10.9.5 running Postgres 9.3.4
I'm trying to run a crosstab query, but was getting
ERROR: function crosstab(unknown, unknown) does not exist
so, I tried to install tablefunc, but now getting:
postgres=# CREATE EXTENSION tablefunc;
ERROR: could not open extension control file
"/Applications/Server.app/Contents/ServerRoot/usr/share/postgresql/extension/tablefunc.control": No such file or directory
So, looks like some search path somewhere is screwed up.
Any ideas how to fix?
EDIT: This obviously has to do with having two Postgres instances on the machine, at
/Applications/Server.app/Contents/ServerRoot/usr/bin/psql
and
/Library/PostgreSQL/9.3/bin/psql
And currently only the /Library version has tablefunc.control underneath it. So the first question is - should I try to switch which instance of Postgres the machine uses? Or should I try to install tablefunc into the /Server.app instance?
This problem disappeared magically after I upgraded to Yosemite
I was able to successfully install php54 with fpm and with mysql onto my system. However, when I try to start the server by running php-fpm in terminal I get an error saying...
1.ERROR: failed to open configuration file '/private/etc/php-fpm.conf': No such file or directory (2)
2.ERROR: failed to load configuration file '/private/etc/php-fpm.conf'
3.ERROR: FPM initialization failed
However, my php-fpm.conf file is located in this directory: /usr/local/etc/php/5.4/php-fpm.conf. I'm not really sure what to do at this point. I'm going crazy and could use help out there. Can anyone point me in the right direction. I am running the latest version of Mountain Lion and have installed the latest command line tools.
The php-fpm binary expects php-fpm.conf file to read the configuration when it starts up. On Mac OSX by default this file is named as "/private/etc/php-fpm.conf.default" Change/copy it to "php-fpm.conf" from "php-fpm.conf.default"
cp /private/etc/php-fpm.conf.default /private/etc/php-fpm.conf
And then restart the service
you can start by brew if you installed by brew.
be sure closed php-fpm
sudo killall php-fpm
start by brew
brew services start php
Can some guide me .. for installing Mule ESB(mule-standalone-3.3.1) in Ubuntu . I am unable to find any documentation for installing. i want to automate it through Chef.
It's can be as simple as downloading and unpacking the archive file from: http://dist.codehaus.org/mule/distributions/mule-standalone-3.3.1.zip
Note: You need jdk 6/7 installed first.
Here's a chef cookbook that does this: https://github.com/ryandcarter/mule-cookbook
And here's a Vagrant script for running the mule cookbook on ubuntu etc: https://github.com/ryandcarter/vagrant-mule
It is very simple.
Download and unpacking the archive file from: http://dist.codehaus.org/mule/distributions/mule-standalone-3.3.1.zip or whatever version you want to install.
put this unpack file to anywhere where you want like /opt/ or /usr/local/
put you mule application inside apps folder.
& go to bin directory and run ./mule start command. Now mule server is running. You can also check mule log inside log folder mule.log file
This is an old question, but in case there are others who are looking.
You want to install Mule as a Ubuntu Service, so that it restarts when The server restarts. There are a couple of basic steps to this
I detailed out instructions and installation files at my github repository
https://github.com/jamesontriplett/mule_linux_service_install
Steps in general:
Install a startup script in /etc/init.d
Install a startup parameter file in /etc/mule
Customize parameters in the wrapper.conf file in /conf/wrapper.conf
Install the license file onto the server if using enterprise
Add the startup script to the run levels.
To test, you want to reboot the linux service to make sure that it will come back after a reboot. If it doesn't you have a reliability issue.