LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2005, 12:54 PM   #1
badboyz2525
LQ Newbie
 
Registered: Jul 2003
Location: utah
Distribution: debian
Posts: 6

Rep: Reputation: 0
Ports


I have been trying to run sambar http server on dsl. I can unpack the tar.gz fine and everything seems to be good. when I try to start the server it loads everything but does not start.
the log files show that it cannot bind to port 80 because it is in use by another program. I no that dsl has monkey installed on it and it is turned off. if i run nmap it says only port 86 is in use.

how do i open / shut ports I'v searched all the fourms and come up blank.

thanks Mark
 
Old 12-19-2005, 06:04 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Which user do you try to run it as? Low ports (1024 and below) require root permissions (your server can then drop the extra ones and run as specific user).
 
Old 12-19-2005, 08:02 PM   #3
badboyz2525
LQ Newbie
 
Registered: Jul 2003
Location: utah
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
ports

i belive i'm logged in as root in dsl you enter sudo before the comand

when i excute sambar my log shows this:


mdisk/home/dsl/sambar62plinux/messages/nl_nl/messages.ini)
[2005-12-19 17:18:55] INFO: Common Library loading messages for locale 'en_us' (/ramdisk/home/dsl/sambar62plinux/messages/en_us/messages.ini)
[2005-12-19 17:18:55] INFO: Common library initalized...
[2005-12-19 17:18:55] INFO: Network IP Address is 127.0.0.1
[2005-12-19 17:18:55] INFO: Server SLB identifier is 1
[2005-12-19 17:18:55] ERROR: Unable to bind to port 80; the port is in use by another server.
[2005-12-19 17:18:55] ERROR: Failure starting the HTTP listener...
[2005-12-19 17:18:55] INFO: CRON Scheduler signaled to shutdown...
[2005-12-19 17:18:55] INFO: Waiting for 0 active threads to terminate...
[2005-12-19 17:18:55] INFO: Closing with NO OPEN THREADS...
[2005-12-19 17:18:55] INFO: Closing with 0 open connections...
[2005-12-19 17:18:56] INFO: Server library exited...
[2005-12-19 17:18:56] INFO: Common library exited...


Maybe I'm going about this wrong, how do i find what is running and how do i stop it.dsl has very limited apps installed with it.
 
Old 12-20-2005, 04:15 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
To see what's listening use:
netstat -l
What does it show?
 
Old 12-20-2005, 08:12 PM   #5
badboyz2525
LQ Newbie
 
Registered: Jul 2003
Location: utah
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
Active Internet connections (only servers)
proto Recv-q SEND-Q LOCAL ADDRESS FOREIGN ADDRESS STATE
ACTIVE UNIX DOMAIN SOCKETS (ONLY SERVERS)
proto refcnt flags type state i-node path
unix 2 [acc] STREAM LISTENING 3651 /temp/.x11-unix/xo
end of output
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 03:03 AM
need help with ports alagenchev Linux - Security 5 10-22-2005 08:29 PM
ports firebug1 Slackware 3 09-22-2005 08:53 PM
io ports flex Linux - General 1 12-15-2001 11:47 AM
Ports dilberim82 Linux - Security 2 06-20-2001 09:23 AM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration