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

______________________

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState