Ubuntu :: Program/script In 9.10 Server Is Erasing/cleaning The /tmp Directory At Each Reboot?

Jan 20, 2010

Anyone know what program/script in Ubuntu 9.10 server is erasing/cleaning the /tmp directory at each reboot? I want to have it not do that, and replace it with something that removes older files first to achieve a certain free space level.

View 1 Replies


ADVERTISEMENT

General :: Rm -rf Not Erasing Directory?

Apr 24, 2010

I am attempting to erase a directory called apps. When I run rm-rf apps it looks like it erases it for the moment. When I log back on to the server the directory is still there, though it is highlighted in green.

drwxrwxrwx 3 user user 4096 2010-04-24 18:33 apps

View 6 Replies View Related

Software :: Error: Cleaning Up The SVN Directory And Retrying

Apr 19, 2010

I have installed metasploit v3.3.4 in ubuntu 9.10. But when i try to update by command msfupdate it it gives following error:

Code:
Updating Metasploit from https://www.metasploit.com/svn/framework3/trunk...
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
Error: cleaning up the SVN directory and retrying...
svn: In directory 'modules/auxiliary/scanner/http'
svn: Error processing command 'modify-wcprop' in 'modules/auxiliary/scanner/http'
svn: 'modules/auxiliary/scanner/http/svn_scanner.rb' is not under version control
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

[Code]...

View 2 Replies View Related

General :: Can't Force Reboot From Program?

Jul 7, 2011

running Linux release 2.4.19-uc0, build #511 embedded on a device. It is stripped down to a very minimal configuration and so many of the normal commands are not present.I'm trying to force a reboot from an application I've got running. I've tried the following:

system("shutdown -r");
or
sync();

[code]....

View 4 Replies View Related

Ubuntu :: Directory Is Corrupted During A Cold-start Reboot

Jul 3, 2010

I urgently need expert assistance. During a cold-start reboot, something corrupted my / directory making it impossible to access much of anything. I was able to log into a recovery console and do "ls /" which shows most of the critical directories although "media" is missing. However attempting to "ls /home" gets the "no such file or directory" error message, as do attempts to ls most of the others. Doing "ls -l /" gets one item listed, followed by a single record out of /var/log/syslog, then nothing at all.

Attempting a normal login (I've disabled the quiet and splash options, so I see all the startup messages) gets to doing fsck on the swap partition, and that stalls out at 14% complete. The fsck on the root partition completed okay, apparently. This machine is my router, firewall, FTP server, and also hosts VirtualBox VMs that contain all of my customer support tools. The VMs themselves are partially backed up on another box, fortunately, but it took me a couple of months to get the failed box configured properly so if possible I need to recover it. For lack of space, I've never been able to do a full backup of it -- and permissions have foiled portions of all my other backup attempts on it.

Complicating matters is the fact that I have a moderately large data recovery job scheduled to arrive this evening (July 3) to be done while the customer's business is shut down for the holiday. Without the FTP server I'm unable to receive the files, which will total from 100 to 200 MB in all. Is it likely that testdisk may be able to rebuild the borked main root directory, if run from a live CD? The system is Hardy LTS 8.04.4, with 3 GB of RAM and a 250 GB SATA drive. I'm posting this from my WinXP laptop, which doesn't get along with my LAN so connects from a different router than the one that's down.

View 3 Replies View Related

Debian :: Program For Automatic Or Remote Reboot Process?

May 21, 2010

I looking for a program for automatic or remote reboot process...

Soon I order a VPS and needs a Call of Duty (or other games too) server restarter, if its crash...

View 3 Replies View Related

Ubuntu :: Erasing Second Harddrive ?

Feb 5, 2011

I have two harddrives installed on my HTPC. I am using the smaller (120gb) to run the OS (kubuntu 10) the larger (1 tb) I want to use to store all of my media.

However....

The second hard drive has THREE linux Distros on it (from me testing and playing and making decisions) and I CANT figure out how to get them off.....

The hard drives are SATA and plugged in in the correct order.

I have tried fdisking and reformating which seemed to work, but when I boot it still asks me which OS i want to boot to.

Right now I am trying to zero out the hard drive by using ths

dd if=/dev/zero of=/dev/sdb

I typed that in as root about 15 minutes ago and hit enter. it hasn't said anything since. no command prompt or anythng. I am hoping it is working, we will see.

View 8 Replies View Related

Ubuntu :: How To Change Directory Into Which Program Opens?

Feb 11, 2010

I'm working in R and would like to change where the program opens. Currently my default working directory is home/dave and I would like it to open into home/dave/R by default.I'm running mint with xfce.

View 2 Replies View Related

Ubuntu :: Extract File To Program Directory?

Jul 19, 2010

How do i extract a file to a program directory ?

YEA stupid question but im used to windows and im trying to learn ubuntu so far i love it just hitting bumps..

I want to extract

xbmc to

.xbmc/plugins/program directory

i downloaded the file, but when it comes to extracting im lost, because i cannot access the root ? is that were it is ?

View 9 Replies View Related

Ubuntu :: File Association To A Program That Will Only Run In It's Own Directory?

Apr 9, 2011

is a file association to a program that will only run in it's own directory. (Arobas' Guitar Pro, if you're curious). The link created by the installer leads to a shell script, which cd's to /opt/GuitarPro6, then executes the program there. Attempting to call the program from outside that directory fails, as the program cannot find it's libraries. It starts normally otherwise.

Passing a file name to the program via the command line works fine, IF you start with the working directory as above. The question is, what can I do to pass the filename to the command line in the shell script, so that double-clicking in Nautilus brings up the program with the file? (Currently, just associating with the shell script gives me the program, with no loaded file).

Second issue is files with an .hjt extension. They're essentially text files, following a specific format used by Treepad. Nautilus recognizes them as text files. When I change their association to Treepad, regular .txt files follow this change, and when I change the .txt's back to Leafpad, the .hjt's follow. How can I separate the .hjt's from the .txt's?

View 9 Replies View Related

Ubuntu :: Installing Fedora Without Erasing ?

Mar 20, 2010

I would like to try another flavor of linux (fedora)..Currently i am using Ubuntu 9.04, without erasing ubuntu i like to try Fedora..So can someone tell me how to install fedora without losing Ubuntu?

View 8 Replies View Related

Ubuntu :: Run A Program Automatically When A File Appears In A Directory?

Jan 16, 2010

Does anyone know how I can make a program run automatically when a file appears in a particular directory? I have two computers, one to program the firmware on a microcontroller (command line only), and the other is my desktop machine running Ubuntu. I have an NFS share between the two. What I want is to be able to drop a new firmware load into the shared directory from the desktop, and have the other computer notice it and program the microcontroller with it. Right now I have to open an SSH session to the other computer, run the program manually, and then delete the file. I would like to automate all of that.

View 5 Replies View Related

Ubuntu :: Import Music Through Said Program - Change Directory?

Dec 2, 2010

For some time I have been interested in life without a GUI, not necessarily living that life per-say but "interested" as a child would be about astronauts. So having taken said interest I've began to study it lightly at first, trying CMUS as my music player (A text based music player ran through terminal). I've also gotten a "Basic" (in the loosest of terms) understanding of how to import music through said program. Other than such, I know how to change directory, and see files via ls commands.

[code]...

I will sometimes elude me as to the full boundaries of it's uses; So I come asking this, amongst all of you does anyone live within a text based environment for extended periods? Days? Weeks? Years? What advantage does living a text based computer lifestyle give you against GUI folks?

View 9 Replies View Related

Installation :: Install Xp On A System With Out Erasing Ubuntu?

Oct 23, 2010

I want to duel boot XP and ubuntu, but have been using ubuntu for quite some time. I want to add a windows section to my computer - but how do I do this with out erasing ubuntu?

View 2 Replies View Related

General :: Reinstall Ubuntu 10.04 LTS Without Erasing Partition

Feb 5, 2011

I've had problems with my Ubuntu partition on my computer, so I have decided that I might have to format the partition or reinstall Ubuntu.

My problem is that I have files on my partition that I would like to save. I've tried every tool I've found that allows Ext2 to be read in Windows, but none of them work for me. The best I have gotten is that I would be able to see the folders in /, but that is it. I was wondering if it was possible to reinstall Ubuntu without having to erase the partition.

View 1 Replies View Related

Fedora Networking :: When Try To Mount The Share To A Different Directory On The Server, Receive A 'no Such Directory' Error?

Dec 18, 2010

I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.

I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:

aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010

[code]....

View 7 Replies View Related

Server :: Changing The Password Of Directory Manager In Redhat Directory Services

Jul 14, 2010

How to change the password of Directory Manager in RED HAT Directory Services through a ldapclient through command line or graphical.

View 1 Replies View Related

General :: Error While Erasing A Pkg

Dec 1, 2010

While trying to remove a pkg by rpm it's giving the error as:

PHP Code:

How will I remove this package ?

View 3 Replies View Related

Fedora :: Compiling C++ Program On 11 - No Such File Or Directory

May 25, 2010

I wrote a program in c++ on fedora 11. When i compiled it using g++. it displays the following error:

g++ fibnocci.cpp
fibnocci.cpp:2:22: error: iostream.h: No such file or directory
fibnocci.cpp: In function int main():
fibnocci.cpp:8: error: cout was not declared in this scope
fibnocci.cpp:8: error: endl was not declared in this scope

View 2 Replies View Related

Ubuntu :: Server Directory Can't Delete Directory / Fix This?

Jul 9, 2011

Ubuntu server recently had issues with a disk. fsck seemed to correct everything, but I have one directory that I can't delete, chown, chgrp, chmod, etc.

Here's the listing for the directory
dr-x-wxrwt 2 16709 25134 8192 2020-08-23 22:34 UDLEDATB.DBF

Note the sticky bit is set and the uid is a number that does not appear in /etc/passwd.

Even as root, any attempt to delete, chmod, chown, etc. gives "Operation not permitted".

Since sticky bit on a directory restricts delete to the owner and the owner is invalid, I am stuck. I need to delete this directory.

How can I fix this?

View 4 Replies View Related

Ubuntu :: Erase External HD W/o Erasing Main Drive?

Apr 12, 2010

I have an external hard drive I use for backups. This drive has entire operating system on it(don't know which one, but I think it's intrepid), from when I did a complete backup eons ago. I have added new stuff since then. I tried to erase the system files on it, since they take up space and aren't likely from my current system. I don't run the drive all the time, only when I'm backing up files. The rest of the time, it's off. When I did this, I couldn't run any programs on my main computer( the bin directory was gone), and it wasn't in my trash on the main drive or the external drive. I tried re-installing without erasing my home directory on the main drive; it went okay, until I tried to open a file.

My /home apparently had nothing in it, so i downloaded my backup files, only to run out of room. The files were there; I just couldn't see them. I tried to open several programs, but was told I didn't have root access. Finally, I just reformatted the whole drive and re-installed everything. What I'd like to know is:1. How do I clear the junk from the external drive without hurting the main drive?

2. Why did erasing the old bin file on the external drive whack the same file on the main drive?3.Several times before, I have upgraded or re-installed xubuntu, leaving my home directory intact. The upgrade either can't find my files, or forgets half my settings. How can I keep my files and settings? I hate having to re-install everything from scratch each time I upgrade. I thought having a separate /home directory was supposed to protect all that.

View 4 Replies View Related

Ubuntu Installation :: Getting The 10.10 Without Erasing The Data In Other NTFS Drives?

Oct 21, 2010

I'm using windows 7 now and I want to install ubuntu as the main OS to the current C:drive(which has installed windows currently) but with keeping the data in other ntfs drivers(D:, E:, F: ) on my hard disk. I can't take backups of all data in other drivers and if that data erased with ubuntu installation I will face a very big problem in future. So how to install ubuntu 10.10 only for a one drive(c: drive) without erasing the data on other ntfs drivers? and I uses nvidia 8 series graphic card and are there any special things to follow to install it's official linux drivers(.run) or is it enough to use default drivers on ubuntu.

View 2 Replies View Related

Ubuntu Networking :: Netrwork Manager Erasing Wep Keys

Apr 19, 2011

I am running Karmic on a Lenovo s10e. I have been trying to reconnect to some wep encrypted ap's. There have been recent changes to the routers. In some cases my mac is barred, also some have changed their mac as well. Typical behavior of network manager on failed connection is to ERASE THE WEP KEY.

I call this worse than a bug, I really get tired of typing in the same key over and over! I think there is a basic misunderstanding about what the software is supposed to do. Even if there an error in the key, having the old one there to edit would be a huge help. IN MY PROFESSIONAL OPINION, NETWORK MANAGER SHOULD NEVER, EVER ERASE THE WEP KEY. Typing in 26 hex digits (for a long key) is needless aggravation.

If I am doing something wrong, someone please tell me. My point still stands. Even if I am doing something wrong, THERE IS NO EXCUSE FOR ERASING THE WEP KEY.

View 1 Replies View Related

Ubuntu Servers :: How To Refuse Accessing Parent Directory In FTP Client Program

Feb 18, 2010

I am runnung ubuntu 9.10 desktop edition as a server. I am using a FTP client program to upload some files(index.html, background.png, etc) and everything is fine with that. And currently all my files are in /home/myname/ folder. What I want is whenever I log in with my ubuntu account in the FTP client program, I can actually see the list or contents of the very root directory.

In other word, I can see every folder like /bin, /boot, /etc, /root, so on in the FTP software and I can download it. I don't want to allow to access the parent(or root) directory. Is there any possible way to set up the sutff?

View 2 Replies View Related

Ubuntu :: Using Ver. 10.04 - Cleaning HD

Nov 16, 2010

Can anyone clean up, and thus free up space on, my hard drive. i've tried -computer janitor, constantly empty the trash, and delete stuff from the download folder. where is the stuff i've installed going, not in synaptic- i've searched for programs i want to delete there and cannot find them. meanwhile i've got like 400mb left on a 13 GB HD and cant do a thing about it.

View 4 Replies View Related

Server :: Difference After Copying Large Directory To A New Directory?

Apr 4, 2010

I m having a RHEL-5 sever.ABC directory size is 57GB after taking backup in the same disk with name ABC.bkp showing 56GB. i used below command to copy/backup. # cp -r ABC ABC.bkp (different sizes after copying)..I checked both the directory sizes by #du -sh <ABC> and du -ks <ABC.bkp>In both GB and KB there is lots of difference (200mb). why this will happen in copying? what is the solution for above question? what is the correct way of copying 1dir to newdir exactly?

View 4 Replies View Related

Server :: Can't Write Files To A Sub-directory Of The Chroot Directory

Jul 20, 2011

I'm using OpenSSH 5.5p1 on Fedora 15. I'm trying to get a chrootDirectory to work. Specifically trying to figure out why I can't write files to a sub-directory of the chroot directory. I created a user test_user and created a group called sftp. I added test_user to the sftp group. I edited /etc/ssh/sshd_config as follows:

Code:

Subsystem sftp internal-sftp
Match group sftp
ChrootDirectory /home/sftp_users/%u
X11Forwarding no

[code]....

View 1 Replies View Related

General :: Erasing An Old Hard Drive ?

Mar 20, 2011

A friend of mine has just given me an old 80GB hard drive provided that i erase the hard drive. So could someone tell me that if i used Code: shred -vz -n 3 /dev/hda to erase all data contained on the hard drive Would i then have to reformat the hard drive so i could install a Linux OS on it?

View 9 Replies View Related

General :: SH: Erasing Fast A Cdrom ?

Jun 23, 2011

To do that:

Code:

But -blank=fast makes it really faster? Visibly not so much, right?

View 3 Replies View Related

General :: Installing A Program And Have It Accessible As A Command From Any Directory?

Dec 23, 2010

I want to install a program (specifically metasploit), and have it accessible from any directory in the terminal. I have it installed correctly, but I have to travel to the directory it is installed in to run it (by using ./msfconsole ). I want to be able to be in any directory and just run "msfconsole" and have metasploit run. I have to copy the metasploit folder to the /opt/ directory? Maybe the /usr/bin/ directory?

View 3 Replies View Related







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