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.
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.
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
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.
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.
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.
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
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
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.
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".
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.
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.
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!!
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!
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
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
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..
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?
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.
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?
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.
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
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
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.