[Bug]: Apache can not listen to 10.0.2.15:80 & 192.168.56.x:80 and consequently, does not start
Mantenedores costumam responder em até 6 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 42/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- c, linux
- Domínio
- networking
Direção de pesquisa
Start with the Network component and the attached configuration files to understand how VirtualBox initializes the 10.0.2.x and 192.168.56.x networks. Check whether their startup timing can leave the specific guest IPs unavailable when Apache starts. Done means reproducing the issue and identifying whether VirtualBox network initialization causes it; the report currently gives a workaround, not a confirmed cause.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Version
VirtualBox 7.2.22
Host OS Type
Windows
Host OS name + version
Windows 11 Pro 25H2
Host Architecture
x86
Guest OS Type
Linux
Guest Architecture
x86
Guest OS name + version
Alma Linux 9.7
Component
Network
What happened?
When I configure my Apache settings to listen to specific IPs, belonged to VirtualBox networks, it can not start. However, if i do not specify the IP, but only a port number, the problem does not occur. Example:
Listen 10.0.2.15:80 .............................. Apache does not start
Listen 192.168.56.39:80 .................... Apache does not start
Listen 80 ............................................... Apache starts
How can we reproduce this?
MY CONFIGURATION FILES: see attached
POSSIBLE PROBLEM: the VirtualBox networks 10.0.2.x and 192.168.56.x are taking too much time to initialize and Apache initializes before them.
SOLUTION: delay the Apache initialization as follow:
-
Execute in terminal the following command:
systemctl edit httpd -
Add to the configuration file the following lines:
[Service]
ExecStartPre=/bin/sleep 1 -
Save the file and execute the command:
systemctl daemon-reload -
Restart the machine. Apache now will start without problems.
Comments about the solution:
It delays the loading of Apache to allow time for the VirtualBox networks to initialize BEFORE it.
Minimum experimental value for the sleep parameter: 0.12
Did you upload all of your necessary log files, screenshots, etc.?
- Yes, I've uploaded all pertinent files to this issue.
- Linguagem predominante
- C
- Estrelas
- 1.4k
- Forks
- 219
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de VirtualBox/virtualbox
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
VirtualBox/virtualbox#979 ·
Mantenedores costumam responder em até 6 dias
-
[Bug]: Guest Additions 7.2.20 vboxvideo fails to build on Linux kernel 6.12.113 (drm_fb_helper_restore_fbdev_mode_unlocked: too few arguments)Talvez já em andamento @Berbe assumiu há 11 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
VirtualBox/virtualbox#918 · 9 comentários ·
Mantenedores costumam responder em até 6 dias
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 12/100
VirtualBox/virtualbox#981 ·
Mantenedores costumam responder em até 6 dias
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 8/100
VirtualBox/virtualbox#980 ·
Mantenedores costumam responder em até 6 dias
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 18/100
VirtualBox/virtualbox#977 ·
Mantenedores costumam responder em até 6 dias
Todas as issues de VirtualBox/virtualbox
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
ROCm/rocm-libraries#15866 ·
Mantenedores costumam responder em até 2 dias
-
[Qt] Fix QString conversion for game name in game_list_actions.cppTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 1 dia
-
bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
Status: Opened
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
-
Status: Opened
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
Mantenedores costumam responder em até 1 dia