I can't get a public key for my Moodle network, the xlrpc is installed on Ubuntu. Can anyone help?
Moodle: 1.9.4
Apache: 2.2.8
PHP: 5.2.4-2
Error on debug mode:
Warning: openssl_csr_new() [function.openssl-csr-new]: dn: add_entry_by_NID 17 ->
Moodle (failed) in /var/www/moodle_teste/mnet/lib.php on line 361
Warning: openssl_csr_sign() [function.openssl-csr-sign]: cannot get CSR from
parameter 1 in /var/www/moodle_teste/mnet/lib.php on line 362
Warning: openssl_x509_export() [function.openssl-x509-export]: cannot get cert
from parameter 1 in /var/www/moodle_teste/mnet/lib.php on line 380
Warning: openssl_x509_free() expects parameter 1 to be resource, boolean given
in /var/www/moodle_teste/mnet/lib.php on line 381
Related
When I created WordPress, add theme/plugins, the order showing as follow:
RSS Error: WP HTTP Error: cURL error 27: SSL: couldn't create a context: error:140A90A1:SSL routines:SSL_CTX_new:library has no ciphers
Does anyone know how to deal with the problem? Thank you.
What should i do to remove this bug or error ?
I have downloaded the theme but when i install it,It actually shows this
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo
failed: Temporary failure in name resolution in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php
on line 115
Warning:
file_get_contents(http://themes.cray.bg/themeupdatesnotifier/amy.xml):
failed to open stream: php_network_getaddresses: getaddrinfo failed:
Temporary failure in name resolution in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php
on line 115
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in /customers/3/3/f/mabox-ks.com/httpd.www/wp-admin/includes/misc.php
on line 1114
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/ReduxFramework/ReduxCore/framework.php
on line 2498
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/ReduxFramework/ReduxCore/framework.php
on line 2499
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/ReduxFramework/ReduxCore/framework.php
on line 2504
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in /customers/3/3/f/mabox-ks.com/httpd.www/wp-includes/pluggable.php
on line 1216
I have been connecting to a ftp server for some time now, but it has stopped working this week.
The connection to the ftp works fine when accessing through FileZilla Client. But not when I try to go through R or internet explorer (both was working untill now).
I have made sure that no firewalls are blocking the access.
I am using the Rcurl, getUrl functions to retrieve the data.
When I compare the output in R with the output log from Filezilla, I can see that both succeed in logging in, then run the PASV command. But since the PASV is diabled, filezilla manage to run the PORT command and collect the data.
From Filezilla log:
2017-08-07 13:57:02 2372 1 Command: PASV
2017-08-07 13:57:02 2372 1 Response: 500 PASV command is disabled. Use PORT command.
2017-08-07 13:57:02 2372 1 Command: PORT 10,45,9,89,222,62
2017-08-07 13:57:02 2372 1 Response: 200 PORT command successful
2017-08-07 13:57:02 2372 1 Command: LIST
2017-08-07 13:57:02 2372 1 Response: 150 Opening ASCII data connection for ls /.
From R:
get url_data_grouped transactions
library(RCurl)
Loading required package: bitops
url2<-c("ftp://"user"#IP address")
filenames<-getURL(url2, userpwd="user:pwd", ftp.use.epsv = FALSE, verbose=TRUE, dirlistonly = TRUE)
* Trying "IP"...
* Connected to "IP" ("IP") port 21 (#0)
< 220-This server is for private use only
< 220-If you do not have access to this server
< 220-Please disconnect now
< 220 Please enter your login name now.
> USER "user"
< 331 Password required for user
> PASS "Password"
< 230 User user logged in.
> PWD
< 257 "/" is current directory
* Entry path is '/'
> CWD PMA
* ftp_perform ends with SECONDARY: 0
< 250 "/PMA" is current directory.
> PASV
* Connect data stream passively
< 500 PASV command is disabled. Use PORT command.
* Bad PASV/EPSV response: 500
* Remembering we are in dir "PMA/"
* Connection #0 to host "IP" left intact
Error in function (type, msg, asError = TRUE) :
Bad PASV/EPSV response: 500
Has anyone got good inputs for this issue?
I running spring-xd-1.3.1.RELEASE run-time container, when I tried to module file with the source from ftp to hdfs, I get an exception in the shell command which is given below.
xd:>module info --name source:ftphdfs
Command failed org.springframework.xd.rest.client.impl.SpringXDException: Could
not find module with name 'ftphdfs' and type 'source'
Also when I tried to use source as http endpoint, I get an exception like this in shell command which is given below.
xd:>module info --name source:http
Information about source module 'http':
Injects data from http endpoint.
Option Name Description
Default
Type
--------------------- -------------------------------------------------------
--------------------------------------------------------------------------------
--------- -------------------------------------------------------------------
---------------------------------
https true for https://
false
boolean
maxContentLength the maximum allowed content length
1048576
int
messageConverterClass the name of a custom MessageConverter class, to convert
HttpRequest to Message; must have a constructor with a 'MessageBuilderFactory'
parameter org.springframework.integration.x.http.NettyInboundMessageConverter
java.lang.String
port the port to listen to
9000
int
sslPropertiesLocation location (resource) of properties containing the locati
on of the pkcs12 keyStore and pass phrase
classpath:httpSSL.properties
java.lang.String
outputType how this module should emit messages it produces
<none>
org.springframework.util.MimeType
Tech stack which I'm currently using is given below.
1) Hadoop 2.7.2
2) Spring-XD-1.3.1.RELEASE
3) Redis 2.6 (Windows Version) - I use this as a transport
4) Zoo-Keeper 3.8
Any help would be appreciated.
It's a job not a stream source...
xd:>module info job:ftphdfs
Information about job module 'ftphdfs':
...
I don't see an exception for source:http above - just a description of the source.
I am having the error described here:
Chef::Exceptions::ChecksumMismatch when installing nginx-1.7.8 from source
However, that fix does not work for me.
Following the suggestions on that page, I created a shasum:
shasum -a 256 nginx-1.4.4.tar
ed744d916a19e426fd6885e14036d64156f4b6f6aca1d22a1b9307de8d46e8d3 nginx-1.4.4.tar
then I opened this file:
vi /opt/chef/cookbooks/nginx/recipes/source.rb
and I found this block:
remote_file nginx_url do
source nginx_url
checksum node['nginx']['source']['checksum']
path src_filepath
backup false
end
which I changed to this:
remote_file nginx_url do
source nginx_url
checksum 'ed744d916a19e426fd6885e14036d64156f4b6f6aca1d22a1b9307de8d46e8d3'
path src_filepath
backup false
end
but I continue to get this error:
Recipe: nginx::source
* yum_package[pcre-devel] action install (up to date)
* yum_package[openssl-devel] action install (up to date)
* remote_file[http://nginx.org/download/nginx-1.4.4.tar.gz] action create
================================================================================
Error executing action `create` on resource 'remote_file[http://nginx.org/download/nginx-1.4.4.tar.gz]'
================================================================================
Chef::Exceptions::ChecksumMismatch
----------------------------------
Checksum on resource (ed744d) does not match checksum on content (7c989a)
Resource Declaration:
---------------------
# In /opt/chef/cookbooks/nginx/recipes/source.rb
58: remote_file nginx_url do
59: source nginx_url
60: checksum 'ed744d916a19e426fd6885e14036d64156f4b6f6aca1d22a1b9307de8d46e8d3'
61: path src_filepath
62: backup false
63: end
64:
Compiled Resource:
------------------
# Declared in /opt/chef/cookbooks/nginx/recipes/source.rb:58:in `from_file'
remote_file("http://nginx.org/download/nginx-1.4.4.tar.gz") do
provider Chef::Provider::RemoteFile
action [:create]
retries 0
retry_delay 2
default_guard_interpreter :default
source ["http://nginx.org/download/nginx-1.4.4.tar.gz"]
use_etag true
use_last_modified true
declared_type :remote_file
cookbook_name :nginx
recipe_name "source"
checksum "ed744d916a19e426fd6885e14036d64156f4b6f6aca1d22a1b9307de8d46e8d3"
path "/var/chef/cache/nginx-1.4.4.tar.gz"
atomic_update true
end
Running handlers:
[2016-02-16T15:40:44+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-02-16T15:40:44+00:00] ERROR: Exception handlers complete
Chef Client failed. 5 resources updated in 19 seconds
[2016-02-16T15:40:44+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-02-16T15:40:44+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-02-16T15:40:44+00:00] ERROR: remote_file[http://nginx.org/download/nginx-1.4.4.tar.gz] (nginx::source line 58) had an error: Chef::Exceptions::ChecksumMismatch: Checksum on resource (ed744d) does not match checksum on content (7c989a)
[2016-02-16T15:40:44+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Does anyone have any advice?
I am running this inside of vagrant, on my local machine (a Mac).
It sounds like this was resolved in comments above, but for the record you need to make sure the checksum exactly the file being downloaded. This can be confusing in cases with gzip compression.
Run sha256sum command against the file and use the output as checksum. Seems like you're using md5 or sha1 hash algorithm as checksum