Powershell v4: Start-Process rar.exe
Good day.
I apologize in advance for my bad english.
I need to call rar.exe (cmd winrar) with Start-Process cmdlet (and not with &), because I need the script waits for completion of archiving, so I want to use it with -Wait parameter. But I do not really know how to type Argumentlist:
Start-Process -FilePath "path_to_winrar\rar.exe" -ArgumentList "a -df $ArchiveName @$filelist" -Wait
Where $filelist is the list with files to archive.
Actually i have tried many combinations but did not succeed, the archive just does not created.
Please help.
2 Bill_Stewart
I don`t know how to explain this. It works if I define variables in script, for example easy script to collect files, put them to the list, archive them and then delete (it is just an example, I know I can delete files by
-df parameter of rar.exe):
#get some files for archiving
$Files = Get-ChildItem "E:\Startx" -Recurse -File
#define list of files for archiving
$filelist = "G:\Utilization\Reports\filelist.txt"
#add files fullnames to the list
$Files | foreach {$_.Fullname} | Out-File $filelist -Append
$reportname = "G:\Utilization\Reports\Del_report.txt"
$archivename = "G:\Utilization\Archives\archive.rar"
#add files from $filelist to archive
if ($Files -ne $null) {&"C:\Users\kopilov\Desktop\WinRar\rar.exe" a $Archivename "@$filelist"}
#then delete all these files
foreach ($file in $Files)
if ($file -ne $null)
"Deleting $($file.Fullname)" | Out-File $ReportName -Append
Remove-Item $file.Fullname | Out-Null
else
"No files for deletion" | Out-File $ReportName -Append
BUT there is another example, where files collected by lastaccesstime attribute (actually it does not matter),
however variables are set as parameters during start of the script:
C:\Users\kopilov\Desktop\arraytest.ps1 -TargetFolder "E:\Startx" -Minutes 1
And the file deletion function does not wait for the rar.exe to complete, and files are deleted
before archiving.
The script itself:
param(
[parameter(Mandatory = $true)]
$TargetFolder,
[parameter(Mandatory = $true)]
$Minutes
$Now = Get-Date
$LastAccess = $Now.AddMinutes(-$Minutes)
$Files = Get-ChildItem $TargetFolder -Recurse -File | Where {$_.LastAccessTime -le "$LastAccess"}
$NameDate = (Get-Date).tostring("dd.MM.yyyy")
$ReportName = 'G:\Utilization\Reports\' + "$((Get-Item $TargetFolder).name)_" + $NameDate + '.txt'
$ArchiveName = 'G:\Utilization\Archives\' + "$((Get-Item $TargetFolder).name)_" + $NameDate + '.zip'
$filelist = 'G:\Utilization\Reports\'+ "$((Get-Item $TargetFolder).name)list_" + $NameDate + '.txt'
$Files | foreach {$_.Fullname} | Out-File $filelist -Append
if ($Files -ne $null) {&"C:\Users\kopilov\Desktop\WinRar\rar.exe" a $ArchiveName "@$filelist"}
foreach ($file in $Files)
if ($file -ne $null)
"Deleting $($file.Fullname)" | Out-File $ReportName -Append
Remove-Item $file.Fullname | Out-Null
else
"No files to delete" | Out-File $ReportName -Append
It is almost the same, but call operator & works different. Do not know how to explain this.
P.S. i just figured out that Start-Process with -Wait parameter works like call operator &.
Sorry, I was wrong. I don`t know why scripts above works different :(
Similar Messages
-
I am new in PS so please forgive me for any idiocy I speak. I have a File Server in Windows 2012 R2, a couple days ago I added one domain user to local administrator group in this File Server. For any folder that I try to access I am getting the Warning message
saying: "You don't currently have permissions to access this folder. Click Continue to permanently get access to this folder." When I click "Continue" the Windows grants to me the rights permissions, ok it is perfect but I have to do it
for any folder in my file server.
So, let's to I tried so far..
I know I can use Set-acl to set the permissions to the user but for this likely I will need change almost the whole permissions structure.
Actually I am trying use Invoke-Item and Start-Process to simulate the folder access and ofcourse the Warning permissions popup came up. What I am thinking about and can't realize is make each time the Warning permissions popup come up by using Invoke-Item
or Start-Process whatever the Powershell automaticaly clicks on the "Continue" button.
Any one can help me with, please?Hi Michel,
you can circumvent the ACL System by enabling Backup and Restore privileges (when running locally). There's a
great Module for that.
However, for a more pragmatic approach, shouldn't access-permissions be handled using Domain Groups? If you want a File Server Admin, why not create a single group named "Data Administrators", set it to full control for all directories (that'll
take changing the permissions once, which will probably take some time) and add that user to this group.
That way, if you later want to have another user administrate the folder structure, all you need to do is change group membership. Furthermore it avoids having to add local administrative privileges for a function that doesn't really require them (least
privilege best practice).
Cheers,
Fred
There's no place like 127.0.0.1 -
Scheduled Task - Stop/Start processes and .exe
I've running some short batch files to stop a process and an .exe at just past midnight.
and then corresponding files to start a process and an .exe at 6am
I've set up Task Scheduler to run the Stops at 00:05 and 00:10
and then the starts at 06:30 and 06:40
However when I run tests, the scheduled tasks giving a status of "running" long after the the "stop" batch files have run.
How can i set them up so they run once, then stop running so there is no danger of conflict when the "start" tasks run in the morning.
I hope this is clear.
Thanks
PeteHi,
Please check the in the task manager (+show tasks from all users) to see if it is indeed still running. You could refer to the thread below to troubleshoot the issue:
TASK SCHEDULER: scheduler status is being “RUNNING” always
http://social.technet.microsoft.com/Forums/en-US/2f6dc29c-3b8b-45f5-a2a7-53e076acc062/task-scheduler-scheduler-status-is-being-running-always
If the issue still exists, the workaround is adding this line at the very end of the batch file:
TASKKILL /F /IM cmd.exe
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Start-Process ignores the parameter "-wait" with explorer.exe
Hi all,
maybe it´s a stupid question, but...
Start-Process notepad.exe -Wait
...will wait for closing the process "notepad.exe".
Start-Process explorer.exe -Wait
...will not wait for closing it, instead the script will go on.
My question: Why? :) is it because "explorer.exe" is a core element of Windows and there are more then one process? For whaty exactly is the parameter "-wait" waiting for? Finishing the process name, the Process ID?
is it a bug?
Otherwise, do you have a good idea for that scenario:
a script will be started and opens a dedicated network share. Within this share the user (ServiceDesk Employee) can paste a CSV file, and after closing the Explorer, the script will read in this CSV and import that informations.
Thank you guys!I think the issue is due to explorer.exe is always running, if you stop that process, then you will lose your entire desktop. By opening File Explorer, a new explorer.exe process does not start up. You can verify this by opening task manager, and under the
process tab, look at your process count, and then open a few File Explorer windows, this count does not change.
Your script may need to be a two step process, where the Help Desk user manually copies the CSV file, then runs the script, or you can do a Read-Host, where they put in the path to the CSV file, and then your script can copy it to where it needs to go, and
then continue its execution.
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
Don't Retire Technet -
Powershell start-process argumentlist
I have an issue with powershell 4.0 where start-process converts my credentials from a type of System.Management.Automation.PSCredential to System.String. Use the following lines to replicate this:
$Credentials = Get-Credential
get-member -InputObject $Credentials
start-process C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ArgumentList "Get-Member -inputobject $Credentials | out-file C:\results.txt"
If you look at the results of the 1st get-member command, the type is System.Management.Automation.PSCredential. If you look at the results of the 2nd get-member command, the type is System.String. Does anyone know if this is intended behavior?
Is there a way around it?I am using start-process to run a command which interfaces with VMware PowerCLI. One of the cmdlets of powercli is Set-OSCustomizationSpec. Set-OSCustomizationSpec has an argument that accepts PSCredentials, -DomainCredentials. When the
credentials are passed without start-process, the cmdlet succeeds. If I call it with start process, the cmdlet fails with the error
'Set-OSCustomizationSpec : Cannot bind parameter 'DomainCredentials'. Cannot convert the "System.Management.Automation.PSCredential" value of type "System.String" to type "System.Management.Automation.PSCredential"'
The actual command i am using is: "start-process powershell -argumentlist "<Add VMwareSnapins>;Set-OSCustomizationSpec <SPEC> -NamingScheme <Scheme> -NamingPrefix <Name> -DomainCredentials <Credentials>; new-vm..."
If you issue the command "get-member -inputobject $Credentials | out-file C:\results.txt" the type shows system.management.automation.pscredential. If you issue the exact same command with start-process(start-process powershell.exe -argumentlist
"get-member....) the type shows system.string.
The issue has nothing to do with piping to a text file. The original post was simply a demonstration of the error. I apologize for the initial lack of clarity. -
Yesterday i installed the firefox 6.0 on my windows 7 computer. When i double-click the mozilla icon, it doesn't start. I opened the task manager and noted that the process "firefox.exe" appears and desappear after 5 seconds. I tried to start mozilla in safe mode but the problem remains. The only way to use mozilla in my computer is restarting the windows in safe-mode. Last thing: i already tried to reinstall the program. Please help me!
I'm also using Windows 7 on a Lenovo U310 laptop.
-
Process Jcontrol.exe not started
Hi Basis Gurus
I have a new SAP NW PI 7.0 instance and I am facing few issues relating to Integration Server(abap) cache refresh etc.
On investigating I have found that in SAP MMC process Jcontrol.exe is in yellow status and always has a status "Starting the process".
I have no idea about this process and I am not a SAP Basis guy.
My question is ... Is this process of significant importance for SAP PI to work properly.
If yes then what can be done to resolve this issue.
Thanx
Lovein
(P.S System info of this instance shows kernel patch as 7.00 PatchLevel 109886.44)Hi Mahesh
Note 940309 is interesting. But why do you think this can be relevant in my issue.
I do not have a different client for my integration server.
I have only 1 client 001 .
Another note 741214 suggests to do a cpa cache refresh using Directory server user I believe PIDIRUSER.
If, for some reason, the cache contents do not correspond to the configuration data maintained in the directory and the activation of the change lists in the directory does not work, a cache refresh (both full and delta) can also be started manually on the Adapter Engine Cache page.
To do this, call the following URL:
http://<host>:<J2EE-Port>/CPACache/refresh?mode=full|delta (Directory service user)
But when I perform cache refresh I do get error user is not authorized. I checked sap guides and verified that user has role "SAP_XI_ID_SERV_USER" and profile "Profil zur Rolle SAP_XI_ID_SERV_USER" maintained in system.
Thanx
Lovein -
Hi,
I need some help with my script. It copies the file to the remote laptops but when it needs to install the .exe it fails.
If I run 1 line at the time in Powershell ISE, then it works. Somebody has an idea why it doesn't work or can help me on the right way?
Script:
$laptops = Get-Content -Path "C:\Users\bruyld01\Documents\STEPSTONE\Powershell\SAP\LaptopList.txt"
foreach ($laptop in $laptops)
Copy-Item "C:\Users\bruyld01\Desktop\SAP_Business_ByDesign_Add-In_for_Microsoft_Outlook_V5.exe" -Destination \\$laptop\C$\
Enter-PSSession $laptop
$version = Get-WmiObject -Class Win32_Product | where {$_.Name -like "*SAP Business*"} | Select-Object Version
if ($version -ne "135.0.2071.1047")
Start-Process -Filepath "C:\SAP_Business_ByDesign_Add-In_for_Microsoft_Outlook_V5.exe" -ArgumentList "/quiet"
else
Write-Host "SAP outlook add-in is up to date!" -ForegroundColor Green
Exit-PSSession
Error message:
Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
At line:2 char:1
+ Start-Process -Filepath "C:\SAP_Business_ByDesign_Add-In_for_Microsoft_Outlook_V ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Thanks,
DimitriHi,
Enter-PSSession is used for interactive remote sessions. Look into Invoke-Command instead.
http://ss64.com/ps/invoke-command.html
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing) -
Invoke-WMIMethod failed to start process on remote server
Hi Folks,
I am trying to run an exe in remote server to automate some of my application startup process in disconnected mode(Using powershell 2.0). However Invoke-WmiMethod does not trigger the application but start-process triggers it fine. I am trying following
command -
$FullExecutable = "\\remoteserver\abc\project\environment\ServerApplications\ApplicationDirectory\App.exe"
$Arguments = "stanza=ApplicationVariable"
PS Microsoft.PowerShell.Core\FileSystem::\\remoteserver\abc\project\environment\ServerApplications\ApplicationDirectory> Invoke-WmiMethod -class Win32_process -name Create -ArgumentList "$FullExecutable $Arguments"
I tried these options but no luck -
http://social.technet.microsoft.com/wiki/contents/articles/7703.powershell-running-executables.aspx
Please help me fixing this issue. Thanks for any advice.
CharlieHi Charlie,
Since I have no test app.exe file, I tested with notepad.exe and ran these scripts to open local file D:\1.txt, would you please list the test results with app.exe:
$a="Notepad.exe"
$b="D:\1.txt"
Invoke-WMIMethod -Class Win32_Process -Name Create -ArgumentList "$a $b"
([wmiclass]"win32_Process").create("$a $b")
Start-Process $a -ArgumentList $b -wait -NoNewWindow -PassThru
If you have any other questions, please feel free to let me know.
Best Regards,
Anna Wang -
Photoshop CS6 not closing process photoshop.exe after shutdown
Oke I have this strange problem with processes that are not stopping Because it is not stopping i cant open photoshop on a later time hours later because the program thiks it is running on the background somewhere i cant find it. After terminating the process photoshop.exe and retry it opens again. What is wrong?
Adobe Photoshop Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 3073 MHz
Built-in memory: 24567 MB
Free memory: 18592 MB
Memory available to Photoshop: 22240 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: GeForce 9800 GT/PCIe/SSE2
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1080, right: 1920
Video Card Number: 2
Video Card: NVIDIA GeForce 9800 GT
OpenCL Unavailable
Driver Version: 8.17.13.142
Driver Date: 20120515000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode:
Video Card Caption: NVIDIA GeForce 9800 GT
Video Card Memory: 512 MB
Video Rect Texture Size: 8192
Video Card Number: 1
Video Card: LogMeIn Mirror Driver
OpenCL Unavailable
Driver Version: 7.1.542.0
Driver Date: 20060522000000.000000-000
Video Card Driver:
Video Mode: 1920 x 1080 x 4294967296 kleuren
Video Card Caption: LogMeIn Mirror Driver
Video Card Memory: 512 MB
Video Rect Texture Size: 8192
Serial number: 92298706623765148324
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\eigenaar\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
Startup, 931,5G, 723,1G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not setDo you have any other editing program like DxO installed? Sometimes that interferes with PS, but mostly Bridge. If you do, be sure you are running their most recent update. DxO cleared up after going to their 64 bit version.
I would attempt to isolate the problem starting in Safe Mode. Will PS exit properly in Safe Mode?
Online checks for similar problems (Firefox is notorious for this problem) indicates certain apps like Java is indicated, but I doubt this here. Also, corrupt drivers are indicated.
Run a query: "Apps won't close in Win7" in Google and see if you have any similar setups you come across there. -
CE: Process jstart.exe stopps after reboot
Hello,
Recently I have installed the newest trial version of CE7.1. After finishing the installation procedure I followed the installation manual (which means that I could use CE). Now I have rebootet my System (WinXP SP3) and whenever I try to start CE the Process jstart.exe (work 0) stopps after some seconds. Below I have copied the log. What makes me wonder is the fact, that the process had worked perfectly after the installation.
I hope there is someone who can help me,
Thomas
[Thr 3872] *** LOG => Process collector started (pid 2448).
F
F [Thr 3872] Mon Dec 22 17:38:29 2008
F [Thr 3872] *** LOG => Process collector stopping (pid 2448).
F
F [Thr 2444] Mon Dec 22 17:38:30 2008
F [Thr 2444] *** LOG => Signal 13 SIGCHLD.
F
F [Thr 3872] Mon Dec 22 17:38:30 2008
F [Thr 3872] *** LOG => Process collector stopped (pid 2448).
F [Thr 3872] *** LOG => Instance state is "Synchronizing binaries" (STOPPING @ 0, INACTIVE).
F [Thr 3872] *** LOG => Run level 2 completed.
F [Thr 3872] *** LOG => Instance state is "Some processes failed" (STOPPED @ 0, INACTIVE).
F [Thr 3872] *** LOG => exiting (exitcode 22002, retcode 1).Hi,
Please go through this thread.
Re: jstart never start in NetWeaver CE 7.1
Regards,
Gayathri -
Hi,
Can anyone see why this is running the program but not passing the arguments across. It fires up but then closes, with no logs that I can find
$startRichCopy = "C:\RichCopy4.0\RichCopy64.exe"
$arguments = "d:\internal \\remotenas.qav-dr.com\QAV-SS1_Remote\e_internal /QA /UE /US /UD /UC /UPF /UPC /UPS /UFC /UCS /USC /USS /USD /UPR /UET"
start-process $startRichCopy $arguments
Thanks
Alter De RuineHi,
Have you tried above suggestions? Any update here?
TechNet Subscriber Support
If you are
TechNet Subscription
user and have any feedback on our support quality, please send your feedback
here.
Regards, Yan Li -
I would like to call exe(start process) on another computer from CLR procedure?
Is it possible?
Now, i have System.Diagnostics.Process but it copies exe locally and run it on sql server computer, not on remote one.You could use WMI library subject to security considerations, but this is unsupported, assembly and dependencies must be UNSAFE, and your code may stop working in future releases. Search this forum for "WMI" to see some of the things folks have
run into.
Cheers, Bob
-
I am running an invoke command from a PC to run a .bat file on a remote server. However i would like to see the output of the .bat file run in my powershell window on my local PC. Any tips on this?
I have this at the moment
invoke-command -computername Server {start-process c:\install\.bat}
however this just completes without showing me anything. Can i see the output of the .bat file on my local PC?
Thanks in advanceinvoke-command -computername Server01 -filepath c:\Scripts\scriptname.ps1
The script has to be on the local machine or has access to it.
If this is helpful please mark it so. Also if this solved your problem mark as answer. -
Could not start disp+work.exe dispatcher on IDES4.7
could not start disp+work.exe dispatcher on IDES4.7
Messageserver is running
All services of oracle r runningtrc file: "dev_disp", trc level: 1, release: "620"
Wed Sep 19 13:50:26 2007
systemid 560 (PC with Windows NT)
relno 6200
patchlevel 0
patchno 251
intno 20020600
pid 3352
***LOG Q00=> DpSapEnvInit, DPStart (00 3352) [dpxxdisp.c 966]
shared lib "dw_xml.dll" version 252 successfully loaded
shared lib "dw_xtc.dll" version 252 successfully loaded
shared lib "dw_stl.dll" version 252 successfully loaded
Wed Sep 19 13:50:31 2007
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 3140]
MtxInit: -2 0 0
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation std
<EsNT> Memory Reset enabled as NT default
<EsNT> EsIUnamFileMapInit: Initialize the memory 608 MB
<ES> 607 blocks reserved for free list.
ES initialized.
Wed Sep 19 13:50:32 2007
***LOG Q0K=> DpMsAttach, mscon ( mysap) [dpxxdisp.c 8832]
CCMS: Initalizing shared memory of size 20000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6200, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 940]
DpMsgAdmin: Set patchno for this platform to 251
Release check o.K.
Wed Sep 19 13:51:12 2007
ERROR => W0 (pid 3412) died [dpxxdisp.c 11210]
ERROR => W1 (pid 3420) died [dpxxdisp.c 11210]
ERROR => W2 (pid 3428) died [dpxxdisp.c 11210]
ERROR => W3 (pid 3436) died [dpxxdisp.c 11210]
ERROR => W4 (pid 3444) died [dpxxdisp.c 11210]
ERROR => W5 (pid 3452) died [dpxxdisp.c 11210]
ERROR => W6 (pid 3460) died [dpxxdisp.c 11210]
ERROR => W7 (pid 3468) died [dpxxdisp.c 11210]
ERROR => W8 (pid 3476) died [dpxxdisp.c 11210]
ERROR => W9 (pid 3484) died [dpxxdisp.c 11210]
ERROR => W10 (pid 3492) died [dpxxdisp.c 11210]
ERROR => W11 (pid 3500) died [dpxxdisp.c 11210]
ERROR => W12 (pid 3508) died [dpxxdisp.c 11210]
ERROR => W13 (pid 3516) died [dpxxdisp.c 11210]
ERROR => W14 (pid 3524) died [dpxxdisp.c 11210]
my types changed after wp death/restart 0xbf --> 0x80
DP_FATAL_ERROR => DpEnvCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
ERROR => DpMBufRead: state MBUF_PREPARED, opmode MBUF_USE [dpxxmbuf.c 503]
ERROR => DpModState: DpMBufRead failed (-1) [dpxxdisp.c 13129]
Wed Sep 19 13:51:15 2007
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 9058]
MBUF state OFF
MBUF component DOWN
***LOG Q05=> DpHalt, DPStop ( 3352) [dpxxdisp.c 7637]
******************************************************************************************************************************88
trc file: "dev_w0", trc level: 1, release: "620"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
B
B Wed Sep 19 13:50:46 2007
B create_con (con_name=R/3)
B Loading DB library 'C:\usr\sap\ECC\SYS\exe\run\dboraslib.dll' ...
B Library 'C:\usr\sap\ECC\SYS\exe\run\dboraslib.dll' loaded
B Version of 'C:\usr\sap\ECC\SYS\exe\run\dboraslib.dll' is "620.02", patchlevel (0.112)
B New connection 0 created
M systemid 560 (PC with Windows NT)
M relno 6200
M patchlevel 0
M patchno 251
M intno 20020600
M pid 3412
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3412) [dpxxdisp.c 1016]
I MtxInit: -2 0 0
X EmInit: MmSetImplementation( 2 ).
X <ES> client 0 initializing ....
X Using implementation std
M <EsNT> Memory Reset enabled as NT default
X ES initialized.
M calling db_connect ...
C Got ORACLE_HOME=C:\oracle\ora81 from environment
C Client NLS settings: AMERICAN_AMERICA.WE8DEC
C Logon as OPS$-user to get SAPECC's password
C Connecting as /@ECC on connection 0 ...
C Attaching to DB Server ECC (con_hdl=0,svchp=06A497F8,svrhp=06A49604)
C
C Wed Sep 19 13:50:47 2007
C *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
[dboci.c 3566]
C *** ERROR => CONNECT failed with sql error '12541'
[dboci.c 9536]
C Try to connect with default password
C Connecting as SAPECC/<pwd>@ECC on connection 0 ...
C Attaching to DB Server ECC (con_hdl=0,svchp=06A497F8,svrhp=06A49410)
C
C Wed Sep 19 13:50:48 2007
C *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
[dboci.c 3566]
C *** ERROR => CONNECT failed with sql error '12541'
[dboci.c 9536]
B ***LOG BY2=> sql error 12541 performing CON [dbsh#2 @ 962] [dbsh 0962 ]
B ***LOG BY0=> ORA-12541: TNS:no listener [dbsh#2 @ 962] [dbsh 0962 ]
B ***LOG BY2=> sql error 12541 performing CON [dblink#1 @ 419] [dblink 0419 ]
B ***LOG BY0=> ORA-12541: TNS:no listener [dblink#1 @ 419] [dblink 0419 ]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1098]
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 8277]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M tid = -1
M mode = 255
M len = -1
M rq_id = -1
M rq_source = 255
M last_tid = 0
M last_mode = 0
M rfc_req = 0
M report = > <
M action = 0
M tab_name = > <
M
M *****************************************************************************
M *
M * LOCATION SAP-Server mysap_ECC_00 on host mysap (wp 0)
M * ERROR tskh_init: db_connect
M *
M * TIME Wed Sep 19 13:50:48 2007
M * RELEASE 620
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 8408
M * COUNTER 1
M *
M *****************************************************************************
M
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 672]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 235]
M Entering ThSetStatError
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3412) [dpnttool.c 345]
Maybe you are looking for
-
Fetching data from internal table in smartform
Hi, I'm able to fetch data from one internal table, but in the table the fields are not coming perfectly, can anybody help me in this? Thanks in advance.
-
IMac (24", late 2006) does not start
Hi I am no native english speaker so please excuse my english. ;-) I have a problem with my good old iMac (24", Late 2006, Core2Duo). When I start it the screen stays black, and the standby LED is permanently on. The gray screen doesn't appear, but t
-
Switching RAID volumes between servers
If I have two Xserve G5s with mirrored RAID arrays, how easy is it to "switch" the hard drives from one server to another, and the entire operating system along with them while retaining the RAID array? Is it as easy as removing the hard drives and p
-
Help with screen fallowing character and scoring system
Hi Im new to flash and I cant find any tutorials on how to make the screen fallow a character when you come up to the left or right edge of the stage so the map will continue on a platform game and adding scoring system in action script 3 thank you
-
Hi Friends, I have one doubt in ale/idocs that is " how to resolve the segment errors"?. if we are having a error in segment. Best Regards, Narasimha Rao.