- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Start or stop /sbin/init.d services
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
01-15-2008 07:31 AM
01-15-2008 07:31 AM
I have this strange problem.
When i do start/stop of a service get a lot of messages.
For exemple if i do:
root@porx0401:/sbin/init.d> ./xntpd start
./xntpd[37]: 2: not found.
./xntpd[37]: ^M^[[3g^[[49: not found.
./xntpd[37]: 9H^[H^[[49: not found.
./xntpd[37]: 17H^[H^[[49: not found.
./xntpd[37]: 25H^[H^[[49: not found.
./xntpd[37]: 33H^[H^[[49: not found.
./xntpd[37]: 41H^[H^[[49: not found.
./xntpd[37]: 49H^[H^[[49: not found.
./xntpd[37]: 57H^[H^[[49: not found.
./xntpd[37]: 65H^[H^[[49: not found.
./xntpd[37]: 73H^[H^[[49: not found.
./xntpd[37]: 81H^[H^[[49: not found.
./xntpd[37]: 89H^[H^[[49: not found.
./xntpd[37]: 97H^[H^[[49: not found.
./xntpd[37]: 105H^[H^[[49: not found.
./xntpd[37]: 113H^[H^[[49: not found.
./xntpd[37]: 121H^[H^[[49: not found.
./xntpd[37]: 129H^[H^[[49: not found.
./xntpd[37]: 137H^[H^M^[[49: not found.
./xntpd[37]: 1H^[[?25h^[[?1hporx0401:/etc/rc.config.d: not found.
./xntpd[37]: 1H^[[48Bporx0401:/etc/rc.config.d: not found.
./xntpd[37]: 1H^[[48B^[[K/^H^[[K^[[7mNo: not found.
./xntpd[37]: 1Hmesvrs^H^G^G^G^G^G^G^G^G^G: not found.
15 Jan 15:30:16 ntpdate[5188]: step time server 172.28.7.1 offset -0.010840 sec
Any ideas, what this could be?
Regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 07:39 AM
01-15-2008 07:39 AM
Re: Start or stop /sbin/init.d services
Have a look at the script, around line 37, and see what it looks like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 07:52 AM
01-15-2008 07:52 AM
Re: Start or stop /sbin/init.d services
Check this file for errors.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 08:01 AM
01-15-2008 08:01 AM
Re: Start or stop /sbin/init.d services
Grab one from another server -as yours has been corrupted...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 08:03 AM
01-15-2008 08:03 AM
Re: Start or stop /sbin/init.d services
line 37 indicates /etc/rc.config (this script sources configuration files for various subsystems) please check if the entries there are correct
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 08:06 AM
01-15-2008 08:06 AM
Re: Start or stop /sbin/init.d services
cd /etc/rc.config.d
ls > mylistoffiles
Now, all would be well until the machine were shutdown or restarted and then /etc/rc.config.d/mylistoffiles would also be sourced for every rc'ed script.
Make sure that there are no files in /etc/rc.config.d which do not belong there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 08:02 AM
01-16-2008 08:02 AM
Re: Start or stop /sbin/init.d services
Sorry for my late reply.
The problem occours with any serveci:
root@porx0401:/sbin/init.d> ./sendmail stop
./sendmail[117]: 2: not found.
./sendmail[117]: ^M^[[3g^[[49: not found.
./sendmail[117]: 9H^[H^[[49: not found.
./sendmail[117]: 17H^[H^[[49: not found.
./sendmail[117]: 25H^[H^[[49: not found.
./sendmail[117]: 33H^[H^[[49: not found.
./sendmail[117]: 41H^[H^[[49: not found.
./sendmail[117]: 49H^[H^[[49: not found.
./sendmail[117]: 57H^[H^[[49: not found.
./sendmail[117]: 65H^[H^[[49: not found.
./sendmail[117]: 73H^[H^[[49: not found.
./sendmail[117]: 81H^[H^[[49: not found.
./sendmail[117]: 89H^[H^[[49: not found.
./sendmail[117]: 97H^[H^[[49: not found.
./sendmail[117]: 105H^[H^[[49: not found.
./sendmail[117]: 113H^[H^[[49: not found.
./sendmail[117]: 121H^[H^[[49: not found.
./sendmail[117]: 129H^[H^[[49: not found.
./sendmail[117]: 137H^[H^M^[[49: not found.
./sendmail[117]: 1H^[[?25h^[[?1hporx0401:/etc/rc.config.d: not found.
./sendmail[117]: 1H^[[48Bporx0401:/etc/rc.config.d: not found.
./sendmail[117]: 1H^[[48B^[[K/^H^[[K^[[7mNo: not found.
./sendmail[117]: 1Hmesvrs^H^G^G^G^G^G^G^G^G^G: not found.
No sendmail server running
I already check my /etc/rc.config looks fine to me ..
any ideas ?
Tanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 08:45 AM
01-16-2008 08:45 AM
Re: Start or stop /sbin/init.d services
Post an 'ls /etc/rc.config.d' or 'll /etc/rc.config.d' so we can take a look at the files there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 11:34 AM
01-16-2008 11:34 AM
Solutioncd /etc/rc.config.d
cat * > /tmp/mylist
Now examine /tmp/mylist with a text editor (e.g. vi) and you are going to find one section of that files that looks very different --- that's your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2008 02:27 AM
01-18-2008 02:27 AM
Re: Start or stop /sbin/init.d services
My real problem is in . /etc/rc.config
root@porx0401:/etc/rc.config.d> . /etc/rc.config
sh: 2: not found.
sh: ^M^[[3g^[[49: not found.
sh: 9H^[H^[[49: not found.
sh: 17H^[H^[[49: not found.
sh: 25H^[H^[[49: not found.
sh: 33H^[H^[[49: not found.
sh: 41H^[H^[[49: not found.
sh: 49H^[H^[[49: not found.
sh: 57H^[H^[[49: not found.
sh: 65H^[H^[[49: not found.
sh: 73H^[H^[[49: not found.
sh: 81H^[H^[[49: not found.
sh: 89H^[H^[[49: not found.
sh: 97H^[H^[[49: not found.
sh: 105H^[H^[[49: not found.
sh: 113H^[H^[[49: not found.
sh: 121H^[H^[[49: not found.
sh: 129H^[H^[[49: not found.
sh: 137H^[H^M^[[49: not found.
sh: 1H^[[?25h^[[?1hporx0401:/etc/rc.config.d: not found.
sh: 1H^[[48Bporx0401:/etc/rc.config.d: not found.
sh: 1H^[[48B^[[K/^H^[[K^[[7mNo: not found.
sh: 1Hmesvrs^H^G^G^G^G^G^G^G^G^G: not found.
root@porx0401:/etc/rc.config.d>
One ls of my /etc/rc.config.d/
root@porx0401:/etc/rc.config.d> ls
LANG desktop hpws_webproxyconf ptydaemon
Rpcd diagnostic hpws_xmltoolsconf pwgr
SnmpHpunix ems i4lmd samba
SnmpMaster emsagtconf kl savecrash
SnmpMib2 eus kminit set_date
SnmpTrpDst fc_fcd_conf list_mode slsd
acct fc_td_conf lp sshd
audio hparamgr ls swconfig
auditing hparray mailservs syncer
cde hpbtlanconf namesvrs syslogd
cifsclient hpetherconf nddconf tps
cimserver hpfcmsconf netconf vlanconf
clean hpfddi4conf netdaemons vt
clean_tmps hpgelanconf nettl webadmin
clean_uucp hpietherconf nfsconf xf86
comsec hpigelanconf pci_olar xfs
crashconf hpws_apacheconf pd
cron hpws_tomcatconf pdcinfo
dce hpws_webminconf prngd
What can cause this ?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2008 02:58 AM
01-18-2008 02:58 AM
Re: Start or stop /sbin/init.d services
with 'ls' you don't see special characters!
Even 'del' can create such caracters in a file name.
Do like ACS said or use the file manager to see the whole file names.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2008 03:07 AM
01-18-2008 03:07 AM
Re: Start or stop /sbin/init.d services
I do like ACD said and i figher out what is the problem.
Seems that i have a file with rong caractheres that don't beelong to /etc/rc.config.d
Thanks for the greate help
Regards ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2008 03:12 AM
01-18-2008 03:12 AM
Re: Start or stop /sbin/init.d services
No need, that would be giving in to the dark side. ;-)
Use "ll -ab" to see everything even unprintable chars.
You could also search for those control-Gs:
fgrep ^G /sbin/init.d/*
- Tags:
- unprintable chars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2008 03:15 AM
01-18-2008 03:15 AM
Re: Start or stop /sbin/init.d services
Problem Solve.
Thanks for the great help
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2008 03:23 AM
01-18-2008 03:23 AM
Re: Start or stop /sbin/init.d services
In general, /etc/rc.config should never be modified, so it's likely that those garbage characters are coming from some file in /etc/rc.config.d.
To identify the file, run:
cd /etc/rc.config.d
for FILE in *; do echo $FILE; . ./$FILE; done
Normally, this should just output a list of files in the /etc/rc.config.d directory.
Any other output (error messages similar to what your service start/stop scripts are producing) will be caused by the file listed *just before* the extra output.
MK