Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

12
  • Thank you very much! Executing /usr/bin/env resultet in APACHE_PID_FILE=/var/run/apache2.pid APACHE_RUN_USER=www-data MONIT_DATE=... MONIT_HOST=... PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PDFLIBLICENSEFILE=/etc/pdflib/pdflib_licence _=/usr/bin/env PWD=... APACHE_RUN_GROUP=www-data MONIT_PROCESS_PID=0 MONIT_EVENT=Started MONIT_PROCESS_MEMORY=0 SHLVL=4 MONIT_PROCESS_CPU_PERCENT=0 MONIT_SERVICE=apache2 MONIT_PROCESS_CHILDREN=0 MONIT_DESCRIPTION=failed, cannot open a connection to INET[...] via TCP. Full path did not change anything. ldd see question above. Commented Apr 4, 2012 at 23:31
  • PWD was /is/htdocs/www/words by the way, if this is important. Commented Apr 4, 2012 at 23:33
  • @MarcoW. Where is words program? Commented Apr 9, 2012 at 21:14
  • The PHP script is in / and the program words is in /words/. This is the path that PWD returned as well. Of course, I did chdir('words') in PHP to change the directory. Commented Apr 10, 2012 at 0:24
  • 1
    @MarcoW. No. You do: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<PATH_WHERE_GNAT_LIBRARY_IS> Commented Apr 12, 2012 at 21:11