Rdsv3u Sh Scripting Protocol Error
Contents |
I encounter a strange shell script error handling panic issue that happens in "dls" module. Anybody has bash if exit code idea what could be wrong? I didn't experience such issue on earlier S10u10b3 OS.Tomcase 1:panic[cpu41]/thread=2a104ab9ca0:
^m Not Found Shell Script
BAD TRAP: type=31 rp=2a104ab96f0 addr=0 mmu_fsr=0 occurred in module "dls" due to a NULL pointer dereferencesched: trap type = 0x31pid=0, pc=0x7bf555c0, sp=0x2a104ab8f91, tstate=0x80001606, context=0x0g1-g7: 0, 3006d55a440, d000000000000, 194b9c0, 194b800, 10, 2a104ab9ca0000002a104ab9410
Bash Script Exit On Error
unix:die+78 (31, 2a104ab96f0, 0, 0, 2a104ab94d0, 10b8800)%l0-3: 0000000000001fff 0000000000000031 0000000001000000 0000000000002000%l4-7: 00000000018467e0 0000000001846400 000000000000002d 00000000d073e000000002a104ab94f0 unix:trap+9e4 (2a104ab96f0, 10000, 1fff, 5, 0, 1)%l0-3: 0000000000000000 00000000018a66c0 0000000000000031 0000000000000000%l4-7: 0000000000001c00 0000000000000001 0000000000000005 0000000000000002000002a104ab9640 unix:ktl0+64 (300837f3080, 6b0, 0, 70000400, 30000134008, 300837f3080)%l0-3: 0000030009506000 0000000000000148 0000000080001606 000000000101fc74%l4-7: 0000030009506000 0000000000000387 0000000000000000 000002a104ab96f0000002a104ab9790 0 (60035736cf0, 3007c719580, 4f, 60031c2f500, 60035736640, 6b)%l0-3: 0000060034a30378 0000060035736cf0 0000060035736640 0000000000000000%l4-7: 0000060034a30378 0000060035736cf0 0000060035736640 0000060034a30378000002a104ab9840 dls:soft_ring_bind+80 (3007c719580, 6b, 4f, 1, 4840, 7bf56800)%l0-3: 0000000000000000 0000000001990c00 000000007bf55800 0000000000000001%l4-7: 0000000000000000 0000000000000020 0000000000000001 0000000000000001000002a104ab98f0 ip:ip_squeue_soft_ring_affinity+2a4 (3007c224c28, 4f, 1a0d2d8, 1, 70000c58, 0)%l0-3: 00000300095be000 0000000000004020 0000000000000002 00000000018a72e0%l4-7: 0000000000000000 0000000000000000 000003007cf
here for a quick overview of the site Help Center Detailed answers to bash catch error any questions you might have Meta Discuss the workings and
Linux Kernel Error Codes
policies of this site About Us Learn more about Stack Overflow the company Business Learn more bash if exit code not 0 about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a http://networking-discuss.opensolaris.narkive.com/qym63Arv/what-could-be-the-cause-of-panic-in-dls-module-on-solaris10 question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Bash/Korn shell script edited on Windows throws http://unix.stackexchange.com/questions/56024/bash-korn-shell-script-edited-on-windows-throws-error-m-not-found error '…^M: not found' up vote 6 down vote favorite 4 Some background on the issue: I am new to scripting and wrote a simple Bash script in Windows using Notepad++. cxStopAllServicesOnSERVER.sh #!/usr/bin/bash cd "/some/path" echo "Hi. Logs can be found at "`pwd`"/cxStartStopLogger.log" echo "["`date`"]*** STOPPING ALL SERVICES ON SERVER ***" >> "cxStartStopLogger.log" exit Now after uploading it and setting the required file permissions, I tried executing it as follows: bash-3.00$ cat cxStopAllServicesOnSERVER.sh #Let's have a look at the code. #!/usr/bin/bash cd "/some/path/" echo "Hi. Logs can be found at "`pwd`"/cxStartStopLogger.log" echo "["`date`"]*** STOPPING ALL SERVICES ON SERVER ***" >> "cxStartStopLogger.log" bash-3.00$ # Code and hashbang 'looks' correct, bash-3.00$ # if there is any issue with the format (EOL characters and such) bash-3.00$ # we cannot see it using cat. bash-3.00$ bash-3.00$ sh cxStopAllServicesOnSERVER.sh cxStopAllServicesOnSERVER.sh[2]: /some/path^M: not found Hi. Logs can be found at /some/path/cxStartStopLogger.log bash-3.00$ # Note that ^M appears at the end of the
[ DST ] Get VirtualBox Forum powered by phpBB © phpBB Group By any use of this Website, you agree to be bound by these Policies and Terms of Use Sponsored by