Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i installed apache by unzipping it,
-running ./config --prefix=/usr/local/apache
-typing "make" as root then "make install" as root,
-did "chown -R shawn /usr/local/apache" (to make damn sure i can use it)
-changed the document root in BOTH places in httpd.conf to /usr/local/apache/realdocs
-did the command "chmod -R 755 /usr/local/apache/realdocs" (to make damn sure it can be read)
-did the command "./httpd start" while in the apache/bin folder
i run a server with dns2go (d2g.com) so i ran that program, when i "ping shawnserver.d2g.com" in console it DOES ping my IP so i know that works. i type shawnserver.d2g.com in the URL bar of Mozilla and it tells me the connection was actively refused. i type 'localhost' as the URL and it refuses....... why? i ran a website on Linux before and it didn't give me problems like this , same distro of Linux even....
ok, /usr/local/apache is NOT listed in that ps aux list
the firewall is set to standard, this is the same distribution with the same security settings i had before so that shouldn't be an issue (i say shouldn't, not isn't because i'm not sure)
the output of ./httpd start is that it nothing. after you type in that command and hit enter, the display line shows [shawn@shawnserver bin]$
netstat -at did not list port 80 as being used
here is what the log says: (date) means just the date, it doesn't actually say (date)
[(date)] [crit] (13)Permission denied: make_sock: could not bind to port 80
i ran it as root and it works now for some reason....that is whack. i'm pretty sure that last time i was running it was shawn and not root. the only thing i NEED to run as root is dns2go
When you .configure Apache as non-root, apache sets your default port to 8080 (it assumes you are running as non-root, and would therefore be unable to bind to port 80), edit your conf file, find the port and Listen directives, and change from 8080 to 80.
/usr/local/apache won't be listed in ps aux as it's not a program, it's a directory.... ps shows running programs, where apaches actaul executable daemon is httpsd
Originally posted by rverlander its supposted to be ./apachectl start not ./httpd start
really? as root i ran ./httpd start and it worked beautifully and PHP even worxed
as soon as i get MySQL to work (i have no clue what i'm doin), i can run my forum on the Linux puter
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.