Red Hat / Fedora :: Sed: Can't Read *.php: No Such File Or Directory

May 9, 2010

I am using this command: Code: sed -i 's?,$HTTP_USER_AGENT,?,$HTTP_USER_AGENT."\nFile: ".__FILE__."\nLine: ".__LINE__,?g' *.php to modify a line in my php files. I want to do this recursively from the directory I am in. but I get this message in response: sed: can't read *.php: No such file or directory sed version is 4.1.2. It's important that I only change *.php files, and do so recursively.

View 1 Replies


ADVERTISEMENT

General :: Can't Empty The /tmp Directory Read-only File System Warning

Mar 2, 2010

Does anyone know why files in my /tmp directory are not able to rm even using root login? not only that, I can't even chmod or do anything to files in /tmp directory... it always saying "read only file system" warning

View 8 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

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.

View 1 Replies View Related

Fedora :: Cannot Read Hidden Files In Home Directory

Jul 24, 2009

Not sure what the problem is, but my home directory or /home partition is acting up so that I cannot see the hidden directories in my home directory.

If I type "ls" I get the display of all my files and directories.

If I type "ls -l" I get the display of files and directories.

If I type "ls -a" or "ls -la", the terminal hangs.

Any thoughts? I have tried creating myself a new account and moved all my files over, then changed the ownerships to the new account. However, now the new account is acting the same way.

View 14 Replies View Related

Fedora :: Grant Certain Group Read-only Access To / Var Directory

May 30, 2010

On RedHat 5 64-bit.I have a group that requires read-only access to the /var directory.I believe someone mentioned SGID and ACL stuff, and I've been researching this solution, but I wanted to check with you all first to ensure there wasn't an easier way to do this. Basically, I just need folks that belong in this certain group to read the contains of any file/directory contained within /var.

View 5 Replies View Related

Fedora :: Cannot Create Regular File Read Only File System?

Jun 16, 2009

All my torrents go to my home/username/Download/ folder, I could read/write yesterday but now I cant even copy the files to a flash drive.The error i get is "Cannot create regular file '/home/username/Download/file' : Read only file system.

View 14 Replies View Related

SUSE :: Mount NFS Directory As Read-only Except For 1 Sub-directory?

Jul 14, 2009

We currently have a NFS shared Directory mounted as read-only on our server.This directory contains multiple sub-directories and files. It being read-only is a equirement. Now, we need a directory underneath to be read-write. Is there a graceful way to make that happen? Like a special mount option to use? Basically objective is: /u01 is mounted as read-only and has 3 directories: dir1, dir2, dir3 dir3 has 2 sub-directories- sub1,sub2/u01/dir3/sub2 needs to be read-write, while all other are read-only.

View 2 Replies View Related

Red Hat / Fedora :: How To Read / Var / Log / Last-log File?

Dec 1, 2008

does anybody know how to read the /var/log/lastlog file? I can read the wtmp with last or who. How about lastlog. anybody?

View 3 Replies View Related

Fedora :: VBoxVMM.so: Cannot Open Shared Object File: No Such File Or Directory

Oct 26, 2010

after updating my system I can't start VirtualBox-OSE anymore. I get the error:

VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: VBoxVMM.so: cannot open shared object file: No such file or directory

I try to remove and to re-install VirtualBox-OSE again, still the same error. VirtualBox works as root but not from a user account. The installed version is VirtualBox-OSE.i686 3.2.6-2.fc13 @rpmfusion-free-updates

View 12 Replies View Related

Fedora :: Cannot Open Shared Object File: No Such File Or Directory"?

Mar 28, 2011

I am trying to run Ansys on Fedora (64bit), but every time I do it gives me this error. "error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory"Please help as I am stuck with this issue for long.

View 6 Replies View Related

Fedora :: Error - Cannot Open Shared Object File: No Such File Or Directory

Mar 4, 2010

i have a problem with realplayer 11 i can't open it due to that error message

Code:
/opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory so how can reveal this problem

View 4 Replies View Related

Fedora X86/64bit :: Libdbus-glib-1.so.2: Cannot Open Shared Object File: No Such File Or Directory

Jun 18, 2009

I've just installed F11 (x86_64) on my computer. I've been using x86_64 since Fedora 7 and normally I use a manually installed i386 firefox/thunderbird. This time I've tried to do the same using Fireox 3.5b4 but I got many troubles. The last error I got is:

./firefox-bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory but that lib is not available on the standard repository. I've tried to use the i386 version of thunderbird (2.0.0.9) but I got this error: ./thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory but on the repository there is just the libstdc++-4.4.0-4.i586 lib.

View 4 Replies View Related

Fedora :: Cannot Open Shared Object File: No Such File Or Directory?

Aug 23, 2010

Running Fedora 12 (32 bit). 2.6.32.14-127.fc12.i686.PAE #1. Trying to open Amarok or digiKam generates the following error:- error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory.

Package exists in /usr/lib. Above 2 are the only applications affected that I've noticed to date. Googling indicates possible problem caused by recent flashplayer upgrade but I'm not sure.

View 7 Replies View Related

Fedora :: Cannot Open Shared Object File: No Such File Or Directory

Sep 11, 2010

Trying to install Cadsoft eagle pcb design app and getting :- error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

[root@localhost Downloads]# yum provides */libssl
Loaded plugins: presto, refresh-packagekit
No Matches found

[code]....

View 4 Replies View Related

Fedora :: Root User Won't Be Able To Read "active" Xguest Home Directory

Aug 31, 2011

Xguest uses namespace.d/xguest.conf.

[code]...

root user won't be able to read the "active" xguest home directory (ll /home/xguest will only show an almost empty folder with content from /etc/skel). How can a root user list the folder of an the xguest home directory (while xguest is logged in)?

View 9 Replies View Related

Software :: Get First File Of Directory Then Copy To Other Directory Andd Rename The File?

Jan 30, 2011

I want to do the following.

1. have a directory full of subdirectory

2. Pick the first file from every sub and copy that to the main directory and also rename that file to the same name as the subdirectory's name

3. need to work in commandline best is a simple script.

View 4 Replies View Related

Fedora Servers :: Samba Can't Read The Config File?

Nov 24, 2009

I have a computer running Fedora 11. I wanted to use samba in my office. So I configured the /etc/samba/smb.conf ,but it did not work well : Windows can find samba,but when I tap in username and password,samba request them again , and the same thing continues in a loop. So I copied another computer's smb.conf (which is also a Fedora 11,samba runs well in this one).I copied this file to /etc/samba/ ,then samba can't satart up . I read from /var/log/samba/log.smbd.log : Unable to open configuration file "/etc/samba/smb.conf": Permission denied Even if I use: chmod 777 /etc/samba/smb.conf

why I can't login samba from Windows:

[global]
workgroup = MYGROUP
server string = Samba Server Version %v
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.1.99/24

[Code]....

View 3 Replies View Related

Fedora Security :: Make The Root File System Read-only

Jun 23, 2009

I am interested in making the root file system is read-only. I've moved /var and /tmp file systems to another partitions. There are two files in the /etc directory that need to be writable.

These are:

I've moved this files to /var and linked it. I've added command to the /etc/rc.d/rc.local file:

That's it. Are there other solutions to make the root file system is read-only?

View 1 Replies View Related

Fedora :: GRUB Error 18 - Couldn't Read Configuration File

Apr 5, 2010

I'm playing with Fedora 12 and can't get GRUB to work. To boot, I've been using GRUB4DOS. While that works fine, I'd like to figure out what's wrong with regular GRUB 0.97. After the initial installation, GRUB came up on reboot, but it was broken -- it couldn't read the config file apparently, and no commands would work correctly. So I attempted to reinstall grub via the grub prompt. No matter what I do, or which hard disk I install GRUB on, I get "Error 18". I tried using the "grub-install" command as well as the prompt, and that did the same thing.

My system here is an ASUS M4A785TD-M EVO mo/bo. I've got four hard drives. Two 1TB SATA drives and a couple of PATA drives (300 and 500GB) on a Si608 controller card. Using the BIOS "BBS" boot menu, I can boot NTLDR and BOOTMGR off active partitions on any of the drives (with proper Boot.ini modifications to handle the change in drive order). GRUB4DOS works as well, and will boot Fedora 12 correctly off any of them (with proper menu.lst ministrations). But GRUB 0.97 that comes with Fedora just refuses to do anything other than say "Error 18".

View 4 Replies View Related

Fedora Hardware :: Flash Read Only Cant Transfer File Or Format?

Jan 20, 2011

i have problem my flash memory was working file then suddenly it says read only file system cant format either

View 1 Replies View Related

Fedora :: Editing A Line In A Daemon.conf [read Only] File?

Mar 16, 2011

I need to edit a line in a file in gedit, but its read only. I need to change

; default-sample-rate = 44100
to
default-sample-rate=44800.

Would anyone know if there is an option to make a read only file editable? Judging by the responses to the thread I followed to enable my soundcard, it is possible, and perhaps there is some setting etc that needs changing

View 3 Replies View Related

Red Hat / Fedora :: Server Unable To Read File Systems At Boot Up

Mar 4, 2010

I restore tape backup on my Linux server. At the time of booting the server it cannot able to read the filesystems.

I am getting the following message,
Code: Your system appears to have shutdown uncleanly
Forcing file system integrity check due to default setting
Checking root filesystem
fsch.ext3: file system has unsupported features (S) (/)
e2fsck: Get a never version of e2fsck! (FAILED)
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance (or type Control-D to continue):

View 4 Replies View Related

Red Hat / Fedora :: Unlinked Inode, Aborted Journal And Read Only File System?

Apr 7, 2010

I am running centos 5 on adaptec 2405 raid 10

PHP Code:

I get this error:

[code]....

View 9 Replies View Related

Fedora :: Error To Rebuild Inkscape Srpm Fedora 14 : Glib.h: No Such File Or Directory?

Dec 23, 2010

my problem is inkscape-0.48.0-1.fc14.3.src.rpm in fedora 14 64 bittry rebuild --source inkscape-0.48.0-1.fc14.3.src.rpm and this my error:I think something wrong pkgconfig .

attributes.cpp:20:32: fatal error: glib.h: No such file or directory
compilation terminated.
arc-context.cpp:21:28: fatal error: gdk/gdkkeysyms.h: No such file or directory

[code]....

View 6 Replies View Related

Red Hat / Fedora :: No Such File Or Directory?

Dec 30, 2010

cp: cannot stat `orange': No such file or directory

orange is just the new name for the file, all the directories definitely do exist.

View 3 Replies View Related

Fedora X86/64bit :: Play A 32bit Game On F14-64 - Error "cannot Open Shared Object File: No Such File Or Directory"

Dec 19, 2010

You may know the Humble Indie Pack 2, which is a set of crossplatform indie video games. There's one game in the bundle that doesn't offer a 64bit build and therefore it fails to load. It's called Braid and that's what you get when you try to run it: $ ./braid ./braid: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

Of course the 64bit libs for OpenGL and the propitiatory nvidia drivers are installed, but the game asks for the 32bit ones, at least to my understanding. I do know that why can install 32bit libraries on a 64 bit linux system (we do that for the sake of crappy Adobe Flash), but I don't know where to find these libs (searching the repo with keywords like .i586 or ia32 led me nowhere).

View 2 Replies View Related

Fedora :: When A Directory Or A File Was Created?

Aug 4, 2009

I want to know the creation time of a directory or a file. How can I know this?

View 1 Replies View Related

Fedora :: Inittab No Such File Or Directory?

Jul 13, 2010

I tried to go to the inittab folder by typing /etc/inittab.

The following is the error message I get

[root@localhost /]# cd /etc/inittab
-bash: cd: /etc/inittab: Not a directory

View 5 Replies View Related

Red Hat / Fedora :: Tar: V: Cannot Open: No Such File Or Directory?

Jan 26, 2010

have installed the sybase successfully but the server cannot be started. And the error is that: ./startserver: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directoryAnd then I download the " libaio-0.3.105-2.i386.rpm", and used the rpm command to install: rpm -ivh libaio-0.3.105-2.i386.rpmbut it said: " libaio-0.3.105-2.i386.rpm: not an rpm package (or package manifest):"And then I download the "libaio-0.3.106.tar.gz", and tried to use tar command to install : tar -zxfv libaio-0.3.106.tar.gz

but it said: "tar: v: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2

[code]...

View 3 Replies View Related

Red Hat / Fedora :: Directory File Name With Space

Jun 12, 2010

I have an external 800GB USB drive I used for storage for both files from Win XP and Suse 9.0.I can read and write my data from Win XP o.k but when I try to write any files from Suse side it gave me 'read only file system' . This drive from Unix is mounted in /media directory with root owner with executable and read only. When I changed to become root and issue chmod 777 'FreeAgent Drive'.I got error chmod: changing permissions of 'FreeAgent Drive':Read only file system.

From unix, reading any file on this drive, using gui application, I can not access the drive at all but I can see all files on the drive using a command with quote (cd /media/'FreeAgent Drive')

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved