General :: Error In Unzipping Using System Function

Jul 23, 2010

I have to unzip only files in zipped folder in current directory by c program. For that I am using system() function. This function returns zero.

when I write system("unzip -jo /storage/conf.zip") but folder will not be unzipped. Same will be successful if tried on command line.

View 1 Replies


ADVERTISEMENT

Red Hat :: Unzipping - Write Error (disk Full?)

Apr 9, 2010

In fact I'm not the systems administrator, but I have a strange problem unzipping a file. I think is a problem of memory or swap space or somethin similar, but I'm going explain the problem in detail: Distribution: Red Hat Enterprise Linux ES release 4 (Nahant Update 3) I'm connected as root. I have this zipped file: -rw-r--r-- 1 root root 678183271 abr 7 15:30 Master032010.zip it contains a 2,4G file

[Code]...

View 14 Replies View Related

Fedora :: Unzipping Files Bigger Than 20gb Error

Jan 31, 2010

Here is the error I get from unzipiping a "file" that is approximately 20GB

Quote:

View 2 Replies View Related

Software :: Getting Error While Unzipping A UNIX ZIP File - Cannot Find Zipfile Directory

Feb 18, 2011

I am facing an issue, while unzipping an UNIX ZIpped file. The message I am getting is as below.

/> unzip np_ARUDDP99_20110201.zip
Archive: np_ARUDDP99_20110201.zip

End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of np_ARUDDP99_20110201.zip or np_ARUDDP99_20110201.zip.zip, and cannot find np_ARUDDP99_20110201.zip.ZIP, period.

View 4 Replies View Related

General :: Unzipping A 4GB .zip File On CentOS 5.5

Mar 8, 2011

I am in the process of moving from a windows to a linux box. I zipped a folder of images on the windows box and ftpd it to the linux box. When I try to unzip the file I get:

How can I unzip this file if it's too big?

View 1 Replies View Related

General :: Option For Unzipping Graphically?

Dec 19, 2010

i have downloaded the software bluez-4.81.tar.gz from internet and saved iy on desk top.in command line i typed like following.

george@george-desktop ~ $ tar xvzf file:///home/george/Desktop/bluez-4.81.tar.gz
but i have got result like this...
rsh: Could not resolve hostname file: Name or service not known
tar: file:///home/george/Desktop/bluez-4.81.tar.gz: Cannot open: Input/output error

[Code].....

there is a option for unzipping graphically.so i right cliccked using mouse and extracted.then a folder named "bluez-4.81" appeared on desk top. Now what are the steps to install this bluetooth software?

View 3 Replies View Related

General :: Unzipping Multiple Files At 1 Time

Aug 6, 2010

I am having a problem unzipping multiple files at 1 time.

Proper unzip command that will:
1) extract the file from the zip.
2) remove the zip file.

All my zip files start with SB and end with .emi.zip

SB*.emi.zip

View 2 Replies View Related

General :: Unzipping A Huge File Stalls The Server?

Jul 8, 2011

I want to extract a huge .tar.gz file but when I do extract it stalls the server. The server is write heavy and extracting seems to choke the disk. Is there a nice way to extract without stopping the world? I've tried the 'nice' and 'cpulimit' command but they don't seem to do the trick.

View 2 Replies View Related

General :: How To Determin Function Call When Application Run On System

Sep 6, 2010

How can it be determined whether a function defined in some file of an application source-code(meant for multiple operating systems e.g., Linux, AmigaOS) is actually called when the application run on Linux?

View 9 Replies View Related

General :: Access Driver Function Using System Call ?

Apr 13, 2010

As per my knowledge, one can use systemcall to call the driver functions for example using open, close... Now is there any way to call driver functions directly from application without using system call?

View 4 Replies View Related

General :: Keyboard - Swap Fn (function) And Control Keys In System On A Macbook Pro?

Jan 24, 2011

I don't care if this is done in the bios or a kernel module or software. Is there any way at all to do make the 'fn' key act as 'control' and the 'control' key act as 'fn' in linux running on a macbook pro?

PS. You can do this with software in OSX with the application KeyRemap4MacBook.

View 1 Replies View Related

General :: Error While Calling Capget Function (EINVAL)?

Apr 27, 2011

Error while calling capget function (EINVAL)

View 1 Replies View Related

General :: Write Script To Use Function And Still Keep Function Active?

Feb 21, 2010

the function terminates if no key is pressed for 10 consecutive seconds. I tried using the -t option as suggested in some forums, but my version of showkey doesn't have the option of changing the timeout. The options I get are:

-h --helpdisplay this help text
-a --asciidisplay the decimal/octal/hex values of the keys
-s --scancodesdisplay only the raw scan-codes
-k --keycodesdisplay only the interpreted keycodes (default).

Is it possible to write a script to use this function and still keep the function active until an interrupt is recieved?

View 6 Replies View Related

Ubuntu :: .htaccess Disappear After Unzipping?

Jun 30, 2010

I downlload a zip file which has a .htaccess file.

When I unzip it, the .htaccess disappears.

How can I prevent this happens?

View 3 Replies View Related

Ubuntu :: Zip File Not Unzipping On Windows?

Feb 27, 2011

I made an 8GB password protected Zip file on Ubuntu 10.10, sent it to a friend who's using Windows 7, and now she can't unzip it. The file transfer speeds between us are very slow, so I don't want to resend it. Every application she's tried (WinRAR, WinZip, and 7Zip) fails and gives some sort of "invalid archive format" error.

I had her do an MD5 checksum on the file and it matches mine. So, the likelihood of it being damaged during transmission is very small. I also successfully unzipped it on my end and used TeamViewer to try and get it unzipped on her end, just to make sure she wasn't doing anything wrong, she wasn't.

What could be the problem be UbuntuForums? Is there a difference in the way Windows and Linux handles zip files that is causing this problem?

View 9 Replies View Related

Ubuntu :: Use Php Function System() As Sudo?

Jun 3, 2010

I need to print the mail queue out using system(mailq)I tested system(date) and my page lists the date, but I need to be able to do some sudo commands via php. Any ideas? been on this for hours im stuck.

View 2 Replies View Related

Ubuntu :: How To Install Cisco Packet Tracer After Unzipping

Oct 11, 2010

I unzipped the PacketTracer52 tar.gz folder Subsequently, there is an install script there. I dont know how to activate it.

View 2 Replies View Related

Ubuntu Installation :: System Restoration Function? (Before Update)

Oct 23, 2010

Is booting a previous kernel the best approach to this? I've seen upgrades knock out wireless, and now I just solved a video ordeal. Is there any sort or System Restoration?

View 4 Replies View Related

Programming :: Script Exit Code To System() C Function?

Jul 3, 2009

Consider the following code:

Code:
...
int ret=0;

[code]...

View 4 Replies View Related

Programming :: Error: Function Undeclared / But It Is Declared?

Apr 20, 2010

I'm learning how to program kernel drivers, and I'm making a hello world module for that. But I can't find the cause of some errors... My module as three files:

test_regulator.c: Code: /*test_regulator.c
2 */
3 #include <linux/test_regulator.h>
4 #include <linux/module.h>
5 #include <linux/kernel.h>
6 #include <linux/regulator/driver.h>
code....

I don't understand, because I had declared the test_regulator_driver.

View 2 Replies View Related

Programming :: Undefined Reference To - Function Error

Nov 11, 2010

I have been trying to build a file called main.cpp through my make file which is in Linux.

There are functions like

Which are being called. I have included all the necessary headers and also have included the necessary lib.a files in the make file as below:


I am still getting the below error. I use make -j makefile.mak clean all command to make the build.

View 1 Replies View Related

Software :: Bash Function - Getting Error But No Output

Oct 29, 2010

I have taken into count spacing of functions as a reason for not working. Can you get this function to work on your machine?
quickfind () { find . -maxdepth 2 -iname "*$1*" }

It does not print the retired output but find . -maxdepth 2 -iname "*$1*" does work. What is wrong?
quickfind () { f
ind . -maxdepth 2 -iname "*$1*" ; }

If I run this from the command line I don't get an error but no output? I am not running this inside a script but from the command line. I want to be able to run any function () from the command line. I have more functions that I can't get to work?
tt () { tree -pFCfa . | grep "$1" | less -RgIKNs -P "H >>> " }

View 1 Replies View Related

Programming :: Hidtouch__body.h:174: Error: Too Few Arguments To Function

Oct 9, 2010

I'm trying to compile the hidtouch driver, but hit a snag. The error I get is

[code]....

Context: this is the driver for the touchscreen attached to an LTSP client. The server uses the AMD64 arch, the client uses the 1386 arch, both Debian. The client does start, but lacking a pointer device the pointer is useless. The build takes place on the server, in the i386 chroot of the LTSP setup. Basically, I'm stuck now...

View 5 Replies View Related

CentOS 5 :: System Administration Function - Starting But Fail To Come Up Then Disappear Of The Task Bar

Oct 12, 2009

Several of the the items in the menu System --> Administration do not function. They say they are starting but fail to come up then disappear of the task bar. Is there anywhere i can look to see why it has failed to come up?

All item in the menu except; Display, Hardware, Server Settings, System Monitor

View 2 Replies View Related

Server :: Fatal Error: Call To Undefined Function

May 7, 2010

I had created a database in mysql called guestbook and created tables also in mysql and also granted remote connections privileges from below command

mysql> grant all privileges on *.* to root@192.168.1.222 identified by "rrcrrc";

i had accessed from my pc(192.168.1.222) and used phprunner to create php web pages and copied the phprunner output folder to use with apache. when i accessed from my pc the below error is coming

Fatal error: Call to undefined function: mysql_connect() in /home/administrator/useridall/include/dbconnection.php on line 9

i can't understand what is going on so i put this question in the forum, below is i am giving the dbconnection.php details.

dbconection.php
<?php
function db_connect()
{

[code]....

View 3 Replies View Related

Software :: Readconf.c:489: Error: LONG_MIN Undeclared (first Use In This Function)

May 19, 2010

I hope to get your suggestions to solve my problem. I install Ubuntu8.10 in my notebook last week.I should install drcom-1.4.7 to get through to the internet,while i tried many times but failed like this:

make[1]: Leaving directory `/home/lf/drcom-1.4.7/drcomd'
make[1]: Entering directory `/home/lf/drcom-1.4.7/kmod'
make -C /lib/modules/2.6.27-7-generic/build M=/home/lf/drcom-1.4.7/kmod modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'

[code]....

kernel cannot support the drcom version.so i tried to install drcom-1.4.4,but problem also occured:

readconf.c: In function __parseopt:
readconf.c:489: error: LONG_MIN undeclared (first use in this function)
readconf.c:489: error: (Each undeclared identifier is reported only once
readconf.c:489: error: for each function it appears in.)

[code]...

View 3 Replies View Related

CentOS 5 Server :: Creating PDF Using PHP Getting Undefined Function Error?

Mar 16, 2009

I had installed PHP using yum install php. I am trying to use the pdf_new function to create pdfs from existing text files, but I get this error PHP Fatal error: Call to undefined function pdf_new()I have noticed that when I run the phpinfo() command, I cannot find the PDF phrase at all. My php.ini file does not even have these two linesextension=php_pdf.dll extension=php_cpdf.dll kind of command I should use if I need to build PDFs using PHP on Centos 5?

View 1 Replies View Related

OpenSUSE Hardware :: Multi-function Epson Stylus Sx218 - Can Not Run The Scanner Function ?

Mar 24, 2011

I bought a multifunction stylus sx218 Espon model and I can not run the scanner function. I did some research and found a few solutions and very functional. I hope someone solves the problem. My version of openSUSE 11.2.

View 9 Replies View Related

Programming :: How Can A Friend Function Access A Public Function From A Base Class

Nov 16, 2010

Code:
#include <iostream>
using namespace std;

[code]...

View 1 Replies View Related

Programming :: Passing Data From Interrupt Handler Function To Tasklet Function?

May 18, 2010

I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved