Here is a quick post of a “quick and dirty” patch for the ISC DNS Server : Bind 9.5.0a6 and its dlz mysql driver. For the quick story, I was using Bind 9.4.1 with dlz MySQL. My MySQL server is a 5.0.41 (with solidDB). While using it, I realize that some times the dns server was returning empty value for the dns queries. I tried many tips but it was still (sometime) giving me empty answer… Of course, I suspected the dlz driver. So, I tried to upgrade to Bind 9.5.0a6 but the problem still happened and the only way to fix was to restart bind !
Aliases allow a string to be substituted for a word when it is used as the first word of a simple command. The shell maintains a list of aliases that may be set and unset with the alias and unalias builtin commands.
Common errors while starting Apache server on linux
Common CLI, Bash - GNU Shell, Tips No Comments »The correct way to start the apache server is to use the apachectl command.
apachectl stop
apachectl start
apachectl graceful
You can also check your configuration files.
apachectl configtest
A common error is probably this one :
(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. You can get all the process ID’s that are running on this port with the command fuser or a more classical “ps auxww” with a less readable format.
nicolas@grimm:~$ fuser 443/tcp
443/tcp: 7977 6815 9819 35217
Now you just have to do a kill on those process.
nicolas@grimm:~$ kill -9 7977 6815 9819 35217
Or in a more sys admin useful way :
nicolas@grimm:~$ kill -9 $(fuse 443/tcp 2>/dev/null)
Other typical error would be those following :
(28)No space left on device: Couldn’t create accept lock
or
(28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed

Recent Comments