need some help

 
Post new topic   Reply to topic    Aprelium Forum Index -> Networking Issues
View previous topic :: View next topic  
Author Message
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Fri May 07, 2004 4:23 pm    Post subject: need some help Reply with quote

I wanted to try out linux but when i went to install Abyss it keeps saying that there is something using port 80. Can you help me out.


Steve
Back to top View user's profile Send private message Send e-mail
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Fri May 07, 2004 4:51 pm    Post subject: Reply with quote

If you've just installed a Linux distribution off a CD you probably installed Apache server too. Run Abyss on a different port. You could have just done http://127.0.0.1 in your browser to see what was running on the machine...
Back to top View user's profile Send private message
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Fri May 07, 2004 11:36 pm    Post subject: Reply with quote

I tried 127.0.0.1 and it says refused connection and yes I did just install linux from the cd for the frist time.
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat May 08, 2004 12:13 am    Post subject: Reply with quote

What distribution are you using?
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Sat May 08, 2004 1:58 am    Post subject: Reply with quote

red hat 9.0
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat May 08, 2004 4:06 am    Post subject: Reply with quote

Well I've been trying to remember how for hours, but I can't remember how to list all running daemons. If you know how, I would suggest doing it and looking for Apache.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Sat May 08, 2004 8:57 am    Post subject: Reply with quote

nmap localhost
to check what ports are open on your machine

ps aux
to list all processes

ps aux | grep -i "apache"
to list all processes and show only apache

Going online with most unpatched unupdated linux distros is just as bad as going online with Windows without any security patches. Make sure you're up to date if you have a direct connection to the net (rather than protected by a router/firewall)
Back to top View user's profile Send private message
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Sat May 08, 2004 6:42 pm    Post subject: Reply with quote

ok I run some test and here is what i got

[root@localhost root]# ps aux | grep -i "apache"
root 10591 0.0 0.1 3584 644 pts/0 S 09:10 0:00 grep -i apache

I tried to kill apache but it did not work

[root@localhost root]# kill apache
bash: kill: apache: no such pid

Then I tried to look at the ports but it says that nothing is running on port 80

[root@localhost root]# lsof -nP | grep LISTEN
portmap 4290 rpc 4u IPv4 3761 TCP *:111 (LISTEN)
rpc.statd 4309 rpcuser 6u IPv4 3828 TCP *:32768 (LISTEN)
spamd 4484 root 4u IPv4 4344 TCP 127.0.0.1:783 (LISTEN)
cupsd 6644 root 0u IPv4 69373 TCP 127.0.0.1:631 (LISTEN)
sshd 6775 root 3u IPv4 70081 TCP *:22 (LISTEN)
sendmail 6849 root 4u IPv4 70227 TCP 127.0.0.1:25 (LISTEN)
xinetd 6907 root 5u IPv4 70311 TCP 127.0.0.1:35610 (LISTEN)
abyssws 7859 steve 6u IPv4 139302 TCP *:8000 (LISTEN)
abyssws 7859 steve 7u IPv4 139303 TCP *:9999 (LISTEN)
smbd 8323 root 9u IPv4 178536 TCP *:139 (LISTEN)
X 10438 root 1u IPv4 259728 TCP *:6000 (LISTEN)
fam 10525 root 0u IPv4 70311 TCP 127.0.0.1:35610 (LISTEN)
fam 10525 root 1u IPv4 70311 TCP 127.0.0.1:35610 (LISTEN)
fam 10525 root 2u IPv4 70311 TCP 127.0.0.1:35610
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat May 08, 2004 6:56 pm    Post subject: Reply with quote

Just try changing the setting in Abyss one more time. Also, try killing abyssws and restarting it.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
eznetlinks
-


Joined: 27 Sep 2003
Posts: 144

PostPosted: Sat May 08, 2004 8:41 pm    Post subject: Reply with quote

I had a similar experience with Red Hat. It was the free version so i figured port 80 was blocked by Red Hat to encourage the purchase of the full version.I reinstalled with no server services and had the same result. Additionally i was not allowed access to usr/bin so i could not install JRE or Flash or any other program reiquiring to be in that folder.

Is your version of Red Hat the free version?
Can you install JRE and Flash?
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat May 08, 2004 9:13 pm    Post subject: Reply with quote

Steve0101 wrote:
yes I did just install linux from the cd for the frist time.

Sounds like it is the paid version.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Sat May 08, 2004 9:32 pm    Post subject: Reply with quote

no it is not the free version
Back to top View user's profile Send private message Send e-mail
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Sat May 08, 2004 9:32 pm    Post subject: Reply with quote

sorry yes it is the free version
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat May 08, 2004 9:39 pm    Post subject: Reply with quote

Did you buy this CD, or did you download the ISO and burn it?

EDIT: Oh, and you can use the edit button on the top instead of making a new post. Just a suggesstion...
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Sat May 08, 2004 9:58 pm    Post subject: Reply with quote

I download the iso and burned it to a cd
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat May 08, 2004 10:05 pm    Post subject: Reply with quote

Ok, so try doing what eznetlinks said.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Sun May 09, 2004 12:05 am    Post subject: Reply with quote

Steve0101 wrote:
ok I run some test and here is what i got

[root@localhost root]# ps aux | grep -i "apache"
root 10591 0.0 0.1 3584 644 pts/0 S 09:10 0:00 grep -i apache

I tried to kill apache but it did not work


There is no Apache process running - that listing only shows that the grep task is running. If Apache had been running it would have showed as a second entry in that list. Hence not being able to kill it.

Quote:

Then I tried to look at the ports but it says that nothing is running on port 80


... And the result of nmaping localhost was ? If you've been connecting to the net with an out of the box Redhat install and you're not behind a router I wouldn't be suprise if you've already been rooted! :o

Inanimate, perhaps if you have nothing useful to add you could avoid spamming your way through every thread to allow them to be more easily read...
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 09, 2004 12:18 am    Post subject: Reply with quote

eznetlinks wrote:
I had a similar experience with Red Hat. It was the free version so i figured port 80 was blocked by Red Hat to encourage the purchase of the full version.I reinstalled with no server services and had the same result. Additionally i was not allowed access to usr/bin so i could not install JRE or Flash or any other program reiquiring to be in that folder.

Is your version of Red Hat the free version?
Can you install JRE and Flash?

+
Steve0101 wrote:
no it is not the free version

Steve0101 wrote:
sorry yes it is the free version

Showing uncertainty
+
iNaNimAtE wrote:
Did you buy this CD, or did you download the ISO and burn it?

+
Steve0101 wrote:
I download the iso and burned it to a cd

= Clarification

When troubleshooting, it is necessary to incorporate all possible solutions.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Sun May 09, 2004 12:20 am    Post subject: Reply with quote

There's no need to clarify when someone has already corrected themselves. Adding posts to a thread that just say "Do what <blah> said" doesn't make them any easier to read or any less confusing for the original poster.
Back to top View user's profile Send private message
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Sun May 09, 2004 1:04 am    Post subject: Reply with quote

I am trying my best here I have been useing windows for 7 years so this is all new to me. and not very easy.

What other linux version out there that is easy to use. other then Red Hat?

And yes I can install flash
Back to top View user's profile Send private message Send e-mail
eznetlinks
-


Joined: 27 Sep 2003
Posts: 144

PostPosted: Sun May 09, 2004 1:15 am    Post subject: Reply with quote

From what i understand Debian and suse are very good. I am interested in changing to linux also. I haven't tried either version so i cannot give my opinion. However i would be interested in yours if you try them.

http://www.suse.com/
http://www.debian.org/
Back to top View user's profile Send private message Visit poster's website
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Sun May 09, 2004 1:26 am    Post subject: Reply with quote

Mandrake is a nice beginners distribution.

http://www.distrowatch.com/dwres.php?resource=review-mandrake

However, if you're unsure about using Linux and just want to get used to it, why not try a live CD distribution - this basically means you can run Linux from the CD without installing anything on your HD. Knoppix has very good hardware support and is a good introduction to using Linux. If you like it, you can also install it on your HD.

http://www.knopper.net/knoppix/index-en.html

If you still want to solve your redhat problem, please try typing

nmap localhost

at the root prompt as I suggested and showing the output. It would be unusual for any other webserver than Apache to be running by default on mainstream Linux distro. If you want to stick with Redhat I'll download a copy myself and test this problem in VMWare.

Alternatively, try Mandrake, Suse, Debian or browse DistroWatch and see what takes your fancy...

http://www.distrowatch.com
Back to top View user's profile Send private message
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Sun May 09, 2004 2:03 am    Post subject: Reply with quote

I am going to give Mandrake a try it looks alot nicer to use

I ran nmap localhost

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1594 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
25/tcp open smtp
111/tcp open sunrpc
139/tcp open netbios-ssn
631/tcp open ipp
783/tcp open hp-alarm-mgr
6000/tcp open X11

Nmap run completed -- 1 IP address (1 host up) scanned in 1 second
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 09, 2004 2:13 am    Post subject: Reply with quote

When you install it, and it prompts for disc 4, just hit cancel.

Taken from LinuxISO.org:
Quote:
Also, the 10.0 installer will ask for disk 4. The fourth disk is a bonus disk for club members and contributors to the distribution. It is not required to complete the installation, and you can safely hit Cancel when it asks for disk 4.

_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun May 09, 2004 1:42 pm    Post subject: Re: need some help Reply with quote

Steve0101,

Please read http://www.aprelium.com/data/abyssws-x1-linux-doc-html/portsproblems.html (or Appendix E in the manual of Abyss) for more information about how to use port 80.
You can't use port 80 if another program is already using it (usually another web server). You can't also use it if you're running Abyss as a normal user. On UNIX systems, only the root user can access ports < 1024.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Steve0101
-


Joined: 13 Nov 2003
Posts: 28

PostPosted: Sun May 09, 2004 3:15 pm    Post subject: Reply with quote

that is what i did wrong I installed it on my user not the root

thanks
Back to top View user's profile Send private message Send e-mail
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Sun May 09, 2004 5:23 pm    Post subject: Reply with quote

we have a winner.

must always be root to do anything.
_________________
living in an armish paradise.....no gates here!

mawuahahaha :)
Back to top View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Sun May 09, 2004 6:21 pm    Post subject: Reply with quote

Heh, the other commands cut and pasted in were root@localhost so I assumed you were using the same account to setup Abyss... Doh!
Back to top View user's profile Send private message
eznetlinks
-


Joined: 27 Sep 2003
Posts: 144

PostPosted: Sun May 09, 2004 9:06 pm    Post subject: Reply with quote

What does that mean?

super-user root

The user has not the privilege to use the port: Due to the operating system policy, only the applications launched by the super-user root can use ports ranging from 1 to 1023. If you run Abyss Web Server as a normal user, you cannot use any port below 1024.
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 09, 2004 10:14 pm    Post subject: Reply with quote

Well "root" means user who has full and unrestricted access. "Super-user root" seems sort of redundant, as there is no "limited root." The excerpt you put just meant you can't run a program that uses a port below 1024 as a normal user.

Root is to *nix as administrator is to Windows.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed May 12, 2004 12:54 pm    Post subject: Reply with quote

[quote]super-user root[quote] may sound redundant but many people that don't know the UNIX jargon won't understand root if put alone in the sentence. That's why we added super-user to help them understand that we're speaking of the users (last year, someone sent us a similar question to support@aprelium.com and he was thinking that root was referring the root of the file system.)
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
eznetlinks
-


Joined: 27 Sep 2003
Posts: 144

PostPosted: Wed May 12, 2004 1:00 pm    Post subject: Reply with quote

Thanks, that helped. I didn't know i could log in with root as my username and my password.
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Networking Issues All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group