Here Is How To Fix Nova Agent Not Working After Running Upgrade or Automated System Restart. It is nothing but again creating symlinks. Previously, we wrote about Nova-Agent and explained that Nova Agent and se-linux-distribution
must run at boot for proper function. Here is Fix Nova Agent Not Working. So if two functions – automatic image backup and Rackspace Cloud monitoring tool is not working, this is possibly for problem with both nova-agent
and xe-linux-distribution
.
Fix Nova Agent Not Working on Rackspace Cloud With Ubuntu 14.x
SSH as root to your instance and also FTP to the same server to visually compare. Victor’s method is helpful :
1 | https://community.rackspace.com/products/f/25/t/3338 |
It might not solve your problem, if after running this command :
---
1 2 3 | ls -al /etc/rc$(runlevel | cut -d " " -f 2).d/ # wordpress trying to autocorrect with adding space between run and level # no additional package needed to run the command |
you can can not see nova-agent
and se-linux-distribution
. The above command is an excellent example of using unix pipe. Which Run level (that is usually /etc/rc2.d
in Ubuntu), we do not know. You can read about run level at Debian or CentOS wiki, in case deb Linux, it is usually the directory from rc2 to rc5. On FTP, you can view the file. But, do not do anything right at this moment from FTP. Touching rc0 can be dangerous. Take that you the command changed directory to /etc/rc2.d
. d means Daemon. On FTP, if you view these files, you’ll see that; the old links either are not looking like normal symlinked directories or not present. you can create a directory named .old
from FTP and move the not properly working old files or simply can delete them from command line. There is a read me file, you can read it.
Fix Nova Agent Not Working on Rackspace Cloud By Fresh Symlinking
Symlink is useful on UNIX systems. Symlink means Symbolic Link. So first check, whether the materials on /etc/init.d/
actually exists :
1 | cd /etc/init.d/nova-agent && ls |
there should be two directories named nova-agent
and se-linux-distribution
. Again go back to your run level directory (/etc/rc2.d
in our case). First, create soft symlinks :
1 2 | ln -s /etc/init.d/nova-agent nova-agent ln -s /etc/init.d/xe-linux-distribution xe-linux-distribution |
Then, rename them as per convention :
1 2 3 | mv nova-agent S02nova-agent mv xe-linux-distribution S01xe-linux-distribution # reboot |
you should reboot and check the nova-agent
and se-linux-distribution
related services. They should be working rightly. You should not touch anything on /etc/init.d
. On FTP, you will, after a refresh, these new two are looking like the others.