I've just installed port and have installed apache2. Unfortunately, it doesn't seem to work when I try to connect to it (127.0.0.1 gives a "can't connect" message). I think it's running since I have a process: /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/et........ And I can't really figure out where the config files etc are for the installation (I'm used to a standard linux installation), etc. So my question is: where do I find documentation of the different ports, for example where conf files are stored? -- Jan Erik Moström, www.mostrom.pp.se
Jan Erik Moström wrote:
I've just installed port and have installed apache2. Unfortunately, it doesn't seem to work when I try to connect to it (127.0.0.1 gives a "can't connect" message).
I think it's running since I have a process: /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/et........
And I can't really figure out where the config files etc are for the installation (I'm used to a standard linux installation), etc.
So my question is: where do I find documentation of the different ports, for example where conf files are stored?
Are you running the OSX-installed Apache as well? (Check the Preferences application, under sharing.) That would cause a conflict. ---- Kevin Walzer PortAuthority: The GUI for MacPorts http://www.codebykevin.com/portauthority.html
Jan Erik Moström <lists@mostrom.pp.se> on Wednesday, July 18, 2007 at 8:29 AM -0800 wrote:
I've just installed port and have installed apache2. Unfortunately, it doesn't seem to work when I try to connect to it (127.0.0.1 gives a "can't connect" message).
I think it's running since I have a process: /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/et........
And I can't really figure out where the config files etc are for the installation (I'm used to a standard linux installation), etc.
So my question is: where do I find documentation of the different ports, for example where conf files are stored?
'port installed' will tell you where all files are stored. See if this helps: http://homepage.mac.com/duling/halfdozen/NeDi-Howto.html#d0e152 You may ignore the parts about PHP if you don't need it. Mark
On 18 Jul, 2007, at 11:29, Jan Erik Moström wrote:
I've just installed port and have installed apache2. Unfortunately, it doesn't seem to work when I try to connect to it (127.0.0.1 gives a "can't connect" message).
I think it's running since I have a process: /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/ et........
The daemondo process wraps other processes on 10.4 to adapt to programs that aren't written for launchd. Its presence doesn't mean that the thing it wraps is running, so if you don't see the actual process, it isn't. If I recall, httpd has an argument meaning "check the configuration files". If you try to run it with some completely bogus arguments, I'm sure it will give you a "usage" statement that will tell you what it is.
And I can't really figure out where the config files etc are for the installation (I'm used to a standard linux installation), etc.
So my question is: where do I find documentation of the different ports, for example where conf files are stored?
`port contents apache2` lists all of apache2's files. Probably, there's a "httpd.conf.sample" in /opt/local/apache2/conf or something like that that will need to be copied to "httpd.conf", but I don't have the port to check. Chris
Chris Pickel <sfiera@macports.org> 07-07-18 12:14
he daemondo process wraps other processes on 10.4 to adapt to programs that aren't written for launchd. Its presence doesn't mean that the thing it wraps is running, so if you don't see the actual process, it isn't.
Ahhh, thanks. Then it's not running since I didn't find the config file and couldn't fix the configuration (I've been looking for a directory that contained the 'mods-available', 'mods-enabled', 'sites-available' and 'sites-enabled' directories but it looks like the macports version is setup differently) jem -- Jan Erik Moström, www.mostrom.pp.se
Hi Jan Erik In Terminal, run the command top to chek if httpd is running. You may also try httpd -V To start apache 2 type /opt/local/apache2/bin/apachectl start The config files are in /opt/local/apache2/conf/ Hilsen, Diego On 18. jul. 2007, at 17.29, Jan Erik Moström wrote:
I've just installed port and have installed apache2. Unfortunately, it doesn't seem to work when I try to connect to it (127.0.0.1 gives a "can't connect" message).
I think it's running since I have a process: /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/ et........
And I can't really figure out where the config files etc are for the installation (I'm used to a standard linux installation), etc.
So my question is: where do I find documentation of the different ports, for example where conf files are stored? -- Jan Erik Moström, www.mostrom.pp.se
On Jul 18, 2007, at 11:14, Chris Pickel wrote:
On 18 Jul, 2007, at 11:29, Jan Erik Moström wrote:
I've just installed port and have installed apache2. Unfortunately, it doesn't seem to work when I try to connect to it (127.0.0.1 gives a "can't connect" message).
I think it's running since I have a process: /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/ et........
The daemondo process wraps other processes on 10.4 to adapt to programs that aren't written for launchd. Its presence doesn't mean that the thing it wraps is running, so if you don't see the actual process, it isn't.
If I recall, httpd has an argument meaning "check the configuration files". If you try to run it with some completely bogus arguments, I'm sure it will give you a "usage" statement that will tell you what it is.
That's: /opt/local/apache2/bin/apachectl configtest
And I can't really figure out where the config files etc are for the installation (I'm used to a standard linux installation), etc.
So my question is: where do I find documentation of the different ports, for example where conf files are stored?
`port contents apache2` lists all of apache2's files. Probably, there's a "httpd.conf.sample" in /opt/local/apache2/conf or something like that that will need to be copied to "httpd.conf", but I don't have the port to check.
Exactly right.
participants (6)
-
Chris Pickel
-
Diego Valle
-
Jan Erik Moströ m
-
Kevin Walzer
-
markd@macports.org
-
Ryan Schmidt