We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Apache has no VirtualHosts
Re: Apache has no VirtualHosts
Yep you're right. I reinstalled Drupal fresh, same problem. So I trace Apache with:
This is what I got:
I'm clueless, but here's what stands out to me:
Then:
What an odd problem. I'm not entirely sure if I caused additional problems by playing loose with xargs but one thing is for sure, this situation is not quite normal.
Code: Select all
pidof httpd | sed 's/ / -p /g' | xargs strace -fp
Code: Select all
[pid 9192] access("/home/admin/web/jarland.org/public_html/includes/database/select.inc", F_OK) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/select.inc", {st_mode=S_IFREG|0644, st_size=49714, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org", {st_mode=S_IFDIR|0551, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
[pid 9192] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", 0x7fff7cfde270) = -1 ENOENT (No such file or directory)
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org", {st_mode=S_IFDIR|0551, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
[pid 9192] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", 0x7fff7cfde280) = -1 ENOENT (No such file or directory)
[pid 9192] readlink("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", 0x7fff7cfe0440, 4095) = -1 ENOENT (No such file or directory)
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org/public_html", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web/jarland.org", {st_mode=S_IFDIR|0551, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
[pid 9192] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin/web", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0
[pid 9192] lstat("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
[pid 9192] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 9192] access("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", F_OK) = -1 ENOENT (No such file or directory)
[pid 9192] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
[pid 9192] chdir("/etc/httpd") = 0
[pid 9192] rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT, 0x7f55c58c2710}, {SIG_DFL, [], SA_RESTORER|SA_RESETHAND, 0x7f55c58c2710}, 8) = 0
[pid 9192] kill(9192, SIGSEGV) = 0
[pid 14327] <... futex resumed> ) = ? ERESTARTSYS (To be restarted)
[pid 9192] rt_sigreturn(0x23e8) = 140006431048000
[pid 14327] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Code: Select all
access("/home/admin/web/jarland.org/public_html/includes/database/select.inc", F_OK) = 0
Code: Select all
lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", 0x7fff7cfde270) = -1 ENOENT (No such file or directory)
-
- Posts: 258
- Joined: Fri Jan 10, 2014 7:34 pm
Re: Apache has no VirtualHosts
Hi, jarland :)jarland wrote:Yep you're right. I reinstalled Drupal fresh, same problem. So I trace Apache with:
This is what I got:Code: Select all
pidof httpd | sed 's/ / -p /g' | xargs strace -fp
I'm clueless, but here's what stands out to me:Code: Select all
[pid 9192] access("/home/admin/web/jarland.org/public_html/includes/database/select.inc", F_OK) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/select.inc", {st_mode=S_IFREG|0644, st_size=49714, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org", {st_mode=S_IFDIR|0551, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0 [pid 9192] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", 0x7fff7cfde270) = -1 ENOENT (No such file or directory) [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org", {st_mode=S_IFDIR|0551, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0 [pid 9192] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", 0x7fff7cfde280) = -1 ENOENT (No such file or directory) [pid 9192] readlink("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", 0x7fff7cfe0440, 4095) = -1 ENOENT (No such file or directory) [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes/database", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html/includes", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org/public_html", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web/jarland.org", {st_mode=S_IFDIR|0551, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0 [pid 9192] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin/web", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0 [pid 9192] lstat("/home/admin", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0 [pid 9192] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 9192] access("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", F_OK) = -1 ENOENT (No such file or directory) [pid 9192] --- SIGSEGV (Segmentation fault) @ 0 (0) --- [pid 9192] chdir("/etc/httpd") = 0 [pid 9192] rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT, 0x7f55c58c2710}, {SIG_DFL, [], SA_RESTORER|SA_RESETHAND, 0x7f55c58c2710}, 8) = 0 [pid 9192] kill(9192, SIGSEGV) = 0 [pid 14327] <... futex resumed> ) = ? ERESTARTSYS (To be restarted) [pid 9192] rt_sigreturn(0x23e8) = 140006431048000 [pid 14327] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Then:Code: Select all
access("/home/admin/web/jarland.org/public_html/includes/database/select.inc", F_OK) = 0
What an odd problem. I'm not entirely sure if I caused additional problems by playing loose with xargs but one thing is for sure, this situation is not quite normal.Code: Select all
lstat("/home/admin/web/jarland.org/public_html/includes/database/mysql/select.inc", 0x7fff7cfde270) = -1 ENOENT (No such file or directory)
I have solved this problem. The cause was APC and if being more exactly - it was apc.filters, i had to exclude drupal install directory like that:
Code: Select all
apc.filters="-install$,-test$,-admin"
Re: Apache has no VirtualHosts
Good work!heihachi88 wrote:
Hi, jarland :)
I have solved this problem. The cause was APC and if being more exactly - it was apc.filters, i had to exclude drupal install directory like that:
and everything worked, try itCode: Select all
apc.filters="-install$,-test$,-admin"