Apache start problem Under Sonoma (Mac M1) I get httpd error 256
Hello,
I want to Install a SSL webserver under Sonoma at my Mac. I install Homebrew and httpd at my Mac. I hate the console.
I change the listen to 80 and the document path.
at the console:
uwerasche@raschesserver ~ % brew services start httpd
==> Successfully started httpd (label: homebrew.mxcl.httpd)
uwerasche@raschesserver ~ % brew services list
Name Status User File
httpd started uwerasche ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist
No problem. In the httpd.conf I load only the module:
#Uwe:
LoadModule cache_socache_module lib/httpd/modules/mod_cache_socache.so
I get:
uwerasche@raschesserver ~ % brew services list
Name Status User File
httpd error 256 uwerasche ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist
In the next step:
uwerasche@raschesserver ~ % codesign --sign ${myName} --force --keychain ~/Library/Keychains/login.keychain-db /opt/homebrew/Cellar/httpd/2.4.58/lib/httpd/modules/mod_cache_socache.so
/opt/homebrew/Cellar/httpd/2.4.58/lib/httpd/modules/mod_cache_socache.so: replacing existing signature
uwerasche@raschesserver ~ % codesign -dv --verbose=4 "/opt/homebrew/Cellar/httpd/2.4.58/lib/httpd/modules/mod_cache_socache.so"
Executable=/opt/homebrew/Cellar/httpd/2.4.58/lib/httpd/modules/mod_cache_socache.so
Identifier=mod_cache_socache
Format=Mach-O thin (arm64)
CodeDirectory v=20400 size=757 flags=0x0(none) hashes=18+2 location=embedded
VersionPlatform=1
VersionMin=917504
VersionSDK=917504
Hash type=sha256 size=32
CandidateCDHash sha256=f0842d7ebafb5d389b207ce279659c219b107c22
CandidateCDHashFull sha256=f0842d7ebafb5d389b207ce279659c219b107c226d45dd47cf997ad818a3b3bb
Hash choices=sha256
CMSDigest=f0842d7ebafb5d389b207ce279659c219b107c226d45dd47cf997ad818a3b3bb
CMSDigestType=2
Executable Segment base=0
Executable Segment limit=32768
Executable Segment flags=0x0
Page size=4096
CDHash=f0842d7ebafb5d389b207ce279659c219b107c22
Signature size=8980
Authority=Developer ID Application: Rasche-Software (KH23P8U5C6)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=19. Nov 2023 at 10:18:15
Info.plist=not bound
TeamIdentifier=KH23P8U5C6
Sealed Resources=none
Internal requirements count=1 size=180
Now I get again the error:
uwerasche@raschesserver ~ % brew services start httpd
==> Successfully started httpd (label: homebrew.mxcl.httpd)
uwerasche@raschesserver ~ % brew services list
Name Status User File
httpd error 256 uwerasche ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist
What can I do ?
Best regards
Uwe
MacBook Pro 15″, OS X 10.11