LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 07: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, 09:05 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
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, 09: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 10:10 PM.
 
Old 08-21-2007, 11:48 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

All times are GMT -5. The time now is 01:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration