PHP script execution won't start at break point - vagrant

I'm running PHP 5.5.9 on Ubuntu 4.19, Vagrant, Virtual box on Mac. I'm trying to use debugger on PhpStorm (2016.2.1) , so I followed couple of tutorials how to do that, enabled XDebug 2.2.3. My current status is:
When checked from PhpStorm (Run -> Web Server Debug Validation) everything is ok, no errors.
On Google Chrome I've installed "Jet Brains IDE support" plugin
On PhpStorm when I click on "Start listening for PHP debug connections" it turns green - everything fine here too, I guess.
PhpStorm, when I click "Debug" icon, Chrome starts well, opens page I'm trying to debug and I get balloon tip from Chrome: "JetBrains IDE Support" is debugging this browser and small bug icon turns green ("debug" mode).
So apparently everything is ok, but script execution just won't stop at my break point. Any idea what I'm missing here. Here is my php.ini settings regarding xdebug:
Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.cli_color 0 0
xdebug.collect_assignments Off Off
xdebug.collect_includes On On
xdebug.collect_params 0 0
xdebug.collect_return Off Off
xdebug.collect_vars Off Off
xdebug.coverage_enable On On
xdebug.default_enable On On
xdebug.dump.COOKIE no value no value
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.file_link_format no value no value
xdebug.idekey PHPSTORM PHPSTORM
xdebug.max_nesting_level 100 100
xdebug.overload_var_dump On On
xdebug.profiler_aggregate Off Off
xdebug.profiler_append Off Off
xdebug.profiler_enable Off Off
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_output_dir /tmp /tmp
xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p
xdebug.remote_autostart Off Off
xdebug.remote_connect_back Off Off
xdebug.remote_cookie_expire_time 3600 3600
xdebug.remote_enable On On
xdebug.remote_handler dbgp dbgp
xdebug.remote_host 192.168.33.22 192.168.33.22
xdebug.remote_log no value no value
xdebug.remote_mode req req
xdebug.remote_port 9000 9000
xdebug.scream Off Off
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_enable_trigger Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir /tmp /tmp
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3 3
Update 1
On #LazyOne suggestion I checked on php error log and there was an error:
PHP: syntax error, unexpected '=' in /etc/php5/apache2/php.ini on line 1935
Failed loading /usr/lib/php5/20100525/xdebug.so: /usr/lib/php5/20100525/xdebug.so: cannot open shared object file: No such file or directory
I checked for missing xdebug.so file and it's parent dir was wrong. On my machine it was "20121212", so I changed that, restarted apache and after I'm getting following content in error log:
[Fri Aug 26 12:15:55.407344 2016] [mpm_prefork:notice] [pid 22840] AH00169: caught SIGTERM, shutting down
PHP Warning: Module 'xdebug' already loaded in Unknown on line 0
[Fri Aug 26 12:15:56.415611 2016] [mpm_prefork:notice] [pid 22903] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.19 configured -- resuming normal operations
[Fri Aug 26 12:15:56.415660 2016] [core:notice] [pid 22903] AH00094: Command line: '/usr/sbin/apache2'
That's all there is in php error file. #LazyOne, is that the error log file you were talking about or there is some other?
Update 2
I added following configuration to my php.ini file:
[xdebug]
zend_extension = /usr/lib/php5/20121212/xdebug.so
xdebug.remote_enable = 1
xdebug.remote_host = 192.168.33.22
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM
Update 3
xdebug log follows:
Log opened at 2016-08-26 13:55:30
I: Connecting to configured address/port: 192.168.33.22:9000.
E: Could not connect to client. :-(
Log closed at 2016-08-26 13:55:30

Related

Why I got errors running redis in laravel app?

I need to run laravel 5 app on my local Kubuntu 18 and I need to run redis server for this app
I installed and in file /etc/redis/redis.conf I uncommented line :
requirepass foobared
in .env I modified redis config :
REDIS_HOST=http://127.0.0.1:8000 # I run app with command : php artisan serve
REDIS_PASSWORD=foobared
REDIS_PORT=6379 # default port
I restarted redis and check status:
$ sudo service redis status
[sudo] password for serge:
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-02-26 13:52:09 EET; 6min ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Process: 1545 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCCESS)
Process: 1548 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
Main PID: 1574 (redis-server)
Tasks: 4 (limit: 4915)
CGroup: /system.slice/redis-server.service
└─1574 /usr/bin/redis-server 127.0.0.1:6379
Feb 26 13:52:08 AtHome systemd[1]: Starting Advanced key-value store...
Feb 26 13:52:09 AtHome systemd[1]: redis-server.service: Can't open PID file /var/run/redis/redis-server.pid (yet?) after start: No such file or directory
Feb 26 13:52:09 AtHome systemd[1]: Started Advanced key-value store.
I see that file Can't open PID file not found above
But I have this file:
root#AtHome:/run/redis# ls -la
total 4
drwxr-sr-x 2 redis redis 60 Feb 26 14:32 .
drwxr-xr-x 38 root root 1160 Feb 26 14:32 ..
-rw-rw---- 1 redis redis 6 Feb 26 14:32 redis-server.pid
root#AtHome:/run/redis# cat redis-server.pid
22676
aand I got error on next command :
$ laravel-echo-server start
Error: The config file could not be found.
Is this errors as PID file was not found above?
How can it be fixed?
In composer.json :
"laravel/framework": "5.5.*",
"predis/predis": "^1.1",
MODIFIED # :
In /etc/redis/redis.conf I found
pidfile /var/run/redis/redis-server.pid
When I installed the ubuntu I installed /var on separate partition, so I have in /etc/fstab :
UUID=e531d8c5-530c-4533-a949-9fd5a62e0821 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sdb1 during installation
UUID=23cc34a1-2be9-43b1-9c79-8e53af7bc799 /boot ext4 defaults 0 2
# /var was on /dev/sdb5 during installation
UUID=57c14b70-da85-4c5b-be6f-45174147d987 /var ext4 defaults 0 2
that is why /var/run/redis/redis-server.pid looks like /run/redis/redis-server.pid in my console command.
I do not know can that be key of this problem? How can it be salved ?
MODIFIED # 2 :
Yes, redis started and it shows in status command :
Active: active (running)
I see error message
Feb 26 13:52:09 AtHome systemd[1]: redis-server.service: Can't open PID file /var/run/redis/redis-server.pid
I do not know how critical is it ?
I need to run in the root of my app laravel-echo-server for redis working
but I got error :
$ laravel-echo-server start
Error: The config file could not be found.
I suppose that 2) depends on 1), but not sure, I am new in redis and very common
knowledge about laravel-echo-server...
MODIFIED # 3 :
Searching how test redis I found how made tests, but looks like not all works properly :
app_root$ redis-cli
127.0.0.1:6379> set greetings "Hello World!"
(error) NOAUTH Authentication required.
127.0.0.1:6379> get greetings
(error) NOAUTH Authentication required.
127.0.0.1:6379> exit
app_root$ sudo systemctl restart redis
[sudo] password for serge:
app_root$ redis-cli
127.0.0.1:6379> get greetings
(error) NOAUTH Authentication required.
127.0.0.1:6379>
But I am still not sure if it is reason that I got error running laravel-echo-server
Thanks!

VNC on Ubuntu 14.04 LTS

I have a Mac running OS X 10.11.6 and Ubuntu EC2 instance running 14.04LTS.
I'm trying to get VNC running KDE from my Mac.
XQuartz launches but I have not keyboard, or mouse control over KDE.
Port 5901 is open in my EC2 security group.
Here's my /etc/init.d/vncserver file:
ubuntu#ip-10-0-1-107:~$ vi /etc/init.d/vncserver
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartupTH="$PATH:/usr/bin/"
export USER="ubuntu"
DISPLAY="1"
DEPTH="16"
GEOMETRY="1600x1200"
OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY} -localhost"
. /lib/lsb/init-functions
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
kdestartup &
case "$1" in
start)
log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
;;
stop)
log_action_begin_msg "Stopping vncserver for user '${USER}' on localhost:${DISPLAY}"
su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
;;
restart)
$0 stop
$0 start
;;
esac
exit 0
Starting vncserver script:
ubuntu#ip-10-0-1-107:~$ sudo service vncserver start
xsetroot: unable to open display ''
vncconfig: unable to open display ""
$DISPLAY is not set or cannot connect to the X server.
* Starting vncserver for user 'ubuntu' on localhost:1... Option "--login" is no longer supported in this version of gnome-terminal; you might want to create a profile with the desired setting, and use the new '--profile' option
(x-window-manager:2591): Gtk-WARNING **: cannot open display:
error: XDG_RUNTIME_DIR not set in the environment.
Failed to parse arguments: Cannot open display:
Here's the ssh command on OS X (server address and cert altered for).
ssh -L -X 5901:127.0.0.1:5901 -N -f -l ubuntu x.x.x.x -i blahblahblah.pem
Here's the VNC server running on Ubuntu:
ubuntu#ip-10-0-1-107:~$ ps -ef | grep vnc
ubuntu 4289 1 0 17:13 ? 00:00:00 Xtightvnc :1 -desktop X -auth /home/ubuntu/.Xauthority -geometry 1600x1200 -depth 16 -rfbwait 120000 -rfbauth /home/ubuntu/.vnc/passwd -rfbport 5901 -fp /usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/100dpi/ -co /etc/X11/rgb -localhost
Here's kde:
ubuntu#ip-10-0-1-107:~$ ps -ef | grep kde
root 57 2 0 Jul30 ? 00:00:00 [kdevtmpfs]
kdm 1535 1532 0 Jul30 ? 00:33:25 /usr/lib/kde4/libexec/kdm_greet
ubuntu 6067 1 0 17:16 ? 00:00:00 /bin/bash /usr/bin/x2goruncommand 50 5895 ubuntu-50-1502558186_stDKDE_dp32 34503 startkde esd D
ubuntu 6165 6067 0 17:16 ? 00:00:00 /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 startkde
ubuntu 6302 6165 0 17:16 ? 00:00:00 /bin/sh /usr/bin/startkde
ubuntu 6305 1 0 17:16 ? 00:00:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 startkde
ubuntu 6429 1 0 17:16 ? 00:00:00 /usr/lib/kde4/libexec/start_kdeinit +kcminit_startup
ubuntu 6435 1 0 17:16 ? 00:00:00 kdeinit4: kdeinit4 Running...
ubuntu 6436 6435 0 17:16 ? 00:00:00 kdeinit4: klauncher [kdeinit] --fd=9
ubuntu 6438 1 0 17:16 ? 00:00:03 kdeinit4: kded4 [kdeinit]
ubuntu 6457 6435 0 17:16 ? 00:00:02 kdeinit4: ksmserver [kdeinit]
ubuntu 6633 1 0 17:16 ? 00:00:02 /usr/lib/kde4/libexec/polkit-kd-authentication-agent-1
I'm using X2Go client which uses
"This program uses Qt version 4.8.7."
NXPROXY - Version 3.5.0
Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '25164'.
Session: Starting session at 'Sat Aug 12 10:16:20 2017'.
Info: Connecting to remote host 'localhost:35502'.
Info: Connection to remote proxy 'localhost:35502' established.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Warning: Failed to read data from the X auth command.
Warning: Generated a fake cookie for X authentication.
Info: Using WAN link parameters 768/24/1/0.
Info: Using cache parameters 4/4096KB/8192KB/8192KB.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 1/1.
Info: No suitable cache file found.
Info: Forwarding X11 connections to display '/private/tmp/com.apple.launchd.hnXbYavKVp/org.macosforge.xquartz:0'.
Session: Session started at 'Sat Aug 12 10:16:22 2017'.
Info: Established X server connection.
Info: Using shared memory parameters 0/0K.
Here's the log file /home/ubuntu/.vnc/ip-10-0-1-107:1.log:
** (xfce4-volumed:4415): WARNING **: Binding '<Ctrl><Alt>XF86AudioMute' failed!
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Binding '<Alt><Shift>XF86AudioMute' failed!
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Binding '<Ctrl><Shift><Alt>XF86AudioMute' failed!
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
initctl: UPSTART_SESSION isn't set in the environment. Unable to locate the Upstart instance.
** (process:4416): WARNING **: killswitch.vala:103: Can't open /dev/rfkill for use as a killswitch backend: Permission denied
** (process:4416): CRITICAL **: bluez.vala:104: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.155" (uid=1000 pid=4416 comm="/usr/lib/x86_64-linux-gnu/indicator-bluetooth/indi") interface="org.bluez.Manager" member="DefaultAdapter" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1052 comm="/usr/sbin/bluetoothd ")
(xfsettingsd:4462): xfsettingsd-CRITICAL **: No RANDR extension found in display :1.0. Display settings won't be applied.
Xlib: extension "XInputExtension" missing on display ":1.0".
(xfsettingsd:4462): xfsettingsd-CRITICAL **: XI is not present.
(xfsettingsd:4462): xfsettingsd-CRITICAL **: Failed to initialize the Xkb extension.
(xfsettingsd:4462): xfsettingsd-CRITICAL **: Failed to initialize the Accessibility extension.
(zeitgeist-datahub:4395): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(zeitgeist-datahub:4395): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
** (process:4355): CRITICAL **: volume_control_set_volume_internal: assertion '_tmp1_ == PA_CONTEXT_READY' failed
Failure: Module initialization failed
** (process:4355): CRITICAL **: file /build/buildd/indicator-sound-12.10.2+14.04.20140401/obj-x86_64-linux-gnu/src/volume-control.c: line 1775: uncaught error: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface (g-dbus-error-quark, 16)
** (nm-applet:4347): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Rejected send message, 3 matched rules; type="method_call", sender=":1.168" (uid=1000 pid=4347 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1123 comm="NetworkManager ")
(xfsettingsd:4462): xfsettingsd-WARNING **: Failed to get the _NET_NUMBER_OF_DESKTOPS property.
system-config-printer-applet: failed to start NewPrinterNotification service
system-config-printer-applet: failed to start PrinterDriversInstaller service: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.171" is not allowed to own the service "com.redhat.PrinterDriversInstaller" due to security policies in the configuration file
Xlib: extension "RANDR" missing on display ":1.0".
Xlib: extension "RANDR" missing on display ":1.0".
Error executing command as another user: Not authorized
This incident has been reported.
ERROR:dbus.proxies:Introspect error on :1.5:/org/freedesktop/NetworkManager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 3 matched rules; type="method_call", sender=":1.175" (uid=1000 pid=4686 comm="/usr/bin/python3 /usr/bin/update-manager --no-upda") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.5" (uid=0 pid=1123 comm="NetworkManager ")
It is maybe related to the screen.
try to add -X in the ssh command
ssh -X

Magento 1.9.2 - admin panel 503

I'm having an issue with 503 error. When I'm trying to log into admin panel, i'm getting:
503 Service Unavailable
The server is temporarily busy, try again later!
I'm using LiteSpeed Web Server.
All front pages such as product pages, checkout etc. works fine.
Admin panel worked fine yesterday and today morning but now it stopped. I haven't changed any files.
If anyone had this problem before and fixed it, or knows could I diagnose it.
I would appreciate your help.
It seems that my hosting provider updated PHP to 7.0.7 form 7.0.3 today, and have not informed me about that. That is probably the reason it doesn't work.
Having the same issue on PHP 7.0.6 & 7.0.7 on Debian Wheezy.
Fallback to PHP 5.6.x or PHP 7.0.3 fix the problem.
On official site, system req. say it should work..
http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html
If you would strace it, you get something like:
[pid 8364] stat("/www/vendor/magento/zendframework1/library/Zend/Http/Client/Adapter/Interface.php", {st_mode=S_IFREG|0644, st_size=2193, ...}) = 0
[pid 8364] lstat("/www/vendor/magento/zendframework1/library/Zend/Http/Client.php", {st_mode=S_IFREG|0644, st_size=51384, ...}) = 0
[pid 8364] access("/www/vendor/magento/zendframework1/library/Zend/Http/Client.php", F_OK) = 0
[pid 8364] stat("/www/vendor/magento/zendframework1/library/Zend/Http/Client.php", {st_mode=S_IFREG|0644, st_size=51384, ...}) = 0
[pid 8364] --- SIGSEGV (Segmentation fault) # 0 (0) ---
Process 8364 detached
Issues in on Magento 2.0.3, but also on a fresh install on 2.0.7,..

CouchDB for Windows - SSL certificate - Connection error

I have installed CouchDB on Windows 7 x64.
I am trying to run CouchDB with SSL on port 6984.
I am prepared certificate like in documentation: secure-socket-level-options
And also checking: CouchDB Wiki
When I restart server, using:
curl http://127.0.0.1:5984/_restart -X POST
A log show, the port 6984 is listening:
[Tue, 25 Nov 2014 10:15:48 GMT] [debug] [<0.1208.0>] 'POST' /_restart {1,1} from "127.0.0.1"
Headers: [{'Accept',"*/*"},
{'Authorization',"Basic dG9tOnBhcw=="},
{'Content-Type',"application/json"},
{'Host',"127.0.0.1:5984"},
{'User-Agent',"curl/7.38.0"}]
[Tue, 25 Nov 2014 10:15:48 GMT] [debug] [<0.1208.0>] OAuth Params: []
[Tue, 25 Nov 2014 10:15:48 GMT] [info] [<0.1208.0>] 127.0.0.1 - - POST /_restart 202
[Tue, 25 Nov 2014 10:15:50 GMT] [info] [<0.1957.0>] Apache CouchDB has started on http://127.0.0.1:5984/
[Tue, 25 Nov 2014 10:15:50 GMT] [info] [<0.1957.0>] Apache CouchDB has started on https://127.0.0.1:6984/
I am modified local.ini, just like documentation says:
[daemons]
; enable SSL support by uncommenting the following line and supply the PEM's below.
; the default ssl port CouchDB listens on is 6984
httpsd = {couch_httpd, start_link, [https]}
[ssl]
;cert_file = C:/Program\ Files\ (x86)/Apache\ Software\ Foundation/CouchDB/etc/Cert/localhost.crt
;key_file = C:/Program\ Files\ (x86)/Apache\ Software\ Foundation/CouchDB/etc/Cert/localhost.pem
cert_file = C:/Program\ Files\ (x86)/Apache\ Software\ Foundation/CouchDB/etc/couchdb/localhost.crt
key_file = C:/Program\ Files\ (x86)/Apache\ Software\ Foundation/CouchDB/etc/couchdb/localhost.pem
;cert_file = /etc/Cert/localhost.crt
;key_file = /etc/Cert/localhost.pem
;key_file = /etc/couchdb/localhost.pem
;cert_file = /etc/couchdb/couchdb.pem
port = 6984
;password = pass:a
; set to true to validate peer certificates
verify_ssl_certificates = false
; Path to file containing PEM encoded CA certificates (trusted
; certificates used for verifying a peer certificate). May be omitted if
; you do not want to verify the peer.
;cacert_file = /full/path/to/cacertf
; The verification fun (optional) if not specified, the default
; verification fun will be used.
;verify_fun = {Module, VerifyFun}
; maximum peer certificate depth
ssl_certificate_max_depth = 1
After restart service, I cannot connect to server on port 6984:
curl -k -v https://127.0.0.1:6984
* Rebuilt URL to: https://127.0.0.1:6984/
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 6984 (#0)
* SSLv3, TLS handshake, Client hello (1):
* Unknown SSL protocol error in connection to 127.0.0.1:6984
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to 127.0.0.1:6984
Is something, what I have missed, I am not checked ? CouchDB is in version 1.6.1.
I have the same problem and same symptoms but one thing is certain the path to your certificates is way off.
You need to use the actual 'Windows' path to the certificates and if there are spaces ( i.e. c:\Program Files(x86)\Apa..... ) use single quotes around the whole path. It should be ok to replace the '\' with a '/' in the path.
For those that are wondering.. as of 2018, CouchDB 2.1.1 runs fine on Windows 10 with HTTPS enabled.
I generated my Certificate using another site that I setup on Ubuntu using Let's encrypt's certbot (https://certbot.eff.org/lets-encrypt/ubuntuxenial-other) and then copied them over to my windows machine. I get a warning that the certificate is not valid, but that's fine as Windows is just for development.
[ssl]
cert_file = c:/couchdb/cert/cert1.pem
key_file = c:/couchdb/cert/privkey1.pem
cacert_file = c:/couchdb/cert/fullchain1.pem

Apache (WAMP) issue: “AH00404: Child: Unable to read socket data from parent”

Frontend developer desperately trying to get a WAMP running on Windows 7 (Home Premium, 64 bit, SP1). I've tried WAMPSERVER and XAMPP. Starting the Apache service failed on both, returning the exact same critical error in their error.log-files:
[Thu Dec 13 14:38:56.905257 2012] [mpm_winnt:crit] [pid 4868:tid 280]
(OS 109)The pipe has been ended. : AH00404: Child: Unable to read
socket data from parent
[Thu Dec 13 14:38:57.028264 2012] [mpm_winnt:crit] [pid 5100:tid 408]
AH00427: Parent: child process exited with status 3 -- Aborting.
I've googled for over 2 hours for this problem and have tried several things. Checking/freeing up Port 80, using a different port, turning off MSSE's real-time protection, disabling LMHOSTS Lookup, dozens of reinstalls... All to no avail.
Please help :(
Go to Control Panel -> Administrative Tools -> Services. Find "Web Deployment Agent Service" right click and stop. Start up Apache and see if it sticks. If so, right click on Web Deployment Agent again and go to properties and set the startup type to Manual.
In my case, the error log was this:
[crit] (OS 109)The pipe has been ended. : setup_inherited_listeners: Unable to read socket data from parent
The solution was that Apache was set to listen on IPv6 interface, but there was no IPv6 interface enabled.

Resources