Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
.
google site



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-21-2005
Registered User
 

Join Date: Jan 2005
Posts: 27
Talking Running 2 apaches simultaneously

Hello, I want to run 2 apaches simultaneusly in a system, one operating with port 80 and the other one with 85, i already have the configuration files ready and i tryed something i saw in a manual, like this:

first i start apache as normal:

/usr/local/etc/httpd/bin/apachectl start

the i try to start a second instance with another directory like this:

/usr/local/etc/httpd/bin/httpd -d /sistemas/cencar.httpd

or pointing to the httpd.conf file:

/usr/local/etc/httpd/bin/httpd -f /sistemas/cencar.httpd/conf/httpd.conf


all of them work fine, except they dont work simultaneously, i can start either one or another but not 2 at the same time, after i started the first apache i try to start the second, i type the command and nothing happens, no error messages and it doesnt start... does anyone know what wrong with this?

thanks.

Tony.

-----------------------------------------------------------
edit: woops, I forgot, its apache 1.3.9 , the OS is Solaris 9

Last edited by sx3v1l_1n51de; 07-21-2005 at 10:55 AM.. Reason: forgot teh version...
Sponsored Links
  #2 (permalink)  
Old 07-21-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,061
Take a look at Multiple Versions of Apache - should help even if it isn't on Solaris.
  #3 (permalink)  
Old 07-22-2005
Registered User
 

Join Date: Jan 2005
Posts: 27
Talking

Thanks, i just changed a few things in the httpd.conf file, it appears you have to rename the log files and the pid file of the second apache you want to start so its different from the ones already running, and it worked all right.

Thanks!!!
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running 2 Drives simultaneously? Infidel Filesystems, Disks and Memory 4 01-24-2008 08:55 AM
How to parse 2 files simultaneously Awanka Shell Programming and Scripting 8 04-12-2007 09:00 PM
cp & mkdir simultaneously enuenu UNIX for Dummies Questions & Answers 5 03-13-2007 05:29 AM
Execution of two jobs simultaneously rinku11 Shell Programming and Scripting 8 03-15-2006 01:26 AM
Creating user ids on multiple systems simultaneously darthur UNIX for Dummies Questions & Answers 1 08-07-2003 04:22 PM



All times are GMT -4. The time now is 12:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0