General :: Doesn't Show The File That Exists?

Sep 10, 2009

we have installed vignette software on the linux box and would like to uninstall it. To uninstall it we need to delete one file named vpd.properties. When we used locate vpd.properties, the file is found in 2 places. But when we used the ls -a in those locations the file is not seen. basically we want to remove that file. If we do rm vpd.properties, this also doesn't work. Also when we used find -H vpd.properties the file is not found. What is wrong here. I am sure the file vpd.properties will be added to file system as part of vignette. Can anyone suggest what could be wrong here.We logged in as root user to remove this file. Installation is done twice using root and vignette user ids. Thats why file is located in 2 places.

View 3 Replies


ADVERTISEMENT

General :: Script To Show If File Exists?

Dec 13, 2010

I have a script that runs each day at 6am and looks for files created within the last day and outputs the text to a file which it emailed to me. Im wanting to change it so that it would say something like "phone system backup complete" or "websense back complete" and say fail if its not there.

Dec 13 02:27 /mnt/ukwcs-net-config/IPT/Backup12-13-10#2-20.tar
Dec 13 01:00 /mnt/ukwcs-net-config/Websense/wsbackup_2010-12-13_010000.tar.gz
Script:
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(.dmp|.tar.gz)' > log.txt
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(/IPT/)' > logi.txt
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(.agb)' > loga.txt

[Code]....

View 2 Replies View Related

General :: File Exists And Yet It Doesn't?

Jul 11, 2011

I have a rather strange issue I'm attempting to fix here. One of the servers I work with had a log file reach 2GB in size and stopped logging. The software which is logging to said file cannot be stopped or restarted and does not provide a way to rotate log files -- poor design, I know. So in my infinite wisdom (or stupidity, however you want to read that), I truncated the log file in place with:

Code:
>vmsproxy.log
When I realized the log file was not being appended to, I checked lsof output and it

[code]...

View 7 Replies View Related

Ubuntu :: Error : Module.h File Doesn't Exists

Jun 21, 2010

1)I had download one hello.c for start working for Device drivers , and compile it . . I am using linux kernel 2.6.xx getting this error :

Error : linux / module.h file donesnot exists .

2) ad build the kernel and still getting the same error .

View 1 Replies View Related

Programming :: Restart Apache If File Doesn't Exists?

Jun 6, 2009

I'm running CentOS 5.3 64bit and from the get go I've had problems with the Apache serverMore specifically, on what seems to be a random occurance, the apache server stops to respond.The process is still running, but nothing happens with it, and it is not responding.The /var/logs/httpd/error_log is blank for the occurance and only shows an entry after I give it a restartSo I'm a bit confused about what is going on.With that said, I need to make sure the httpd is working one way or another.I don't want to force a restart service every 10 minutes as this seems a bit too much.However, I do want to have the following:run a crond every minute to do:

rm -Rf /root/testarea/*
wget http://ip/work.gif
then check if work.gif exists.

[code]...

View 1 Replies View Related

CentOS 5 Server :: Need To Restart Apache If File Doesn't Exists

Jun 6, 2009

I'm running CentOS 5.3 64bit and from the get go I've had problems with the Apache server.More specifically, on what seems to be a random occurance, the apache server stops to respond.The process is still running, but nothing happens with it, and it is not responding.The /var/logs/httpd/error_log is blank for the occurance and only shows an entry after I give it a restart.So I'm a bit confused about what is going on.With that said, I need to make sure the httpd is working one way or another.I don't want to force a restart service every 10 minutes as this seems a bit too much.However, I do want to have the following:

run a crond every minute to do:If it fails, then do service httpd restart (and log the failure and restart to a file and email me a message).Any pointers on how to do that?It ain't the pretty solution, but it will save me from a very angry user until I'll figure what is the real cause for this failure.

View 5 Replies View Related

General :: Main Menu Doesn't Show My App Launcher (desktop File) / Why Is So?

Aug 6, 2010

I've just started out learning to program and I'm making a "Radio Scheduler" for my brother as a mini project. I wanted to make an "install" script, which would add an item to Ubuntu's Main Menu. I believe all that is necessary is to create a .desktop file and place it it /usr/share/applications/? This seemed to work fine when I tried it out on 10.10, but I've now tried it on two 10.04 systems (one virtual) and despite it being in the applications folder (so it moved in okay), it isn't showing up at all in the menu. code...

I'm not entirely sure about some of that (categories for instance), as I just used another file as a reference. But it seemed to work fine on my 10.10 system, so I don't understand why it won't show up on the others? Should be in Sound & Video if I'm correct... I'm still pretty new to Linux, so sorry if I've got anything completely wrong.

View 1 Replies View Related

General :: Rkhunter.conf Doesn't Exists?

Feb 12, 2011

I get this warning when running rkhunter:The file rkhunter.cond foes not exist on the system, but it is present in the rkhunter.dat file.However, the conf file does exist as I just edited it.Any ideas on why this error occurs?[root#] locate rkhunter.conf/etc/rkhunter.conf

View 15 Replies View Related

Ubuntu :: Directory Exists But Bash Says It Doesn't - No Such File Or Directory

Aug 19, 2011

I've run into a problem with my bash program.

Code:a mkdir -p /home/chris/Downloads/ARCHIVE/`date -I` find /home/chris/Downloads* -mtime +14 -exec "cp {} /home/chris/Downloads/ARCHIVE/`date -I` ;

It's meant to move old files from my Downloads folder into an archive file (later tar them). The directory exists, I've used $PWD and nautilus and ls to make sure it's there, yet for every file it gives

Code: find: `cp /home/chris/Download/foo.bar /home/chris/Downloads/ARCHIVE/2011-08-19': No such file or directory I tried to test it on a different destination, specifically my home folder. IT still gave me the error.IS it a bad syntax within find or something else? I'm running a 32-bit system with 11.04

View 4 Replies View Related

General :: Check File Exists

Feb 20, 2010

I have scenrio where i have to check first whether the files exists or not then count of records should not be equal to zero and file should be of current day not the previous day then only process my next task.There are three files totally.please let me know how to write script to achieve the same.

View 2 Replies View Related

General :: Does First Line Create File In Tmp Directory With Dsuser.exists

Oct 19, 2010

does first line create file in tmp directory with dsuser.exists.* ?or we are assigning the path of existing file in this directory?

View 2 Replies View Related

Ubuntu :: DVD Drive Is Not Recognised - Doesn't Show Up In The File Manager

Feb 21, 2011

A little while ago I installed lubuntu 10.04 on a partition on my (somewhat) old sony vaio desktop. It's great, I do love it - only problem is that the DVD drive is not recognised - at least it doesn't show up in the file manager, and isn't listed when I do "ls -l /media".

View 7 Replies View Related

Fedora :: Xorg.0.log File Doesn't Show Errors - Stop At Black Screen

Oct 22, 2009

I just updated to the new drivers. In my Xorg.0.log file, it doesn't show any errors. It just stop at a black screen. This might be a new bug with the binary drivers.

View 6 Replies View Related

Ubuntu :: Doesn't The Chkconfig Command Exists?

Mar 11, 2010

doesn't the chkconfig command exists for ubuntu? or is it only for red hat systems?

View 9 Replies View Related

General :: 64-bit Doesn't Show 4GB RAM

Jun 4, 2011

I'm using a 64-bit release. But, my PC doesn't seem to show the full 4GB of RAM that is installed. It shows about 3.4 to 3.6GB of RAM (please see attached picture).I thought that if I could install a 64-bit OS that would mean that I have a 64-bit capable processor. I thought using a 64-bit release would show all 4GB or RAM on my PC. What am I doing wrong? My CPU is a Pentium 4 Prescott DT 630.

More information on my system is below:

Code:

$ lsb_release -rd
Description:Debian GNU/Linux 6.0.1 (squeeze)
Release:6.0.1

[code]....

View 6 Replies View Related

Ubuntu :: Maverick Doesn't Show Sub-menus / Show That?

Oct 14, 2010

Anyway since I upgraded to Ubuntu 10.10 when I right-click on something and there is another menu in that menu, it doesn't show up for the first time!

for example if I want to create a an "Empty File", I'll right-click on desktop and when I want to go to "Create Document" menu, it doesn't show up! so I must click somewhere else and try again so for the second time it works!!

View 9 Replies View Related

OpenSUSE :: 11.2 Updates And Kdesu Command - Directory OpenSUSE_11.2 Doesn't Exists

May 23, 2011

Not sure but has support and updates for 11.2 come to an end? Every monday morning i make sure i'm upto date with updates etc. This am i get a message saying "repo not available" and having looked online to see if the directory openSUSE_11.2 exists, it doesn't.

At the same time loged in as a std user i regularily offer the command kdesu kwite. the command is accepted without error and the cursur returns on a new line as expected but kwrite doesn't start. I'm guessing that my last update has left me with a broken OS. It doesn't seem very long at all since i installed 11.2!

View 9 Replies View Related

General :: Dvd Drive Doesn't Show Up In Os Of Rebuilt Pc

Sep 17, 2010

dvd drive doesn't show up in os of rebuilt pc

My dvd drive opens and closes and shows up in the bios when i attach a hard drive that isn't working!!

View 7 Replies View Related

General :: Fix Grub Loader Doesn't Show Up

Jul 12, 2011

i have a Computer with windows vista and Ubuntu dual booted, the thing is i upgraded to win 7 and now the grub loader doesn't show up. Ive tried all the usual fixes but i cant fix it all i need is a CD ore something to get me into the Linux install

View 5 Replies View Related

General :: 'last' Command Doesn't Show Last Shutdown?

Jul 6, 2010

I shutdown around 4 - 5 hours ago which would be around 14:00 to 15:00 time range. But as you can see there's no entry for it. Why? and how can i find when i last shutdown?

Code:
last
lyle pts/1 :0.0 Tue Jul 6 19:18 still logged in
lyle :0 Tue Jul 6 19:15 still logged in
lyle tty7 :0 Tue Jul 6 19:15 still logged in

[Code]....

View 1 Replies View Related

General :: Get "command Not Found" When The Binary File Exists?

Feb 21, 2011

I have just compiled a linux build of tests in my VirtualBox VM. When I run it, I get:

bash: ./tests: No such file or directory

I did some research, and found it could permissions, missing libraries or different architecture. So I checked those:

ls -al tests:

-rwxr-xr-x 1 me me 9948598 2011-02-21 01:54 tests

file tests

tests: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

uname -a
Linux DevBox 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
ldd tests:
linux-vdso.so.1 => (0x00007fff7db90000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f10ef14c000)

[Code].....

View 4 Replies View Related

General :: Service Start Script Doesn't Show OK Or FAILED?

Jul 17, 2010

I have written a init.d script but, when do '/sbin/service scriptd start' it does not indicate OK or FAILEDWhat could I be missing?

View 2 Replies View Related

General :: Static Ip On Debian And Nm-applet Doesn't Show The Networks At The Reboot?

Jan 5, 2011

I m trying to use static ip address on debian. I followed a tutorial and I modified the /etc/networking/interfaces but every time I reboot I can't do anything because the nm-applet says that I have select a manually connection..

View 1 Replies View Related

General :: Installed Adobe Flash But Doesn't Show Up In Wine Menu

Jul 18, 2010

I've got wine installed and I've been using it for a while, but I just installed adobe flash but it doesn't show up in my wine menu. I know where I can find it in My Programs I just don't know where that is. Where is the virtual C: drive in wine located?

View 2 Replies View Related

General :: External Hard Drive And Flash Disk Connected To Usb Doesn't Show

Oct 25, 2010

a friend of mine just given me an old 2004 IBM NetVista 8305 desktop and suggested to use Linux Ubuntu which is something new to me. So i installed it via USB memory stick & it works. After installation of the OS I am impressed with functionality & speed. when i conect the external hard drive via usb it doesn't show & i tried my usb flash disc it showed the same problem. I tried both disk in my laptop (Windows XP) & it works.

View 8 Replies View Related

General :: Desktop Doesn't Show Any Icons In Kubuntu / Reset To Initial Stage When I First Installed?

Dec 2, 2010

I installed kubuntu few days back. By clicking blindly I lost my desktop - I mean it is working fine but there are no icons on the desktop and there is no task bar with list of programs.

How can I reset to the initial stage when i first installed?

View 2 Replies View Related

Programming :: Check If There Is Any Ejb File Exists In The Directory

May 1, 2011

I have a directory called /data In this directory I have some files like abcejb.jar,12_ab_ejb.jar, shejb.jar, test I need a shell script like... 1st I want to check if there is any ejb file exists in the directory using some condition If ejb files exists I want to redirect the ejb files list to a file called list. Now I want to copy all the files in the list file to some remote system.

View 1 Replies View Related

Software :: Dovecot Dead But Pid File Exists?

Sep 30, 2010

My dovecot installation crashes after sometime, normally within one day. If I restart the process manually it works again for sometime but eventually it crashes again.

Code:

root# service dovecot status
dovecot dead but pid file exists

[code].....

View 3 Replies View Related

Fedora Servers :: Cannot Delete Directory 'foo': File Exists

Jan 17, 2009

I was transferring some files from my laptop (running FC6) to a server at my work (don't know what kind) with "scp -rpC" and it stalled, don't know why.
Now when I try to delete the files from the server so I can start again I get the following error message

Code:
rm -r Single_injections/
rm: cannot remove directory `Single_injections/195320/400mA/010': File exists
rm: cannot remove directory `Single_injections/195320/400mA': File exists
rm: cannot remove directory `Single_injections/195320': File exists
rm: cannot remove directory `Single_injections': File exists

[Code].....

View 6 Replies View Related

Fedora Servers :: Nmb Dead But Pid File Exists - At Shutdown?

Mar 11, 2009

After booting I noticed that sometimes nmb was not running. The command # service nmb status gives nmbd dead but pid file exists The timestamp of the pid file suggests that at the last shutdown the pid file was not removed, and I guess this prevented nmb to start properly during booting (Although during booting the messages is [OK]).

If I shut down nmb manually, everything is fine. I checked the log in /var/log/samba/log.nmbd and it doesn't show any error. As mentioned, this occurs only occasionally, and I have no idea what may be causing this.

View 1 Replies View Related







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