LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2007, 06:28 PM   #1
cnhawk386
LQ Newbie
 
Registered: Aug 2007
Posts: 25

Rep: Reputation: 15
[root@wlxxb bin]#


[root@wlxxb bin]# ./indexmaker /etc/mrtg/mrtg.cfg --output=/usr/local/apache/htdocs/mrtg/index.html --title="My MRTG"
Use of uninitialized value in hash element at ./indexmaker line 352.

how to deal with
 
Old 08-20-2007, 08:05 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Perl ?
Look at indexmaker code line 352 as noted and see where the data is coming from.
That's a fairly informative error msg.
 
Old 08-20-2007, 08:50 PM   #3
cnhawk386
LQ Newbie
 
Registered: Aug 2007
Posts: 25

Original Poster
Rep: Reputation: 15
indexmaker code line 352
my $host = $$rcfg{host}{$first};

how to deal with

Last edited by cnhawk386; 08-20-2007 at 09:10 PM.
 
Old 08-21-2007, 10:48 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Look, you need to read the whole prog, understand it and figure out where it's getting it's values from and why it has a problem aka debugging.
Give it a shot, and come back with qns if you don't understand stuff.
If you've never used Perl (which is what that code looks like), start here: http://perldoc.perl.org/
HTH
 
  


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
bin for root? xaphalanx Linux - Enterprise 1 12-26-2005 05:38 PM
Needing root to empty the bin??! hongman Linux - Newbie 2 03-01-2005 01:43 AM
/bin/login with root privileges? nsX Linux - General 3 06-06-2004 04:41 PM
Debian installation - root.bin Bamse123 Linux - Newbie 7 10-27-2003 05:35 AM
root /bin/false problem kaboom Linux - Newbie 6 10-24-2003 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 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