The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
44 views

which and sudo not using the same path

$ which reboot /usr/bin/reboot $ sudo reboot Sorry, user myusername is not allowed to execute '/sbin/reboot' as root What am I missing here? Thanks for your help.
0
votes
1answer
46 views

Prevent setx to expand an environment variable?

I can add to the PATH variable from the console using the following command: setx PATH "%JAVA_HOME%\bin;%PATH%" /m However, when I check the PATH variable afterwards the JAVA_HOME variable has been ...
0
votes
0answers
23 views

Apache mod rewrite, virtual host or both to map domain path of remote sever to local?

I have a PHP application on my server that my client wants to access with their domain. I have many of these so I will give a generic example: www.mydomain.com/app1/method1/function/args_string ...
2
votes
2answers
112 views

Using 'which' command in cron job

I have a cron job that runs once a day on a Linux server and in the script it executes there is a test: # Validate ffmpeg is installed if [ $(which ffmpeg | grep -c "ffmpeg") -eq 0 ]; then echo ...
0
votes
0answers
40 views

upgrade to openssl 1.0.1e on windows

I know I am missing a crucial step, but I can't figure out what to do I have openssl OpenSSL 0.9.8e 23 Feb 2007 I downloaded openssl for win32 and installed it in c:\openssl I added c:\openssl\bin ...
1
vote
1answer
70 views

PATH issues for init.d scripts on startup

I have a simple script that starts up a unicorn instance (on Ubuntu 12.04LTS). #!/bin/sh case "$1" in start) echo "starting" cd /path && bundle exec unicorn -c ...
-1
votes
1answer
59 views

Vagrantfile location path - where is it defined and how to change it? (Windows) [closed]

I have a Windows machine that I am using to host Virtual Box VMs used with Vagrant. I'd like to keep Vagrant setup files including Vagrant all under a separate folder so that it is easy to know where ...
0
votes
1answer
46 views

Is the website directory path length important for server operations speed in any sense?

I'm using a website and I do lots of operations (its a basis for mobile app). If I place the website in a long path directory of the server will that slow down the operations in any sense? I mean ...
1
vote
1answer
106 views

Cannot access svn repository in correct path

My repository directory is /var/www/svn and access file is /var/www/svn-auth and I create repository project1 in svn directory My configuration svn.mydomain.com.conf <VirtualHost ...
2
votes
1answer
163 views

Robocopy uses relative path for Source and Destination paths

I'm trying to use RoboCopy in my TFS Build Template to copy some files, but for some reason it inserts "C:\Windows\system32" in front of my Source and Destination paths, even though I am passing in ...
0
votes
0answers
36 views

PATH variable not what I'm expecting - apache2 + passenger on OS X Mountain Lion

I've installed passenger via Apache on Mac OS X Mountain Lion and it's looking sweet. I've managed to get some of my web applications working fine, but I've come across one or two which aren't ...
5
votes
2answers
253 views

Windows: How do I add a program to the system's path environmental variable from the command line?

I'm looking to permanently add a directory to the %PATH% environmental available on a large number of Windows machines. Is there any way to do this from a command line (cmd) so I can script up a ...
0
votes
1answer
77 views

Path not loaded for user when connecting with SSH

I have an Windows 2008 Server Instance running on EC2. I have installed an application and added it to the path and it is now available to my Administrator user from the Command Line. However, when I ...
2
votes
2answers
1k views

Windows Server 2012 GUI went missing after removing Active Directory

I'm sorry but i'm stuck in figuring out a problem i'm facing here. I removed the AD feature from server manager and after rebooting, my server 2012 gui wasn't there anymore. There's only command ...
0
votes
0answers
41 views

Path erased in Debian [closed]

I'm trying to deploy a rails app in Debian, using Apache/Passenger. I was trying to fox a problem with some GEMs and in the process I put executed this in console: export ...
0
votes
1answer
120 views

When running `export $PATH` on linux, where does this info actuall store?

Let's say I run this straight from a bash command line, where is this information actually being stored? export PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
1
vote
2answers
76 views

Per-application library paths on CentOS

Context: After a recent version upgrade of a bunch of our server software, I've found myself in a dilemma: I have two sets of applications (Zend server and assorted utils, and a bunch of PostgreSQL ...
0
votes
0answers
317 views

rsync requires rsync-path when remote rsync is in path

I am quite confused as to why rsync requires --rsync-path flag even when remote rsync is in path. Consider: $ rsync -avze 'ssh -p 22' --delete public/ pmatos@domain.com:~/public_html bash: ...
-2
votes
1answer
34 views

define software path [closed]

I have an older version already installed. I have upraded the package using setup.py install command. But the path is not correctly set. When I type "s3cmd" is shows the older version of software. # ...
0
votes
2answers
2k views

Subdomain vhost.conf on Plesk 11

I'm using Plesk 11.0.9 - centOS and I'd like to change the vhost.conf file for a subdomain, but the path I'm using seem to be wrong : /var/www/vhosts/sub.domain.lu/conf/vhost.conf Is it the right ...
0
votes
0answers
88 views

Why is Unison looking for changes outside of Path?

When I start Unison, it searches for changes outside of my specified Path, but seems to only sync the actual Path folders, as it should. Why is it searching everything? And how can I go about stopping ...
0
votes
1answer
147 views

php always trying to load extensions from relative path

PHP is always trying to load extensions from a relative path. For example: php.ini extension=/vld.so Warning: PHP Startup: Unable to load dynamic library './/vld.so' - .//vld.so: cannot open ...
1
vote
2answers
102 views

Run command to untar file in timestamped folder?

I have a .tar file that is transferred to our server every night by one of our client management systems. The file is a compressed .sql file which I need to uncompress and dump into our database. The ...
1
vote
1answer
128 views

Path Length in Windows

Is there any reason paths are still limited to ~250 characters in Windows? I'm not asking about a solution here (since there isn't one, other than \\?\ perhaps), but about why this is still an issue ...
0
votes
1answer
41 views

$PATH variable for anonymous user

I'm on CentOS. I have a php script that needs to have /usr/lib64 in its $PATH. From the php script when I output echo $PATH I get /bin:/usr/bin when I ouput echo $USER I get a ...
1
vote
0answers
362 views

Where are task scheduler event files stored on Windows Server 2008?

I tried setting up triggers in Task Scheduler Windows Server 2008, but Microsoft needs to fix a bug that I documented on Stack Overflow. So I can't use triggers until they fix this bug. Basically ...
6
votes
2answers
303 views

How to change back to previous path quickly?

This is a basic linux question I think, but I really want to know. For example, currently I am in /usr/bin: [x@localhost bin]$ pwd /usr/bin [x@localhost bin]$ cd / [x@localhost /]$ Now I want to ...
1
vote
1answer
51 views

How to put PHP into path

I have just built PHP from source. Usually when I do this, I don't have any problems just running php from anywhere. This time however, the console returns 'command not found'. What do I need to ...
0
votes
1answer
250 views

linux PATH issue between /usr/bin/ and /usr/local/bin

Environment: linux novice :) tmux 1.1 was installed using apt-get tmux 1.6 was downloaded, configured, built, and installed from source tmux 1.1 was removed using apt-get Problem: running tmux ...
2
votes
5answers
224 views

Run compiled c program from any location

Quick question. After compiling a program, I always have to explicitly tell it to run from the current directory by prepending ./ to the name. For example $ ./testprog -argument1 Is there a way to ...
0
votes
1answer
994 views

Both bashrc and bash_profile won't seemingly source? VirtualMin Clean install

I am not too familiar with this level of management on a nix server however I am unable to get either the bashrc or bash_profile to source at login. Details about the server: Centos 6.0 - Basic GUI ...
2
votes
2answers
2k views

CentOS /usr/local/lib system wide $LD_LIBRARY_PATH?

I install custom software in /usr/local/lib. How do I set the PATH and LD_LIBRARY_PATH in CentOS 6 system-wide to use /usr/local/lib. I realize there may be more than one way. What's the simplest and ...
1
vote
1answer
219 views

putting folders above public_html in a shared hosting environment

On my local environment, the following settings work in my index.php file: $system_path = '../../ci/system/'; $application_folder = '../../ci/application'; My folder structure looks like this: -ci ...
0
votes
1answer
143 views

Need Apache configuration fixed

Issue: I have loaded Wordpress MU inside of my DocumentRoot. This is working fine however, I now have two projects inside the DocumentRoot that both have a directory with the same name: 'plugins': ...
1
vote
1answer
49 views

same label along MPLS label switched path, is it possible?

I am a true beginner as far as MPLS is concerned and I was wondering if this would be possible; To be more specific assume a LSP (Label Switched Path) from Host A -> Router 1-> Router 2 ...
2
votes
1answer
125 views

Is is better to edit the paths file or exporting PATH in .bashrc/.bash_profile?

I have noticed that almost every website tells you to add something like export PATH=/usr/local/share/python:$PATH in your .bashrc or .bash_profile when modifying a PATH. When you want to know what ...
1
vote
0answers
30 views

If a file in a sites url has the name of a new domain but isn't where I'll point the domain, then what? [closed]

I will be giving a google apps web site the name of a new domain. The name currently points to a wordpress blog. My site can be found at https://sites.google.com/a/example.com/getreal/ It is the ...
2
votes
3answers
187 views

how to run mysql v5.5 on redhat linux

I am new to both linux and also mysql but somehow by obtaining help from net I have installed mysql v5.5 on redhat. It starts fine, I have confirmed this by running command: "/etc/init.d/mysqld ...
1
vote
1answer
390 views

PATH variable and quotation marks (windows)

I am having a weird problem with the PATH variable under windows: My application is in a folder c:\app\bin and the DLLs for this application are in the c:\app\runtime folder. To run my program I ...
1
vote
1answer
391 views

Setting Apache's PATH environment to match users

Using PHP 5.3 as an Apache module with Apache 2, on OS X 10.7. When I open Terminal and enter echo $PATH I get: ...
0
votes
1answer
132 views

Easy way to gather file sizes of unc paths?

Is there a program or a script I can run against a csv containing thousands of UNC paths? Something not very intrusive - simply looking to gather file sizes of each. Thanks.
1
vote
1answer
519 views

“Path Not Found” when attempting to write to a sub folder within a mapped drive

We have an interesting issue with one of our server shares, or possibly, our Win 7 desktops. When our users try to save files in a sub folder, either via copy/paste or through an application, to a ...
1
vote
1answer
294 views

Can't change path location of PHP on mac os x snow leopard

I have XAMPP installed on my mac, and I want to make command line PHP use the same executable as XAMPP since I've customized that php's php.ini file. The php binary I want is located at: ...
0
votes
1answer
215 views

ld path update in centos

I just installed manually apr and apr_util so i can install activemq cpp library. When i try to make the cpp library i get the following error: /usr/bin/ld: cannot find -lexpat collect2: ld ...
0
votes
5answers
1k views

How to get absolute path to website

My website is on a shared server. Having DNS issues, this seems to be the only way. I need to get the real and absolute path to my website like 99.23.154.23/~mywebscom without asking the support is ...
0
votes
1answer
35 views

How do I modify the include path during a source install?

I'm trying a source install (configure, make) on FreeBSD but I get this error: error: foo.h: No such file or directory although the file does exist at /usr/local/include/foo.h so I guess the ...
0
votes
2answers
344 views

Install Apache Modules on Custom Path

I have installed apache2 into my home folder by specifying the ./configure --prefix="$HOME". It works fine. Now I am trying to install mod_wsgi. I try ./configure --prefix="$HOME", as well as ...
2
votes
3answers
2k views

IP address of virtual server?

I have a virtual server (shared hosting), with a domain name (and several sub-accounts, each one a separate site also with its own domain name) I was wondering if there was a way to find out the IP ...
4
votes
2answers
2k views

Environment Variables in PATH Not Expanded for non-Admin Command Prompt?

I have a Windows 7 machine which, when Command Prompt is run by a normal user, fails to expand environment variables in the %PATH%. If command prompt is instead run as administrator (right click, Run ...
3
votes
2answers
172 views

Is `which` lying to me?

I installed git via apt-get, but found that the version was hopelessly outdated, so I then installed git from source. The end result is rather puzzling: $ git --version git version 1.7.0.4 $ which ...

1 2 3