spacer free cgi script archive logo
Home Downloads Show Detail Live Chat Site Map See in Action Save Cart Search Email Help Print spacer
spacer
spacer > Home > Free Cgi Scripts  > About Us  > Contact  > FAQ

CGI Scripts that are Very Secure, Reliable & Free! 

spacer
spacer spacer spacer spacer spacer spacer spacer spacer spacer
 
spacer
column heading image
spacer
 
orange bullet

Premium Scripts

-AllAffiliatePro
-CosmicDirectories
-CosmicContacts
-CosmicEmailer
-CosmicTells
-BannerClick
-AffiliateClick
-AdSpaceSeller
spacer
orange bullet

Webmasters

-Server setup tips
-Web design guide
-RSS & Blog guide
-Useful Tools
-Tips and Tricks
-Message Board
-Spam Board
-Techie Board
-Make Money
-Free Web Space
-Free Content
-Start a Website
-Contribute
-Distributor program
-Link partners
spacer
orange bullet

Programming

-Our guide to CGI & Perl
-CGI/Perl
-Java
-JavaScript
-HTML
-C/C++
-Visual Basic
-Programming Forums
spacer
 
   

Starting Apache

Sometimes Apache refuses to start. When this happens sweat instantly appears on your forehead because without apache running none of your website's are available. Here are some things you can try based on problems we've come across. Hitting the reset switch isn't the solution and not something you should do when you come across a problem like this.

Starting Apache

The correct way to start, stop or restart apache is by using the apachectl program. Such as:-
apachectl graceful
apachectl stop
apachectl restart

Checking Apache configuration

Apachectl can also be used to check the apache configuration, such as:-
apachectl configtest
This will return warnings and errors.

Check the Apache error logs

Take a look at the error logs (usually "/var/log/httpd/") and see if you can find what's causing the problem.

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down

This is caused by one or more processes running on the 443 (secure socket) port. To fix this problem first find the process ID's that are running on port 443:-
fuser 443/tcp
This will return results which look something like:-
443/tcp: xxxx yyyy zzzz <- processes using 443
Where xxxx yyyy & zzzz are numbers for the process ID's. Now kill the processes with:-
Kill -9 xxxx yyyy & zzzz

Apache will not start. Error log contains:-

[emerg] (28)No space left on device: Couldn't create accept lock
or
[crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed
Checking your disk shows that you have plenty of space. The problem is that apache didn't shut down properly, and it's left myriads of semaphore-arrays left, owned by my apache-user. Run:-
ipcs -s | grep nobody
Removing these semaphores immediately should solve the problem and allow apache to start.
ipcs -s | grep nobody | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'

Other errors

If you encounter an error that isn't listed here, put it in to google and give it a search. Someone else will have come across the problem before. Remember to remove any details from the search that are specific to your machine, such as your IP.

     
orange bullet

Free Scripts

-CGI & Perl Scripts
-AffiliateClick Free
-RSS creator
-SecureFormEmailer
-Directory
-Storyline
-Tell-a-Friend
-Link Trade
-Cosmic Mailer Lite
orange bullet

More Free Scripts

-BBS
-Clock
-Hit Counter
-Top Site
-Shot in the Dark
-Gamemaker
-Random Pics & Text
-Banner Rotator
-Password Protection
Want the latest news?
Then why not sign up for our newsletter? Be notified immediately about new products, upgrades, sales, discounts, bug fixes, site updates and more. 
 
 
spacer
free cgi scripts | perl scripts | affiliate software | site map
Copyright 2003-2004 CosmicScripts.com. All rights reserved.
spacer