I am trying to setup global Solr search in moodle 3.2 on mac and using MAMP (locally). I have installed Solr 6.6.1, and can access its admin panel through http://127.0.0.1:8080/solr/ . But I am unable to link it with moodle through PECL Solr, the reasion is that I am unable to install PECL, I don't know where to place them, and how to link with moodle.
I am getting
and
You need to follow these steps to get Solr working in Moodle.
Step:1 Delete core you have created in Solr.
Step:2 Create new core
Step:3 filled core name into Index name filed of Moodle Solr setting.
Step:4 sudo bin/solr stop -force
Step:5 sudo bin/solr start -force
If not working yet then need to reboot the system and restart Solr again.
Hope it is done!
Related
I am new using XAMPP. I have installed it and everything works fine, but I donĀ“t know how can I manage MariaDB engine to create and set new DDBB. My goal is to create a website in localhost and use MariaDB to develop a "Sign in" system for the users.
Every tip is welcome. Thanks!
Well, it depends on what you mean by 'using mariadb on windows'. If it's starting mariadb, then navigate to \xampp\mysql\bin and start mariadb i.e.
cd \xampp\mysql\bin
mysql -u root -p
If you want to create a website using with mariadb backend, make sure you save your work in the htdocs folder inside the xampp folder
I installed ELK on Ubuntu, all is working fine. (being able to browse to Kibana from http://sample:5601/app/kibana)
I installed Kibana time-lion plugin following these guidelines:
https://www.elastic.co/blog/timelion-timeline
mlast#elk:/$ sudo docker run -i -t kibana /bin/bash
root#2816533dd8a5:/# cd bin
root#2816533dd8a5:/bin# kibana plugin -i kibana/timelion
Installing timelion
Attempting to extract from https://download.elastic.co/kibana/timelion/timelion-latest.tar.gz
Downloading 3381940 bytes....................
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete
After installation I was expecting to see the Kibana app chooser icon but it does not exist. moreover when trying to browse to this url http://sample:5601/app/timelion I am getting
{"statusCode":404,"error":"Not Found","message":"Unknown app timelion"}
What seems to be the issue? I also trying to install other Kibana plugin such as Marvel but still, I am not being able to see the icon
You need restart kibana for load the new plugins.
Additional you are using docker, add persistence in plugins
sudo docker run -i -t -v /to/path/host/plugins:/opt/kibana/installedPlugins kibana
I uninstalled xampp and installed a newer version with the latest 5.4 php on Windows. When i tried to install the new version of php, the old folder in C://xampp would delete. I deleted everything from that folder except memcached which I can't delete beacuse someone else is using it. So i installed the new xampp version in xampp54 folder.
When i installed the new xampp version, i get this errors for mysql
Expected Path: "c:\xampp54\apache\bin\httpd.exe" -k runservice
MySQL Service detected with wrong path
Change XAMPP MySQL and Control Panel settings or
Uninstall/disable the other service manually first
Found Path: C:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
Expected Path: c:\xampp54\mysql\bin\mysqld.exe --defaults-file=c:\xampp54\mysql\bin\my.ini mysql
When i try starting apache, i doesn't do anything. Anyone knows how to fix this?
Go to Task Manager Processes tab
search MySql and click
then click End task
After that, you can delete Xampp folder.
I found memcached in the services and disabled it and it all works. Lesson of the day: Install xampp in 'xampp' folder, not 'xampp_me' or 'myxampp' beacuse it seems that both apache and mysql rely on them being installed in 'xampp' folder.
Try this:
Stop the services: mysql and apache
Start > Run > Services.msc
Kill the process 'Xampp Controller' from the Task Manager
In my case, the services were stopped and removed automatically when I
uninstalled the Xampp. So, killing 'Xampp Controller' process worked for me.
To delete the C://xampp old folder we need to stop the mysql service. To stop it, go to start -> run -> type services.msc. Search for mysql & apache and right click & stop. Then you would be able to delete the C://xampp folder.
This is what worked for me: Use the command line (if on Windows) Enter this into the terminal:
rmdir /Q /S none-empty-dir
(e.g. C:\xampp)
See: https://www.windows-commandline.com/delete-directory-from-command-line/
This is worked
Go to resource monitor -> associated handle and search the folder you want to delete and end process
I have same issues with you. But this worked perfectly with me.
Go to task manager, look for details, and search for the items that denies for deleting the folder. (mine is the php) then end task. You can now delete the xampp folder.
I am moving a magento store from mydomaintest.com to mydomain.com.
When I say move, in this instance, we simply used the Cpanel to Modify Account and changed the Domain Name from mydomaintest.com to mydomain.com.
Then using the advice found in forums I used PHPMyAdmin to update the Magento Core Config table to the new BaseURL for both Secure and Unsecure url's.
After doing this I deleted all files in /var/cache.
Trying to access the site by domain name or IP is providing the following error:
Fatal error: require_once() [function.require]: Failed opening required '/home/mydomain/public_html/errors/report.php' (include_path='/home/mydomain/public_html/app/code/local:/home/mydomain/public_html/app/code/community:/home/mydomain/public_html/app/code/core:/home/mydomain/public_html/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/mydomain/public_html/app/Mage.php on line 847
Please help, we are trying to move live today and can't seem to figure this one out.
Thanks!
John
Go to System > Index management and Reindex data as it also contain the url rewrites. Also be sure to check System > Cache Management (some versions still have that) and flush all cache as var/cache is not the only caching location. The zend components save their cache in the tmp folder.
I had this issue with Magento running with Apache2 on Ubuntu 14.10
Make sure that MySQL module for PHP is install:
dpkg --list | grep php5-mysql
If it is not listed, you need to install it:
sudo apt-get install php5-mysql
Then restart Apache:
sudo service apache2 restart
In our case we get this message because someone deleted the "error" folder - the site works fine until an error happens.
Once we restored the folder (and make sure PHP can access it), we see the normal Magento error page.
If you don't have the folder you can download Magento and extract it from the archive.
Just started using EC2, launched the instance with Amazon Linux AMI, installed my web app on it...and I thought I was ready to go.
I go to the public DNS they gave me for my instance and nothing happens. I get the Google Chrome "Oops" ...
After re-reading the doc I saw some notes that I need to launch the web server. By doing this:
sudo chkconfig httpd on
sudo service httpd start
But I can't seem to locate these files.
Any ideas what I am doing wrong or where those files are located? The closest I got was /etc but even if I try the command lines from there, I get the same errors.
Thanks for your help.
UPDATE
Here is an image of the security group I have for my instance. This is correct right?
Is it possible you don't have Apache/Tomcat installed? Check with:
rpm -q httpd
rpm -q tomcat5
If they are not installed, run:
sudo yum install httpd tomcat5
Which type of webapps(php/java/Ruby etc) you are trying to deploy? If it is php, where you are trying to put in apache directory? For example default root document location in apache is /var/www/html . If you put your webapp inside /var/www/html it should be available through direct url http://x.x.x.x/{nameofwebapp}