Error installing DataStax OpsCenter while creating opscenter SSL files - datastax

I downloaded the setup from official site and executed ./setup.py but got following error
File "./setup.py", line 54
print "Error when creating opscenter SSL files. Error was:\n"
^
SyntaxError: Missing parentheses in call to 'print'
any alternatives?

Related

Install Julia behind proxy on my linux box

I am trying to install Julia on a linux box which is behind proxy. The installation of julia is quite easy, but the installation of modules is very exhausting.
I tried setting up https_proxy - Failed
sslVerify: false on git level - Failed
JULIA_SSL_NO_VERIFY and other variables like these - Failed.
.curlrc file with insecure in it - Failed.
searched for documentations about the libgit2 and not really helpful documents are available for this on the official page or on the internet.
Really fed up on this. Can someone help me on this please?
Error:
(v1.6) pkg> add IJulia
Installing known registries into ~/.julia
┌ Warning: could not download https://pkg.julialang.org/registries
└ # Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:997
┌ Warning: could not download https://pkg.julialang.org/registries
└ # Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:997
Cloning registry from "https://github.com/JuliaRegistries/General.git" ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:SSL, SSL error: 0xffff8e00 - SSL - An invalid SSL record was received)

How can I solve this problem of installation xampp on fedora?

When I run xampp on fedora this error is showing up on application log
Starting Apache Web Server...
Exit code: 8
Stdout:
apache config test fails, aborting
Stderr:
httpd: Syntax error on line 522 of /opt/lampp/etc/httpd.conf: Syntax error on line 10 of /opt/lampp/etc/extra/httpd-xampp.conf: Cannot load modules/libphp7.so into server: libnsl.so.1: cannot open shared object file: No such file or directory
can anyone tell me how can I solve this?
it seems you're missing libnsl. install it through this command:
sudo dnf install libnsl
In case this doesn't work you can then download it manually:
Visit https://pkgs.org/
In the search box (pkgs.org of course) type libnsl.so.1 and choose the appropriate OS. The version shown might be higher e.g libnsl-2.28-9.fc29.x86_64.rpm, but it doesn't matter, the file needed is also included in this very package.
In the terminal, navigate to the directory where the .rpm was downloaded.
Type the following command to install it:
sudo rpm libnsl-2.XX-X.fc29.x86_64.rpm
Upon completion everything should be working fine.
A quick Google search returns this: https://www.reddit.com/r/Fedora/comments/8hlhlv/xampp_with_fedora_28/
The suggested fix is installing libnsl from this source:
https://www.rpmfind.net/linux/rpm2html/search.php?query=libnsl.so.1%28%29%2864bit%29&submit=Search+...&system=fedora&arch=

Facing issue while installing Modsecurity(version 2.9) in Rhel(version 5.6) with apache(version 2.4.18)

Getting the below issue while installing the "modsecurity-2.9.1" on RHEL 5.6 having apache version 2.4.18.
[root#pysdcstg1070308 bin]# ./apachectl start
httpd: Syntax error on line 536 of /root/Apache-2.4.18/apache/conf/httpd.conf: Syntax error on line 4 of /root/Apache-2.4.18/apache/conf/mod_security.conf: Cannot load /root/Apache-2.4.18/apache/modules//mod_security2.so into server: /root/Apache-2.4.18/apache/modules/mod_security2.so: undefined symbol: ap_get_server_version
following the steps in the below link for installation:
http://blog.astaz3l.com/2015/02/19/apache-mod-security/
Have searched for possible soluting in stack overflow and other sites as well and googled , but could not find proper solution.
Please help.

Transport Layer Security module fails to load

I am using Ubuntu 12.04 LTS, and Apache 2.4.
I've installed TLS by following the steps on this link: https://help.ubuntu.com/community/GnuTLS
When restarting Apache I get the following error:
apache2: Syntax error on line 212 of /etc/apache2/apache2.conf:
Syntax error on line 1 of /etc/apache2/mods-enabled/gnutls.load:
Cannot load /usr/lib/apache2/modules/mod_gnutls.so into server:
/usr/lib/apache2/modules/mod_gnutls.so: undefined symbol: unixd_config
If I remove the #gnutls.conf file from the /etc/apache2/mods-enabled directory Apache restarts.
What is causing the module not to load?
Your level of mod_gnutls isn't aware of Apache 2.4, one breaking change in 2.4 is the symbol unixd_config is replaced by ap_unixd_config. There will probably be a slew of similar issues.

Error enabling SSL while installing cassandra(DataStax Community Edition)on Windows

My System : Windows 7 64-bit. While instaling Datastax Community Edition of cassandra,
As mentioned in the Prerequisites here :
http://www.datastax.com/documentation/gettingstarted/index.html#getting_started/gettingStartedWindows_t.html
I tried enabling SSL using instructions given here
http://www.datastax.com/docs/opscenter/configure/configure_ssl#config-ssl-win
but below is the error I get.
C:\>python "C:\Program Files\DataStax Community\opscenter\bin\setup.py"
File "C:\Program Files\DataStax Community\opscenter\bin\setup.py", line 51
print "Error when creating opscenter SSL files. Error was:\n"
^
SyntaxError: invalid syntax
What's wrong here?
What version of openssl did you install? That error is indicating the openssl command complained about a syntax error. OpsCenter specifically requires openssl 0.9.8 on windows.
http://www.datastax.com/docs/opscenter/configure/configure_ssl#enabling-ssl-windows
Edit the file create-file-pair.bat and set the variable OPENSSL_EXE to the path where your installation of OpenSSL is.