![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 |