The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to fix a fault with apache in SUN server vamshikrishnab SUN Solaris 30 05-22-2008 06:38 AM
Apache Virtual Server Help ratnamg Linux 0 02-05-2008 05:44 PM
moving apache from 1 server to another marinob007 UNIX for Dummies Questions & Answers 2 12-20-2007 10:59 AM
Apache Server ppychu UNIX for Dummies Questions & Answers 1 09-10-2002 03:46 PM
Apache Server cfir UNIX for Dummies Questions & Answers 4 07-04-2001 05:17 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 11-16-2001
Jimbo
Guest
 

Posts: n/a
As LivinFree said, port 80 is a root-privileged port, so you should start Apache as root. Or get away from the root-privileged port by changing it to something higher than 1024. The config file will be in Apache/conf directory, and will be either httpd.conf or httpds.conf. Do "ls -lu" on these two files to see which is being accessed. The line you want to change is "Port 80".
Forum Sponsor
  #9  
Old 11-16-2001
Registered User
 

Join Date: Oct 2001
Location: India
Posts: 45
Question

Livinfree & Jimbo,
Thanks a lot.

I am running apachectl as root only. but eventhough i am getting the same.

Also I tried as changing the Port 80 to Port 1080.

I got the results in the Log file as :

[Sat Nov 17 01:50:53 2001] [warn] pid file /usr/local/apche/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Nov 17 01:50:53 2001] [error] (22)Invalid argument: shmctl() could not set segment #7800
[Sat Nov 17 01:50:53 2001] [notice] Apache/1.3.20 (Unix) configured -- resuming normal operations

I cant understand about the error :
Invalid argument: shmctl() could not set segment #7800.

What should i do to proceed?
Anent
  #10  
Old 11-16-2001
Jimbo
Guest
 

Posts: n/a
Looks like you did not get a clean shutdown, still had some Apache processes running, and this new startup could not gain access to a shared memory segment.

Shut Apache, and make sure all Apache processes are gone:

ps -ef | grep -i apache

Kill any that are still hanging around. Then clean out the Apache/logs directory and try starting up again.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0