- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- inetd start error ..
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-27-2002 02:34 PM
03-27-2002 02:34 PM
/sbin/init.d/inetd start
Internet Services started
/sbin/init.d/inetd[53]: umask: The specified number is not valid for this comman
d.
It is rather odd. I check /etc/inetd.conf and I dont have any odd umask. So I looked at /sbin/init.d/inetd
And the start part of the script has something about a umask.
'start')
if [ -f /etc/rc.config ]; then
. /etc/rc.config
else
echo "ERROR: /etc/rc.config defaults file MISSING"
fi
mask=`umask`
umask 000
[ -x /usr/sbin/inetd ] && /usr/sbin/inetd $INETD_ARGS
set_return
if [ $rval -eq 0 ]; then
echo "Internet Services started"
else
echo "Unable to start Internet Services"
fi
umask $mask
;;
But that is the same as it is on other servers.
The difference is that on the server that I am getting the error on ..
#umask
07077
#umask -S
u=rwx,g=,o=
on the other
#umask
00
# umask -S
u=rwx,g=rwx,o=rwx
looks like something somewhere is setting that umask that is could probably be making that start up script to fail .. Am I on the right track?
Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 02:36 PM
03-27-2002 02:36 PM
Re: inetd start error ..
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 02:40 PM
03-27-2002 02:40 PM
Re: inetd start error ..
This is resulting from the 53rd line of inetd startup script.
53rd line is exactly umask $mask
mask is getting initialized on line 42 with the command "umask"
So, check your /etc/profile or your .profile or root's .profile to see if you are setting a wrong umask.
Correct it if so.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 03:42 PM
03-27-2002 03:42 PM
Re: inetd start error ..
Check your /etc/inetd.conf file and see if you have defined an invalid umsak with any of the daemon.
Hope this help.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 03:48 PM
03-27-2002 03:48 PM
Re: inetd start error ..
Must be a new built in shell variable....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 05:37 PM
03-27-2002 05:37 PM
SolutionThis thread should help:
http://bizforums.itrc.hp.com/cm/QuestionAnswer/1,,0x39bb854994d9d4118fef0090279cd0f9,00.html
Look for Steven's suggestion..
-Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 09:54 PM
03-27-2002 09:54 PM
Re: inetd start error ..
"cat /sbin/rc | grep umask"
-K.Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 01:54 PM
03-28-2002 01:54 PM
Re: inetd start error ..
Steven Sim Kok Leong:
Hi,
Did you recently enabled trusted systems (TCB)? I ever encountered this symptom after I convert the system from untrusted to trusted . For security reasons, TCB set the default umask to 07077. To overcome the default umask, you need to specify your umask settings in /etc/profile eg. umask 022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 02:08 PM
03-28-2002 02:08 PM
Re: inetd start error ..
Just as a caveat to this post, always make a habit of setting the umask in /etc/profile to:
umask 022
when the building the system is the best time. This will avoid many problems later on by the system creating oodles of files with inappropriate permissions like 666 and ownded by root.
Michael