General :: Not Getting Access To The Needed Paths?

Jun 18, 2011

I have not been on in about a month or 2. I have no idea how to list this thread. I am hoping that someone like tex can help out. Being lazy with ubuntu seems to have been badong. Ok, I had 2 physical machines and 3 vms. VM's ran under Vbox-ose via a bridge. OS's are buntu x2 and one centOS box. I installed webmin to make things easy ( i thought ).However, after setting webmin, my I have been randomly loosing PATH's. I mean, one minuet i can run sudo apt-get and the next the whole PATH is gone. I tried a compare of my "home" box's bashrc and bash_profile against the other machins, and outside of some alias for colr and the like nothing seems to stand out. Even if I su - to root I am not getting access to the needed paths. Now, while I could export the correct path, I am more conserned with the why of it all.

I would have thought that as long as my group setting on my ssh users were all correct AND the environment had not been changed, all would be good. I can provide more info if someone wants to help me out with this. HOwever, it drove me to a six pack. 8SI have read the man pages. I have used google. I have checked the logs. The logs by the way showed a lil hammering on one of the boxes for root access. [I]t wasnt me. However, I dont seem to be able to see a time stamp.

View 3 Replies


ADVERTISEMENT

General :: Standard File Paths?

Aug 23, 2010

Is there some sort of standards file path convention for installing softwares that I could follow through? For example, I just learnt how to build Nginx from source. But the default binary path set by nginx is "/usr/local/nginx/sbin". I have seen a couple of tutorials which they specify the location of the installed binary and it is very different from those usual default paths. Thus, got me thinking whether is there some form of file path convention that I should follow?Is there some kind of list which states where do those packages on Debian.org Repository usually installed to?

View 6 Replies View Related

General :: Check If Two Paths Are Pointing To The Same File

Oct 6, 2010

I've got a script to recursively create symlinks in my home directory to my settings directory, to keep the files under version control. I would like it to skip files which are already symlinked via a parent directory. That is, if I have these files/directories:

~/foo/ -> ~/settings/foo/
~/settings/foo/
~/settings/foo/bar

, how do I check that ~/foo/bar and ~/settings/foo/bar are the same file?

Edit: D'oh, another few minutes of searching revealed the answer: readlink -f $path

View 3 Replies View Related

General :: Ruby / Gem Installation Paths Scattered All Over

Apr 11, 2011

Trying to understand my ruby folder structure? Why my gems are scattered all over and why they aren't recognised commands. I'll explain how my installation looks like first:
/usr/bin/ruby
/usr/bin/ruby1.8
/usr/bin/ruby1.9.1

The first is a soft link to ruby1.9.1 because the "ruby" command didn't work in the terminal. I did the same with "gem". I installed rubygems through downloading, extracting and then running setup.rb here: (I created the "ruby" folder)
/home/pc/ruby/rubygems-1.7.2/setup.rb
/usr/bin/gem
/usr/bin/gem1.8
/usr/bin/gem1.9.1

I installed a few gems with "sudo gem install"
> gem list
*** LOCAL GEMS ***
compass (0.10.6)
haml (3.0.25)
mustache (0.99.3)
rake (0.8.7)

So far so good? Well not quite, as it turns out the command "compass version" doesn't seem to exist. My confusion grows with each folder I look into. The following path doesn't make any sense to me, for example. Why would it be hidden? Why is mustache the only gem inside this folder?
/home/pc/.gem/ruby/1.9.1/cache/mustache-0.99.3.gem

First of all, here is "gem environment", which makes even less sense, because I have definately installed rubygems-1.7.2 like I told you in the first paragraph, but here it shows an ancient version 1.3.7. Why? I installed Ubuntu the day before yesterday.
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /var/lib/gems/1.9.1/bin
- RUBYGEMS PLATFORMS: .....
Ruby --version returns "ruby 1.8.7"...........

Also, as it turns out, all gems are installed into this folder (mustache too! even though it already is inside the other folder), just as "ruby environment" claims:
/var/lib/gems/1.9.1/gems. But none of these gems work. I can't call any of these, except rake. So here is where I probably made the mistake, I think I used "apt-get install rake" in addition to "gem install rake", because the command "rake" wasn't recognised, and the command prompt suggested it. I may have done so with rubygems too... I'm new to Linux, and I figured that the command prompt knew how to install this stuff properly. It can't be normal that I have to create syslinks all over, right? In Windows I didn't run into this problem.

View 1 Replies View Related

General :: Use ZFS On Linux Easily - Without Paths Like /var/run/zfs - Or As Non-root

Sep 3, 2011

When I asked about filesystems with compression I got recommendation to try ZFS. Looks like it worth trying, however I find tools that manage ZFS (zfs, zpool) quite overcomplexified - you need to create some volume, then add it, then create filesystem on it. And finally it suddenly created things in root directory like /qqq/test and it uses /var/run/zfs/zfs_socket (strange for a filesystem).

How to use ZFS (with FUSE) without it's complicated things with volumes, just as good filesystem with compression, something like mount -o loop image.zfs /mnt/qqq -t zfs-fuse?

How to setup ZFS as non-root? FUSE usually means "user can use it too" (example: ntfs-3g). I expect something like this:

Can ZFS be more usual FUSE filesystem that I can add to /etc/fstab and user can install and use on its own?

View 1 Replies View Related

General :: Using Locate - All Paths That Contain Element /bin/ But Only One Instance Of Each One

Jun 18, 2010

I want to print, using locate, all the paths that contain the element /bin/ but only one instance of each one. If I issue 'locate /bin/' then I have many screens of text with, for example,

/usr/bin/foo1
/usr/bin/foo2
/home/me/bin/foo3
whereas I want to see only
/usr/bin/foo1
/home/bin/foo3

That is to say, if in two lines /bin/ appears with the same prefix (in the example above the prefixes would be /usr and /home/me) I only want to print the first line. Can I pipe locate to grep to do this? I've mentioned locate because it does not scan the whole disk.

View 5 Replies View Related

General :: Cant Find Executables To Update Paths?

Nov 24, 2010

How do I find paths on ubuntu. I have installed redcar(ide written in ruby similar to textmate) and rvm for ruby. However I cannot locate where the executables are to update my .bashrc.

View 2 Replies View Related

General :: Run The Script From A Different Directory The Paths Are Not Read?

Nov 29, 2010

I have written a script which reads a text file and takes out absolute and relative paths embedded in the text file.Then the script looks for a string in some text files mentioned in those paths. The problem I am facing is that since these paths are from my working directory,if I try to run the script from a different directory the paths are not read.

View 7 Replies View Related

General :: What Application / Daemon Converts File Paths To Inodes

Nov 4, 2010

The Linux File system uses the file path notation to abstract how data is accessed. Path really must be an environmental variable for the applcication that converts the path name to an inode so what is this application/Daemons name?

View 7 Replies View Related

General :: Command Line - Get Relative Path From Two Absolute Paths In Shell?

May 13, 2010

We have two paths. First one is directory, second either dir or file.

/a/b/c and /a/d/e.txt

Relative path from first path to second will be: ../../d/e.txt

How to get it in linux terminal?

PS: For those who ask "what is use case?" - creating lots of relative symlinks (just as an example)

View 1 Replies View Related

General :: VirtualBox On Wubi Ubuntu Can't Start VMs Due To Incorrectly Handling Absolute Paths?

Jun 27, 2011

I mostly do .Net development in a Windows 7 virtualbox. I use the host for simple things such as web browsing, skype, chat, etc. All things that are fantastically available on Ubuntu which I in many ways prefer. So this has been begging the question for a while: why even use Windows on the host, seems like a Linux host would use less resources (untested) and allow my Windows VMs to run better while allowing me to do my non-development stuff in an interface I prefer.

So easiest way to do this - I downloaded wubi and installed Ubuntu. I installed in it Virtualbox, and then start add and start my VM to get this message: Failed to open a session for the virtual machine VS2010, Could not open the medium '/host/Users/George Mauer/Virtualbox VMs/VS2010/C:/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi; VD: error VERR_FILE_NOT_FOUND opening image file '/host/Users/George Mauer/Virtualbox VMs/VS2010/C:/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi; (VERR_FILE_NOT_FOUND).

You see what's going on? With wubi, the windows drive gets mounted at /host/ but virtualbox is for some reason appending an absolute path! I would very much like to use the same exact VM file since it would retain Snapshots and I would be able to use it in either windows or Ubuntu mode. However, even if I try to simply mount the drives into a new VM I get an error: Failed to open the hard disk /host/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi. Cannot register the hard disk '/host/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi' {guid...} because a hard disk '/host/Users/George Mauer/VirtualBox VMs/VS2010/C:/Users/George Mauer.VirtualBox/HardDisks/VS2010.vdi with UUID {guid...} already exists.

This is especially odd since this worked fine with my recently created Android VM, though this might have something to do with the fact that VirtualBox recently changed their default VM storage locations. Any idea how to fix this? My Linux-fu is weak but I seem to remember from CS class something about symbolic links that might be relevant here?

View 1 Replies View Related

General :: RDP Capability Needed

May 29, 2010

I am looking to setup some computers as thinclients to connect to my MS Terminal Servers. We have a homebrew application that configures RDP sessions. A user logs into a webpage that dynamically generates a "launch.rdp" file. This file is generated to balance the load between servers.What I'd like to do is configure an image to boot up into Mozilla. When the user goes to the webpage, I'd like the launch.rdp file to open up in a terminal server session.I've tried with rdesktop and tsclient, but unfortunately neither would work with a "rdp" file.

View 14 Replies View Related

General :: Application Called Impact - Paths In Java Application ?

Apr 14, 2010

So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...

[url]

I untar the pack, and launch the application calling a script, from within the untarred folder,

Code:

This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.

Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )

My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,

Code:

Code:

I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from

Code:

Code:

no avail,

Code:

even after adding /usr/local/Impact/bin to PATH... won't go...

I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...

View 4 Replies View Related

General :: Hide The KDE 4.3.5 Menu Until Its Needed?

Mar 10, 2010

I installed the new Frugalware 1.2 via USB and that went well. I wanted an LXDE menu, as I don't like the "style" of the KDE menus, and the KDE menus seem slow, too.

The problem is that after installing LXDE, I have the LXDE menu from what I'd call the start button, which I like, but the KDE menu is now covering the entire screen on all desktops, and there seems no way to minimize it. I doubt I'll have to use it often, but don't want to lose all access to the programs on it. I haven't checked to see if all the programs are on the LXDE menu, but I noticed that Gfpm (the package manager) is now missing from the menu. Not sure if anything else has disappeared.

n Is there a way to minimize or hide the KDE menu?

View 4 Replies View Related

General :: Usb Cd/dvd Rw Management Software Needed?

Feb 14, 2010

we need a software to close/disable USB/DVD-RW/CD-RW where we can close 50+ pcs users over the network.this means we can controll remotely like how we do adminsitration. as closing and opening each usb and cd-rom is very difficult the os are mixed like fedora,opensuse,windows xp/vista/7 etc purpose to restrict users to carry company data outside network or office

View 1 Replies View Related

General :: Which Conditions Needed For Using Wget

Mar 20, 2011

When I wanna use wget to download some file by http, which conditions fulfilled on the server would make that successful. I mean that such service httpd is running and so on.

View 1 Replies View Related

General :: ReadyNAS Duo - Under What Circumstances Resync Really Needed?

Feb 25, 2010

On the ReadyNAS Duo, a RAID resync synchronizes the entire contents of one disk to another. It's a slow operation. So it's not something to be done lightly. By default, it is done whenever the unit is shut down uncleanly (generally the result of a hang or power interruption). It's something that can be disabled, though, such that a resync would be done only when manually requested. The authors of the software RAID driver in Linux (called "md") came up with a nice solution to the problem of slow RAID resyncs: the md driver allows you to assign a write intent bitmap to an md device, and where it's stored is configurable (the default is to store it on the md device in question, in the superblock). So when the array goes down unexpectedly (e.g., in a power outage), only the blocks that the md device was going to write will actually be resynced.

It's sort of like a journal for the md device itself. Now, the ReadyNAS Duo doesn't seem to use Linux md at all for implementing the RAID volume, but it does have an option to disable automatic resync in the event of an improper shutdown. And that leads to my question: how necessary is it to do a resync in such an event? If the Duo uses the same method as the Linux md driver, then obviously such a resync would rarely be necessary. But if it doesn't, then it would be the equivalent of using the md driver without a write-intent bitmap, and a resync would almost certainly be necessary in the event of an improper shutdown. Does the Duo (and maybe other units) use the equivalent of a write intent bitmap for RAID write operations?

View 1 Replies View Related

General :: Bandwidthd Needed For Dedicated Server

Jan 29, 2010

Wath should be the bandwidthd needed for a home dedicated server so i can run several sites on it?

View 1 Replies View Related

General :: Dynamic Transparent Terminal Needed

Feb 4, 2011

I am trying to figure out how to make my terminal emulator dynamically transparent ( see through to the action below that window - Browser, video et cettera and not just the default wallpaper) . I figured out how to make transparent but not "dynamic". I have seen people mentioned you need to enable compositing but I am unsure how to do that in Gnome. I recall from a prior use of XFCE this was an option in that WM but I can't find in Gnome or compiz (if needed)

I am running Gnome on Debian Squeeze and have installed compiz. Any direction would be appreciated. I find reading web tutorials through the terminal to be very helpful so I can practice the command line or even practice commands while watching a good video .

View 3 Replies View Related

General :: NetworkManager = 1:0.7.0-0.9.3.svn3623.fc9 Is Needed By Package?

Jan 23, 2010

From what I have read so far, I have to remove glib-0.7.0-0.9.3 far I have not found how to remove this package. the first section is the error the second is how I found two network mangers installed.NetworkManager = 1:0.7.0-0.9.3.svn3623.fc9 is needed by package 1:NetworkManager-gnome-0.7.0-0.9.3.svn3623.fc9.i386

PackageKit = 0.2.5-1.fc9 is needed by package PackageKit-libs-0.2.5-1.fc9.i386
libnm-util.so.0 is needed by package 1:NetworkManager-gnome-0.7.0-0.9.3.svn3623.fc9.i386
libnm-util.so.0 is needed by package 1:NetworkManager-glib-0.7.0-0.9.3.svn3623.fc9.i386
gnome-python2 = 2.22.0-2.fc9 is needed by package gnome-python2-bonobo-2.22.0-2.fc9.i386

[Code]...

View 3 Replies View Related

General :: Libc.so.6 (GLIBC_2.3.4) Is Needed By Lgtoclnt-7.6-1?

Sep 30, 2010

I installed RHEL 3.5 with all packages (everything), I try to install networker client software then libc.so.6 (GLIBC_2.3.4) is needed by lgtoclnt-7.6-1.

1. lgtoclnt-7.6-1.i686.rpm is supported in RHEL 3.5?

2. how can i get glibc_2.3.4

3. how to install glibc_2.3.4

View 2 Replies View Related

General :: Missing Dependencies Needed By Package

Nov 9, 2010

I am currently using SUSE ENT x64 v11 SP1. While trying to install various packages I keep getting dependencies error. I tried reinstalling the rpm packages(listed below) and use various versions but seems like no matter what I try it doesn't go away.

Code:
--> Missing Dependency: liby2storage.so.2()(64bit) is needed by package smis-providers-1.0.0-10.29.x86_64 (installed)
Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package libsnmp15-5.4.2.1-8.1.x86_64 (installed)
Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package kdebase4-SLED-11-25.1.x86_64 (installed) .....

Code:
rpm-python-4.4.2.3-37.2
rpm-4.4.2.3-60.2
rpm-32bit-4.4.2.3-37.8
deltarpm-3.4-103.22
rpm-devel-4.4.2.3-27.1
no broken libs or whatsoever. What am i missing here?

View 5 Replies View Related

General :: MP3 Player Needed That Does Not Require Cpu With SSE Support?

Feb 12, 2010

OMG I think I have installed every MP3 player known Amorak Audacious, Bluemindo, rhythmbox, kaffiene, Listen, VL, CPlay and more. They all require a cpu supporting SSE. This isn't an audio issue it is a graphic issue.

Does anybody know an mp3 player that will run without these graphic issues?

Ubuntu 9.1 800MHZ AMD Duron (with NO SSE)(slot A with a 100mhz bus)

View 6 Replies View Related

General :: Like To Add And Remove Unused Or Needed Apps?

Jul 16, 2011

I haven't tried any random password patterns yet but I have tried knoppix because of a suggestion and it didn't work. I am useing knoppix as my OS not from CD or DVD. I would like to add and remove unused or needed apps. My linux language is week for the time being so I use the Software Center option from the Preferences option from the Main Menue.When I click on the remove icon a screen comes up asking for the Authentication Password and I don't have it, I as can not change the time on the desktop because it says that I am not the owner. How do I reset all the passwords and regain complete control of my system

View 4 Replies View Related

General :: Is GVFS (gnome Filesystem) Needed How To Disable

Apr 4, 2011

Looking at the processes running I have:

21575 ? S 0:00 /usr/lib/gvfs/gvfsd
21576 ? S 0:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor
21580 ? S 0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor

[code]....

View 4 Replies View Related

General :: Bash Command Needed To Remove Failed Install?

May 11, 2010

An app failed to load properly and now i'm stuck in a sequence I don;t understand the solution for.

sudo apt-get autoremove

dpkg was interupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

View 1 Replies View Related

General :: Driver Needed To Use Matrox TripleHead2Go Digital Signal Splitter?

Dec 4, 2010

I have 3 monitors and am trying to get the Matrox TripleHead2Go Digital signal splitter with my Linux workstation. When I connect them all I get are blinking green lights on the monitors which I think means no signal. Do I need to download a Linux driver? I've searched online but can't find anything. Maybe the problem is something else. Same happens when trying to connect to my PC.

View 1 Replies View Related

General :: How Much Disk Space Needed To Setup Local Repo Mirror

Jan 30, 2010

I am thinking about setting up a local Debian Repository mirror. I want it to mirror just the Debian Repo at [URL].. Anyone have any idea how much disk space I might need to do it?

View 3 Replies View Related

General :: Linux (Ubuntu 10.04) Drivers Needed For Acer Aspire T690?

Jan 2, 2011

I just installed Ubuntu 10.04 on my Acer Apsire T690 3.0Ghz compy. My graphics and sound is integrated and I'm looking for the right drivers. I would just run the driver search on ubuntu, however, that PC is not hooked up to the internet and cannot be easily. Is there a way for me to manually find and install the drivers I need on another computer, transfer and install them? I searched on [URL]... but I couldn't find any drivers that were for my T690 and compatible with Linux.

View 3 Replies View Related

General :: USB Host Controller Device Driver Needed For Slax Live CD

Jan 1, 2011

For years I have used a Slax live CD on a laptop to clone internal HDDs to USB HDDs. I recently purchased a Sony VPCF136FM laptop with Intel Core i7 CPU. It apparently has USB 3.0 ports. The problem is the USB ports are dead with Slax. There is a USB devise driver available for Windows 7 from Sony but nothing for Linux operating systems. Can this driver be ported to Linux? It is an exacutable (XXX.exe). The chip for the USB Host is from Renesas Electronics (no help there, either). Where can I find a device driver to use with Slax and how would I install it?

View 3 Replies View Related







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