Best of Technical Support
I am facing a problem with COAS. I can't open the user creation tool. I deleted all lock files but still can't open this tool. What is the problem? —Anil Nair, email@example.com
This is a well-known issue covered in FAQs. Basically, you need to remove /etc/shadow- and /etc/ptmp. For details, do a search for COAS at http://support.calderasystems.com/. —Andy Bradford, firstname.lastname@example.org
I have a Wordperfect CD and am trying to install it. I have made a Wordperfect subdirectory. Then I issue the following command, to begin installation:
The error message I receive is as follows:
bash: mount/dev/cdrom/cdrom: No such file or directoryI switched to the CD-ROM subdirectory and issued the following command:
darkstar:/cdrom# mount/dev/cdrom/cdrom--Larry Carnahan, email@example.com
Are you sure /dev/cdrom is a symlink to a real CDROM block device such as /dev/hdcx ? Try:
ls -l /dev/cdrom
--Pierre Ficheux, firstname.lastname@example.org
Try this: mount /dev/cdrom /cdrom instead of mount/dev/cdrom/cdrom. Mount is the command, /dev/cdrom is the device and /cdrom is the directory. Between these three entities, there should be a space. —Paulo Wollny, email@example.com
I installed an apache 1.3 from a Debian package. I used the command apachectl start and it sent me the following message:
Cannot determine local host name. Use the ServerName directive to set it manually.
What is the ServerName directive? I found a line about ServerName in the httpd.conf; is that what the message meant? I tried to set ServerName to root, then 127.0.0.1, then localhost, then daniel54 (the name of my machine at the prompt): nothing works. Apache gives no useful message; it just tells me httpd won't start. Is there a way to deactivate the Ethernet card without removing it physically? —Daniel Meilleur, firstname.lastname@example.org
You're on the right track—ServerName is indeed in httpd.conf. You need to give it a name to run as that matches a DNS entry. The easiest way to do that is to set up /etc/host.conf with an order hosts,bind line to force it to look in the hosts file first. Then set up /etc/hosts with a line that reads 127.0.0.1 localhost daniel54. You can deactivate a network card at any time by typing ifconfig eth0 down, replacing eth0 with the appropriate value if you want to shut down eth1 or higher. —Chad R. Robinson, email@example.com
Is there any method of installing Linux to operate as a Dumb Terminal so that the PC boots into Linux, auto logs on and launches a pre-configured application?
My idea is to configure some Thin-Client workstations using Linux as the OS and Citrix ICA client as the only application.
Ideally, the PC would boot to Linux, log in as a dummy user and launch the Citrix ICA client. —Stefan Ostadal, firstname.lastname@example.org
You can do this simply by understanding how INIT works. When you boot your system normally, INIT will read /etc/inittab, which tells it to execute certain scripts. It also tells it to start a few getty processes, which allow you to log in. All you need to do is add an entry that runs your application, rather than getty. Note that INIT itself is already logged in as root, so there's no need to execute log in in this case. Please note that this is a terribly insecure method of operating, so it's advisable ONLY for your specific case—a thin client for which local security means nothing. —Chad R. Robinson, email@example.com
I have 4.0 gigabyte HD that is running Linux right now. How can I install Windows98 and have a dual boot system? —Navin Maahdkar, firstname.lastname@example.org
The easy way would be to boot with a Linux or Windows CD (or disk) and use fdisk to create a FAT32 partition for Windows and ext2 and swap partitions for Linux. You could then install Linux and Windows98 in the order you prefer. One warning though: if you plan to install Windows after Linux do not forget to create a Linux boot disk in order to reinstall LILO in the MBR and be able to dual boot again. The Windows installer will erase it. The “hard” way would be to use Partition Magic to rearrange the +space without having to reinstall Linux again. Be sure to make a backup before doing either. —Mario Neto email@example.com
You need to have some space on your HD to install Win98 in the first partition. If not, you should install Win98 on another disk defined as master (or re-install everything!). Then you should configure LILO to set up dual boot. Something like this in the /etc/lilo.conf:
boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=50 linear default=linux image=/boot/vmlinuz-2.2.14-5.0 label=linux initrd=/boot/initrd-2.2.14-5.0.img read-only root=/dev/hdb1 other=/dev/hda1 label=dos
Please check out the LILO mini-how-to to get more info. --Pierre Ficheux, firstname.lastname@example.org
Special Reports: DevOps
Have projects in development that need help? Have a great development operation in place that can ALWAYS be better? Regardless of where you are in your DevOps process, Linux Journal can help!
With deep focus on Collaborative Development, Continuous Testing and Release & Deployment, we offer here the DEFINITIVE DevOps for Dummies, a mobile Application Development Primer, advice & help from the experts, plus a host of other books, videos, podcasts and more. All free with a quick, one-time registration. Start browsing now...
- Vigilante Malware
- Disney's Linux Light Bulbs (Not a "Luxo Jr." Reboot)
- Libreboot on an X60, Part I: the Setup
- Vagrant Simplified
- System Status as SMS Text Messages
- Bluetooth Hacks
- Dealing with Boundary Issues
- October 2015 Issue of Linux Journal: Raspberry Pi
- Non-Linux FOSS: Code Your Way To Victory!
- October 2015 Video Preview