I do not get what this method is seeking for? Where do i put a string or somethig that its sopposed to find.
[code]...
Seeks in the stream by the given offset, modified by type. If cancellable is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be returned.
[code]...
TRUE if successful. If an error has occurred, this function will return FALSE and set error appropriately if present [URL]...
I am developing a java application that deals with the parallel port I used the parport library, I have the following problem: I am using netbeans 6.9 and linux redhat, when I run the code (java code that controls parallel port) from netbeans I get: "ioperm error: Operation not permitted" I used the "clean and build" function in Netbeans to create the jar file (test.jar) then I changed the permission of the test.jar to root using this command "chmod 4777 test.jar" and the test.jar file worked just fine as a stand alone file, but I still get the same error message when I try to run the program from Netbeans
im getting that error in my code for some reason. I compiled my code, and when i try to run this server it throws me an error on my call to setsocketopt(). The only way it can reach that part of my loop is if it succeeds when it calls sock() so I dont understand why the error says its an operation on a non-socket. Im just trying to set up a server to pass messages from a client to it a viceversa. Here is the code:
Code: int main() { int socket_fd, new_socket_fd, k; struct addrinfo hints, *server_info, *p; struct sockaddr_storage peer_address; code....
I'm unable to change the setting of the actual printer on my system, cant even delete itthe system ask me the root password, after i enter it, i always get this message "There was an error during the CUPS operation:'client-error-not-authorized'."
May 1 03:15:01 master cp: error processing extended attributes: Operation not permitted May 1 03:15:02 master cp: error processing extended attributes: Operation not permitted May 1 03:15:02 master 700.daily.server.cyrus: Error: /etc/MailServicesOther.plist postfix does not contain a dictionary with key log_rolling_days.
I have 2 hard drives on mu box 1st one is 500.0 MB ext4 Volume where I have my syste FC 13 and a 2nd one where I put my database files as follows 78.1 GB ext4 Volume usage = filesystem, format ext4
ih file browser, I can see an icon for a 80GB hard drive but whenever I double click I get the following
Quote:
Error mounting volume: An error occured while performing an operation on data Partition 1 of ATA Maxtor <: <the operation failed
clicking details
Quote:
Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error
when I type
Quote:
dmesg | tail
I get
Quote:
# dmesg | tail [drm] nouveau 0000:01:00.0: Allocating FIFO number 3 [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 3 [drm] nouveau 0000:01:00.0: Allocating FIFO number 4
What is very strange is that mysql works fine.In disk utility, it indicates that disk is healthy, but when I click check file system i get
File system check on "data" (Partition 1 of ATA MAXTOR STM380215A) completed File system is NOT clean
I'm running Ubuntu 10.04 with a complete LAMP installation (for local developement purpose).
Everything is OK (I installed phpMyAdmin without problems) except for one big problem: php shows 500 server internal error instead of a complete error report.
I tried editing php.ini and in-script runtime configuration but nothing changed.
I use web server apache use php fastcgi (Centos 5.2, apache 2.2.9 , php 5.2.5 and fcgi-2.2.4 ). I receive error : "The server encountered an internal error or misconfiguration and was unable to complete your request. contact the server administrator, no-reply@zz.vn and inform them of the time the error occurred, and anything you might have done that may have caused the error. I view log :
i have installed nagios in centos 64 bit. but i get this error CHECK_NRPE: Error - Could not complete SSL handshake. i have totally 10 hostgroup definitions. but i'm getting error for only 3 hostgroup definitions other 7 are working fine.
I have mounted remote Windows share using CIFS and writing bash script for those files. However being a windows share since there is a space between directory names like "Program Files" and hence I am not able to parse it through bash script and script exits with error.
Does any one have any idea about how to perform the operation in script on such directories?
e.g. cd /tmp/temp/Program Error: No such File or Directory cd Files/ Error: No such File or Directory
I am writing a program to send data over serial port but the sending and reading operation is not occurring as desired to be... Below you can see the read and write parts. Could you please help me to find where I am doing wrong...
When I compile and run the above programs Reading part does not read the 13 bytes once it first reads 8 byte then 8 again then 2 and so on. It always divides the sent data...
I have a problem with acl's in Ubuntu Server 10.04. When i write in a terminal the command setfacl, the machine returns error: setfactl /home/xxxx: operation not supported.
I get this error ALL THE TIME after a reboot if I try to print. Going to the printing applet to add the printer does no good because Lucid is not connected to the CUPS server. I found that the work-around below fixes the issue for the current session.
Have received errors the last two times I've run Update Manager. This one says: Package Operation Failed
The installation or removal of a software package failed. Details: installArchives() failed: Preconfiguring packages ... Preconfiguring packages ... (Reading database ... (Reading database ... 5% (Reading database ... 10%
[Code]...
subprocess installed post-installation script returned error exit status 1 The last error said something about "Max Reports". What I can't tell is whether the updates actually installed.
When I installed Fedora GNOME I could use my printer fine (But I had to change the recommended driver) Now, I switched to KDE and I plug-in my printer, It automaticly adds it, Now I have to delete it and re-add to fix the small bug... Except when I press "Remove Printer" I get "There was an error during the CUPS operation: 'client-error-forbidden'."
I am running Ubuntu 8.04 and evolution as mail client this is the error i receive in evolution on send & recive.I can receive mail but not send.Error while performing operation.
Welcome response error: Operation now in progress.
Most of FLOSS projects has a lot of code to compile, and a big make process. On my new PC i need a half hour to compile Inkscape, and on my old laptop i need something near to 2 hours. There is a way to put a percentage of the work done in the makefile? (Always there are a hard and dirty way... there is a good, beauty, common way?)
I've got a loop which is able to echo out how complete a process is after each loop (e.g says 25% if the loop has 4 elements and has run once through). Is there any way I can print characters, perhaps a progress bar? I was thinking of using the percentage as a count or something and using.
Code: I got told off for including code from work here.
I am trying to create a jailed shell for a user Don($UID '500') using my own method(I don't want to use any ready-made "jailkit"). The user don should get a home directory /jail/don instead of /home/don when he login via SSH (So that he will not able to see any other files/directories on the system)
This is what I have done.
Quote:
Code:
It works without any issue ....Home directory changes to /jail/don when I ssh to the system as user don. ie: #ssh don@192.168.0.66
Then I added a chroot command to this code.
Code:
Unfortunately , now I am getting an error message saying that "chroot: cannot change root directory to /jail: Operation not permitted" .. I am not sure how to rectify this error... Is my approach correct to get a jailed shell using /etc/profile file ?
I would like to get help from experts who are experienced in the area of Linux network programming to help me to choose the proper way to create a special Firewall program.I do start reading WinSocket and tending to start BSD. I don't want to start with an API like winsock then stuck. So please, I do need a way to accomplish all features such as capturing, dropping or allowing all kinds of LAYERS as well as Intrusion detection.I am a good programmer in C++ but I am new for linux.So, what is the best Linux OS to install and start with and which is the best way to accomodate C++.
what are the series of files that are called when a user make copy operation from usb mass storage to hard disk?i have reached the code of the usb mass storage in linux kernel 2.6.33 and i want the exact code the make the copy how can i do that?
i've installed nagios just from a while and after i installed centreon, since this when i try to log in the web interface of nagios it shows up this message: Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.2.17 (Ubuntu) Server at localhost Port 80
my first impressions are that for all the dissing of Windows at least if I stick a CD in the tray it plays....I installed ubuntu 9.04 on a VM running alongside WindowXP and upgraded to 9.10. When I open rhythmbox and put a CD in the tray nothing happens..despite the book saying it will play automatically....after much googling I cannot find anything on this problem..most people are trying to stop autoplay. There is not even a cdrom option in the sidepanel of Rhythmbox. I have installed ubuntu-restricted-extras as advised...nada.
A chat room reply suggested abandon rhythmbox and install vlc which I did...same problem though at least i get an error message "unable to open MRL cdda://dev/sr0". As a complete newbie I do not know what to put int he command line to run rhythmbox or vlc to see the complete error log. I have spent two days trying to resolve this problem...the equivalent of several months worth of hanging/freezing on windows
I have a desktop that has a d-link DWL-520 wireless card, which was working under Windoze. Today I installed Centos 5.4 on the system , which went cleanly. I then used Network Configuration to set up the wireless card. I specified to use DHCP, set the SSID and authentication password. When I tried to activate the card I get these error messages
Error for wireless request "Set Mode" (8B06): SET failed on device wlan0 ; Operation not supported. Error for wireless request "Set Encode" (8B2A): SET failed on device wlan0 ; Invalid argument. Error for wireless request "Set Encode" (8B2A): SET failed on device wlan0 ; Invalid argument. Determining IP information for wlan0.
The hardware manager seems to have correctly identified the card and chipset, (Intersil Prism 2.5) and installed driver hostap_pci which came with the distro. This web site seems to suggest that this is the correct driver: [URL] searching forums I've found a few references to these errors, but they were from several years ago, and for different distros and cards. I did find a reference to using Network Manager to configure the card instead of Network Configuration. I started the NM service and configured a connection using it instead, but still no luck.
I am running Fedora 8. Each time I run a YUM command, I get the message that there are unfinished transactions, and to run yum-complete-transaction. Upon running yum-complete-transaction, it fails with this error. How can I remove this uncompleted transaction so I can finish the last one?
I am trying to install a third party driver and the provided makefile makes a call to insmod. Whenever I try to install this I run "su", so I am root and should have permissions. However, when I run "make install" I get the following output:
Code: # make install Unloading any instances of foo module Loading new foo into running kernel insmod: error inserting 'foo.ko': -1 Operation not permitted make: *** [install] Error 1
Like I said before, I'm doing this as root, so I don't see how this is possible. Additionally, every time I try to do this it seems to cause a lot of damage to whatever kernel I'm currently booted in; USB and ethernet (and hence the Internet) stop working and I have to wipe the kernel and reinstall it.