[MacPorts] #36101: apache2 @2.2.22_2 startup item

MacPorts noreply at macports.org
Thu Jun 22 16:02:33 UTC 2023


#36101: apache2 @2.2.22_2 startup item
----------------------+--------------------------
  Reporter:  grrr@…   |      Owner:  ryandesign
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.1.2
Resolution:           |   Keywords:  mountainlion
      Port:  apache2  |
----------------------+--------------------------

Comment (by yugaego):

 I've got a similar case: `httpd` process is launched fine on `sudo port
 load apache2`, but doesn't start after reboot. No of the listed here,
 linked, or other numerous attempted workarounds fixed the issue.

 This happens on //Ventura 13.4//, Server version: //Apache/2.4.57//
 (Unix), Server built:   Apr  6 2023 23:30:38.

 Investigation showed only one particular point of interest so far:
 //system/org.macports.apache2// isn't mentioned in //launchd.log// on
 startup at all, whilst other services get such notices:
 {{{
 (system) <Notice>: Bootstrap by smd[89] for
 /Library/LaunchDaemons/org.macports.mysql8-server.plist succeeded (0: )
 }}}

 Adding a custom plist that starts `httpd` directly, without `daemondo`,
 works fine:
 {{{#!xml
   <?xml version='1.0' encoding='UTF-8'?>
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
 "http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
 <plist version='1.0'>
 <dict>
 <key>Label</key><string>local.org.macports.apache2</string>
 <key>ProgramArguments</key>
 <array>
 <string>/opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper</string>
         <string>start</string>
 </array>
 <key>RunAtLoad</key><true/>
 </dict>
 </plist>
   }}}

 Any idea what could be done to further troubleshoot the issue?

 If the issue might be connected to `daemondo`, should I file a bug report
 some other place maybe?

-- 
Ticket URL: <https://trac.macports.org/ticket/36101#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list