Search Results

Search: Posts Made By: freebee
20,786
Posted By freebee
Robin@On redirecting tar command's standard error...
Robin@On redirecting tar command's standard error and output this stop it from hanging. Seems strange because earlier also tar used to failed and still process used to get stuck :(

DGPickett@In...
20,786
Posted By freebee
Hello, I tried and was able to recreate...
Hello,

I tried and was able to recreate issue, i have redirected tar command's stderr and stdout.

tar: home/freebee/work/data/Stress/Stress_SubmitOrderAccounts_UnReg.txt: time stamp 2015-01-06...
20,786
Posted By freebee
Thanks for suggestion will try at get back with...
Thanks for suggestion will try at get back with results
20,786
Posted By freebee
Sorry for misleading, but the shell script is ran...
Sorry for misleading, but the shell script is ran as root user but please check tar command is ran as standard user.

su new -c "tar --no-overwrite-dir -hxf script.tar"
20,786
Posted By freebee
The script is ran from superuser and in order to...
The script is ran from superuser and in order to extract tar files I change directory to target and then un-tar files.

Hence tar path will be created without any error
20,786
Posted By freebee
The shell script runs remotely with aim is to...
The shell script runs remotely with aim is to extract tar content and remove the tar files from remote host machine

extract_scripts()
{
cd $SCRIPT_PATH/scripts/
su new -c "tar...
20,786
Posted By freebee
Commands: tar -xf NCSanJose1_req_rep.tarThis...
Commands:
tar -xf NCSanJose1_req_rep.tarThis command was running as part of shell script, which stuck

In order to check tar file with verbose option, command was ran on console which exited...
20,786
Posted By freebee
Command: tar -tvf NCSanJose1_req_rep.tarLinux...
Command: tar -tvf NCSanJose1_req_rep.tarLinux version: Linux netstorm-X9DRW 3.8.0

I was running this command as standard user
20,786
Posted By freebee
Yes i have verified with -t option, permissions...
Yes i have verified with -t option, permissions and disk space seems to be fine
20,786
Posted By freebee
Tar stucks while extracting
I am trying to extract tar file of size 167MB but most of the times tar command stuck while extraction.

Command:
new 24389 24369 0 Nov21 ? 00:00:00 tar -xf NCSanJose1_req_rep.tar
...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 01:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy