The application I am using writes a report file (ascii), but I am not able to print it, because from inside the application I have no access to the shell and so cannot invoke any printing command (lpr, lp, ...). Is there a tool/daemon which waits for a file in a given directory, takes it, and sends it to a printer?
I wanted to know how can I set a period of time to a tcp connection to wait for request or respond for tcp block read. which system call or function I can use? Does any body know a very simple quick and easy reference on web for socket programing that has lots of socket programing examples in it?
I have a server listening on incoming client connections. Once the client establishes SSL connection with the server, the server waits on read() from the client. Only Client can disconnect the connection. I want to have a timer in the server program to wait for x secs after read() and then disconnect the Client connection.
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
I have updated my Ubuntu installation to natty narwhale and after a reboot the desktop started to look like the attachment Screenshot.jpgThe error does not appear when I choose ubuntu classic instead the windows miss the top bar where the X (close button) is placed.Alt+Tab does not work, and suddenly I cannot write in the active program.
is it possible to get the length or even the items of both queues, the run queue and the swap queue? I've googled a lot but had no luck. Maybe I havn't used the correct search words...
Is there any header and/or code example to use structures or any API to get these information from the kernel or the scheduler?
I did install QLandkartGT and the plugin to use Garmin with it and it looks like it work, but when I do press "Live Log" I get the error message; "Device Link Error. Failed to request real time position. Realtime thread failed. Failed to configure USB: could not set config 1: Operating not permitted".
I also get a similar error when trying to download tracks; "Failed to download tracks. Failed to configure USB: could not set config 1: Operation not premitted".
My guess is that Ubuntu do not allow programs to use the USB port, so my question is how I do allow this program (or all) to use the USB ports.
It happens really randomly. Suddenly keyboard and mouse stop to react. Screen freezes. However if I have for instance skype running during that "crash", I can still continue to talk over internet. For me looks like x serwer crash. Xorg logs however are empty. I had to hard reboot only to get control over pc (magic sys key + SUB) only works. Trying switch to another session is not working. I run Slackware 13.1. Kindly asking to help me to solve that irritating issue. I pasted errors usually I find at Xorg.0.log.old after hard reboot only
Code: 2.6.35.4 #2 SMP Tue Sep 14 19:33:55 CEST 2010 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 8800 GT/PCI/SSE2 OpenGL version string: 3.2.0 NVIDIA 195.36.15 OpenGL shading language version string: 1.50 NVIDIA via Cg compiler
1. need to run like a daemon which will read an active squid logfile in a refresh pattern of 5 minutes
2. calculate the total number requests based on different domains that the client access
3. calculate the total of number of requests based on different domains as well as the turnaround time of these access is more than 5 sec that the client access
4. calculate percentage of item 3 over item 2
5. report the results in html format as follows:
Domain Name Total req Req > 5 sec % of req > 5 sec
I just installed Ubuntu 10.04 on my system, and I put in a really old game CD for my really old computer. I cannot run the setup program , however because "it is not executable". I can't change this , because it is read-onlybut I can't chane this either. As I'm new to this, I was wondering .
I have a netbook with Ubuntu 10.10 installed in it,and a Pc with also ubuntu 10.10 in it , but x86_64.
I want to copy some iso files and data from my user home directory on the netbook , to the user home directory of the other pc , using a 8 GB usb formated in ext3 with gparted in my pc.
One iso is a windows 7 one to burn then with K3b , as i need to have windows installed in that box. Also of another iso that i have to burn too (windows 7 recovery disk) , and 3 anti-virus trials for windows.
As the usb is owned by the root (or more properly the mounting point,no?), and i can't use my user to copy data to it i usually do :
Usually , what i use is "sudo nautilus" then go to the place where is the data , copy it , and paste it then in the usb. Then in the other pc i do a chgrp and chown to the iso or file.
But , perhaps this is not the better approach. I have investigated a bit , and i think that i have found a better way , but i have some dudes.
The method is change the owner,group and permissions of the mounting point:
Code: cd /media ls umount /dev/sdb1 sudo mkdir usb
[Code].....
If i do this steps in both computers, with each user,in the netbook i can copy the iso to the usb (as fox can write to the mount point of the usb ), but can the other user in the pc 'mulder' read the iso , so be copied to /home/mulder, and then be able to burn it in k3b with success ?
I suppose that having 766 , it should be able to read it , but would have the own of the file ?
How important is not to only be able to read it , but also own it ?
I suppose if the user ID is the same , wouldn't be any problem ,as each ubuntu would supose that the file is owned by their user.
Perhaps the user name change,but if the ID is the same , the user is the same for ubuntu , not any different, no ?
sudden of all all USB drives and sticks I put into a PC will not mount with read/write permissions (they did before). I can still copy to them, but only when I am root. I am on Maverick I've noticed though that if I run disk utility, then UNMOUNT the partition, Check File System, Mount the partition back, I get read/write access..
Recently i acquired an electroencephalograph (EEG) and started to experiment with it, and i need some way to write or send a couple of Hex numbers to the EEG so it will start working, and then to save the data on text file, or at the very least see the output on the terminal using C or C++, i found some programs around the forums but none seem to work properly and more often than not, The EEG is recognized as /dev/ttyUSB0 has a baud rate of 921600.
I have recently been running into the "EQ overflowing" message. It has been happening when I open an image with gimp or a xls with open office. I noticed some were having this issue with earlier kernels. I am using the nouveau driver to run two nvidia cards with three monitors. I am currently running the 2.6.34.6-54.fc13.x86_64 kernel. Here is the output of my Xorg.0.log file:
I would like to be able to read and write on hd formatted as Hfs+ not journaled...I know it is possible, but still I can't since ubuntu mount them with a different user: 99.If I add my user to the group 99 will be fine? or exist another way to write on such file system?if use hfs+ not journaled it will be less safe for the files?
Recently my Ubuntu system decided to crash. Sometimes the mouse freezes, sometimes I just can't open anything, and other times I can access the terminal but can't write. I can open files as read only both in my /home partition and in /var/log, but I can't write at all. Sometimes I get Bash: input/output error. I *can* "ls /proc", if that makes any difference.
I find that if I reboot, the problem goes away for a few minutes and then reoccurs. I can read/write to my other (windows) drive, although when I did a chkdsk in win7, I get a "An index entry from index $0 of file 25 is incorrect" message. Is the disk failing? Just a few bad sectors? Maybe the filesystem is corrupt? Why can I read but not write?
When i boot from live USB, i can't write anything to it, because the 'Filesystem is read-only'. How can the boot USB be mounted as read-write? Maybe some boot options are needed?
I want to make a new partition that I can read and write to from Ubuntu 11.04 and Windows 7. I haven't used Ubuntu much since 8.10 and it seems that I remember it being much easier to do then. I'm using this partition to store my music, pictures and videos on if that is of any relevance. I also need this to be something that can't mess up my windows side of my computer as I need that for work.
I am running Karmic x64 on a HP laptop that has a cd/dvd burner. I have a r/w cd with files on it and I wish to add/remove files to it. After it mounts automatically on insertion, I unmount it and remount with: sudo mount /dev/sr0 -t iso9660 -w /media/cdrom (I tried assorted other hare-brained things also) but it always says that the filesystem is read only. Do I need to use a different device than sr0? Is it even possible under Ubuntu?
I recently installed Ubuntu 10.04 using Wubi on an ACER Aspire 5000 XP laptop. Everything runs ok and I can access my Windows folders from Ubuntu through the host directory but only as Read Only. I have checked to make sure that the Windows folder I want to access (My Documents) is not designated as Read Only in Windows.
We have a network with several computer. We have two file servers (don't ask why) an Ubuntu and an XP as well as many clients. Setting shares on Ubuntu was easy and all clients can see them read and write. but I can't get the Ubuntu clients to see the SMB shares on the XP properly. This is my fstab:
I have shared two external harddrives via samba on ubuntu, but only I can access it. The reason being is because I have logged into linux, and become the owner of the external hdd's. On the permission properties, I can see that the group I have created every other user under has "No Folder Access", and if I change this it reverts back instantly. So frustrating, I've tried to chmod it which hasn't done a thing. The owner of the external hdd's seems to be the only person who can access it over samba.Is there anyway I can get normal users to just read and write to external hdd's?