HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: manually executed script
 
Operating System - HP-UX
        1840138
        Members
    
    
        2693
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-29-2007 01:12 AM
11-29-2007 01:12 AM
			
				
					
					
						After I execute the script (as root) it returns Mail sent.
# ./CheckFileSystems
Sending mail...
Mail sent!
#
When I check /var/mail/root I see the following entry:
for root; Thu, 29 Nov 2007 07:21:00 -0500 (EST)
Date: Thu, 29 Nov 2007 07:21:00 -0500 (EST)
From: root@fgexsh41.vad.ws-gex.com
Message-Id: <200711291221.lATCL0612170@fgexsh41.vad.ws-gex.com>
Cron: Your job did not contain a valid audit ID.
See your system administrator.
I was able to send mail via ELM so I know that is working.
Any thoughts?
Thanks,
					
				
			
			
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
# ./CheckFileSystems
Sending mail...
Mail sent!
#
When I check /var/mail/root I see the following entry:
for root; Thu, 29 Nov 2007 07:21:00 -0500 (EST)
Date: Thu, 29 Nov 2007 07:21:00 -0500 (EST)
From: root@fgexsh41.vad.ws-gex.com
Message-Id: <200711291221.lATCL0612170@fgexsh41.vad.ws-gex.com>
Cron: Your job did not contain a valid audit ID.
See your system administrator.
I was able to send mail via ELM so I know that is working.
Any thoughts?
Thanks,
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-29-2007 01:23 AM
11-29-2007 01:23 AM
Solution
			
				
					
					
						Shalom,
This happens sometimes when converting systems with cron authorization to trusted mode.
Fix is found:
http://docs.hp.com/en/J4269-90041/J4269-90041.pdf
Its kinda buried in that document.
Here is how cron does it:
http://www.auditnet.org/docs/HPUX.doc
http://www.adager.com/VeSoft/HpUxSecurityConcerns.html
SEP
		
		
	
	
	
This happens sometimes when converting systems with cron authorization to trusted mode.
Fix is found:
http://docs.hp.com/en/J4269-90041/J4269-90041.pdf
Its kinda buried in that document.
Here is how cron does it:
http://www.auditnet.org/docs/HPUX.doc
http://www.adager.com/VeSoft/HpUxSecurityConcerns.html
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-29-2007 01:28 AM
11-29-2007 01:28 AM
			
				
					
						
							Re: manually executed script
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I'm not totally following this.  Are you saying when you run the script manually everything is fine? 
roots email you show indicates to me that it was something from cron. Anything in /var/adm/cron/log around 7:21?
Usually if cron has an issue it will email root or the user it runs as.
Anything when you type crontab -l?
The only few hits I got when searching for that error is about tsconverting your system to trusted systems. Was that recently done?
What does cat /tcb/files/auth/r/root look like?
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
roots email you show indicates to me that it was something from cron. Anything in /var/adm/cron/log around 7:21?
Usually if cron has an issue it will email root or the user it runs as.
Anything when you type crontab -l?
The only few hits I got when searching for that error is about tsconverting your system to trusted systems. Was that recently done?
What does cat /tcb/files/auth/r/root look like?
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-29-2007 01:45 AM
11-29-2007 01:45 AM
			
				
					
						
							Re: manually executed script
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						The script is supposed to generate an email to send the results. I never receive it. The box was recently put in audit mode. I know ELM is working.
var/adm/cron/log:
> CMD: sleep 15;/etc/opt/resmon/lbin/mon_EMSHAProvider_state.sh
> root 11939 c Thu Nov 29 07:19:00 EST 2007
< root 11939 c Thu Nov 29 07:19:00 EST 2007 rc=1
> CMD: /opt/sfm/bin/restart_sfm.sh
> root 12112 c Thu Nov 29 07:20:00 EST 2007
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
var/adm/cron/log:
> CMD: sleep 15;/etc/opt/resmon/lbin/mon_EMSHAProvider_state.sh
> root 11939 c Thu Nov 29 07:19:00 EST 2007
< root 11939 c Thu Nov 29 07:19:00 EST 2007 rc=1
> CMD: /opt/sfm/bin/restart_sfm.sh
> root 12112 c Thu Nov 29 07:20:00 EST 2007
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP