Giter Club home page Giter Club logo

Comments (4)

McFateM avatar McFateM commented on June 16, 2024 47

I think I have this resolved. In the aforementioned thread there was considerable talk about the Mac's native Apache getting in the way (makes sense I suppose). I hunted around a little like so...

ma7053:ISLE markmcfate$ netstat -an | grep 80
tcp6       0      0  fe80::29c5:4b:1c.1025  fe80::ffa8:c7e:7.40324 ESTABLISHED
tcp6       0      0  fe80::29c5:4b:1c.1024  fe80::ffa8:c7e:7.1024  ESTABLISHED
tcp6       0      0  fe80::43ea:6111:.57961 fe80::877d:2039:.1025  ESTABLISHED
tcp6       0      0  fe80::43ea:6111:.1024  fe80::877d:2039:.1024  ESTABLISHED
tcp6       0      0  fe80::61ce:5645:.1024  fe80::5d95:1c1b:.1024  ESTABLISHED
tcp6       0      0  ::1.8080               *.*                    LISTEN     
tcp4       0      0  *.8080                 *.*                    LISTEN     
tcp6       0      0  ::1.8091               *.*                    LISTEN     
tcp4       0      0  *.8091                 *.*                    LISTEN     
tcp46      0      0  *.80                   *.*                    LISTEN     
udp4       0      0  *.57808                *.*                               
udp6       0      0  fe80::29c5:4b:1c.123   *.*                               
udp6       0      0  fe80::43ea:6111:.123   *.*                               
udp6       0      0  fe80::61ce:5645:.123   *.*                               
udp6       0      0  fe80::18a4:2a92:.123   *.*                               
udp6       0      0  fe80::6863:aeff:.123   *.*                               
udp6       0      0  fe80::1868:ecb1:.123   *.*                               
udp6       0      0  fe80::b075:c690:.123   *.*                               
udp6       0      0  fe80::1%lo0.123        *.*                               
ma7053:ISLE markmcfate$ ps -ef | grep httpd
    0   100     1   0  1:22PM ??         0:00.33 /usr/sbin/httpd -D FOREGROUND
   70   267   100   0  1:22PM ??         0:00.00 /usr/sbin/httpd -D FOREGROUND
  502   929   403   0  2:35PM ttys000    0:00.00 grep httpd

...and eventually ran this...

ma7053:ISLE markmcfate$ sudo /usr/sbin/apachectl stop

...and it seemed to have done the trick. Afterward I got this...


ma7053:ISLE markmcfate$ netstat -an | grep 80
tcp6       0      0  fe80::29c5:4b:1c.1025  fe80::ffa8:c7e:7.40324 ESTABLISHED
tcp6       0      0  fe80::29c5:4b:1c.1024  fe80::ffa8:c7e:7.1024  ESTABLISHED
tcp6       0      0  fe80::43ea:6111:.57961 fe80::877d:2039:.1025  ESTABLISHED
tcp6       0      0  fe80::43ea:6111:.1024  fe80::877d:2039:.1024  ESTABLISHED
tcp6       0      0  fe80::61ce:5645:.1024  fe80::5d95:1c1b:.1024  ESTABLISHED
tcp6       0      0  ::1.8080               *.*                    LISTEN     
tcp4       0      0  *.8080                 *.*                    LISTEN     
tcp6       0      0  ::1.8091               *.*                    LISTEN     
tcp4       0      0  *.8091                 *.*                    LISTEN     
udp4       0      0  *.53808                *.*                               
udp4       0      0  *.57680                *.*                               
udp6       0      0  fe80::29c5:4b:1c.123   *.*                               
udp6       0      0  fe80::43ea:6111:.123   *.*                               
udp6       0      0  fe80::61ce:5645:.123   *.*                               
udp6       0      0  fe80::18a4:2a92:.123   *.*                               
udp6       0      0  fe80::6863:aeff:.123   *.*                               
udp6       0      0  fe80::1868:ecb1:.123   *.*                               
udp6       0      0  fe80::b075:c690:.123   *.*                               
udp6       0      0  fe80::1%lo0.123        *.*                               
ma7053:ISLE markmcfate$ 
ma7053:ISLE markmcfate$ 
ma7053:ISLE markmcfate$ docker-compose up 
isle-solr is up-to-date
isle-db is up-to-date
isle-fedora is up-to-date
Starting isle-web ... 
Starting isle-web ... done
Attaching to isle-solr, isle-db, isle-fedora, isle-web
isle-solr | Using CATALINA_BASE:   /usr/local/tomcat
isle-solr | Using CATALINA_HOME:   /usr/local/tomcat
isle-solr | Using CATALINA_TMPDIR: /usr/local/tomcat/temp
isle-solr | Using JRE_HOME:        /docker-java-home/jre
isle-solr | Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar

I have not had a chance to access or test the build yet but just ran into this...

isle-fedora | Nov 17, 2017 7:25:57 PM org.apache.catalina.startup.Catalina start
isle-fedora | INFO: Server startup in 50626 ms
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

So is that just telling me that I have 60 seconds to access the running image before it times out?

from isle.

McFateM avatar McFateM commented on June 16, 2024

Tried some remedies based on discussions in this thread... docker/compose#3277, but haven't found a fix yet as you can see below.

ma7053:ISLE markmcfate$ ps -ef | grep httpd
    0   100     1   0  1:22PM ??         0:00.19 /usr/sbin/httpd -D FOREGROUND
   70   267   100   0  1:22PM ??         0:00.00 /usr/sbin/httpd -D FOREGROUND
  502   755   403   0  1:27PM ttys000    0:00.00 grep httpd
ma7053:ISLE markmcfate$ lsof -nP +c 15 | grep LISTEN
ARDAgent        431 markmcfate   10u     IPv6 0xbb63e5b95f58dd5b        0t0     TCP *:3283 (LISTEN)
Dropbox         575 markmcfate  128u     IPv6 0xbb63e5b95fa0581b        0t0     TCP *:17500 (LISTEN)
Dropbox         575 markmcfate  129u     IPv4 0xbb63e5b96528f6bb        0t0     TCP *:17500 (LISTEN)
Dropbox         575 markmcfate  161u     IPv4 0xbb63e5b96528e4cb        0t0     TCP 127.0.0.1:17600 (LISTEN)
Dropbox         575 markmcfate  166u     IPv4 0xbb63e5b9652911a3        0t0     TCP 127.0.0.1:17603 (LISTEN)
vpnkit          626 markmcfate   30u     IPv4 0xbb63e5b95fa274cb        0t0     TCP *:3306 (LISTEN)
vpnkit          626 markmcfate   31u     IPv6 0xbb63e5b95fa0bd5b        0t0     TCP [::1]:3306 (LISTEN)
vpnkit          626 markmcfate   32u     IPv4 0xbb63e5b96497ffb3        0t0     TCP *:8993 (LISTEN)
vpnkit          626 markmcfate   33u     IPv6 0xbb63e5b95fa05d5b        0t0     TCP [::1]:8993 (LISTEN)
vpnkit          626 markmcfate   34u     IPv4 0xbb63e5b9645bbbd3        0t0     TCP *:8091 (LISTEN)
vpnkit          626 markmcfate   35u     IPv6 0xbb63e5b9683f9d5b        0t0     TCP [::1]:8091 (LISTEN)
vpnkit          626 markmcfate   36u     IPv4 0xbb63e5b96497dbd3        0t0     TCP *:8080 (LISTEN)
vpnkit          626 markmcfate   37u     IPv6 0xbb63e5b9683f981b        0t0     TCP [::1]:8080 (LISTEN)
vpnkit          626 markmcfate   38u     IPv4 0xbb63e5b96592bfb3        0t0     TCP *:8777 (LISTEN)
vpnkit          626 markmcfate   39u     IPv6 0xbb63e5b9683fa29b        0t0     TCP [::1]:8777 (LISTEN)
ma7053:ISLE markmcfate$ pkill com.docker.slirp
ma7053:ISLE markmcfate$ docker-compose up 
isle-solr is up-to-date
isle-db is up-to-date
isle-fedora is up-to-date
Starting isle-web ... 
Starting isle-web ... error

ERROR: for isle-web  Cannot start service web: driver failed programming external connectivity on endpoint isle-web (38475561e68b84e16bd1727933e1b4a0899fce2433c9af8479bc86755fdbe5aa): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)

ERROR: for web  Cannot start service web: driver failed programming external connectivity on endpoint isle-web (38475561e68b84e16bd1727933e1b4a0899fce2433c9af8479bc86755fdbe5aa): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)
ERROR: Encountered errors while bringing up the project.
m

Also... I uninstalled Virtual Box from my Mac and rebooted, that was something mentioned early in the thread referenced above.

from isle.

McFateM avatar McFateM commented on June 16, 2024

Duh... I forgot to run the containers in the background (missing "-d"). Back at it and so far, so good so I believe I will close this issue, it is "resolved".

from isle.

lvhuichao avatar lvhuichao commented on June 16, 2024

thank u,it resolved my problem too.

from isle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.