Networking Forums

Networking Forums > Computer Networking > Linux Networking > address bind...

Reply
Thread Tools Display Modes

address bind...

 
 
Ming-Chuan Huang
Guest
Posts: n/a

 
      03-22-2006, 12:32 PM
Hi, all

I encounter a problem. I need to restart my web server in CGI code.
I had tried execvl() or system() to invoke web server but the port address
had been blocked by itself. I just can restart WEB server by another
port. Does anyone have idea to solve this problem???

--
 
Reply With Quote
 
 
 
 
Giovanni
Guest
Posts: n/a

 
      03-22-2006, 01:53 PM
Ming-Chuan Huang wrote:
> Hi, all
>
> I encounter a problem. I need to restart my web server in CGI code.
> I had tried execvl() or system() to invoke web server but the port address
> had been blocked by itself. I just can restart WEB server by another
> port. Does anyone have idea to solve this problem???
>


Assuning that the server is run by apache and you only need to restart
it in order to reread the configuration files you can try to run
'apachectl restart'

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 <http://counter.li.org/>
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Bind to port 22 on 0.0.0.0 failed: Address already in use Pascal Hambourg Linux Networking 2 03-01-2010 12:00 PM
bind wwwoffle to IP address Matthias Medger Linux Networking 1 05-09-2004 12:42 PM
Preventing bind on certain ip address Ernie Sams Linux Networking 1 01-20-2004 02:43 PM
Cannot bind name to socket! : Address already in use Ravi Linux Networking 1 12-01-2003 04:52 PM
bind ICMP to specific IP address Stuart Kendrick Linux Networking 0 11-30-2003 05:11 PM



1 2 3 4 5 6 7 8 9 10 11