Best of Technical Support
I have a 2001 iMacDV (400MHz, 128MB RAM) running Mac OS 9.1 and Yellow Dog 2.0. I cannot gain access to files on my Mac OS 9.1 partition. I assumed that my Mac OS partition was hda1, but this may be wrong.
—Bill MacKay, w.mackay1@ntlworld.com
It's not hda1. Macs use a rather complex partitioning scheme. Use the command cat /proc/partitions to see all your partitions. That should help you narrow it down.
—Ben Ford, ben@kalifornia.com
I upgraded the kernel of my Red Hat 6.0 system to 2.2.16-3 in order to use ipchains. I used the instructions from www.redhat.com support to upgrade the kernel. It now works great as a dedicated firewall. Whenever the power goes out, I reboot the machine and run the /etc/rc.d/rc.firewall script, which I obtained from www.linuxdoc.org, and this takes an hour to complete. Is there some way to speed up this process?
—Paul Lamping, palamping@yahoo.com
Are you using a large hard drive with ext2 as your filesystem? In that case, the process that is taking so long is the filesystem checking process due to an improper shutdown. There are a couple of things you can do about that. You can try a journaling filesystem, use a UPS battery backup to shut down gracefully, or get creative with your drive partitioning and make as much of it read-only as you can.
—Ben Ford, ben@kalifornia.com
Setting up your firewall rules should be a matter of seconds, not minutes or hours. One thing that may be causing problems is if you use names for hosts rather than IP addresses. If your boot scripts start your name server after your firewall script runs, this forces each line that does a DNS lookup to time out before continuing. This can also be the case if you refer to a name server on another machine and your firewall script locks the machine out before creating “allow” entries.
—Chad Robinson, crobinson@rfgonline.com
I have been printing to a Jetdirect-enabled HP LaserJet 4Plus on our LAN for several years using its IP address. It recently stopped working. Running any lp command (lpq, lpr, etc.) returns the following message:
Printer 'lp@localhost' - cannot open connection Connection refused Make sure LPD server is running on the server
—Murray Zangen, murray@nj.com
Have you tried rebooting the printer? This problem is a symptom of the recently seen CodeRed IIS and indexing server worm. It stops many printers and Cisco devices cold.
—Ben Ford, ben@kalifornia.com
It appears that your problem is local to the box, not to the HP printer. LP is telling you that LPD is not running on the local server, which it must connect to in order to queue the request for the remote printer. Check the output of ps ax to ensure that LPD is running properly. If it is, you should also check connectivity to your printer manually by Telneting to the IP address given by /etc/printcap. Finally, make sure you are selecting the correct print queue, and print a test job using lp from the command line rather than printing from an application.
—Chad Robinson, crobinson@rfgonline.com
I have configured Samba and my server shows up in Network Neighborhood on my Win98 workstations. I can see the folders on my server, yet it asks for a password to access the folders. I have tried resetting the password in Samba for that shared folder, but I can't seem to figure out where the right place is to set it.
—Dan Schmeh, dschmeh@turningpnt.org
The standard installation uses /etc/passwd. If you use the standard installation you need to modify the registry on the browsing machine to allow for unencrypted passwords. Add the following key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services \VxD\Vnetsup\EnablePlainTextPassword = 1
and reboot. There is a good discussion of encrypted vs. un-encrypted passwords in the Samba distribution. On Red Hat 7.0, the file is /usr/share/doc/samba-2.0.7/docs/textdocs/ENCRYPTION.txt.
—Christopher Wingert, cwingert@qualcomm.com
httpd doesn't automatically start during boot time. I have to start it manually from the /etc/rc.d/init.d/ directory. Which config file should I modify to make it start at boot time?
—W. Huang, whuang53@excite.com
Run chkconfig --level 5 httpd on. This assumes you run in runlevel 5 (GUI in Red Hat). If you want other runlevels, just change the 5 to the number of the runlevel you wish to change.
—Ben Ford, ben@kalifornia.com
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Reply to comment | Linux Journal
1 hour 5 min ago - Reply to comment | Linux Journal
7 hours 59 min ago - Reply to comment | Linux Journal
8 hours 15 min ago - Favorite (and easily brute-forced) pw's
10 hours 7 min ago - Have you tried Boxen? It's a
15 hours 58 min ago - seo services in india
20 hours 30 min ago - For KDE install kio-mtp
20 hours 31 min ago - Evernote is much more...
22 hours 31 min ago - Reply to comment | Linux Journal
1 day 7 hours ago - Dynamic DNS
1 day 7 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
Regressions in the installation programs of recent Linux distros
I have a Compaq Presario, 2001 factory refurbished vintage. It comes with the Compaq OEM Internet keyboard (a USB keyboard), an OEM version of the Logitech basic Wheel Mouse, 64 MB memory, a 20 GB Quantum Fireball disk. To this, I have added another 20 GB Western Digital disk, a 3COM 905B series Ethernet adapter, and an additional 256 MB stick of memory, bringing memory capacity to 320 MB and disk capacity to 2- 20 GB disks.
I have installed several versions of Linux. Mandrake and Red Hat are two of my favorites. The 8.0 and 7.1 versions of each installed flawlessly. Recently, I installed the new 8.1 and 7.2 versions, respectively. The Mandrake 8.1 version now has problems using the mouse during installation, and the Red Hat 7.2 version cannot even detect the keyboard.
I have two questions:
Any ideas what cause these regressions?
Are there any good workarounds or fixes available for either distro?
Thanks!
Brian Masinick
Re: Regressions in the installation programs of recent Linux dis
I have the exact same problem...
I have the new Presario 8000 serie with the AMD XP and the compaq USB internet keyboard. I tried to installed Redhat 7.2, but it couldn't detect the keyboard. Actually, I should say: it does detect it once in a while (once every 5 or 6 reboot).
It seems like before it loads the USB support from the kernel, the keyboard works fine (Numlock, caps lock works), but most of the time after the USB is loaded, the keyboard doesn't work aymore...
I don't know what's wrong, especially since I had Redhat 7.1 before on the same computer and it was working great!?
Thank you.