Solr server installation issue - linux

I have installed solr server on Ubuntu 12.04 LTS.I am able to accesshttp://solrserver:8983/solr but when i do curl http://solrserver:8983/solr
Its giving me “Proxy authorization error”
What can be the problem? Is it due to corporate firewalls?
I have given proxy settings in .bashrc file ,/etc/apt/apt.conf and in /etc/environment file and restarted the machine
But did not work.
Thanks And Regards

Try using http://www.webmasterworld.com/forum88/10572.htm and try using
curl_setopt($ch, CURLOPT_PROXY, '202.95.141.129:8080');
Thanks & Regards,
Alok Thaker

Related

Ubuntu Desktop 20.04 - Apache2 without VirtualHost Configuration presents Website

please help me with the following problem:
I have a fresh installed Ubuntu Desktop 20.4 here and installed Apache2 from the ubuntu-repository.
For a test I disabled the 000-default.conf from the sites-enabled directory with a2dissite and removed the file 000-default.conf from the sites-available directory. "apachectl configtest" shows that the syntax is ok. "apachectl -S" shows, that there is no virtual host configuration. I have restarted the computer, but the Apache webserver still serves the standard Website. There are fresh entries in the "other_vhost_access.log". I wonder what configuration serves this website. I thought, when there is no conf-file enabled in "sites-enabled" apache doesn't serve any website?!
Where did I go wrong? Didn't find anything while searching. It's difficult to find the keywords.
Thanx for any help in advance.
Regards
Endi
Apache is serving as per config settings in the main configuration files apache2.conf or httpd.conf

SQL MODE error code during installation vtigercrm 7.3

I try to install vtigercrm but always it show me this probleme. how can I solve it?
MySQL Server should be configured with:
sql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
May be this will help
setting global sql_mode in mysql
I believe your hosting company should help in this regards.

Cannot determine default configuration path. No file [config.yml config.yaml] in cloudflared Linux

I am trying to make Argo tunnel work and I faced the problem with configuration files config.yml config.yam on the local host testing phase.
changerz_critical#cloudshell:~ (global-road-289110)$ /usr/local/bin/cloudflared --origincert /etc/cloudflared/cert.pem --no-autoupdate
INFO[2020-09-15T15:00:59Z] Cannot determine default configuration path. No file [config.yml config.yaml] in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflare
d]
INFO[2020-09-15T15:00:59Z] Version 2020.9.0
INFO[2020-09-15T15:00:59Z] GOOS: linux, GOVersion: go1.14.7, GoArch: amd64
I tried $ cloudflared tunnel --config tunnels/config.yml several times but there is no use of it (I tried to place config.yml in all the folders subsequently but Cloud Shell couldn’t find it. Could you please let me know what could help me to solve the problem?
Thank you very much for your help!
You will need to add --url before url as follow:
cloudflared tunnel --hostname {fule hostname} --url http://localhost:8000

Can't access Tomcat externally

I have Tomcat running on my linux box and I can't access my apps externally. I can access it on my box using localhost:8080 and [ip-addr]:8080. It times out if I use [ip-addr]:8080 on another machine.
I've tried disabling the firewall, but that didn't help.
Any tips?
From https://serverfault.com/questions/390840/how-does-one-get-tomcat-to-bind-to-ipv4-address it looks like you want to add JAVA_OPTS=" $JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true " to your catalina.sh

PHP JAVA Bridge

I am very new to Linux but I am trying best to learn. We have dedicated hosting server of CentOS 6. It is configure with Apache Server as our public website. Now we need to install PHP JAVA Bridge on it.
What I did is, I install TomCat 6 and jdk 1.6. Then I copy JavaBridge.war file to $CATALINA_HOME/webapps folder and jar files on $CATALINA_HOME/lib folder. When I check from tomcat 8080 port JavaBridge is working very good.
Then I make symlink of $CATALINA_HOME/webapps/JavaBridge on my apache server. Untill here everything is okay
But when I try to browse from browser like http://www.xxx.com/JavaBridge I will get following error
You don't have permission to access /JavaBridge/ on this server.
Apache Server at www.gizeleonline.com Port 80
Now my question is that do I am doing it in wrong way or do I have to get rid of Apache server or I am missing something.
Kindly help on this experts :)
Actually it was my mistake. I just re-image my server and re-install everything it start working everything. thanx for help every body

Resources