Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
9 views

IIS - Two consecutive <siteid> numbers in a metabase “Location” path? Why?

I'm trying to understand the contents of an IIS metabase file. I can't access the server the file was taken from so it's really all I have to go on at the moment. The relevant Microsoft documentation ...
0
votes
0answers
21 views

Use url path to make proxy condition in Apache

Having only one DNS, www.example.com, how can I distinguish the path to make conditions? For example, inside a VirtualHost what I want to do is: ServerAdmin admin@example.com ServerName ...
0
votes
1answer
23 views

Assigning different uri paths to different servers

I have the following situation: There is a domain with offers different services like a blog, a forum and a wiki whic are reachable via different URI paths all at e.g. IP 123.123.123.123: ...
0
votes
0answers
213 views

Set JAVA_HOME is not working

I'm trying to set JAVA_HOME in CentOS 6.5 by editing the file ~/.bash_profile and adding this line at end: PATH=$PATH:$HOME/bin export PATH export ...
0
votes
1answer
36 views

Nginx does not have access to centos path

Sorry for the rather confusing title, I am trying to understand this error. I have a php file, inside a folder like site.com/src/app/index.php and this site.com folder is placed in /var/www/html/ in ...
0
votes
2answers
84 views

CentOS - binary won't run unless typed with absolute path

I'm not sure if it's a quirk of the program I'm trying to run (amidelnx) or if it's something with the way some binaries in general function. Also, I've read this question but it is not the same as ...
0
votes
1answer
46 views

Is 'which' command always showing the right file / which binary is really being run?

I am using Ubuntu 12.04 LTS and I have apparently messed up my system with various versions of duplicity installations: first I had 0.6.18 installed from the default repo, then I tried using 0.6.23 ...
0
votes
0answers
95 views

Problems with @INC when updating Perl form 5.10 to 5.18 on Centos

I am on Centos 6 (as root) with Perl 5.10, also with a lot of modules installed (using yum and CPAN). I've tried to upgrade Perl to 5.18 and now have some problems with @INC. I receive messages that ...
0
votes
1answer
30 views

Does the user specific PATH in Windows roam across machines?

In Windows there are two environment variables which make up the PATH, a user specific PATH and the system wide PATH. Does anyone know if the user PATH roams across machines, or is it specific to a ...
2
votes
1answer
37 views

Inspecting how $PATH gets created

Is it possible to "listen" to a variable's value during the start of a new shell? I have a script that checks for the $PATH variable in the typical places, but I'd like to try something different. ...
0
votes
0answers
55 views

Wrong PATH in init script on boot

Since the update of the System on my Synology NAS (x86) i have some problems with my startup scripts. The Bash scripts are stored in /usr/local/etc/rc.d. The scripts were executed for sure, because i ...
0
votes
3answers
2k views

Error - Unable to find `dot` command of the GraphViz package

Ubuntu precise (12.04.1 LTS) I'm rather new to PEAR. I installed PEAR. Then, using pear I installed phpdoc. It seems to be working great except for the graphing functions. I ran this command: ...
0
votes
0answers
26 views

Cloud9 set relative url

I was looking a lot but haven't found any information how to run Cloud9 not only in root but also in a relativeUrl like localhost:3131/user_1. I edited baseUrl param in ...
0
votes
0answers
39 views

Nginx: Switch path depending on location

I'am very new to nginx and I have to realize a location switch. We have a single point of entry https://www.main.de/. At this single point of entry I have to split up the requests depending on the ...
2
votes
1answer
50 views

Command Line Script Issue

I've been working on a batchfile script for a few weeks now that should automate certain routine tasks I need to perform during my work. However, I've stumbled upon a problem which I haven't been able ...
1
vote
2answers
608 views

PHP App (Owncloud) Pages Requesting Incorrect Path for Assets

I have a VPS set up with php-fpm and nginx (with ssl). I have set up Tiny Tiny RSS already, and it works just fine. However, I recently attempted to set up Owncloud, and instantly hit a roadblock. I ...
2
votes
1answer
106 views

Strange PATH when use sudoers via ldap

I have a working LDAP authentication environment. LDAP server is on ubuntu 12.04 machine while client are all centos 6.4 machines. Recently I configure sudoers in LDAP following this article ...
1
vote
2answers
2k views

How to remove the path with an nginx proxy_pass

I have a running web-application at http://example.com/, and want to "mount" another application, on a separate server on `http://example.com/en. Upstream servers and proxy_pass seem to work, but for ...
0
votes
0answers
6 views

PHP PATH on IIS

I've added a folder to my System PATH, but my PHP user (webuser) has a different PATH value. How can I add a directory to the PATH, that can be accessible by the IIS PHP User? Thanks, Steve
0
votes
1answer
102 views

Lighttpd, regex in conf, path including regex match

The background : - Lighttpd 1.4.28 - Debian 6.0.7 i686 Several developers are using this web server, and each of them has his own virtual host named after "username.mysite.tld". These hosts are ...
-1
votes
1answer
38 views

Changing path to basedir of mysql

When-ever I need to start mysql from command line, I need to cd to the base directory and then use mysql command as shown below: # cd /home/ec2-user/percona-5.5.30-tokudb-7.0.1-fedora-x86_64/ # ...
1
vote
3answers
172 views

Override path to binary for particular user

My question seems to be trivial but I didn't manage to find anything helpful in internet. I have a binary in /urs/bin/binary but it is outdated and newer version is available on some mount for ...
-1
votes
3answers
126 views

How to replace a certain path from the PATH variable? [closed]

I am using Cygwin and would like to modify the following PATH via bash shell: /usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy:/cygdrive/c/Program ...
2
votes
1answer
5k views

mklink to network share or UNC path or Mapped Drive?

Are there performance or permission or other considerations to think about when using a mklink path to a network share versus just a straight UNC path (or mapped drive for that matter). For example, ...
2
votes
2answers
48 views

Unix how to determine if a program can be executed

I am writing a script to create the source environment. Handling the PATH part is easy. Though how should I check if a program can be executed correctly when its path is added into PATH? Using which ...
4
votes
2answers
170 views

Preventing bash tab completion of an environment variable with a FS path value from removing the environment variable name

Friends, I am using GNU bash as my shell on Linux: $ bash --version GNU bash, version 4.2.45(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU ...
1
vote
0answers
325 views

Command not found, when it's in a directory on the path

I have the following environment variable set (trying for a 12-factor app approach): PATH="/home/hope/env/bin:$PATH" /home/hope/env/bin is the bin directory of a virtualenv, it has gunicorn and ...
2
votes
3answers
103 views

how to get [ current_path ] in shell bash prompt?

Is it possible to have the name of the current working directory in the prompt in shell ? Im working on OSX and CentOS in multiple projects under /srv/... and a mistake for wrong directory is quickly ...
-1
votes
2answers
155 views

Red5 can't find Java

I'm setting up a Red5 server on Cygwin I get this /usr/share/red5$ sh red5.sh Running on CYGWIN_NT-6.1-WOW64 Unable to locate Java. Please set JAVA_HOME environment variable. However, I can also ...
1
vote
3answers
308 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.
1
vote
1answer
701 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
55 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
175 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 ...
3
votes
1answer
1k 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 ...
0
votes
1answer
98 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
55 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
2k 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
995 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 ...
5
votes
2answers
4k 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
260 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 ...
8
votes
2answers
10k 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
1answer
202 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
115 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 ...
1
vote
0answers
3k 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
43 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. # ...
1
vote
2answers
4k 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
1answer
576 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
158 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
203 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
54 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 ...