Next Previous Contents

3. General Issues

3.1 My servers do not pop up in Virtfs anymore.

This may have happened because of a corrupted servers.lists file. Simply run: virtfs -detect and this should clear up the problem.

3.2 Everything is setup fine, but when I try FTP access is always denied.

First through Virtfs check to see if the server is enabled for FTP Service. You can do this from the Server Information choice within Virtfs.

If everything is set and access is still denied, make sure you have copied over the important files that your ftp service needs. On a typical Linux system, these are /etc/ftpaccess and /etc/ftpusers. Copy these files over to the virtual server's /etc directory.

To prevent this happening with each server, Virtfs can automatically copy the files over. All you have to do is edit virt.conf and point out where these files are. In the virt.conf file, I have:

ftp files = /etc/ftpaccess /etc/ftpusers

under the System Config section.

3.3 When using Dialog, my terminal settings are messed up.

This issue has come up with people using Redhat 6.1. If this is the case, I suggest you download a working version of dialog or Xdialog. A better dialog can be downloaded from here http://www.prongs.org/virtfs/dialog-0.6-16.i386.rpm.

3.4 I run Redhat 6.x and some services (ie. pop mail, ftp) do not work!

Most probably this error is a cause of missing libraries, particularly the libraries in /usr/kerberos/lib. Simply copy the whole directory to the template directory so all virtual servers can link to the directory in future.

Then you may have to run ldconfig. By default Virtfs creates the configuration file for ldconfig in /etc/ld.so.conf. You can configure which directories are to be entered into /etc/ld.co.conf for each virtual server by editing the ldconfig libs value in /etc/virt.conf.

To the value of ldconfig libs, simply add /usr/kerberos/lib (each directory is seperated with a space). Chroot to your virtual server and run ldconfig.

3.5 Everytime I try to run something on the virtual server, some library is not found.

Very similar to the problem explained above. If a library is not found on your virtual server, find it on the main server and copy it over the virtual server.

To prevent this happening with each server, copy the libraries to the template directory, so in future your virtual servers will link to the libraries.

As explained in the above question, alter your /etc/ld.so.conf if need be.

3.6 What does the error execvp mean?

If you are trying to access a service on the virtual server and you notice that virtuald is dumping out the following error message in your logs:

execvp failed: No such file or directory
There is an error in trying to find the service for your virtual server. For example, if you are trying to ftp into the server using in.ftpd, make sure it is on the virtual server. Also make sure your entry in /etc/inetd.conf or /etc/xinetd.conf specifies the full path to this file.
Next Previous Contents