[Bug]: Apache can not listen to 10.0.2.15:80 & 192.168.56.x:80 and consequently, does not start
Maintainer thường phản hồi trong vòng 6 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, linux
- Lĩnh vực
- networking
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C
- Star
- 1.4k
- Fork
- 219
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của VirtualBox/virtualbox
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
VirtualBox/virtualbox#979 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
[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)Có thể đã có người làm @Berbe đã nhận 11 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
VirtualBox/virtualbox#918 · 9 bình luận ·
Maintainer thường phản hồi trong vòng 6 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 12/100
VirtualBox/virtualbox#981 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 8/100
VirtualBox/virtualbox#980 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
VirtualBox/virtualbox#977 ·
Maintainer thường phản hồi trong vòng 6 ngày
Tất cả issue của VirtualBox/virtualbox
Issue tương tự
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Status: Opened
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Status: Opened
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
FriendsofECCE/ECCE#1018 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
immortalwrt/immortalwrt#2522 ·