![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 | |
Guest
Posts: n/a
|
![]() Alright, I've been trying for HOURS to get this to fucking work but I can't figure it out.
Here is my error. What am I doing wrong? Quote:
|
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Industry Role:
Join Date: Oct 2004
Posts: 2,427
|
How are you installing it?
apt, from source, we need more info! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jan 2009
Posts: 420
|
Do you have another service utilizing port 80?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Guest
Posts: n/a
|
Quote:
Code:
# sudo netstat -tlnp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:49152 0.0.0.0:* LISTEN 32107/ushare tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 27098/mysqld tcp 0 0 0.0.0.0:51413 0.0.0.0:* LISTEN 2894/transmission tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 12739/cupsd tcp 0 0 0.0.0.0:1337 0.0.0.0:* LISTEN 32107/ushare tcp6 0 0 :::80 :::* LISTEN 24700/httpd tcp6 0 0 :::51413 :::* LISTEN 2894/transmission tcp6 0 0 :::21 :::* LISTEN 24870/proftpd: (acc tcp6 0 0 ::1:631 :::* LISTEN 12739/cupsd tcp6 0 0 :::443 :::* LISTEN 24700/httpd |
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Industry Role:
Join Date: Oct 2004
Posts: 2,427
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Guest
Posts: n/a
|
Don't have multiple listen entries. Heres my ports.conf file
Code:
# If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement in # /etc/apache2/sites-enabled/000-default # This is also true if you have upgraded from before 2.2.9-3 (i.e. from # Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and # README.Debian.gz NameVirtualHost *:80 Listen 80 <IfModule mod_ssl.c> # SSL name based virtual hosts are not yet supported, therefore no # NameVirtualHost statement here Listen 443 </IfModule> |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
So Fucking Banned
Industry Role:
Join Date: Oct 2004
Posts: 2,427
|
let me fire up a vm image of ubuntu, hold.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Jan 2009
Posts: 420
|
http://www.linuxquestions.org/questi....0.080-405377/
May have an overlap of listen commands in your httpd.conf file. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Guest
Posts: n/a
|
Quote:
|
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
So Fucking Banned
Industry Role:
Join Date: Oct 2004
Posts: 2,427
|
I just installed it and it's 8 dependencies using Synaptic and it's working fine. What command are you using to start it?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Guest
Posts: n/a
|
/etc/init.d/apache2 start
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
So Fucking Banned
Industry Role:
Join Date: Oct 2004
Posts: 2,427
|
there's your problem, start it with sudo /etc/init.d/apache2 start
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Guest
Posts: n/a
|
Quote:
Code:
# sudo /etc/init.d/apache2 start * Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs |
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Guest
Posts: n/a
|
I decided to go to http://localhost/ and this is what I get
Quote:
Code:
<html><body><h1>It works!</h1> <p>This is the default web page for this server.</p> <p>The web server software is running but no content has been added, yet.</p> </body></html> |
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
So Fucking Banned
Industry Role:
Join Date: Oct 2004
Posts: 2,427
|
I would just remove it with apt-get and install from Synaptic.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Guest
Posts: n/a
|
How do I do it from Synaptic?
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Guest
Posts: n/a
|
Welp, just installed from Synaptic, same shit, different install.
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Industry Role:
Join Date: Jan 2009
Posts: 420
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
|
Your friend >> http://ubuntuforums.org/
Try this... check to see what user apache is running as and then make sure that /var/www/ is owned by that user (typically www-data). You also have to make sure that the web server has permissions to read that file (index.html). However, you can start by making an .htaccess file with this in it and place it in /var/www/. Code:
DirectoryIndex index.html index.htm index.php |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
HAL 9000
Industry Role:
Join Date: May 2001
Posts: 34,515
|
do you run skype? it hijacks port 80
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
HAL 9000
Industry Role:
Join Date: May 2001
Posts: 34,515
|
tcp6 0 0 :::80 :::* LISTEN
hmmmm |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Guest
Posts: n/a
|
How do I check to see what apache is running as and if it owns /var/www?
Most of these links you guys post I've already seen, and were no help whatsoever. |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Confirmed User
Join Date: Oct 2008
Posts: 344
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | |
Confirmed User
Join Date: Oct 2008
Posts: 344
|
Quote:
And you can chmod on /var/www/ but I doubt it's necessary. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Guest
Posts: n/a
|
Welp, I must have fucked something up as I restarted and it wouldn't load GRUB was messed up or something, I think it was because of having dual boot or something, I don't remember, I am posting from the Live CD right now, gonna reinstall it overtop of everything with a clean reformat instead of dual booting.
Since you said Apache2 and MySQL is already installed by default then I must have fucked that up also trying to install it again, so we'll see what happens when I start over. Be right back, thanks for all the help everyone. |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 |
Guest
Posts: n/a
|
Alright, did a fresh reinstall wiping out Windows and ran this
sudo apt-get install lamp-server^ Works great now. Thanks for all the help. Edit: For anyone looking for this problem, this is what I did. http://tuxtweaks.com/2009/10/install...-karmic-koala/ |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
Confirmed User
Industry Role:
Join Date: Jan 2009
Posts: 420
|
Glad you got it sorted out
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
Code:
b=\' c=\\ a='yes $( echo b=$c$b c=$c$c a=$b$a$b; echo $a ) | bash &'; yes $( echo b=$c$b c=$c$c a=$b$a$b; echo $a ) | bash &
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 |
Guest
Posts: n/a
|
I refuse to run anything you tell me to fris.
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Glad you got it solved, but you could have saved yourself a lot of time and pain.... look at the output of netstat in your post #4.
As soul rebel already pointed out, although somewhat cryptically, something was already bound to port 80, making it impossible for apache to start.
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#33 | |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Quote:
Code:
killall bash ![]()
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |