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, cnallo1@home.com

/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é, fbarousse@piensa.com

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, edmoney@turbosport.com

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, marc_bts@valinux.com

Check out http://www.cs.utexas.edu/users/kharker/linux-laptop/ and search for your laptop model. You'll find lots of useful notes and links from people who have made it work. —Paul Christensen, pchristensen@penguincomputing.com

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, a_m_pandey@hotmail.com

You need a fairly recent version of XFree86; 3.3.6 should work according to http://www.xfree86.org/3.3.6/RELNOTES4.html#4/. You can also upgrade to XFree86 4.0.2, which supports your chip set, too, http://www.xfree86.org/4.0.2/RELNOTES3.html#8/. —Marc Merlin, marc_bts@valinux.com

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, garthb@digitalwave.com

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, pchristensen@penguincomputing.com

Using a Parallel-Port Zip Drive

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

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, gmickelson@penguincomputing.com

______________________

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix