Failed to start httpd server: Address already in use

httpd services failed

Failed to start httpd server: Address already in use Error Message while restart on http service:  Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 no listening socket available,shutting down unable to open log Solution: This error usually occurs when web server is using the port, here 80, or The clean … Read more

File compress and uncompress in linux

file compression and uncompression in linux

File compress and uncompress in linux gzip command compresses files. Each single file is compressed into a single file. The compressed file consists of a GNU zip header and deflated data. If given a file as an argument, gzip compresses the file, adds a “.gz” suffix, and deletes the original file.   gzip file Compress file to create file.gz. … Read more

Create user in linux

Linux_Fedora

Create user in linux   Use the adduser command to add a new user to your system. Be sure to replace username with the user that you want to create. adduser username Use the passwd command to update the new user’s password. Set password for a user in linux passwd username Set and confirm the … Read more

Create and View file in linux

Linux_Fedora

Create and View file in linux The ‘cat’ command is used to display text files. It can also be used for copying, combining and creating new text files.  Let’s see how it works. To create a new file, use the command vi filename Press a to enter into insert mode or append mode Start writing … Read more

rm command to delete files in linux

Linux yum

rm command to delete files in linux   The rm command (short for remove) is a Unix / Linux command which is used to delete files from a file system. Here is few example of rm command 1) To remove a file named test.txt, use the following command. $ rm test.txt Here rm test would … Read more

PWD – Linux command to check current working directory

PWD – Linux command to check current working directory   When you first open the terminal, you are in the home directory of your user. To know which directory you are in, you can use the “pwd” command. It gives us the absolute path, which means the path that starts from the root. The root is the … Read more

How to disable IPv6 in Ubuntu

ubuntu

 How to disable IPv6 in Ubuntu To disable ipv6, you have to open /etc/sysctl.conf using any text editor and insert the following lines at the end: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 If ipv6 is still not disabled, then the problem is that sysctl.conf is still not activated. To solve this, open a terminal(Ctrl+Alt+T) and type … Read more