LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-20-2011, 12:53 AM   #1
mail2rajan89
LQ Newbie
 
Registered: May 2011
Posts: 7

Rep: Reputation: Disabled
Error Using Auto Install


Hi All...
I am using Mandriva 2010.2 in my server side and in my client side..... When i try to boot one of my clients through ethernet through server it is working and it is booting... After loading vmlinuz and all.rdz it is indicating an error...

"Error using auto install
Error Reading file auto_inst.cfg.pl."

Below given is the configuration file for pxelinux.cfg/default

# DO NOT EDIT auto_generated by drakpxelinux.pl
PROMPT 1
DEFAULT Mandriva
DISPLAY messages
TIMEOUT 50
F1 help.txt

label local
LOCALBOOT 0

label Mandriva
KERNEL images/vmlinuz
APPEND initrd=images/all.rdz automatic=method:nfs,interface:eth0,network:dhcp,server:192.168.1.10,directory:/mnt/Mandriva, ramdisk_size=128000 vga=788 root=/dev/ram3 rw kickstart=images/auto_inst.cfg.pl

When i remove the line/phrase kickstart=images/auto_inst.cfg.pl, my linux is loading successfully from server and we can get the installation steps/procedure manually... But i am trying for an auto install procedure.... Is there any other correction need to be done?
 
Old 06-21-2011, 07:11 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
At the beginning of your auto_inst.cfg.pl script there should be the following comment

Quote:
#!/usr/bin/perl -cw
#
# You should check the syntax of this file before using it in an auto-install.
# You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file
# (note the '#!/usr/bin/perl -cw' on the first line).
Have you tried what it suggests?
 
Old 06-21-2011, 08:09 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
FYI, although you can check a .pl with the -c (& w) flags, -c = compile, which happens automatically when it runs, so it's redundant in the hash-bang line.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Auto Increment Error kdelover Programming 6 12-19-2009 07:55 PM
Auto reboot test server with same error shivamahadevar Linux - Server 3 11-15-2007 07:06 AM
Vacation Auto responder DB_File.pm Error jamluv Linux - Software 2 12-10-2006 11:28 PM
module-assistant auto-install ov511 ... make: *** [build-stamp] Error 2 brynjarh Linux - Hardware 1 11-13-2005 02:31 PM
auto: auto file not found error rissi_kapoor Linux - General 0 08-15-2001 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration