Changes between Initial Version and Version 1 of Ticket #60239


Ignore:
Timestamp:
Mar 25, 2020, 4:54:29 PM (4 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The apache2 port does install the file /Library/LaunchDaemons/org.macports.apache2.plist, unless you have configured MacPorts not to install such plists.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60239

    • Property Type changed from request to defect
    • Property Port apache2 added
  • 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 apache2 fails at:
    4 :error:load Failed to load apache2: Launchd plist /Library/LaunchDaemons/org.mac
    5 ports.apache2.plist was not found
     1Thanks for the MacPorts project! I've successfully got my apache 2.4 running on an old PowerPC serving several sites. \\
     2But 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
    66: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
    119:debug:load     while executing
    1210:debug:load "portstartupitem::foreach_startupitem {
    1311:debug:load         if {(![info exists ::portstartupitem::load_only] || $si_name
    1412 in ${::portstartupitem::load_only})
     13}}}
    1514
    16 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.
     15So 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.
    1716
    1817I attempted to run
     18{{{
    1919sudo port startupitem.create
     20}}}
    2021but that failed as expected.
    2122
    22 My question is how to instantiate this plist without reinstalling apache2?
     23My question is how to instantiate this plist without reinstalling apache2? \\
    2324thx, sam