Changes between Initial Version and Version 1 of Ticket #60239
- Timestamp:
- Mar 25, 2020, 4:54:29 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60239
-
Property
Type
changed from
request
todefect
- Property Port apache2 added
-
Property
Type
changed from
-
Ticket #60239 – Description
initial v1 1 Thanks for the MacPorts project! I've successfully got my apache 2.4 running on an old PowerPC serving several sites. 2 But whenever this is a power failure, I've always had to manually start apache. I can see in /Library/LaunchDaemons/ other port start plist files but not apache. 3 sudo port load apache2fails at:4 :error:load Failed to load apache2: Launchd plist /Library/LaunchDaemons/org.mac 5 ports.apache2.plist was not found1 Thanks for the MacPorts project! I've successfully got my apache 2.4 running on an old PowerPC serving several sites. \\ 2 But whenever this is a power failure, I've always had to manually start apache. I can see in /Library/LaunchDaemons/ other port start plist files but not apache. \\ 3 `sudo port load apache2` fails at: 4 {{{ 5 :error:load Failed to load apache2: Launchd plist /Library/LaunchDaemons/org.macports.apache2.plist was not found 6 6 :debug:load Error code: NONE 7 :debug:load Backtrace: Launchd plist /Library/LaunchDaemons/org.macports.apache2 8 .plist was not found 9 :debug:load Backtrace: Launchd plist /Library/LaunchDaemons/org.macports.apache2 10 .plist was not found 7 :debug:load Backtrace: Launchd plist /Library/LaunchDaemons/org.macports.apache2.plist was not found 8 :debug:load Backtrace: Launchd plist /Library/LaunchDaemons/org.macports.apache2.plist was not found 11 9 :debug:load while executing 12 10 :debug:load "portstartupitem::foreach_startupitem { 13 11 :debug:load if {(![info exists ::portstartupitem::load_only] || $si_name 14 12 in ${::portstartupitem::load_only}) 13 }}} 15 14 16 So it would appear that info exists::portstartupitem::load_onlyexists since it expects it's already instantiated. I thought I could find in your GitHub repo this file, but reading https://guide.macports.org/chunked/reference.startupitems.html suggests this is created when apache2 was installed.15 So it would appear that `info exists::portstartupitem::load_only` exists since it expects it's already instantiated. I thought I could find in your GitHub repo this file, but reading https://guide.macports.org/chunked/reference.startupitems.html suggests this is created when apache2 was installed. 17 16 18 17 I attempted to run 18 {{{ 19 19 sudo port startupitem.create 20 }}} 20 21 but that failed as expected. 21 22 22 My question is how to instantiate this plist without reinstalling apache2? 23 My question is how to instantiate this plist without reinstalling apache2? \\ 23 24 thx, sam