Best of Technical Support

Our experts answer your technical questions.
Setting up Apache jserv

I'm trying to install Apache jserv on Linux Mandrake 7.2. The installation process installs Apache for me. The path given in books and in Apache jserv documentation says the default directory is /usr/local/apache or /usr/local/src, but I don't have either directory.

I have also tried an example from the book Java Programming on Linux:

./configure --with-apache-install=/usr

--with jsdk=/usr/local/Java/JSDK2.0

It returns the error ./configure no such file or directory. Any help would be greatly appreciated. —Christopher Nallo,

/usr/local/apache is where Apache is installed if you compile and install the application. Otherwise, it was probably installed as an RPM installation file. If you do:

rpm -qa | grep apache

you will find how many Apache components you do have installed, including which versions. If you do:

rpm -ql <apache-package>
where <apache-package> is one of the output lines of the first command, you will get the location where each file of that package was installed. Regarding ./configure you should run configure files from the directory in which they are located. You are sitting somewhere else in your directory tree, not where the configure file of the package you want to install is located. —Felipe E. Barousse Boué,

Install Problems on NEC Laptop

I have been trying to install Caldera 2.3 on my laptop, an NEC Versa 4230, and have run into major problems! First, I can't get the X server up and running at any decent resolution. Second, even though I get the basic system installed and supposedly running, it will not boot; it just locks—Ed Money,

If you have an old X server it will only support your chip in VGA mode, which is bad. Upgrade to XFree86 3.3.6 or better. —Marc Merlin,

Check out and search for your laptop model. You'll find lots of useful notes and links from people who have made it work. —Paul Christensen,

X on Intel 810

I have an Intel 810 chip set with an onboard sound and graphics card. My problem is that I cannot configure X to work properly. I want to know if I can get device drivers for the above-mentioned chip set? —Ashutosh,

You need a fairly recent version of XFree86; 3.3.6 should work according to You can also upgrade to XFree86 4.0.2, which supports your chip set, too, —Marc Merlin,

Blanking in VTs

After a period of inactivity, my terminal blanks. For various reasons, this is less than desirable. How can I extend the timeout or disable the blanking? I am not in X, but at the 80 x 25 screen. —Garth,

The command you're looking for is setterm. The format is simple:

setterm -blank 10

This will give you 10 minutes of terminal inactivity before the screen goes blank; 0 (off) to 60 is valid. If you add

setterm -powerseve powerdown
your monitor will actually go into sleep mode to conserve energy. —Paul Christensen,

Using a Parallel-Port Zip Drive

I want to be able to access my Iomega ZIP250 parallel drive. —Mark Adams,

This drive uses a module called imm. At the command line, while logged in as root, type modprobe imm. This will load the module. Create a mount point after that: mkdir /mnt/zip. Then you need to mount the drive: mount /dev/sd[x]4 -t vfat /mnt/zip, [x] being the next available SCSI drive letter i.e., if you have an SCSI hard drive or CD-ROM, it will be /dev/sda, and your ZIP will be /dev/sdb4. The 4 means the partition number, which is always 4 for the preformatted ZIP disk. To make it permanently load at boot, do the following:

echo modprobe [module] >> /etc/rc.d/rc.local

Also, you should create a mount point for it in /etc/fstab:

/dev/sd[x]4   /mnt/zip    auto    defaults    0 0
--Garrett Mickelson,