Best of Technical Support

Our experts answer your technical questions.
Decreasing Partition Size

I recently got a new PC with Windows 95 installed. With my old PC I used FIPS to decrease the size of the DOS partition and then used Linux FDISK to create Linux partitions. Windows 95 uses VFAT. Do you know of a utility or product like FIPS I could use to decrease the size of the VFAT partition without deleting and adding new partitions? —Lanny Lampl

Partition Magic

There is a fairly inexpensive commercial product called Partition Magic by PowerQuest (http://www.powerquest.com). It is a very nice and easy to use program which will change the size of your partition without destroying the data. Of course, you must have sufficient disk space on the drive you want to resize but it is very painless. Another nice feature is that it can “see” Linux partitions as well (it can't manipulate these partitions but will at least let you see the sizes).

One problem with the current version is that you must do the actual manipulation from DOS (version 7.0 if you have Windows 95). You can see your partition information from Windows 95 but it will not allow you to make changes. —Douglas Stoun doug@igor.cmr.fsu.eduFlorida State University

Setting Up tin NNTP

Regarding tin NNTP: I'm a newbie and I finally have IP masquerading and my return e-mail address is properly emorr@fast.net. After setting up tin for NNTP I can read articles without trouble but I cannot post. I get a returncode of 441, post rejected. Didn't my setting up of sendmail for the correct masquerade work for NNTP, or are my posts “sent differently” than mail? —Edward W. Morris, Jr

Post Rejected?

News posts are indeed “sent differently”. Sendmail runs on port 25, NNTP on port 119. You will need to masquerade both ports, which you must have done if you can read news from masqueraded machines.

If you are getting post rejected, it could be because the news server is not set up to allow you to post. Can you post news from your gateway machine? If not, you will need to talk with whoever administers the news server. —Bob Hauck, boh@wasatch.comWasatch Communications Group

Slow Mailserver

We have a 486 AMDX4-100 Mhz/ 32MB RAM system running Linux Kernel 1.2.13 as our Mailserver. We are using WinPmail as our mail clients in Novell Netware mode and all users have direct POP3/SMTP connection to the Linux machine to retrieve and send Internet mail. The problem is: When the POP3 access is made from the workstations, the Linux machine responds very slowly, meaning it takes more than 3 minutes to establish the connection. What causes this problem and how can it be solved? —MadavaneShuttle Technology

Three Possible Causes

There are a couple of possibilities. One is that you are using TCP wrappers in “paranoid mode” and the reverse lookup for the workstations is failing because there is no in-addr.arpa entry for them in your DNS. If this is the case, you should be seeing error messages in your syslog (usually /var/log/messages).

You can turn off reverse lookups by removing paranoid from your /etc/hosts.allow and /etc/hosts.deny. That will cause most recent versions of TCP wrapper to still log the access, but with only the IP address and not the hostname. Many popular Linux distributions come with TCP wrappers installed and reverse lookup enabled.

Another possibility is that you have enough clients that 32MB is not sufficent. Some POP servers buffer the mailboxes in RAM while downloading, which uses a lot of RAM if your users are keen on MIME attachments. You should be able to diagnose this with free and top to see if you are swapping heavily when the slowdown occurs. The fix would be more RAM or a different POP server.

Yet another possibility is that your mail transport (sendmail, smail, etc) and your POP server are not agreeing on locking protocols. This can be fixed by recompiling one or the other. This one is unlikely if you are using the default servers from one of the major distributions. —Bob Hauck, bobh@wasatch.comWasatch Communications Group

Need ELF Support

I have been running Linux for a while and just decided to upgrade to ELF support with 1.2.13 kernel. When I compiled the kernel with that option set it still wouldn't execute the ELF binary. What should I do? —Patrick Temple

______________________

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