Open-AudIT

What's on your network?
It is currently Thu Jan 18, 2018 8:30 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: HAL component not found
PostPosted: Wed Sep 15, 2010 3:25 am 
Offline
Newbie

Joined: Wed Sep 15, 2010 1:30 am
Posts: 1
Hi, I have a problem auditing servers using audit_linux.sh script.

I tried launching it locally (./audit_linux.sh -L -o on -U http://<openaudit server ip>/openaudit/admin_pc_add_2.php) or through a remote server (./audit_linux.sh -R -s <hostname server to audit> -U http://<openaudit server ip>/openaudit/admin_pc_add_2.php -u root), and all seems to work.

Open-Audit server shows the new server, show many data (for example kernel version, cpus, nic, video card etc etc etc...) but do not show others like serial number, model number, mainboard and others.

On the server I've already installed lshw and seems the audit script using it, I also have HAL service installed and working, but the script always returns "HAL component not found! A lot of information depends on HAL being available" and many "No such file or directory error"

Here is the output from the audit script:
Code:
HAL component not found! A lot of information depends on HAL being available
hwinfo not found! Some information will be missing (such as Monitor information).
---------------------------------------------
(Linux) Starting audit of - <server checked> -
---------------------------------------------
audit_linux_ssh.22442                                                                 100%   75KB  75.5KB/s   00:00
HAL component not found! A lot of information depends on HAL being available
hwinfo not found! Some information will be missing (such as Monitor information).
xrandr not found! Some information will be missing (Video Adapter information).
--version: No such file or directory
Querying LSHW...
OS Information...
Auditor...
Network Interfaces...
System Model...
In Third IF
--string: No such file or directory
--string: No such file or directory
--string: No such file or directory
--string: No such file or directory
BIOS...
--string: No such file or directory
--string: No such file or directory
--string: No such file or directory
--string: No such file or directory
--string: No such file or directory
--string: No such file or directory
--string: No such file or directory
/bin/date: invalid date `@1279172457'
Processor...
-t: No such file or directory
-t: No such file or directory
Memory...
-t: No such file or directory
Onboard Devices...
-t: No such file or directory
PCI Devices...
Onboard Device...
Onboard Device...
Video Card...
SCSI/SATA Controllers...
Tape Device...
Monitor...
USB Devices...
Motherboard...
Packages...
Printers...
Storage...
Volumes...
Pagefile...
Keyboards...
Mice...
Battery...
-t: No such file or directory
Users...
Crontab...
Groups...
Environment Variables...
Log Files...
Mapped Drives...
IP Routes...
Elapsed time of script: 00h00m16s
Submitting Information...

--19:19:36--  http://<openaudit server>/openaudit/admin_pc_add_2.php
           => `admin_pc_add_2.php'
Connecting to <openaudit server>:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    0K .......... .......... .......... .......... ..........    1.32 MB/s
   50K .......... .......... .......... .......... ..........    1.10 MB/s
  100K .......... .......... .......... .......... ..........  985.30 KB/s
  150K .......... .......... .......... ...                    983.06 KB/s

19:19:36 (1.08 MB/s) - `admin_pc_add_2.php' saved [187775]

Removing admin_pc_add_2.php.

Audit report submitted, check above wget output to confirm.


I'm using an IBM BladeCenter HS20 (8843-21Y) with Red Hat Enterprise Linux ES release 4.4 and these hal rpm packages installed:
  • hal-devel-0.4.2-8.EL4
  • hal-0.4.2-8.EL4

I'm using Open-Audit version 09.12.23

Thanks for every suggestion


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 08, 2010 12:29 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1933
Location: Brisbane, Australia
I guessing, but maybe the HAL version doesn't support the required methods ?
Anyone, anyone, Bueller, Bueller ?

_________________
Support and Development hours available from Opmantek.
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
 Post subject: HAL component not found
PostPosted: Sat Nov 10, 2012 12:26 am 
Offline
Newbie

Joined: Tue Sep 25, 2012 5:52 am
Posts: 32
Hi,

i actually encounter the same problem. Im stuck with the HAL. Im running RHEL4 32bit.
Things i checked..:
/etc/init.d/service "haldaemon" is running
/usr/sbin "hald" is there
since im not sure what else to check, please let me know how to fix this.

One more thing.. how to fix following messages from the script..:
/bin/date: invalid date `@1279172457'
Processor...
-t: No such file or directory
-t: No such file or directory

Please let me know.


Top
 Profile  
Reply with quote  
PostPosted: Sat Nov 10, 2012 2:22 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1224
At this point unless someone who's running Linux wants to help you're going to have to look at this yourself. Review the output from the script and then find the portion of the script throwing those errors and see if it's obvious what command is being run and how it's failing.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group