Software :: Example File Does Not Exist
Jan 5, 2010I installed LyX to try it out and the built-in tutorial wants me to play around with the file "example_raw.lyx", but I can't find it anywhere!
View 7 RepliesI installed LyX to try it out and the built-in tutorial wants me to play around with the file "example_raw.lyx", but I can't find it anywhere!
View 7 RepliesI want to create a logon script (or somesuch) that creates a file (if it doesn't already exist) and checks the file for some info otherwise. If it finds a given trigger in that file, it logs into a local database and does some operations.
Now my problem isn't with creating that file or even getting it to function as a logon script -- it's with permissions. After the logon script creates the file, I want that user to have read access on it ONLY. Further, I don't want to give the user any kind of root access so that they could do the database operations in question or chown/chmod the file.
What's the best practice here? I'm noticing that whenever the script runs (in .bashrc right now) the script runs with the current user's permissions. Ideally, I'd like to make it so the login script can run at a higher level of permissions, (higher than the user has). Is this even possible? What's the best way to do this?
I have file which consists of many files with their path,i need to check for the file exists in the given path,how to check?
View 12 Replies View RelatedTried running simdock from software center...uninstalled because I was getting this error after trying to run ap "Can't load image from file '/usr/share/firefox/icons/mozicon128.png': file does not exist."
View 3 Replies View RelatedOS:Debian Jessie -- Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux
Apache version 2.4.10
IF i test the link http://localhost/123456789 , I can't find the message in /var/log/apache2/error.log
like : [Tue Sep 22 23:30:34 2015] [error] [client 192.168.10.177] File does not exist: /var/www/html/123456789
I got the "The file '/var/log/syslog' does not exist." message when I tried to run KSystemLog as well as "The file '/var/log/auth.log' does not exist." when I tried to view the authentication log. There is no icon beside the items "Krfb," "KSystemLog," and"Nepomuk Backup" in the "System Tools" menu of Gnome.
View 9 Replies View Relatedi was assigned with a project to analyse the performance of ASSP mail filter engine.I am using Fedora 7 with KDE3.5. I need to install a lot of perl modules to run the assp.pl code.I was trying with all sorts of packages like src.rpm, ixxx.rpm, tar.gz, tar.bz2. All these packages doesnt work exactly. When i tried with rpm packages. I am getting this error.
/*
[root@localhost RPMs]# rpm -ivh cyrus-sasl-2.1.23-9.fc12.src.rpm
warning: cyrus-sasl-2.1.23-9.fc12.src.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 57bbccba
1:cyrus-sasl warning: user mockbuild does not exist - using root
[code]....
So i checked for config.h file as given the directory but it was missing.I don't know why?
using a terminal
logged into userMan remotely
[code]
scp /file.txt xxx.xxx.xx:/home/userMan/
[code]
Is the syntax above correct?
I'm trying to copy /file.txt from local machine, to server with userMan
error: /file.txt doesn't exist
when I reviewed the error_log I found that it is logging thousands of errors which are similar. I've included a sample of the errors. The following error seems to happen constantly, from many different ip's...
Code:
[Thu Apr 22 01:02:06 2010] [error] [client (the ip address removed)]
File does not exist: /home/virtual/site4/fst/var/www/html/colombia-news,
I had installed BIND packages but /etc/named.conf file is missing as the packages are shown,
[root@nisserver ~]# yum list bind*
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
[code]...
I want to install kindle in kubuntu. I seem to have successfully installed wine and and added ms explorer.exe. but when I click on Browse C drive...
Unable to run the command specified. The file or folder file:////Documents/.wine/dosdevices/c: does not exist.
Due to a motherboard issue, I need to edit a parameter in the "etc/default/grub" file.
However, the problem is, that file doesn't exist.
Grub does seem to be installed, I can get into grub from the command line etc.
This is a fresh install of Ubuntu Server - 10.04.2 LTS
Brand new box, no previous installs of anything, no other operating systems etc.
Is there somewhere else that file could reside ? I tried find -name '*grub*' and got plenty of files, but none are the one that I need.
Is there someway to generate this file ?
I remember when installing from the CD it asking about grub, but I don't recall which option I chose, it was whichever one was the default.
This thing won't reboot right after power loss etc until I can edit that value... which at the moment seems to not exist....
Btw, I'm not a total linux noob but far from an expert, so I may need any answers "dumbed down" a bit.
EDIT (more info):
It seems that I have regular "grub" and not "grub2" installed... I'm assuming that is part of the problem ?
My version: grub-install (GNU GRUB 0.97)
Does this version of grub allow you to edit options etc ?
Specifically, what I need to do, is edit this value: GRUB_CMDLINE_LINUX_DEFAULT
I need to add "reboot=a" to this line.
So I want to run command through ssh but also run a if check in bash to see ifa file exist. I know that to run ssh commands you do ssh user@server YOURCOMMANDbut if i need to run an if statements, how would this work??
View 4 Replies View RelatedI am learning Linux and especially the scripting and server administration aspect. I recently installed TFTPD on a Debian Lenny box and was satisfied with the results. The only drawback that I could find was that a file had to exist before TFTPD would allow a transfer. I understand that this is standard practice however I was wondering if there was a way around this. I am using this TFTP server to backup configurations and IOS images on our Cisco devices in a private network. If there isn't anyway to do this is there a different TFTP server that I could install that would support this functionality. I have read the man pages without much luck and doing Google searches hasn't yielded many results. I really appreciate your help and if there is anything you need from me please let me know./etc/inetd.conf fileQuote:
#:BOOT: TFTP service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
tftp dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.tftpd -s
[code]...
I am running a fairly new Debain Jessie stable installation with Xfce desktop. I need to use Xfce4 becuas the standard Gnome 3 does ot work when logging in with xrdp which I use becuase the actual box is headless.
I have an issue when starting synaptic. When I start it from the menu entry it just does not start. When I start from the terminal with
Code: Select allgksudo synaptic
I get an error box "Unable to copy the user's Xauthorization file" At the same time I can see in the terminal window a message
"Error copying '/home/userxxx/.Xauthority' to /'tmp/libgksu-SwcIe0': File or Directory not found".
I assume it is related to that I use a rdp session to connect, but I am otherwise clueless.
Code: Select alluserxxx@server2>xauth
xauth: file /home/userxxx/.Xauthority does not exist
I'm getting openbox up and running on squeeze. I performed a netinstall and did a simple apt-get openboxI need to modify a file called ~/.xinitrc, but it does not exist. I read that I can copy one over from /var/x11r6/lib/xinitrc, but the /x11r6/ directory doesn't exist either. I've installed xorg, but the directory still eludes me. A package search yields nothing useful. I am using the SLiM display/login manager, which I believe calls startx, which should theoretically generate the ~/.xinitrc file.
View 2 Replies View Relatedhere is the most importent part of the file setup.shhere link to pastebin:http://pastebin.com/mwQ1UArHand here the part:
cd
chmod 777 ../bin/panel
cd ../bin/panel
[code]....
1)NOT USING MMCONFIG
2)insmod Error inserting `/lib/raid456.ko` -1 File Exist
Dell PowerEdge T110 with 4sata Controllers with Centos2.6.18-238.9.1.el5xen installed .
Code:
/boot on /dev/md0
/ on /dev/md1 Regards
I'm building a RPM package. In my SPEC file, in the "%pre" and "%post" sections, I need to be sure that Postgresql-server is started.I tried to add a "PreReq: /var/run/postmaster*" but the * is not interpreted ! (filename changes, depending on the linux distribution)Is this way test that this file exist (or test if the result of "pidof -s/usr/bin/postmaster" is empty, for example
View 2 Replies View RelatedI can do:mkdir messages and then: touch messages/hello.txt Is there a command that will do both - create the directory if it doesn't exist, and then the empty file? Something like: touch -p messages/hello.txt
View 1 Replies View RelatedI have recently installed Ubuntu Karmic on my laptop, which also has Windows 7. It now has GRUB, and I have been able to modify some settings via the GRUB command line. However, these changes are not permanent; they are reset the next time I load GRUB. I have seen many people trying to configure GRUB who have been pointed towards /boot/grub/menu.lst. I expect it would) I went to edit that file... and discovered that it did not exist. I am certain that I am using GRUB, not some other bootloader. Is there another possible way to configure GRUB, or somewhere else I might look for this file?
View 4 Replies View RelatedI am trying to change to boot order in grub, but I keep running into the same problem.I find instructs me to go to /boot/grub/menu however that file doesnt exist on my computer. in my /boot/grub directory file names go from memrw.mod to minicmd.com with nothing in between.I am using an up to date release of Karmic Koala.
View 2 Replies View RelatedI downloaded a program called tonespace http://www.mucoder.net/en/tonespace/ which I extracted and then tried to execute the executable file with ./tonespace. This gives me the following message:
bash: ./tonespace: No such file or directory
When I use the command: file ./tonespace I get this: tonespace: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
I dont get it. The file is clearly there, yet when trying to execute it bash doesn't seem to recognize it.
It has permissions rwxr-xr-x and is not owned by root. Am I overlooking something?
on boot I got a message that (part of) level 5 was skipped, and I ended up on console. So I tried startx but get this message (probably the reason boot failed also):
xauth: file /home/kostas/.serverauth.3396 does not exist
Fatal server error:Cannot move old log file "/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"
consult the The X.Org Foundation support at X.Org Wiki - Home for help.
xinit: giving up
xinit: unable to connect to X server: Connection refused
[code]....
This should be simple but I can't seem to find what I am looking for.I want to search a text file for the existence of certain strings and execute a command if they exist, something along the lines of:
if <string> exists
command
or
if <any member of this list exists>
command
I know how to manually search a file with grep, cat, etc., but the "if this exists" part eludes me.
Every time I try to empty the waste bin I get dolphin error - 'The file or folder /.local/share/Trash/files/IMGP1676.DNG does not exist'I tried to recreate the file 'IMGP1676.DNG' , deleted it i.e. sent i to the waste bin and then tried the empty waste bin again, although this time it was there and deleted it still reported the same error.du -h .local/share/Trash/files/ 12K .local/share/Trash/files
View 2 Replies View RelatedI use this command:
Code:
find ./ -atime +360
to figure out the files that haven't been accessed since 360 days. The command above will return results like this:
Code:
/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
Code:
mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext
But I want the executed command to create this path
Code:
/old-files/uploads/2010/02/
If it doesn't exist.
I try to install C support and it get this errorC/C++ template file '/home/perlsyntax/.vim/c-support/templates/Templates' does not exist or is not readableI get that after i make the dir ~/.vim and ~/.vim/plugin i put c support in my ~/.vim/plugin anyone know why i get the error message for on fedora?---------- Post added at 08:06 AM ---------- Previous post was at 07:24 AM -------------------- Post added at 01:12 PM ---------- Previous post was at 08:06 AM -------------------- Post added at 09:02 PM ---------- Previous post was at 01:12 PM ----------[/COLOR]Anyone out there?
View 2 Replies View RelatedOn a KDE4 environment after downloading some music from rapidshare with JDownloader the archives self-extracted with the symbol in some of the file names. Those files couldn't be renamed or deleted, the file manager said that the files didn't exist - very weird. The files should have had some swedish characters in their file names. Now I'm stuck with those files on my machine. Anyone knows how to get rid of them?
View 2 Replies View RelatedI'm trying to use scp to get a file from my desktop onto the server for my school. I'm connected via VPN and using PuTTy to try to do this. I've tried every single combination/permutation/help site on the web that I can think of and I still can't get this thing working. This is what I get:
[palermo@matrix hw2]$ scp synoptic.data palermo@matrix:/rhome/palermo/ats652/hw2
palermo@matrix's password:
synoptic.data: No such file or directory
Yet the file sits, in all it's glory, on my desktop. What have I missed here? This is for a homework due next week, so the urgency is kind of on.