CentOS 5 :: Tape Files Are Not Storing With Phone Numbers?
Mar 5, 2010
I installed oreka and can make succesfully call recordings. The problem i'm facing is when i record a call and check the details in database, localparty, remote party fields are storing with source and destination ip address not with there phone numbers.
View 1 Replies
ADVERTISEMENT
Dec 15, 2010
I have a program that sends QByteArray datagrams over a udp socket. I would like to have 4 bytes of the datagram that contain a 32 bit integer. When saving numbers to the QByteArray, I have tried the static function number(int) and member function setNum(int), but they convert the integer to its decimal string representation and save that in the byte array. So if the number were 10, it takes 2 bytes, if it were 10,000,000 it takes 8 bytes. This wastes space, and makes it more difficult to get the number when it is packed with a few other pieces of data in the same datagram. Is there a standard way of doing this in Qt?
View 1 Replies
View Related
May 26, 2010
I'm writing a bash script where I read a text file (containing a column of numbers) and store each line in an array. There seem to be some problems with the whole thing however, but only for some files and not others. Here's what I do:
Code:
#!/bin/bash
file=time_notOk.txt ### The file with a column of numbers
i=0 ### Array counter
### Read the file
[Code]....
View 3 Replies
View Related
Nov 4, 2010
I have to read a couple of numbers from a random.txt file. In this .txt file there are random numbers. They are separated by a space. Example if you opened test.txt:
test.txt :1 6 1 3 6 8 10 2 4
I would like to read those numbers using CAT and store them into an array:
numlen=${#num[*]} - (must be like this because it is a part of a larger program)
View 5 Replies
View Related
Apr 26, 2010
I want to know how to retrival partial files from a lto 4 tape instead of retrieving the complete tape.
View 2 Replies
View Related
Apr 4, 2011
am writing a small search program for my class. I have decided to use indexing for my program. Ive researched online about indexing and how search engines do it. If im gonno do that I need to create inverted files to associate files to numbers ( numbers being the index of my paths ) . Now I was wondering what would be the best way to create an inverted file ? I was going to create sql tables using mysql api in C but then again there is no array data type or vectors to store few numbers in a single column in mysql and it is not advised to use Enum or SET
View 14 Replies
View Related
Jan 26, 2011
Can sed remove non-numerics (apart from an optional leading +) from phone numbers when prefixed with text that must be retained? The need is to make phone numbers exported from an Orage address book to a .ldif file suitable for gnokii to send to a mobile phone. Here are sample lines:
Code:
facsimiletelephonenumber: +91 (123) 1234567
telephoneNumber: +44 (123) 1234567
They have to end up as:
Code:
facsimiletelephonenumber: +911231234567
telephoneNumber: +441231234567
I could do it in awk but am curious to learn if sed can do it.
View 11 Replies
View Related
Apr 3, 2016
I have been using an LTO-5 Ultrium-3000 tape drive connected to an ATTO HBA without problem. I can control the tape drive using "mt -f /dev/nst0" and have been able to make successful backups using cpio, tar, and dump/restore. I followed some instructions on the web about how to install the HPE Library and Tape Tools application (version 4.21) which relies on conversion of a rpm to a deb file. The software seems to have been installed correctly and runs. However the hardware scan function does not recognize my tape drive. The following is suggested in the user manual if the tape device is not recognized by the software under Linux:
1. Login as root.
2. Edit the following file:
vi /etc/modules.conf
3. Add the following line as appropriate:
add options scsi_mod max_scsi_luns=128
4. Reboot the computer.
The problem is I don't have an /etc/modules.conf and am not sure exactly which file would be equivalent? If this is even the correct solution.
My tape drive is controllable and functions well using "mt -f /dev/nst0 status" so it seems to be a matter of LT&T software to detect the tape drive.
At the risk of providing too much info here some, possibly relevant, output from lshw
*-pci:3
description: PCI bridge
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: b5
[Code] .....
View 1 Replies
View Related
Mar 8, 2010
I am looking at getting a DLT drive for my network; however, I have never used the tar command with a tape drive. What happens if the data is larger then 1 tape? Does the tar application automatically span tapes or do I need to use switches so it spans multipule tapes? Right now my Full backup will take 2 or 3 tapes.
View 3 Replies
View Related
Apr 8, 2011
Using imagewriter, I was wondering if it's possible to store backup files on it. I have a 8GB usb drive but the imagewriter uses less 2GB to write the iso to it.
View 1 Replies
View Related
Dec 8, 2008
I have dell poweredge 830 server with tape drive and RHEL 4 running on it....the issue i am facing is,i am unable to insert the tape as i had ejected the tape forcefully from it....
i tried to do a listing of the contents backedup on tape and it got struck in middle throwing below error,
/dev/st0:device input/output error. after which i was unable to eject the tape using
mt -f /dev/st0 rewoffl
i removed the tape by holding the eject button and now when i try to insert another tape, it's unable to take the tape in to tape drive...
I've tried doing all except reeboting the server, can any one help me out in this issue, hope the blow information may help in debugging the issue... code....
View 8 Replies
View Related
May 26, 2011
I set up my laptop to dual boot windows and ubuntu 11.4, and it appears to work fine, I can boot into both etc. Now what I'm trying to do is set up a separate partition to store all of my documents, pictures etc so that I can have access to them in both ubunut and windows. So I have this separate partition on my harddrive, formatter as fat32 so both OSs can read and write it, problem is that I'm having lots of trouble auto mounting, accessing and using the files on this partition on ubuntu. I got it to auto mount, but only root has access to modify files, I can open and read but not delete or modify. Also I can't make links to the files on this partition, I was hoping to just link the documents and other folders in my ubuntu home directory to the folders in the new partition, but I can't make links to them. Is there a better way to go at this problem of sharing data between two OSs or any I doing something wrong? If you need any additional info just ask and i'll do my best to get it to you.
View 1 Replies
View Related
Mar 2, 2010
I've having problems in listing files from a TAPE. I did not create this tape and I'm assuming that the files were successfully backed up to this tape.Some commands that I've tried:
PHP Code:
atenreiro@intranet:~$ sudo mt -f /dev/nst0 status
SCSI 2 tape drive:
[code]...
View 1 Replies
View Related
Jul 17, 2009
I installed centos on a server with a exabyte vxa-2 tape-drive. There are two harddisks and the tapedrive on the Adaptec SCSI 2010s Contoller. The harddisks are working , but it doesn't find the tapedrive. And there is nothing in /proc/scsi/scsi.What can i do to add the tape drive?
View 1 Replies
View Related
Mar 2, 2010
I have been trying to install HP Storageworks DAT72 on CentOS 5 in vain. On system reboot, neither /dev/st not /dev/sg is available.
lsmod
Module Size Used by
ipv6 267617 40
xfrm_nalgo 13381 1 ipv6
[code]....
View 1 Replies
View Related
Feb 3, 2010
I'm looking to setup a home server for the purpose of backing up and storing the files on our multiple (Windows) computers. What kind of server should I set up? Samba? Lamp?
View 5 Replies
View Related
Mar 24, 2010
Does CentOS 5 support HP EH854A LTO4 External SCSI tape drive?
View 3 Replies
View Related
Feb 18, 2011
On startup, I get messages which look like this:
[Code]...
What do the numbers in brackets mean? (I tried looking, but I don't know how to start to search for the answer to that without being too vague). I've noticed they're nearly always progressive (increasing). Do they just refer to the event number? And in my log file viewer, why is there a dmesg and a dmesg.0?
View 2 Replies
View Related
May 13, 2010
I want wondering if I can ls files that start with numbers only in a folder.
Suppose:
001.txt
302.txt
[code]....
View 6 Replies
View Related
Mar 1, 2011
I am trying find files in a directory that contain numbers. I have tried ls /etc *[0-9]* but that doesn't work. If I cd to /etc and run ls *[0-9]* it almost works but it also includes results from within files. My last thought was to try: find /etc [0-9] -type f but this does not work either. My second problem is that I am trying to get list of files in a directory that were changed less than 10 hours ago, using grep, while leaving out directories. I am completely stuck with the second problem.
View 8 Replies
View Related
Jul 14, 2010
My Centos PC has got 1 gig of rams. I'm running a webserver with 2 websites and a mysql service. also i need to start two other programs, which uses ~300-350 mbs/each. My memory usage without them is around 450-500 without them. It was 100MB~ free with everything i need on a sec ago. I've refreshed those two sites and it was ~50 left. SO what, site refresh for each user takes 20 megabytes or something? Is there any way to lower the overall usage without turning off mysql, apache and the two other programs? If there is how? And about number read, it says in the top command on mem like 4.4, 1.2, 2.0, etc.
What does that mean? I thought it's like 2.0=20 megabytes, but it doesn't add up to 450-500 then. And by the way, swap memory is 0kb. I have no possibility adding more rams except paying more 5 dollars a month for another 512. 5$/month is a lot for me (sounds funny)? Check out my country, you'll have to rethink. Especially being a student with no possibility to find a job). As for webhostings, i cannot find anything for free, that I could host my wehsites with ping less than 100 actually. Or <80 if say, then it's php memory limit is too low for my WP blog needs.
View 12 Replies
View Related
Jul 20, 2010
Is it possible for listing directory and files' permission into numbers?
Generally ls command shows directory and files' permission as follows;
[root:maestro:/home/ddisk_net]# ls -al
Total 44
drwx------ 4 ddisk_net users 4096 7ì›” 20 10:40 .
drwxr-xr-x 21 root root 4096 7ì›” 20 10:28 ..
-rw------- 1 ddisk_net webteam 5 7ì›” 20 10:40 .bash_history
-rw-r--r-- 1 ddisk_net users 33 1ì›” 22 2009 .bash_logout
[code].....
View 9 Replies
View Related
Dec 31, 2010
I am looking for a way to search for large numbers in text files and print the nearby lines.
For example if I had a text file like:
Event: 11
blah: 3
blah: 41 bleh: 19
Event: 2
blah: 31
[Code].....
View 1 Replies
View Related
Jul 18, 2010
I have two NASes. I work off of one, and the other is used as a backup. As I have it set up now, it's slow. Running a backup takes a week. Even for 7 TB, with 1,979,407 files, this seems a bit outlandish,particularly as both systems are RAID-5 and the network is all gigabit. I've been digging about in the rsync man pages, and I really don't understand what differentiates the various topologies.Right now, all the processing is being done on the backup NAS, which has the main volume from the main NAS mounted locally over SMB. I suspect that the SMB overhead is killing me, particularly when dealing with lots of files.
I think what I need is to set up rsync on the main nas as a daemon, and then run a local rsync client to connect to it, which would hopefully allow me to completely avoid the whole SMB-in-the-middle affair, but aside from mentioning that it's there, I can find very little information on why one would want to use the daemon mode for rsync.
Here's my current rsync command line: rsync -r -progress --delete /cifs/Thecus/ /mnt/Storage/input? Is there a better way/tool to do this? Edit:Ok, to address the additional questions: The "Main" NAS is a Thecus N7700. I have additional modules installed that give me SSH, and it has rsync, but it's not in the $PATH, and I havn't figured out how to edit the local $PATH in a way that persists between reboots. The "Backup" NAS is a DIY affair, built around a 1.6Ghz Via Mobo with a Adaptec Hardware RAID card. It's running CentOS 5 with a full desktop environment. It's the hardware I'm running rsync from. (Gigabit is through a additional PCI card).
Further Edit: Ok, got rsync over SSH working (thanks, lajuette!).I had to do a bit of tweaking on my command line, I'm running rsync with the args:rsync -rum --inplace --progress --delete --rsync-path=/opt/bin/rsync sys@10.1.1.10:/raid/data/Storage /mnt/Storage (Note: I'm specifically not using -a, because I want to change the ownership to the local account, to not freak-out SELinux)
View 5 Replies
View Related
Feb 3, 2011
There is a very conspicuous inaccuracy in the output of df. I should mention, that it was noticed to to a sudden change in the amount of space that was left on the backup partition. The df -h command produces the following output.
[Code]...
View 3 Replies
View Related
Jan 11, 2010
In Preferences > Bluetooth, I can pair to a phone but when they try to send me files it says, "send failed".
View 4 Replies
View Related
Apr 18, 2010
whenever i try so send files from my PC to phone, it never works in first attempt, just hangs. In the subsequent attempts it works fine.
View 1 Replies
View Related
Jul 19, 2011
So is there anything out there that will edit the HD 3gp files from my cell phone? Or the HD files from my Nikon camera?
View 5 Replies
View Related
Jul 13, 2010
I'm using my phone with TrekBuddy to contribute to Open Street Map and find it a bit awkward to bluetooth or removing the memory card from the phone to use USB directly. So I've been struggling some time to solve this issue, without any luck.Contents from my TrekBuddy directory on the memorycard on phone:Quote:
> ls -l
totalt 382
-rw-------. 1 dag dag 195409 2010-07-11 13:28 20100711-123727.gpx
[code]....
View 2 Replies
View Related
Jan 14, 2011
It's installed as a mobile broadband connection. Only works if my phone is plugged in during boot, otherwise plugging in my phone does nothing. For example, I booted my netbook earlier today but my phone wasn't plugged in. Tethering did not work, it just acts as if it isn't present. I rebooted (with my phone still attached) and now tethering magically works.
View 5 Replies
View Related