<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: /sbin/rc[61]: Error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715759#M61849</link>
    <description>Hi Tuncay:&lt;BR /&gt;&lt;BR /&gt;The first thing I would check is the files under /etc/rc.config.d directory. If you see any unwanted files under this ( may be somebody accidently moved some commands here), then remove it and reboot the system. Boot in single user mode and check this. That may solve the issue.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
    <pubDate>Thu, 02 May 2002 14:54:27 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2002-05-02T14:54:27Z</dc:date>
    <item>
      <title>/sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715755#M61845</link>
      <description>Hi All,&lt;BR /&gt;I have HP Visualize C200 running HP-UX 10.20.&lt;BR /&gt;When I boot the system I can get the following error:&lt;BR /&gt;/sbin/rc[61]: ^M: not found&lt;BR /&gt;   "                "&lt;BR /&gt;   "                "&lt;BR /&gt;...&lt;BR /&gt;It is also indicated in /etc/rc.log. Also /etc/rc.log file consists ;&lt;BR /&gt;&lt;BR /&gt;"/sbin/rc1.d/S320hostname start" FAILED&lt;BR /&gt;...&lt;BR /&gt;/sb??n/rc1.d/S320hostname[36]: ^M: not found.&lt;BR /&gt;    "                    "&lt;BR /&gt;    "                    "&lt;BR /&gt;...errors.&lt;BR /&gt;&lt;BR /&gt;Then, in start-up progress, Setting Hostname : [FAIL] message.&lt;BR /&gt;&lt;BR /&gt;I make all network configurations and then the system pings outside, FTP works fine etc. But CDE fails to start. The hostname is mercur and I get response from&lt;BR /&gt;&lt;BR /&gt;# hostname&lt;BR /&gt;# uname -a&lt;BR /&gt;&lt;BR /&gt;commands.&lt;BR /&gt;&lt;BR /&gt;Can anybody help me about this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks for now.</description>
      <pubDate>Thu, 02 May 2002 14:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715755#M61845</guid>
      <dc:creator>Tuncay Ozisik</dc:creator>
      <dc:date>2002-05-02T14:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715756#M61846</link>
      <description>Hi Tuncay,&lt;BR /&gt;&lt;BR /&gt;Check your /etc/rc.config.d/netconf file and look at the syntax of this file.&lt;BR /&gt;&lt;BR /&gt;Also try to set the hostname manually by runnign the command /sbin/init.d/hostname start&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 02 May 2002 14:52:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715756#M61846</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-05-02T14:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715757#M61847</link>
      <description>What does your /etc/rc.config.d/ directories file look like?&lt;BR /&gt;&lt;BR /&gt;I think you have some bad filenames in there!!!&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config does this:&lt;BR /&gt;&lt;BR /&gt;for CFG_FILE in /etc/rc.config.d/* /etc/TIMEZONE&lt;BR /&gt;do&lt;BR /&gt;        fname=${CFG_FILE##*/}           # get file basename&lt;BR /&gt;        if [ -f $CFG_FILE -a "$fname" != "core" -a "${fname##*[.,~\#]}" = "$fnam&lt;BR /&gt;e" ]&lt;BR /&gt;        then . $CFG_FILE                # source a valid config file&lt;BR /&gt;        fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 14:53:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715757#M61847</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-05-02T14:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715758#M61848</link>
      <description>on my 10.20 system, line 61 of /sbin/rc is:&lt;BR /&gt;&lt;BR /&gt;   . /etc/rc.config&lt;BR /&gt;&lt;BR /&gt;so either you have a carriage return (the ^M) embedded in the /sbin/rc script on that line or the line above, or there is one in the file /etc/rc.config.  Do "cat -v /sbin/rc" to see if this is the case.  You can remove it with vi, with the "set list" option turned on to see the control-codes.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Thu, 02 May 2002 14:54:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715758#M61848</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-05-02T14:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715759#M61849</link>
      <description>Hi Tuncay:&lt;BR /&gt;&lt;BR /&gt;The first thing I would check is the files under /etc/rc.config.d directory. If you see any unwanted files under this ( may be somebody accidently moved some commands here), then remove it and reboot the system. Boot in single user mode and check this. That may solve the issue.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Thu, 02 May 2002 14:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715759#M61849</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-05-02T14:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715760#M61850</link>
      <description>Try this,&lt;BR /&gt;&lt;BR /&gt;dos2ux rc &amp;gt; file ; mv file1 rc&lt;BR /&gt;&lt;BR /&gt;This should strip the ^M's out.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 14:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715760#M61850</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2002-05-02T14:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715761#M61851</link>
      <description>Hi Tuncay,&lt;BR /&gt;&lt;BR /&gt; The S320hostname script in /sbin/rc1.d is failing.&lt;BR /&gt;&lt;BR /&gt;1)Check that the file that it links to - /sbin/init.d/hostname has not been deleted or corrupted.&lt;BR /&gt;&lt;BR /&gt;2) Check the config file for this script /etc/rc.config.d/hostname has not been deleted or corrupted.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 02 May 2002 14:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715761#M61851</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-05-02T14:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715762#M61852</link>
      <description>looks like something wrong with the script. Have you tried running the script manually as root as see if you get the same error?</description>
      <pubDate>Thu, 02 May 2002 14:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715762#M61852</guid>
      <dc:creator>ashish nanjiani</dc:creator>
      <dc:date>2002-05-02T14:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715763#M61853</link>
      <description>Tuncay,&lt;BR /&gt;&lt;BR /&gt;The easiest way to make sure the hostname is not misconfigured somewhere would be to run&lt;BR /&gt;/sbin/set_parms hostname&lt;BR /&gt;&lt;BR /&gt;If that doesn't straighten it out, then you've got other problems.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 02 May 2002 14:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715763#M61853</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-05-02T14:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715764#M61854</link>
      <description>First of all, has someone been opening these files via a windows machine? The ^M is the return Character on windows. So if any files are being accessed by Micro$oft applications this can happen. &lt;BR /&gt;&lt;BR /&gt;I suggest fixing the file manualy or with the dos2ux command as posted earlier.&lt;BR /&gt;&lt;BR /&gt;-Yates</description>
      <pubDate>Thu, 02 May 2002 15:04:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715764#M61854</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2002-05-02T15:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715765#M61855</link>
      <description>Check line 36&lt;BR /&gt;of&lt;BR /&gt;/sb??n/rc1.d/S320hostname&lt;BR /&gt;for the ^M error.&lt;BR /&gt;&lt;BR /&gt;dos2ux /sb??n/rc1.d/S320hostname &amp;gt; /tmp/S320hostname&lt;BR /&gt;&lt;BR /&gt;mv /sb??n/rc1.d/S320hostname /S320hostname.old&lt;BR /&gt;mv /tmp/S320hostname /sb??n/rc1.d/S320hostname &lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 02 May 2002 15:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715765#M61855</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-05-02T15:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715766#M61856</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;two points to check:&lt;BR /&gt;- somebody seems to have transferred file from a windows machine using "ftp" in ASCII mode to your HP-UX server, never do this (as you get those "^M" at the end of each line)&lt;BR /&gt;- maybe somebody tried to keep "backups" of the original files in "/etc/rc.config.d/", again: never do this as ALL files in that directory are used, regardless of filenames!&lt;BR /&gt;&lt;BR /&gt;Just my $0.02,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 16:04:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715766#M61856</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-05-02T16:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/rc[61]: Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715767#M61857</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;Yes, you solved the "/sbin/rc[61]:^M: not found" problem, thank you very much. The problem was the /sbin/rc.config.d/netconf and file that is full of ^M. Also, there was some ^M codes in the /etc/hosts file. I used vi editor with the set list option to see this codes. Then, I removed all with the dos2ux utility. After the network setup with SAM, the system started to work normally. I did not touch netconf file on HP-UX server via FTP or any unix editor, how is that possible? Only I transferred once the hosts file from Windows via FTP. Anyway, the problem solved!&lt;BR /&gt;&lt;BR /&gt;Thanks again, &lt;BR /&gt;astro&lt;BR /&gt;&lt;BR /&gt;Tuncay Ozisik</description>
      <pubDate>Tue, 07 May 2002 06:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-rc-61-error/m-p/2715767#M61857</guid>
      <dc:creator>Tuncay Ozisik</dc:creator>
      <dc:date>2002-05-07T06:49:08Z</dc:date>
    </item>
  </channel>
</rss>

