Friday, 30 November 2007
|
| cant run bash scripts.. Vihang 16:59:02 |
| | i cant execute any bash script in the directory /var/www/html/cgi-bin if i copy the same bash script to the /tmp or anyother for that matter i am able to exucute it what can be the prob.
____________________________________ root@one[/var/www/html/cgi-bin]# cat tmp #!/bin/sh echo "hey hey" root@one[/var/www/html/cgi-bin]# root@one[/var/www/html/cgi-bin]# ./tmp root@one[/var/www/html/cgi-bin]# root@one[/var/www/html/cgi-bin]# cp tmp /tmp/tmp root@one[/var/www/html/cgi-bin]# /tmp/tmp hey hey root@one[/var/www/html/cgi-bin]# ____________________________________
what can be the prob??
thanks in advance
|
| | 18 answers | Add comment |
Tuesday, 18 September 2007
|
| Shell Script Question David Lightman 22:16:01 |
| | I am trying to write my first real script, and I have a problem. I simply want to record 1 second of audio to a file, and do so on an automated basis. My script is:
rec sample.au & sleep 1s kill -INT $!
The problem is that the process "sox" still runs after my script executes and the output file is corrupt. Any help on this would be appreciated.
|
| | 12 answers | Add comment |
Friday, 24 August 2007
|
| help Guest 16:07:36 |
| | my moniter not support graphical mode my linux run only in text mode .. any one here plz solve my problum |
| | Add comment |
Monday, 18 June 2007
|
| kernel: mtrr: no more MTRRs available Johannes Beekhuizen 04:59:25 |
| | Hello,
I'm running kernel version 2.6.13, xorg version 6.8.2. Video card is asus/ati eax550, 256MB ram, with ati driver fglrx version 8.23.7. My /proc/mtrr: reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1 reg01: base=0xc7fe0000 (3199MB), size= 64KB: write-combining, count=1 reg02: base=0xc7fc0000 (3199MB), size= 128KB: write-combining, count=1 reg03: base=0xc7f80000 (3199MB), size= 256KB: write-combining, count=1 reg04: base=0xc7f00000 (3199MB), size= 512KB: write-combining, count=1 reg05: base=0xc7e00000 (3198MB), size= 1MB: write-combining, count=1 reg06: base=0xc7c00000 (3196MB), size= 2MB: write-combining, count=1 reg07: base=0xc7800000 (3192MB), size= 4MB: write-combining, count=1
What can I do to make more MTRRs available?
Regards,
Hans.
jdh dot beekhuizen at duinheks dot xs4all dot nl
|
| | 2 answer | Add comment |
Friday, 15 June 2007
|
| What is ultra dma mode 2 Guest 18:52:29 |
| | Dumb question I know but, I have a drive which clearly says it is ultra dma mode 2 and a tool for setting dma modes that only says ultradma/16 or ultradma/33.
So is dma mode 2 ultradma/16 or ultradma/33 or neither?
I have googled till I'm blue in the face and cannot find one simple statement as to whether dma mode 2 is equivalent to either of the ultra/xx modes ro not.
Please help in simple English, Thanks.
|
| | 4 answer | Add comment |
Tuesday, 12 June 2007
|
| Ubuntu Steven Hook 01:18:04 |
| | Hey, I heard about the Ubuntu distribution from a friend, just wondering, is it any good, I've asked for a set of CDs, can't wait to get them, try it out. Steven
|
| | 171 answer | Add comment |
Sunday, 10 June 2007
|
| wireless laser lan project Manolo98 20:20:19 |
| | Hi to All I have two laser avalaible, to experiment a laser home based network with my neigbord-friend . We have to linux boxes , I have dsl broadband conexion to internet, I mi colleage dont , the target is to share this conexion. I do not wont radio wireless if posible...I prefer laser house to laser house beam. I found some links like: http://www.qsl.net/wb9ajz/laser/rudolfs/
but I need some more useful ideas, kits avalaible or links to studie,
thanks a lot for Your help.
manuel
|
| | 3 answer | Add comment |
Sunday, 20 May 2007
|
| Re: input/output error copying file from DVD-RAM (solved) Neil Woods 04:36:44 |
| | Neil Woods <cnw+usenet-0606@pobox.com> writes:
I'm trying to copy a large file from my LG GSA-4120B DVD-RAM drive, but> am getting this error message:> $ cp /mnt/dvd/DVD_RTAV/VR_MOVIE.VRO /space/dvd/> cp: reading `/mnt/dvd/DVD_RTAV/VR_MOVIE.VRO': Input/output error> and the cp is aborted (always at the same point). [snip]
I've looked on Google but couldn't find any solutions. Are there any> known problems with copying large files from UDF mounted filesystems? FWIW, I managed to copy the disk by using dd_rescue <http://www.garloff.de/kurt/linux/ddrescue/> and the following:
# dd_rescue /dev/hdd /space/temp/image # mount /space/temp/image /mnt/tmp -t udf -o loop # cp /mnt/tmp/DVD_RTAV/VR_MOVIE.VRO /space/dvd/
(/dev/hdd is my DVD-RAM drive).
I was then able to use avidemux to edit the video stream.
dd_rescue will copy block devices, ignoring errors, and is a useful tool to have around, IMHO.
Hope this helps someone. -- Neil. If you mess with a thing long enough, it'll break. -- Schmidt
|
| | 2 answer | Add comment |
Saturday, 7 April 2007
|
| Mounting NTFS partition Shiva 04:23:48 |
| | Hi,
Can anyone tell me how to mount ntfs partition in red hat linux? when i try to mount ntfs, i am getting a message unsupported file system. how could i compile my Redhat linux kernel to support NTFS?
Thanks in advance Shivakumar
|
| | 10 answers | Add comment |
Saturday, 31 March 2007
|
| Problem with Agere Systems AC'97 modem Pepegan 10:53:24 |
| | Hi
I've just installed Mandrake Linux 10.1 on my laptop Acer Aspire 1355. Madrake has recognized all the components except the modem (Agere System AC'97 modem).
I'm trying to find the sources in order to compile and I've only founded the Source RPM package AgereSoftModemBeta-2.1.0-2.src.rpm in http://www-3.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-52698
but when I tried to compile this sources with the kernel 2.6 I get errors.
Please, anybody can help me?
Thanks!!!
Errors when IВґve tried to compile this sources.
[root@localhost AgereSoftModem]# make install make all make[1]: Entering directory `/usr/src/RPM/SOURCES/AgereSoftModem' Building Modem Controller Module for Agere Soft modem In file included from /usr/include/linux/sched.h:14, from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/linux/cpumask.h:80: error: syntax error before "DECLARE_BITMAP" /usr/include/linux/cpumask.h:81: error: syntax error before "_unused_cpumask_arg _" /usr/include/linux/cpumask.h:84: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpu_set': /usr/include/linux/cpumask.h:86: error: `cpu' undeclared (first use in this func tion) /usr/include/linux/cpumask.h:86: error: (Each undeclared identifier is reported only once /usr/include/linux/cpumask.h:86: error: for each function it appears in.) /usr/include/linux/cpumask.h:86: error: `dstp' undeclared (first use in this fun ction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:90: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpu_clear': /usr/include/linux/cpumask.h:92: error: `cpu' undeclared (first use in this func tion) /usr/include/linux/cpumask.h:92: error: `dstp' undeclared (first use in this fun ction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:96: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_setall': /usr/include/linux/cpumask.h:98: error: `dstp' undeclared (first use in this fun ction) /usr/include/linux/cpumask.h:98: error: `nbits' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:102: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_clear': /usr/include/linux/cpumask.h:104: error: `dstp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:104: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:111: error: syntax error before "cpumask_t" /usr/include/linux/cpumask.h: In function `__cpu_test_and_set': /usr/include/linux/cpumask.h:113: error: `cpu' undeclared (first use in this fun ction) /usr/include/linux/cpumask.h:113: error: `addr' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:117: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_and': /usr/include/linux/cpumask.h:120: error: `dstp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:120: error: `src1p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:120: error: `src2p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:120: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:124: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_or': /usr/include/linux/cpumask.h:127: error: `dstp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:127: error: `src1p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:127: error: `src2p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:127: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:131: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_xor': /usr/include/linux/cpumask.h:134: error: `dstp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:134: error: `src1p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:134: error: `src2p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:134: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:139: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_andnot': /usr/include/linux/cpumask.h:142: error: `dstp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:142: error: `src1p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:142: error: `src2p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:142: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:146: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_complement': /usr/include/linux/cpumask.h:149: error: `dstp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:149: error: `srcp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:149: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:153: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_equal': /usr/include/linux/cpumask.h:156: error: `src1p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:156: error: `src2p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:156: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:160: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_intersects': /usr/include/linux/cpumask.h:163: error: `src1p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:163: error: `src2p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:163: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:167: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_subset': /usr/include/linux/cpumask.h:170: error: `src1p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:170: error: `src2p' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:170: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:174: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_empty': /usr/include/linux/cpumask.h:176: error: `srcp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:176: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:180: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_full': /usr/include/linux/cpumask.h:182: error: `srcp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:182: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:186: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_weight': /usr/include/linux/cpumask.h:188: error: `srcp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:188: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:193: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_shift_right': /usr/include/linux/cpumask.h:196: error: `dstp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:196: error: `srcp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:196: error: `n' undeclared (first use in this funct ion) /usr/include/linux/cpumask.h:196: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:201: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_shift_left': /usr/include/linux/cpumask.h:204: error: `dstp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:204: error: `srcp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:204: error: `n' undeclared (first use in this funct ion) /usr/include/linux/cpumask.h:204: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:208: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__first_cpu': /usr/include/linux/cpumask.h:210: error: `srcp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:210: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:214: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__next_cpu': /usr/include/linux/cpumask.h:216: error: `srcp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:216: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:216: error: `n' undeclared (first use in this funct ion) In file included from /usr/include/linux/sched.h:14, from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/linux/cpumask.h:233:5: missing binary operator before token "(" /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:265: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpumask_scnprintf': /usr/include/linux/cpumask.h:267: error: `buf' undeclared (first use in this fun ction) /usr/include/linux/cpumask.h:267: error: `len' undeclared (first use in this fun ction) /usr/include/linux/cpumask.h:267: error: `srcp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:267: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:273: error: syntax error before "cpumask_t" /usr/include/linux/cpumask.h: In function `__cpumask_parse': /usr/include/linux/cpumask.h:275: error: `buf' undeclared (first use in this fun ction) /usr/include/linux/cpumask.h:275: error: `len' undeclared (first use in this fun ction) /usr/include/linux/cpumask.h:275: error: `dstp' undeclared (first use in this fu nction) /usr/include/linux/cpumask.h:275: error: `nbits' undeclared (first use in this f unction) /usr/include/linux/cpumask.h:278:5: missing binary operator before token "(" /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:343: error: syntax error before "cpu_possible_map" /usr/include/linux/cpumask.h:344: error: syntax error before "cpu_online_map" /usr/include/linux/cpumask.h:345: error: syntax error before "cpu_present_map" /usr/include/linux/cpumask.h:347:5: missing binary operator before token "(" In file included from /usr/include/asm/smp.h:18, from /usr/include/linux/smp.h:13, from /usr/include/linux/sched.h:22, from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory In file included from /usr/include/asm/smp.h:18, from /usr/include/linux/smp.h:13, from /usr/include/linux/sched.h:22, from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a fu nction) /usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/include/asm/mpspec.h:43: error: variable-size type declared outside of any function In file included from /usr/include/asm/siginfo.h:4, from /usr/include/linux/signal.h:7, from /usr/include/linux/sched.h:24, from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/asm-generic/siginfo.h:58: error: size of array `_pad' is too large In file included from /usr/include/linux/mmzone.h:372, from /usr/include/linux/gfp.h:4, from /usr/include/linux/slab.h:15, from /usr/include/linux/percpu.h:4, from /usr/include/linux/sched.h:30, from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/linux/topology.h: In function `__next_node_with_cpus': /usr/include/linux/topology.h:50: error: syntax error before "__tmp__" /usr/include/linux/topology.h:50: error: `__tmp__' undeclared (first use in this function) In file included from /usr/include/linux/gfp.h:4, from /usr/include/linux/slab.h:15, from /usr/include/linux/percpu.h:4, from /usr/include/linux/sched.h:30, from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/linux/mmzone.h: At top level: /usr/include/linux/mmzone.h:414: error: syntax error before '(' token In file included from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/linux/sched.h:152: error: syntax error before "nohz_cpu_mask" In file included from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/linux/sched.h:217: error: syntax error before "cpumask_t" /usr/include/linux/sched.h:231: error: syntax error before '}' token /usr/include/linux/sched.h:408: error: syntax error before "cpumask_t" /usr/include/linux/sched.h:423: error: syntax error before ':' token /usr/include/linux/sched.h:459: error: syntax error before ':' token /usr/include/linux/sched.h:521: error: syntax error before '}' token /usr/include/linux/sched.h: In function `process_group': /usr/include/linux/sched.h:525: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: At top level: /usr/include/linux/sched.h:673: error: syntax error before "cpumask_t" In file included from /usr/include/linux/module.h:9, from agrmodem.c:29: /usr/include/linux/sched.h: In function `dequeue_signal_lock': /usr/include/linux/sched.h:770: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h:772: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `on_sig_stack': /usr/include/linux/sched.h:813: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h:813: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `sas_ss_flags': /usr/include/linux/sched.h:818: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `capable': /usr/include/linux/sched.h:829: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h:830: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `mmdrop': /usr/include/linux/sched.h:846: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: At top level: /usr/include/linux/sched.h:863: error: 'exit_signal' redeclared as different kin d of symbol /usr/include/linux/sched.h:419: error: previous declaration of 'exit_signal' was here /usr/include/linux/sched.h: In function `thread_group_empty': /usr/include/linux/sched.h:924: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `task_lock': /usr/include/linux/sched.h:944: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `task_unlock': /usr/include/linux/sched.h:949: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `get_task_mm': /usr/include/linux/sched.h:963: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `set_tsk_thread_flag': /usr/include/linux/sched.h:977: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `clear_tsk_thread_flag': /usr/include/linux/sched.h:982: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `test_and_set_tsk_thread_flag': /usr/include/linux/sched.h:987: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `test_and_clear_tsk_thread_flag': /usr/include/linux/sched.h:992: error: dereferencing pointer to incomplete type /usr/include/linux/sched.h: In function `test_tsk_thread_flag': /usr/include/linux/sched.h:997: error: dereferencing pointer to incomplete type In file included from /usr/include/linux/module.h:22, from agrmodem.c:29: /usr/include/asm/module.h:56:2: #error unknown processor family In file included from /usr/include/linux/irq.h:20, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from agrmodem.c:40: /usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory | |