General :: Yum Installation Locally - Saying Cannot Change Directory ?

Jul 5, 2011

I have rhel5.4 in my vmware , i am trying to install yum repositories in /home/Server bcoz i dont have enough space in /var/ftp/pub. i installed vsftpd ,createrepo rpms and index is installed, but when i check for yum list its saying cannot change directory.

View 1 Replies


ADVERTISEMENT

General :: Installing A Library Locally In Home Directory But Program Doesn't Recognize It

Aug 18, 2011

I am installing a program on a server as a non-root user. Specifically it is tmux 1.5, but this should apply broadly to all locally installed program in my opinion (I mention the program name in case this problem ends up not being my own error).

The program requires me to install some dependent libraries (e.g. libevent and ncurses). So, I installed them both locally since I do not have root access

cd $HOME/library/installation/folder
DIR=$HOME/local
./configure --prefix=$DIR
#... make ... make install

[Code]....

Ok, so this installs the program without problems into $HOME/local/bin, but if I run the executable: $HOME/local/bin/tmux , I get the following error:

tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory

It would seem to me that the program cannot find the desired libraries, but the file libevent-2.0.so.5 does indeed exist in $HOME/local/lib as specified in the configure options. I am wondering how I can get the program to recognize the installed library in order to run. I tried putting symbolic links in $HOME/lib, $HOME/bin, and $HOME/local/bin, but none of these worked.

View 2 Replies View Related

Ubuntu Networking :: Mount A Remote (ftp/ssh) Directory Locally

Jan 15, 2010

If you use Nautilus then you can just use the "Connect to server" from the file menu. However if you file manager does not support connecting to servers (like Thunar ) then you can use sshfs.

Code:
sudo apt-get install sshfs
You should create a directory as your mount point, say
Code:
mkdir /media/Server

[Code]....

View 1 Replies View Related

Slackware :: Keymap Change In Locally Installed Wmii?

Jul 1, 2010

I've installed wmii as window manager (slackware 13.1) locally, i.e. not system wide. I use a german keyboard and this works fine until I start my window manager. within wmii the german layout is not present (neither in xterm nor in emacs or ooo3 etc). I changed the file /etc/X11/xorg-conf already accordingly but without any effect. Hence I suspect that the local installation of the wmii requires a change of another config-file?!

View 2 Replies View Related

OpenSUSE Network :: User's Home Directory Saved In Samba Server Not Locally

Mar 27, 2011

Continuing with my assigned task of migrating the company's PCs to GNU/Linux (openSUSE as server for GNU/Linux clients) I managed to set up a DC with roaming profiles for the few remaining Windows users, user validation and login for the openSUSE boxes and a few network shares with different rights. I know there are no roaming profiles for GNU/Linux and I can live with that but I would like to specify wich users/groups would have their home directories saved locally (notebook users) and which will save them on the Samba server.

By default home directories are saved locally but somehow Samba creates a minimal home directory for each user under /home in the Samba server. How can I tell the client box to use that directory? and how can I set up the few notebook users to save it on their disks? Maybe using the options under Yast > Security... > Users and groups management > Users (LDAP Users filter) > and then select the user and use the "Manage Samba account parameters" plug-in for specifying the different paths cant achieve this.

View 4 Replies View Related

Fedora Servers :: Ache Wont Let View Other Locally Hosted Sites On Derver Directory

Nov 17, 2010

i installed phpmysql on F12 and it keeps prompting me for a user name and password. i tried login in with my root password but it does not permit me. How do i bypass this please. Also Aache wont let me view other locally hosted sites on my derver directory. restricts my permission.

View 1 Replies View Related

Ubuntu :: Change The Apt-get Installation Directory

Jan 7, 2011

i used to use synaptic to install packages which seems to be installed somewhere like /usr/bin or /usr/local/bin, so my question is can i change the default or pre-determined installation directory, coz my partition / is kind of short of space.

View 8 Replies View Related

General :: Fast Change Directory For The Cli?

Jun 29, 2010

In the old days of M$-DOS, there was the NCD (Norton Change Directory) utility. Anything of the sort in Linux?Explanatory note: you typed out the name of the directory you wanted to go to, that is, last element of the dir path.And you were, ipso facto, in that dir. If that was the only one by that name, good. When not, and if that wasn't the intended dir, you typed the same command again and you were in a second dir of that name. If this was the intended dir, good. And so on. It simply maintained a data base with the whole tree, and updated it when invoked from a newly created dir o by means of an option, NCD/R.

View 14 Replies View Related

General :: Change Permission On Directory?

Jan 4, 2011

I have 3 images made by clonezilla now I want to restore 1 of them, but when I try to use clonezilla to restore, there's no option to restore image. I can see the images in home directory and file is owned by root in my home directory. I'm trying to transfer image to usb hdd.

Did I place image in wrong directory or is it permissions problem.

View 8 Replies View Related

General :: How To Change To A Directory In Ubuntu

Jul 27, 2010

I can change to a nother directory in home folder using cd command.I have several partitions in my hard drive.But i want to know ho to cheng to a directory in nother partition or flash drive using command line.how can i do that

View 6 Replies View Related

General :: Want To Change Log Server Directory?

Jun 29, 2010

want to change my log server directory /var/log/secure to any other places.

View 1 Replies View Related

Ubuntu Installation :: Chroot: Cannot Change Root Directory To /mnt: Operation Not Permitted

Feb 20, 2010

I updated my lucid alpha testing (64 bit)install after which I am unable to boot into any of my Ubuntu installs(sda11 has a dedicated Burg partition and sda10 has the stable karmic (32 bit)install and sda9 has the testing lucid install) Now I am trying to recover (rewrite Burg or at least grub2 on the MBR) my installs

This is what happens
custom@custom:~$ sudo mount /dev/sda10 /mnt
custom@custom:~$ sudo mount -o bind /dev /mnt/dev
custom@custom:~$ chroot/mnt

[code]....

i tried a slightly different code with little success

custom@custom:~$ sudo mount /dev/sda10 /mnt
mount: /dev/sda10 already mounted or /mnt busy
mount: according to mtab, /dev/sda10 is already mounted on /mnt

[code]....

I also ran a whereis for bash and it also is there

View 9 Replies View Related

Installation :: Change The Boot Partition - Error: Bad File Or Directory Type?

Jan 31, 2010

I have presently a (working) boot dedicated partition, where grub stuff resides, but I want to change it to a common "/boot" folder in the root partition (in a different hdd). For some reason I can't do it. The first thing I did was to copy all the things that are in the boot partition to a boot folder on the root partition. After that, I tried: grub-install /dev/hdc1 (which is odd but it's where the root partition actually is)

When I did it from the linux I have installed on my hdd, it actually did something, I don't remember all the output (except that there was something about it not being able to access hda, which is oddly the dvdrom), but it didn't work. From a live CD, the same command (grub-install /dev/hdc1) is answered with: Could not find device for /boot: Not found or not a block device. From grub's own prompt, the things are more or less the same. First of all, it does not find stage1, even though I did copy the content from the boot partition to a boot folder in the root partition.

I tried to proceed, anyway, with root (hd1,0) and setup (hd1,0) (which is /dev/hdc1, according with the "geometry" info given by grub). "Root" is accepted, but "setup" is answered with: Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type But the files are there. I can't "cat" the menu.lst from grub though, unlike with the actual working boot partition. The same error message. From the terminal, however, it's all there. I tried with /dev/hdc1 both mounted and unmounted, the same message. So, basically I have two questions, I guess:

1 - can I really do this sort of thing running a linux installed on a hdd, rather than a live cd, or is the live cd preferable for some reason?

2 - what am I missing?

(A note that may worth making is that I'm using the soon-to-be deprecated grub version, 0.9 or something, not grub2. I think it shouldn't be a problem since I've installed the system with the old version to begin with, but that may be irrelevant, I don't really know)

View 6 Replies View Related

General :: Change Directory Upwards To Specified Goal

Jun 1, 2010

I'm often deep inside a directory tree, moving upwards and downwards to perform various tasks. Is there anything more efficient than going 'cd ../../../..'?I was thinking something along the lines of this: If I'm in /foo/bar/baz/qux/quux/corge/grault and want to go to /foo/bar/baz, I want to do something like 'cdto baz'. I can write some bash script for this, but I'd first like to know if it already exists in some form.

View 4 Replies View Related

General :: Change The Root Directory For A User?

Oct 5, 2010

For a user on a Linux host, I need to make everything inaccessible besides his home directory. I have heard that this is usually done by changing the root directory for the user (and setting it to the user's home directory), however I couldn't find the way to do it.

I thought about the chroot command, but it seems it just runs the specified command, considering the specified directory as the root directory. So it seems chroot is not what i need. So my question is: what is the command which changes the user's root directory?

View 7 Replies View Related

General :: Get The Last Change Time Of Directory Recursively

May 28, 2011

How can I get the last time any of the files in a directory or its subdirectories has changed?
e.g

Dir - changed 1/1/1
Sub Dir 1 - changed 2/1/1
Sub Dir 2 - changed 3/1/1
File 1 - changed 10/1/1
File 2 - change 5/1/1


The output for this for Dir should be 10/1/1 (File 1 was the last modified one). Getting the last file name to be modified is a bonus but isn't necessary.

View 3 Replies View Related

General :: Change Ownership Of An Entire Directory?

Jul 2, 2010

Installed Sidux over LennySidux didn't want to take my usual username, because a folder with that name existed in my home directory.So, I just mounted the home partition and changed the name of my home directory from shay to shay1.Don't know what that did or didn't do permission wise to the files in my old home directory, but I've got a few unowned files floating around my home directory anyway that have been dragged in from old harddrives and such.

View 3 Replies View Related

General :: Change The User's Home Directory?

May 9, 2010

How do I change user's home directory, because right now everything saves into File System and it's almost full(I got windows and Ubuntu installed in the same partition), while the other 120Gb filesystem is unused..

View 9 Replies View Related

General :: Change My Home Directory Location To Something Else?

Aug 5, 2010

I have noticed that on a Mac which is Unix based too there is a different home directory which is NOT /home/user/ but /Users/user. How can I change my home directory in linux to something else? Even as an experiment? Is it possible? and how?

I'm using Ubuntu 10.04 GNOME

View 6 Replies View Related

General :: How To Change Home Directory Ownership

Jun 24, 2011

I've already done the following commands

Code:
su
chown theif519 /home/theif519
chmod 775 /home/theif519
exit
#usermod -d /home/theif519 login

I've logged out and logged back in, and I was successful in making it the default directory it logs in to. Still, afterwards I noticed that that when I use the list all commands "ls -l" it shows that root owns it and it also shows that I do not, by default, have read write execute over it, only read execute. I'm using Slackware 13.37* in a Virtual Machine* Another thing, I don't think I added any rights to my user, how do I give it more rights as well? Like, wheel and sudo and all of that stuff. Also, this was the website I was using *Although it didn't help much, the comments sure did [URL].

View 4 Replies View Related

General :: Crontab - Doesnt Change To Directory Of Script?

Jul 9, 2011

I am not an expert when it comes to crontabs and linux but i can survive in its world :P I've modified a script i found on the net to do a simple crontab job. Basically its a backup script (backup_auto.sh) that in the end of it, it updates the crontab also.

Code:
i just put the crontab job of the script....
if [ $CRONJOB -eq 1 ]
then
#Check if user can use crontab

[Code]...

I know for a fact that it doesnt run it because this .sh upload remotely some files for backup, and if i dont run it manually then i dont see any backups on the remote server

View 3 Replies View Related

General :: How To Change Same File Names Directory Wise

Apr 9, 2010

I have a problem with file names changes. I have a hundred of file with same names and different subdirectories. I want to change that file names by their subdirectery names.

Currently is:
file name------------------------subdirectory name
1_km_16_days_EVI_s2_01200_01200.img --> MOD13A2.A2000049.h23v03.005.dir
1_km_16_days_EVI_s2_01200_01200.img --> MOD13A2.A2000065.h23v03.005.dir
1_km_16_days_EVI_s2_01200_01200.img --> MOD13A2.A2000081.h23v03.005.dir
...

I want to
MOD13A2.A2000049.h23v03.005.img
MOD13A2.A2000065.h23v03.005.img
MOD13A2.A2000081.h23v03.005.img

View 3 Replies View Related

General :: Cannot Change Directory To /home/oracle: Permission Denied

Nov 8, 2010

I am installing oracle 11g on Oracle enterprise Linux 5 i applied all the steps in doc [URL] when trying to switch user to user oracle i am facing the below

[root@oel5 ~]# su - oracle
su: warning: cannot change directory to /home/oracle: Permission denied
-bash: /home/oracle/.bash_profile: Permission denied

View 14 Replies View Related

General :: Modify The /etc/host File - Change Directory Fails?

Feb 1, 2010

I am in the process of setting up an Asterisk server with Broadvoice services. I am having issues with making outbound calls and Broadvoice suggests I modify the /etc/hosts file in order to add their proxy server IP address and name. I login to my server as root and get the following command line header

[root@root tmp]#

I entered cd thinking this is what I need to change directory but fails. What is the command I need to enter in order to get to the /etc/host file so I can change it? How do I confirm an /etc/host file even exists?

View 2 Replies View Related

General :: Locate Directory And Change Permissions In Bash Script?

Aug 13, 2011

i am trying to write a script that does the following..1. checks if a directory exists2. changes permisssions of the directoryi have written a script but it returns a message to say that the specified directory does not exist (but it does).my question is how to i search the entire file system as directory could potenially be anywhere. would cd or su be of any use here.

View 4 Replies View Related

General :: Change /temp Directory From Its Original /dev/hda8 To Destination /dev/hdd5?

Dec 7, 2009

On Debian Standard System I would like to is change /tmp directory from it's original /dev/hda8 to destination /dev/hdd5

Code:

Disk /dev/hda: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]...

If I change /dev/hda8 to /dev/hdd5 and reboot the startx command fails to run.

View 7 Replies View Related

Ubuntu :: Using A Locally Created Mirror For Network Installation

Nov 3, 2010

I am trying to do a net install. I set up a mirror of lenny using apt-mirror inside a virtual machine on my network using the following guide: [url]

And I changed everything in the guide specifically for Lenny.

I gave the VM bridged networking, and assigned it its own static IP address.

When I attempt do an http install, and point the installer to the address, I get the following error message: choose-mirror[3885]: WARNING **: mirror does not support the specified release (lenny).

View 2 Replies View Related

General :: Chroot Error - Cannot Change Root Directory To /jail - Operation Not Permitted

Apr 18, 2011

I am trying to create a jailed shell for a user Don($UID '500') using my own method(I don't want to use any ready-made "jailkit"). The user don should get a home directory /jail/don instead of /home/don when he login via SSH (So that he will not able to see any other files/directories on the system)

This is what I have done.

Quote:

Code:

It works without any issue ....Home directory changes to /jail/don when I ssh to the system as user don. ie: #ssh don@192.168.0.66

Then I added a chroot command to this code.

Code:

Unfortunately , now I am getting an error message saying that "chroot: cannot change root directory to /jail: Operation not permitted" .. I am not sure how to rectify this error... Is my approach correct to get a jailed shell using /etc/profile file ?

View 8 Replies View Related

General :: Get All Vars And Set Locally In Script ?

Mar 14, 2011

I am new to linux and need to do this in a script.

1. Get all the vars (env command)

2. Set them locally (name, value pair) in script using loop iteration.

Pseudo code

Code:

View 2 Replies View Related

General :: How To Run Program Remotely Via SSH But Display Locally

Mar 24, 2010

Is it possible for me to SSH to another server in Linux (Ubuntu), run a program there but display it locally?And is it possible for me to SSH to another server in my terminal,and configure it so that all graphical programs (Firefox, Emacs) run in that SSH session will be displayed locally?

View 3 Replies View Related







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