General :: Unable To Get Right Output - Error "not Recognized $age"
Oct 30, 2010clear
echo -n "enter ur birth year "
read byear
cyear='date | tr -s ''| cut -d "" -f 6'
age='expr $cyear - $byear'
echo "ur $age"
clear
echo -n "enter ur birth year "
read byear
cyear='date | tr -s ''| cut -d "" -f 6'
age='expr $cyear - $byear'
echo "ur $age"
I finally decided to transition to a 64-bit install (AMD64). (same machine, just reinstalling as a 64-bit kernel starting w/ a Debian squeeze netinstall image) My audio chipset is nvidia MCP61, and it was working perfectly under a 32-bit kernel (I did the transition because a poorly-written system backup script (my fault) hosed /usr, /bin, and /sbin) When everything was up and running:
*: KDE4 only recognized the output device as ALC1200 Analog
*: kmix only had a single channel(master)
*: alsamixergui did recognize all the channels
*: some games (sauerbraten, for example) had no sound in KDE4.
*: some games (warzone2100, for example) did have sound in KDE4.
*: the games that had no sound in KDE4 did have sound in fluxbox.
I removed the following packages (some of which I had installed to try to get audio working properly):
[Code]....
I'm still trying to find out if my coby mp3 player will actually play mtv video files as is advertised.
ffmpeg -formats does list mtv but the only command I really ever used was one to convert a vid to an mp3 so I tried Code: ffmpeg -i test.mp4 -acodec copy output.mtv it returns Code: Unable to find a suitable output format for 'output.mtv' I can't find any mtv files online for purchase or free for that matter, so I know this is all pretty obscure but shouldn't there be a way to convert them since ffmpeg lists mtv format?
However I just added a new DAC that my system does recognize and will play music through (sound player in ubuntu and system sounds are now outputting to it just fine), but I cannot figure out how/where to specify that ampache/mpd use the DAC. ampache/mpd is still outputting the sound out of the soundcard line out successfully. i went into ubuntu's graphical sound config and turned off the soundcard and set the usb dac as default and hat seems to work fine for everything as I said.. except what i really want it to work on: ampache
(its a usb device: nuforce icon)
Using Ampache v 3.5.4
mpd 0.15.4
ubuntu 10.04 LTS
been pouring through docs/web for hours with no luck. theres no enough clear docs on mpd to figure this out. i don;t know how to configure an audio output that sends to this particular device.
when iam opening my dec_backup folder the folling error is appering :
the error is gzip :stdin:input /output error
/bin /gstar :unexpected EOF in archive
/bin /gstar: error is not recoverable :exesting now
My Friend's Pen Drive, which was working well very well just few days ago, is not being recognized after getting used by a virus affected machine. Its not on fdisk -l or lsusb. However in dmesg I can see the following:
[977.300013] usb 5-2: new full speed USB device using uhci_hcd and address 2
[977.420014] usb 5-2: device descriptor read/64, error -71
[977.644023] usb 5-2: device descriptor read/64, error -71
[977.860013] usb 5-2: new full speed USB device using uhci_hcd and address 3
[977.980013] usb 5-2: device descriptor read/64, error -71
[978.204013] usb 5-2: device descriptor read/64, error -71
[978.420013] usb 5-2: new full speed USB device using uhci_hcd and address 4
[978.828015] usb 5-2: device not accepting address 4, error -71
[978.940015] usb 5-2: new full speed USB device using uhci_hcd and address 5
[979.348013] usb 5-2: device not accepting address 5, error -71
[979.348292] hub 5-0:1.0: unable to enumerate USB device on port 2
[1017.848015] usb 5-2: new full speed USB device using uhci_hcd and address 6
[ 1017.968012] usb 5-2: device descriptor read/64, error -71
[ 1018.192017] usb 5-2: device descriptor read/64, error -71
[ 1018.408014] usb 5-2: new full speed USB device using uhci_hcd and address 7
[ 1018.528012] usb 5-2: device descriptor read/64, error -71
[ 1018.752023] usb 5-2: device descriptor read/64, error -71
[ 1018.968012] usb 5-2: new full speed USB device using uhci_hcd and address 8
[ 1019.376019] usb 5-2: device not accepting address 8, error -71
[ 1019.488011] usb 5-2: new full speed USB device using uhci_hcd and address 9
[ 1019.896016] usb 5-2: device not accepting address 9, error -71
[ 1019.896308] hub 5-0:1.0: unable to enumerate USB device on port 2
[ 1049.984016] usb 5-1: new full speed USB device using uhci_hcd and address 10
[ 1050.104014] usb 5-1: device descriptor read/64, error -71
[ 1050.328014] usb 5-1: device descriptor read/64, error -71
[ 1050.544014] usb 5-1: new full speed USB device using uhci_hcd and address 11
[ 1050.664018] usb 5-1: device descriptor read/64, error -71
[ 1050.888019] usb 5-1: device descriptor read/64, error -71
[ 1051.104025] usb 5-1: new full speed USB device using uhci_hcd and address 12
[ 1051.512014] usb 5-1: device not accepting address 12, error -71
[ 1051.624101] usb 5-1: new full speed USB device using uhci_hcd and address 13
[ 1052.032014] usb 5-1: device not accepting address 13, error -71
[ 1052.032991] hub 5-0:1.0: unable to enumerate USB device on port 1
What these Errors actually mean and how Can I get this pen drive Back to work?
I've been getting the hang of ubuntu. It's been a good switch from windows 7.
I'm having a bit of an issue which right now is causing me to regret deleting my windows partition. It'd be nice to have my dual boot set up right now.
Ubuntu is not recognizing my headphone output on my laptop.
I've been looking around but can't find a fix. Here's my alsa info script output.
Also, I'm running 64-bit ubuntu if that matters.
[URL]
Sound used to work fine on my computer, but one day my headphone jack stopped working -- when I tried to use it, no sound played through the headphones but did play through the computer's speakers.After I tried to fix it, I lost ALL sound on my computer. I noticed in my sound preferences it says "Dummy Output" and no other hardware.The problem seems common -- I've Googled the issue to death and read many threads here about the same problem -- but no matter how many times I've tried, I can't find a solution that works for me.I'm relatively new to Ubuntu and so there's still a great deal of stuff that
View 1 Replies View Relatedi m running a command
Code:
watch -n 1 -d netstat -i
to see the packet drops every 1 second. but the problem is the output is so long(Due to large number of virtual interfaces) it doesn't fit into the putty prompt. I dont need to monitor each and every network interface I m more interested in monitoring the interfaces starting from vif but whenever i run following command it doesnt display anything.
Code:
watch -n 3 -d netstat -i | grep vif*
What should i do?
My script is not diaplying output as it contains awk while iterating over the array. My script is as follows:
shortcodes=( "56882" "58585" "58888" "57575" "57677" );
for shortcode in ${shortcodes[@]}
do
echo "`awk -F"|" '/ShortCode=tel:$shortcode/ { arr[substr($2,1,4)]++ } END { for( no in arr) { print no , arr[no] } }'
[code]....
I have a python script that when run outputs to screen.
eg.
./international_sms_check.py 0403000511 919227434827
TS 21 check ok
TS 22 check ok
sms successfully delivered from 61403000511 to 919227434827
But when I try:./international_sms_check.py 0403000511 919227434827 > test
The file test is created but there is nothing in it.if I try ls > test this works fine with output of ls redirected to file test.
I wish to know what could be the possible cases for this error:cp: reading `filename': Input/output errorI am getting this message when I am trying to copy a big file of around 50MB.
View 2 Replies View Related[root@localhost media]# ls UMESH
[root@localhost media]# cd UMESH/
[root@localhost UMESH]# ll
ls: cannot access ejb: Input/output error
total 0 d? ejb
[root@localhost UMESH]# rm -rf ejb
rm: cannot remove 'ejb': Input/output error
[root@localhost UMESH]# ll
ls: cannot access ejb: Input/output error
total 0 d? ejb
[root@localhost UMESH]#
The privileges for root for UMESH are as below:
[root@localhost media]# ll
total 4
drwxr-xr-x 3 vickey root 4096 1970-01-01 05:30 UMESH
[root@localhost media]#
Also I can't even paste a file in the USB.
I have a WD external disk, NTFS file system. I mounted it on my Red Hat. While on the external disk, I deleted a directory, which was sent to .Trash-root of that disk.I went to .Trash-root and did rm -rf to completely delete that directory, but I got the following error: cannot remove `<directory>': Input/output errorWhen I do ls -la on that directory that I wish to remove, it shows me it has 0 files inside. But not only I can't remove it, I can't do anything else with it (copy, etc). And I have all the rights on that directory, so this isn't the problem.
View 6 Replies View RelatedI am writing a script which will fetch data from different machines and display it on single terminal. I have created a file named SERVERNAMES containing ip address of machines I need to monitor. Then for every IP I am issuing ssh command to get date on that machine. However When I am trying it on the script it is just giving me output of first server and it is ignoring rest servers mentioned in file. ssh works fine without password for all machines mentioned in SERVERNAMES.
Code:
# cat SERVERNAMES
10.180.45.231
10.180.45.235
10.180.45.238
10.180.45.211
Script
Code:
#!/bin/bash
while read line
do
#Calculate Load on remote machine.
Date=`ssh -T -q $line date`
echo "Date on $line is:$Date"
done < SERVERNAMES
Code:
output.
Date on 10.180.8.231 is:Wed Jul 14 10:48:46 IST 2010
I am not getting the output for .
Code:
10.180.45.235
10.180.45.238
10.180.45.211
Is there anything wrong in ssh?
The external hard drive which contains all my photos and where I backed-up all my important documents is no longer recognized. It is a three month old 500GB Iomage Prestige Desktop Hard Drive.When I plug it in, it is recognised as a USB device, because it shows up when I type lsusb, but dmesg gives this error message.
[19712.013250] usb 2-2: new high speed USB device using ehci_hcd and address 21
[19712.145347] usb 2-2: configuration #1 chosen from 1 choice
[19712.147214] scsi25 : SCSI emulation for USB Mass Storage devices
[code]....
I popped the disk out of the casing put it on a SATA connect internally and then tried the file recovery programs testdisk/photorec and SpinRite, but both failed because they couldn't recognize the external hard disk.
Pavillion laptop crashed and I can not find all of my recovery discs. The computer will not allow me to do an internal recovery so I ordered a recovery download on line and burned to a disc. when I put the disc in the graphics came up and in started in Live-mode but then the error mess came: error while loading shared libraries: /usr/lib/libpci.so.3: cannot read file data: input/output error. The site said it was an ISO file but then it had a program it had me run to change it and burn the disc.
View 1 Replies View RelatedA few hours ago, my Ubuntu, for no apparent reason stopped sending proper signals to my monitor. I last updated Ubuntu about a week ago and since then I haven't had any problems until now so I believe that an update couldn't have caused this. Anyway, when I boot up, I see the purple boot up screen for just an instant and then the monitor displays a 'bad-input' message. There's nothing wrong with the monitor.
I have an ATI graphics card. (I tried switching to the Ctrl+Fx terminals.. didn't work). This is about the third time I've had serious issues with Ubuntu and I'm getting a bit frustrated with it.
We make everyday a DB Mysql backup on Linux redhat Enterprise. We are using a bash shell script (and putting it in the crontab) to execute it automatically everyday. We added a line to this script telling, once the backup has completed, to find old backup files (stored on hard disk after each backup) older than x days to remove them. We use the find command (search for file type) with the mtime option and in combination with rm command. Everything runs ok but we also want to add some new code to the same line: If find command cannot find anything or fails, for example if it cannot delete file or fails, send the error message (standard error output) to an error file (like error000001 and increasing) and mail the errorxxxx file to an email address for example to admin@companyname.com. What would be the code for this issue to add it to our find command in the same bash shell script??
View 2 Replies View RelatedI have purchased an HP 2050 all in one Printer Scanner. The Printer works fine but so far I am unable to get the scanner recognized.
View 14 Replies View RelatedI don't know the format of these old floppie disks, ive tried
Code:
PC8-248suse:~ # file -s /dev/fd0
/dev/fd0: ERROR: cannot read `/dev/fd0' (Input/output error)
how i can go about reading this data?
I have mounted an NFS share with ISO images on my kvm Server. If i connect such a iso to a VM (using virt-manager) for installing a operating system i get the following error on startup: Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 qemu: could not open disk image /mnt/iso/public/Linux/Distributions/Debian/debian-504-amd64-netinst.iso: Permission denied
The problem is definitly that kvm (or qemu or libvirt-bin, i don't know) tries to set permissions (rwx owner for libvirt-qemu, --- for kvm group, --- for other) on the file, although it has read permissions. Is it possible to change this behavior?
I'm not really sure this is the right category for this post...
I've been thinking and reading but I really don't find a solution, and this is why I decided to post here. I'm not a newbie using Linux but I know absolutely nothing about nfs and related stuff. If explanations are not clear/precise I'm sorry and absolutely open to explain myself better (I'm really desperate, at this point).
I'm running a Debian in a VirtualBox inside a RHEL5. To supply space to the virtual machine I'm trying to mount a disk (? maybe not?) that I created in the RHEL.
In RHEL: I created a directory /some/path/dir and I granted access to it from the VM (edit /etc/exports file and restart the nfs service)
In Debian: I created a directory to be used as mounting point (mkdir /other/nice/path/dir) and I tried to mount (mount -t nfs -v redhat:/some/path/dir /other/nice/path/dir). What happens next is the following:
mount.nfs: timeout set for Thu ...
mount.nfs: text-based options ...
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed
Now, this Input/output error is too vague to trace where the problem is, but I really have no idea about how to go more in depth (are there logs somewhere? What should I look for? ... ...).
I am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.
View 6 Replies View RelatedI am new to Linux. I have installed RHEL 5.4 on my PC with preloaded Windows XP.
Windows was set as the first boot kernel. So if i do not choose which OS to be loaded it will load Windows by Default.
Today I got an error saying GRub Loading Stage2 read error.
I wanted to log some messages on Apache. So I added in VirtualHost definition
Code:
CustomLog /var/log/apache2/site-resp_log resp
LogFormat "%{X-Forwarded-For} %D %t %T %v %O %b %A %B" resp
and restarted apache2.
I got following error
Code:
* Restarting web server apache2
Syntax error on line 33 of /etc/apache2/sites-enabled/site.com:
Unrecognized LogFormat directive % [fail]
root@server:/var/log/apache2# vi /etc/apache2/sites-available/sites.com
Here is a page I referred to. I am not able to understand the syntax error.
Just upgraded to 11.04 Natty Narwhal, and got myself a Samsung Galaxy S2. Tried connecting via USB in order to sync contacts, photos etc. Got the error: "Unable to mount SAMSUNG_Android Error initialising camera: -60: Could not lock the device" Wanted to use the USB storage and USB tethering, so I enabled USB debug mode. So did this on the phone: Settings > Applications > Development > USB Debugging Ubuntu can't see the phone. Then tried:
Settings > Wireless and Network > Tethering and Portable Hotspot Settings > USB Tethering.
Still no joy. Typing "lsusb" in terminal gives me:
[code]....
it sees it in lsusb, but nowhere else, so I still can't copy and sync etc. Anyone come across this problem, and if so, how were you able to solve it.
I am running Ubuntu 10.10 and I am unable to get any sound output. My sound card is installed, cables are connected, and volume is up but I get no sound output. Here is what I see
[URL]
I am fully aware that these following photo's are not all required for a full understanding of my issue, but I will post them regardless. Checklist to see if my computer meets best results possible for the installation. Screenshot.jpg These photos showing here are where I plan on Installing Ubuntu
Screenshot-1.jpg
Screenshot-2.jpg
NOTE: The installation has started, but only to shortly be stopped by my error message.
Screenshot-3.jpg
This is my ERROR!!! message
Screenshot-4.jpg
No matter what I try to click on, the window simply ignores the command, regardless of the amount of times I issue the command.
I recently upgraded my file/media server to Fedora 11. After doing so, I can no longer copy large files to the server. The files begin to transfer, but typically after about 1gb of the file has transferred, the transfer stalls and ultimately fails with the message:
"Error writing to file: Input/output error"
I've run out of ideas as to what could cause this problem. I have tried the following:
1. Different NFS versions: NFS3 and NFS4
2. Tried copying the files to different physical drives on the server.
3. Tried copying the files from different physical drives on the client.
4. Tried different rsize and wsize block sizes when mounting the NFS share
5. Tried copying the files via a different protocol. SSH in this case. The file transfers are always successful when I use SSH.
Regardless of what I do, the result is the same. The file transfers always fail after approximately 1gb.
Some other notes.
1. Both the client and the server are running Fedora 11 kernel 2.6.29.5-191.fc11.x86_64
I am out of ideas. Has anyone else experienced something similar?