- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Errors in rc.log
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
03-19-2004 09:14 AM
03-19-2004 09:14 AM
Errors in rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2004 09:35 AM
03-19-2004 09:35 AM
Re: Errors in rc.log
can you post the sendmail start script as attachment?
thanks,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2004 04:18 PM
03-19-2004 04:18 PM
Re: Errors in rc.log
This Purely seems to be the Patch Problem.
Just serch for the latest sendmail patch depending on your O.S. version and install it.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2004 02:47 AM
03-20-2004 02:47 AM
Re: Errors in rc.log
It looks like you have a problem with a file in /etc/rc.config.d directory.
Look at the string
. /etc/rc.config
in the /sbin/init.d/sendmail file and read the file /etc/rc.config.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 12:41 AM
03-22-2004 12:41 AM
Re: Errors in rc.log
Initialize loadable modules
Output from "/sbin/rc1.d/S112kminit start":
----------------------------
/sbin/rc1.d/S112kminit[206]: udp: not found.
/sbin/rc1.d/S112kminit[206]: tcp: not found.
/sbin/rc1.d/S112kminit[206]: ticlts: not found.
/sbin/rc1.d/S112kminit[206]: ticotsord: not found.
/sbin/rc1.d/S112kminit[206]: ticots: not found.
* All configured modules are registered successfully.
NOTE: Module status
Name ID Status Type
=====================================================
krm 1 UNLOADED WSIO
Setting hostname
Output from "/sbin/rc1.d/S320hostname start":
----------------------------
/sbin/rc1.d/S320hostname[36]: udp: not found.
/sbin/rc1.d/S320hostname[36]: tcp: not found.
/sbin/rc1.d/S320hostname[36]: ticlts: not found.
/sbin/rc1.d/S320hostname[36]: ticotsord: not found.
/sbin/rc1.d/S320hostname[36]: ticots: not found.
When I issue the /sbin/init.d/sendmail command, I received the following:
Output from sendmail start/stop script:
/sbin/init.d/sendmail[37]: udp: not found.
/sbin/init.d/sendmail[37]: tcp: not found.
/sbin/init.d/sendmail[37]: ticlts: not found.
/sbin/init.d/sendmail[37]: ticotsord: not found.
/sbin/init.d/sendmail[37]: ticots: not found.
Snedmail script is attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 01:22 AM
03-22-2004 01:22 AM
Re: Errors in rc.log
/etc/rc.config
What's the permissions on /etc/rc.config.d
Mine is:
drwxr-xr-x 2 bin bin 8192 Mar 17 12:07 rc.config.d
It almost sounds like some services are not running - can you telnet to box?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 01:36 AM
03-22-2004 01:36 AM
Re: Errors in rc.log
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 04:13 AM
03-22-2004 04:13 AM
Re: Errors in rc.log
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 04:20 AM
03-22-2004 04:20 AM
Re: Errors in rc.log
if [ -f /etc/rc.config ] ; then
. /etc/rc.config
This sources a file called rc.config, which in turn sources all the configuration files in the /etc/rc.config.d directory, including that netconfig file. The error messages were being generated by this process.
Any startup script which sourced /etc/rc.config would generate these errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 04:24 AM
03-22-2004 04:24 AM
Re: Errors in rc.log
There should NEVER be ANY backup files, save files, or any files other than files that are needed in /etc/rc.config.d. ALL files in this directory get sourced. If you have a bad file in there, even if it is named something.save, then you could see unexpected results when the system boots.
Keep that directory clean.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 04:27 AM
03-22-2004 04:27 AM
Re: Errors in rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 11:06 PM
04-03-2007 11:06 PM
Re: Errors in rc.log
This is a part of the script file that generates the not-found messages. my script file (sorry about the swedish...):
...
if [ -x $STARTSCRIPT ]; then
echo "Fredrik testar ls -lrt"
ls -lrt
echo "Fredrik testar ll"
ll
echo "Fredrik testar ls"
ls
su - sas -c "$STARTSCRIPT start"
set_return
echo $NAME "started."
else
... script continues...
This is what comes out in my rc.log
...
Start SAS Metadata Server
Output from "/sbin/rc3.d/S700sas_metadataserver start":
----------------------------
Fredrik testar ls -lrt
total 5548
-r--r--r-- 1 bin bin 965 Nov 14 2000 .profile
drwxr-xr-x 2 root root 96 Aug 28 2006 lost+found
dr-xr-xr-x 23 bin bin 8192 Aug 28 2006 usr
<-- I 've cut some rows here 2 save space -->
drwx------ 2 root root 96 Apr 4 12:10 .ssh
dr-xr-xr-x 16 bin bin 8192 Apr 4 12:12 dev
drwxrwxrwx 9 bin bin 8192 Apr 4 12:13 tmp
Fredrik testar ll
/sbin/rc3.d/S700sas_metadataserver[50]: ll: not found
Fredrik testar ls
.ICEauthority
.TTauthority
.Xauthority
.dt
<-- I 've cut some rows here 2 save space -->
tmp_mnt
usr
var
/sbin/rc3.d/S700sas_metadataserver[53]: su: not found
ERROR CODE 127
SAS Metadata Server started.
"/sbin/rc3.d/S700sas_metadataserver start" FAILED
... rc.log continues...
1. Is my problem also junk in the /etc/rc.config.d/ directory?
2. How can I figure out what file(s) that aren't supposed to be there?
3. How can strange files in that folder affect the execution of my scripts?
4. How can ls -lrt work an not ll?
I have attached the startupscript and the rc.log file. I think the neccessary information is pasted in this post though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 11:20 PM
04-03-2007 11:20 PM
Re: Errors in rc.log
Since you can't award points, you should start your own thread.
Basically your problem is that in a RC script, your path is probably set to /usr/sbin/.
That has ls(1) but not ll(1). You would have to use ls -l. Or if you know that /usr/bin is mounted, you can add that to the path.
>1. Is my problem also junk in the /etc/rc.config.d/ directory?
Yes, never do that.
>2. How can I figure out what file(s) that aren't supposed to be there?
Look what you changed.
>3. How can strange files in that folder affect the execution of my scripts?
Because that's the way it works. ALL files are sourced.
>4. How can ls -lrt work an not ll?
See comments about about /usr/sbin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 11:23 PM
04-03-2007 11:23 PM
Re: Errors in rc.log
See comments above about /usr/sbin.
When you create a new thread, you can paste in the link of a previous one if that would help explain your new one better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 01:20 AM
04-04-2007 01:20 AM
Re: Errors in rc.log
You were right about the path thing. When I added the path you suggested it worked.
I'm sorry I can't give you any points for your answer. I promise, next time I'll start an own thread.
Best regards
Fredrik Hansson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 12:16 PM
04-04-2007 12:16 PM
Re: Errors in rc.log
Well, if you want to be a nice guy, you can open a new thread and I can re-respond to it. ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 08:17 PM
04-04-2007 08:17 PM
Re: Errors in rc.log
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1115254
to collect your points