I am installing Aegir with Nginx on vanilla Ubuntu 14.04 VPS following:
http://community.aegirproject.org/content/installing/manual/nginx-mariadb-php-fpm-single-server-installation
At the very end, during Aegir install I get following error:
Could not rsync from '/var/aegir/config/server_master/nginx/subdir.d' to 'aegir# nginx.drophost.eu:/' [error]
/var/aegir/config/server_master/nginx/subdir.d could not be synced to remote server nginx.drophost.eu. Changes might not be available[error]
until this has been done. (error: ssh: Could not resolve hostname nginx.drophost.eu: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0])
Server domain is nginx.drophost.eu and it resolves correctly to server IP, so what's wrong?
Related
I am using tomcat8.5, apache2, php7.25 on ubuntu 18.04
I installed php on my computer and did other configurations and installed required libraries. In the first day it worked fine and I could run a php script properly on localhost.
But next day when I tried to run the same php file I got this error.
Type Exception Report
Message Could not connect to server. Please start it with: cd /home/dr3am/Documents/phphome/WEB-INF/cgi/amd64-linux
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
php.java.fastcgi.ConnectionException: Could not connect to server. Please start it with: cd /home/dr3am/Documents/phphome/WEB-INF/cgi/amd64-linux
REDIRECT_STATUS=200 X_JAVABRIDGE_OVERRIDE_HOSTS="/" PHP_FCGI_CHILDREN="5" PHP_FCGI_MAX_REQUESTS="500" php-cgi -b 127.0.0.1:9669
php.java.fastcgi.SocketFactory.test(SocketFactory.java:73)
php.java.fastcgi.FCGIFactory.startFCGIServer(FCGIFactory.java:99)
php.java.fastcgi.FCGIConnectionPool.createConnectionPool(FCGIConnectionPool.java:147)
php.java.servlet.ContextLoaderListener.getConnectionPool(ContextLoaderListener.java:220)
php.java.servlet.ContextLoaderListener.getConnectionPool(ContextLoaderListener.java:209)
php.java.servlet.fastcgi.FastCGIServlet.doExecute(FastCGIServlet.java:374)
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:468)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:479)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.net.ConnectException: Connection refused (Connection refused)
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
java.net.Socket.connect(Socket.java:607)
java.net.Socket.connect(Socket.java:556)
java.net.Socket.<init>(Socket.java:452)
java.net.Socket.<init>(Socket.java:262)
php.java.fastcgi.SocketFactory.test(SocketFactory.java:67)
php.java.fastcgi.FCGIFactory.startFCGIServer(FCGIFactory.java:99)
php.java.fastcgi.FCGIConnectionPool.createConnectionPool(FCGIConnectionPool.java:147)
php.java.servlet.ContextLoaderListener.getConnectionPool(ContextLoaderListener.java:220)
php.java.servlet.ContextLoaderListener.getConnectionPool(ContextLoaderListener.java:209)
php.java.servlet.fastcgi.FastCGIServlet.doExecute(FastCGIServlet.java:374)
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:468)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:479)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs.
I didn't change any configuration file or removed any required library. But suddenly I got this error. I looked for solutions but I found nothing related to my problem.
What is the reason for this and how to solve it?
I have installed xampp on my mac os sierra.Now when i try start the server it shows me some error.It does not start.I have tried restarting & reinstalling the server but still i am facing the issue.
failed to start machine: hyperkit: [ERROR] Found a reference to cluster 19715 outside the file (max cluster 19711) from cluster 4.2165
hyperkit: [ERROR] Mirage block device raised exception: Qcow.Make(Base)(Time).Reference_outside_file(_, _)
Mirage-block error: Block device is disconnected
Could not open mirage-block device: Invalid argument
Could not open backing file: Invalid argument
I am not able to find any solution. Please suggest what should i do ?
Although i could not fix this particular error with xammpp software.This xampp software was XAMPP-VM / PHP 7.1.7.So i deleted this software from my machine and downloaded another version of xampp which is 7.1.7 / PHP 7.1.7.Actually there are 4 software listed on the xampp website earlier i download the VM version of xampp.But after intsalling another version of XAMPP solved my problem.
I configured piwik php code to my apache tomcat server using java-bridge and php-servlet api,
It is working fine for the local environment with window, but while same thing done on test environment, There also working fine but after some time it is falling and giving following exception :
If anyone having the same experience please help me to get it out.
type Exception report
message PHP FastCGI server not running. Please see server log for details. Or start a PHP FastCGI server using the command:
description The server encountered an internal error that prevented it from fulfilling this request.
exception
java.io.IOException: PHP FastCGI server not running. Please see server log for details. Or start a PHP FastCGI server using the command:
cd /liferay-portal-6.2-ee-sp7/tomcat-7.0.42/webapps/piwik/WEB-INF/cgi/amd64-linux
REDIRECT_STATUS=200 X_JAVABRIDGE_OVERRIDE_HOSTS="/" PHP_FCGI_CHILDREN="5" PHP_FCGI_MAX_REQUESTS="5000" /usr/bin/php-cgi -b 127.0.0.1:9668
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:489)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)
root cause
java.io.IOException: PHP FastCGI server failed:
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:439)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:481)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)
root cause
php.java.bridge.http.FCGIConnectException: Could not connect to server
php.java.bridge.http.SocketChannelFactory.doConnect(SocketChannelFactory.java:77)
php.java.bridge.http.SocketChannelFactory.connect(SocketChannelFactory.java:88)
php.java.servlet.ContextLoaderListener$1.connect(ContextLoaderListener.java:533)
php.java.bridge.http.FCGIConnectionPool$Connection.reopen(FCGIConnectionPool.java:101)
php.java.bridge.http.FCGIConnectionPool.openConnection(FCGIConnectionPool.java:224)
php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:312)
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:433)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:481)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)
root cause
java.net.ConnectException: Connection refused
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
java.net.Socket.connect(Socket.java:579)
java.net.Socket.connect(Socket.java:528)
java.net.Socket.<init>(Socket.java:425)
java.net.Socket.<init>(Socket.java:241)
php.java.bridge.http.SocketChannelFactory.doConnect(SocketChannelFactory.java:75)
php.java.bridge.http.SocketChannelFactory.connect(SocketChannelFactory.java:88)
php.java.servlet.ContextLoaderListener$1.connect(ContextLoaderListener.java:533)
php.java.bridge.http.FCGIConnectionPool$Connection.reopen(FCGIConnectionPool.java:101)
php.java.bridge.http.FCGIConnectionPool.openConnection(FCGIConnectionPool.java:224)
php.java.servlet.fastcgi.FastCGIServlet.parseBody(FastCGIServlet.java:312)
php.java.servlet.fastcgi.FastCGIServlet.execute(FastCGIServlet.java:433)
php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:481)
php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.
Apache Tomcat/7.0.42
Thanks!
Surendra
This error occurs with all Vagrant boxes with a private network IP.
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "int __cdecl handleCreate(struct HandlerArg *,int,int *)" at line 66 of file VBoxManageHostonly.cpp
I've tried composer install, manual install, downgrading virtualbox to 4.2.x - nothing works.
Please help!
Thanks
Turns out to be a common 'issue' on Windows 7 hosts with any vagrant box with a private network.
The Windows host user account needs to have admin rights.
There's a known bug # 14040 in VirtualBox 5. Updating to Vbox 5.0.9 worked for me.
I had the same problem using virtualbox 5.0.26 when I updated to 5.1.4 it worked! am using vagrant version 1.9.1
I'm using Windows 7, 64 bits, and PHP 5.3.5.
memcache is showing as this in phpinfo:
Active persistent connections: 0
Version: 2.2.5
Revision: $Revision: 1.114 $
And I'm also getting a connection error Notice: Memcache::get() [memcache.get]: Server localhost (tcp 11211) failed
This is what I did:
1) I installed and ran the 64 bit memcached service: http://s3.amazonaws.com/downloads.northscale.com/memcached-win64-1.4.4-14.zip.
2) I copied php_memcache.dll (https://thinkam.googlecode.com/files/php_memcache-cvs-20090703-5.3-VC6-x86.zip) into php/ext.
3) I added extension = php_memcache.dll in php.ini.
4) I restarted XAMPP.
What could I be missing?
* Update *
Memcache seems to be listening now on port 11211, but now from my application I get the following error:
Notice: Memcache::get() [memcache.get]: Server 127.0.0.1 (tcp 11211)
failed with: A connection attempt failed because the connected party
did not properly respond after a period of time, or established
connection failed because connected host has failed to respond.
(10060)
You must run memcached server in Windows Control Panel->Administration->Services.
Run path/memcache.exe -d start and make sure memcache is started
As #Gigala say in comments you can get another php_memchace.dll for different php versions from here http://windows.php.net/downloads/pecl/releases/memcache/3.0.8
Download the extension for your php version following this example:
php_memcache-3.0.8-5.3-nts-vc9-x86.zip as "5.3" must be your php version
This works for me