Op 21-04-2020 om 20:12 schreef Carlos E. R.:
On 21/04/2020 20.03, Knurpht-openSUSE wrote:
Op dinsdag 21 april 2020 19:54:45 CEST schreef Carlos E. R.:
Problem is, the message says line one but not what file :-/
I would inspect every such file in your system:
locate php | grep /srv
Eh .........
knurpht@salt:~> locate php | grep srv | wc -l 186735 knurpht@salt:~>
Heh :-}
If you have a better idea ;-)
Start with the first file of each directory.
Huh, "/srv" better than "srv"
Hmm - locate php | grep /srv | wc -l 12116 is not that much less than locate php | grep srv | wc -l 12136 My numbers are some 15 times below that of Knurpht, but still to high to inspect each file manually, I would say.
Other than that, I can suggest another mass weapon: strace or ltrace the entire apache startup, and find what file it is reading when it bails out.
Good idea, seems to me! Never user strace, but after a quick google I started strace -f -o /tmp/strace.log -s 2048 -p 1 & systemctl start apache2 which logfile at line 20138 issued 87768 openat(AT_FDCWD, "/usr/lib64/php7/extensions/zlib.so", O_RDONLY|O_CLOEXEC) = 10 87768 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pF\0\0\0\0\0\0@\0\0\0\0\0\0\0 \325\0\0\0\0\0\0\0\0\0\0@\08\0\t\0@\0\34\0\33\0\1\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 7\0\0\0\0\0\0 7\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0aT\0\0\0\0\0\0aT\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0\240\0\0\0\0\0\0\0\240\0\0\0\0\0\0\0\240\0\0\0\0\0\0P\35\0\0\0\0\0\0P\35\0\0\0\0\0\0\0\20\0\0\0\0\0\0\1\0\0\0\6\0\0\0\360\276\0\0\0\0\0\0\360\316\0\0\0\0\0\0\360\316\0\0\0\0\0\0\30\25\0\0\0\0\0\0\240\25\0\0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0\0\0\0\0\0\37\0\0\0004\0\0\0\0\0\0\0", 832) = 832 87768 fstat(10, {st_mode=S_IFREG|0755, st_size=56352, ...}) = 0 87768 mmap(NULL, 58512, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x7f0e538f4000 87768 mmap(0x7f0e538f8000, 24576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x4000) = 0x7f0e538f8000 87768 mmap(0x7f0e538fe000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0xa000) = 0x7f0e538fe000 87768 mmap(0x7f0e53900000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0xb000) = 0x7f0e53900000 87768 close(10) = 0 87768 mprotect(0x7f0e53900000, 8192, PROT_READ) = 0 87768 futex(0x7f0e5715cd58, FUTEX_WAKE_PRIVATE, 2147483647) = 0 87768 write(2, "PHP Fatal error: Unable to start pcre module in Unknown on line 0\n", 67) = 67 so I would think zlib.so is the offending item. I commented out "extension=zlib.so" in /etc/php7/conf.d/zlib.ini to disable use of zlib by PHP, but that gies no solution. I'll keep on digging, but I'm open for any new ideas! Thanks so far! regards, Jogchum -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org