I have a web server whos DocumentRoot is:/tmp/wwwNow, /temp/www/fake/ is a directory that contains a series of other files/folders.What I want to do is access the files in /temp/www/fake as if they were in the root directory (/temp/www/)For example:
could either be located in "/temp/www/test.php" -or- located in "/temp/www/fake/test.php"
so "http://127.0.0.1/test.php" would essentially call both directories. Is this possible? Whould I do this through apache or through the actual file system somehow? (Like some sort of symbolic link?) I would love to hear your input.
I'm wondering if there is a proper way (or just best practice) to using temp files and the /tmp directory. Background story: In a script I had been using mktemp to create temp files in /tmp. Needless to say that after running this script for a while, it filled /tmp and my HDD with these files. I didn't realize that i needed to do house cleaning of /tmp.
So now I'm curious as to how to properly use temp files and how to not abuse /tmp. I suppose some of my shortcomings arise from the fact that I somehow had the crazy idea that /tmp was policed by the system and cleaned out when necessary. I assume that I'll just need to self police and use my temp files more intelligently and get rid of them when I'm done with them instead of letting them clutter up /tmp.
How to find the filesize of a flash which is not exactly stored in the temp but redirected by a fd. flash31 -> /tmp/FlashXXvsg1uY (deleted) directory is /proc/processid Chrome is downloading a flash and I can see in the proc directory the flash file, How can I see the current file size of such a file ?
I have an NTFS file system nfs-automounted on our RedHat servers. Users can read and write to the file system no problem, and can create new files, edit them, and delete them to their heart's content. The only issue is that utilities such as "dos2unix" cannot create temporary working files:
$ dos2unix events.0818.dat dos2unix: converting file events.0818.dat to UNIX format ... Failed to open output temp file: Operation not permitted dos2unix: problems converting file events.0818.dat
This isn't limited to "dos2unix"; any other utility that creates a temporary working file gets the same problem. If I copy the file to a local file system like /tmp, it works fine. Here's the kicker: this works fine on Solaris systems. I can take the "dos2unix" utility over to a Solaris system that has that exact same NTFS file system automounted via NFS, and it works. No issues creating temporary working files at all.
I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
there are number of threads floating on installation of ns2..however i am unable to get it on my 64 bit system ns: error while loading shared libraries: libotcl.so: cannot open shared object file: No such file or directory
I downloaded the demo of Penumbra Overture, it is a .sh file (113Mb). I can't open the file. In a terminal I ran chmod +x PenumbraOvertureDemo-2553.sh and then sudo ./PenumbraOvertureDemo-2553.sh and I get an error "./PenumbraOvertureDemo-2553.sh: 2: Syntax error: "(" unexpected" . The quotation marks are my own. Is the file corrupted? One of my lugmates thinks it might be a shar file, but Karmic says that it is a shell script. Another friend says that it is too large to be a shell script. Here is the code:
john@john-laptop:~$ cd /home/john/00 john@john-laptop:~/00$ chmod +x PenumbraOvertureDemo-2553.sh john@john-laptop:~/00$ sudo ./PenumbraOvertureDemo-2553.sh
When running the beta of blender 2.5, I get the following error. blender: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory In previous versions of ubuntu you could 'apt-get install python2.5' to resolve the issue, but it doesn't appear in any/all of the repositories. where I can get python2.5 for lucid-lynx?
I was looking to download "America's Army" and was doing alright until I hit a slight snag, It had an error while loading libgtk1.2, so I scoured the Internet for a way to fix this and the find command I found just told me it couldn't find the package, this is the first error I got when I tried to uncompress the "America's Army" version I downloaded:
/home/zac/.setup3597: error while loading shared libraries: libgtk-1.2.so.0: can not open shared object file: No such file or directory.
When i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".
I followed [URL] that thread for installing BitPim on 10.04, but am getting this error:
Quote:
Traceback (most recent call last): File "/opt/cx_Freeze-3.0.3/initscripts/ConsoleSetLibPath.py", line 35, in <module> File "src/bp.py", line 20, in <module> File "src/bp_cli.py", line 21, in <module>
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory make[2]: *** [libmpn.la] Error 127 make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
I get an error when running slapt-get. The error is: "slapt-get: error while loading shared libraries: libsas.so.2: cannot open shared object file: No such file or directory".
I've booted the Slackware disk # 1 and unchecked everything except the libraries category and installed them. I rebooted and it still says this. I get this same error before I put the disk in and rebooted to install ALL libraries. I really need help. BTW, I can't load KDE.I found a pkg manager already installed called "slackpkg". But I really need help on this library issue!! I uninstalled it (slapt-get) anyway, so forget that!
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
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.
I'm trying to use a software on OpenSuSE 11.3 (64) and am getting an error message similar to the one in the title. I did a bit of background reading on libjpeg.so.62 that the program was asking for. I noticed that I had a file called libjpeg.so.8 in my /usr/lib/ folder. I found a libjpeg.so.62 file online, downloaded it and copied to to my /usr/lib folder, but its not making any difference.
I am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?
Whenever I try to install a game thats in a .run file format, I get the following error. libgtk-1.2.so.0: cannot open shared object file: No such file or directory
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
I'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:
error message when I ran my program that I couldn't open my local file. I have two files first one is called client, second one is called server I am using named pipes to sent a message from client to the other file called server in client I used mknod() to create the two named pipes,one for read,one for write and created new thread in client using fork() spawned a child process that executed the server file both named pipes are opened the client file got the message from the user and sent it through the named pipes to the server file when the server receives the message , it needs to verfify it is correct in the server file, a local file descriptor is created to read and send this verifing message when it is not correct but I am getting an OPEN() error when I tried to open this shared local array buff and attach it to a file descriptor where the message is kept why do I get this error in server file
int main() { /*both named pipes are open*/ rfd=open(IFIO1,0); wfd=open(IFIO2,1);
I have installed and built gazebo and it passed without any errors.I'm running on ubunto 10.10, and I installed gazebo version 0.10 (straight from their website)while trying to run it ( with a given world or without as shown below) I get the following error:
root:~# gazebo gazebo: error while loading shared libraries: libassimp.so: cannot open shared object file: No such file or directory
I tried installing libassimp again, I have installed the 2.0 version from this link
[URL]
when searching for libassimp I get the following results:
I am running after compiling a program and I find that I get the following. How best can I avoid this as i cannot run the program. I have tried removing the offending package, although I cannot find it. I have also tried re-installing. I have also tried changing FC and F90 flags to avoid the MPI version.
error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
I tried to upgrade my slackware xfce 13.0 >> 13.1. I read "man slackpkg" first, and then I did exactly what I read at the man pages, my system was in init 1 mode.
The mirror I used it was the Greek mirror for 13.1. The command slackpkg upgrade-all was running ok until the "r" letter after that all packages did not upgraded because it was ERROR CHECKSUMS.md5 to all of them. Slackpkg did not upgrade all this packages but just check them and them skip them.
When everything stopped I reboot but at loading time it stops and I have this message: "libuuid.so.1:cannot open shared object file: No such file or directory."
After that I have 2 options to press control-d to reboot or to give root pass and login as root@(none):
After I login I cant connect to internet, I cant shutdown the system only reboot it from cl, I even cant go to init 1 or anything else. I dont know if I can fix the problem but I have to try...