To check ubuntu version do the following:
Mine was 14.04
So I went ahead with a restart of apache and the commands are slightly different from that of red hat linux.
sudo /etc/init.d/apache2 restart
Then browsing several web sites I did the following:
Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Created a file servername.conf inside
sudo vim /etc/apache2/conf-available/servername.conf
Inside this file entered a line
sudo a2enconf servername (Name of the file created)
then did a
service apache2 reload
Then restarted apache using:
The warning message dis-appeared but the web page was still not up.
then you may have to change the document root directory. In our case, it was /var/www earlier, but currently it is /var/www/html
If you are depending upon bioperl modules, you may also see most of your perl modules dis-appearing. Then you search for that particular module using command:
find / -name Session.pm
You may see your INC path has changed. Now you would like to place your bioperl files in INC path.
Change permissions of some files and then it will start working!!