Ubuntu Servers :: UNC Path In Firefox Not Working?

Dec 19, 2010

I setup Dokuwiki (local use only) and have done some testing. The following works under Windows in IE and Firefox: (Firefox needed some tweaks to open local links. no errors in the console)

[URL]

But it does not work in Ubuntu. I get Firefox can't find the file at ///192.168.0.150/images/test.jpg I have to use the locallink plugin, and several clicks, and this syntax for it to work in Ubuntu. [URL] I hate having to open each link using several clicks and even more so, having to make two types of links in my wiki posts! (SMB:// does not work in Windows.)

192.168.0.150 is a WD NAS. I will also be setting up my software RAID 5 that runs on Ubuntu to hold data for clickable in links on the wiki as well. What do I need to do to get Firefox/Ubuntu to be able to click on and use file://///192.168.0.150/images/test.jpg

Wirehsark shows NO PACKETS when I click on the link file://///192.168.0.150/images/test.jpg, so Firefox is not even trying to find the file! [URL] I have tried epiphany and it did not work either. (No packets being sent either.) This seems to be a Linux issue.

View 1 Replies


ADVERTISEMENT

Fedora :: Firefox And Adobe Reader 9.1.2 - How To Set Path

Oct 4, 2009

I have successfully installed Adobe Reader 9.1. It shows up in firefox as a plugin properly. It does not show up in edit->preferences as an Application (not sure if that matters). However when I click on a PDF to download, I get an error in the browser:

"Could not launch Adobe Reader 9.1.2. Please make sure it exists in PATH variable in the environment. If the problem persists, please reinstall the application."

I put the /opt/Adobe/Reader9/bin in my PATH in ~/.bashrc and even rebooted to make sure all was set. I still get the same message. Where do I set my PATH to make this work?

View 8 Replies View Related

Fedora :: Install Flash Plugin On Specific Path Firefox

Oct 14, 2009

I failed to install flash-plugin on my firefox My firefox is installed on path "/home/<<user>>/firefox"

1) I tried to install flash plugin by rpm -Uvh flash-plugin-10.0.32.18-release-i386.rpm It is not working as the files are not installed on the folder /home/<<user>>/firefox/

2) yum install flash-plugin It returns "nothing to do"

3) I extracted and copied the files in the rpm to /home/<<user>>/firefox/flash-plugin then create a link by ln -s /home/<<user>>/firefox/flash-plugin/libflashplayer.so /home/<<user>>/firefox/plugins/libflashplayer.so When I open the firefox, it crashed.

How could I install this plugin manually?

View 2 Replies View Related

Ubuntu Security :: Apparmor Profiles - Sudo Aa-logprof / Path To Firefox Allowed All When Asked

Jul 29, 2011

I am using FF ver 5.0.1 from here After reading [URL] I did Code: sudo aa-logprof /path to firefox Allowed all when asked. But when I try to start FF in enforce mode I get

[Code]....

View 9 Replies View Related

General :: Difference Between PATH=$PATH:$1 & PATH=$1:$PATH?

Jan 16, 2011

I found the following function in /etc/profile file.

[Code]...

1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??

2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH

View 14 Replies View Related

Ubuntu Servers :: CD Into Directory Of Path Available

Apr 13, 2010

I was wondering if we could cd in the directory of the PATH variable. For example, if I type in echo $DISPLAY. It will give me /tmp/launch-3ee4fg/org.x:0
Is there any way that I can just take the value '/tmp/launch-3ee4fg/' from the output of $DISPLAY and exclude out the filename to the end of the command. I tried using the read command and the IFS variable..apparently IFS does not recognise / I guess.

View 2 Replies View Related

Ubuntu Servers :: No Path In Smb.conf File

Mar 21, 2010

I successfully shared a subdirectory of my home directory, using GNOME under Ubuntu 8.04 LTS Desktop. What drives me crazy is that I can't find this directory listed in /etc/samba/smb.conf, in a "path" line. Please tell me where is this directory specified, since smb.conf seems to be the only samba config file.

View 5 Replies View Related

Ubuntu Servers :: Can't Change Cgi-bin Path In Apache

Aug 11, 2010

Installed Apache and the default web root was /var/www I wanted to change the cgi-bin to somewhere within the /var/www but I cannot. It only works at /usr/lib/cgi-bin. I am trying to work out the Python CGI to be precise. It works at /usr/lib/cgi-bin but gives a 404 at other places like /home/aj/public_html/cgi-bin or /var/www/cgi-bin.I even tried it with putting a webroot directory in my home directory with a cgi-bin in it and made the changes accordingly in the conf. but the only way it works is when cgi-bin settings point to /usr/lib/cgi-bin otherwise it gives 404.

View 2 Replies View Related

Ubuntu Servers :: /dev/disk/by-path Missing On Fresh 11.04?

Jul 25, 2011

On a freshly installed Ubuntu server 11.04 I noticed that the /dev/disk/by-path directory (and of course it's contents) are missing:

Code:
root@xfiles2:~# ls -lA /dev/disk/
total 0

[code]....

View 1 Replies View Related

Ubuntu Servers :: Connect To Raid-1 Device And Set Path For Samba?

Feb 10, 2010

I currently have 3 drives installed to be used as a file server.
1 holds the Ubuntu OS
The other is the file server drive with 1 additional for backup using raid1.

2 Questions:
1) How do I get to the drive or Raid device to put files on the drive using command line (the 2 drives are sda & sdc that are connected to the raid1 device)?

2) How do I set the path in Samba to connect to this RAID drive.

View 1 Replies View Related

Ubuntu Servers :: Correct Localhost Path For Running Php FTP Script

Feb 16, 2010

how to access a FTP server with php. I've written a script from a tutorial but I'm getting errors with the ftp_get function.

PHP Code:

[code].....

Warning: ftp_get() [function.ftp-get]: Error opening /var/www/download.txt/ in /var/www/gwr/connect.php on line 11

I'm having trouble with the ftp_get function and I believe the problem is with the local server path. In this case var/www/download.txt I've also used a folder in that directory called download in the place of the .txt file and it gives the same errors. Is var/www/ the correct path to tell php where to download the files to? I've experimented with the files permission and nothing has worked. I'm running a standard ubuntu desktop install, Karmic Koala.

View 3 Replies View Related

Ubuntu Servers :: Change Executable Path For Boot Scripts?

May 17, 2010

I have a startup script which calls other scripts which need to run some utilities I have. I've tried changing the executable path by adding it to .bashrc:

Code:

echo "PATH=$PATH:$new_path" | tee -a /root/.bashrc /home/$user/.bashrc
echo "export PATH" | tee -a /root/.bashrc /home/$user/.bashrc

But this only works for finding executables once the boot process is over. The startup scripts don't see this path.

View 1 Replies View Related

Ubuntu Servers :: Exportfs: Warning: /path/to/dir Does Not Support NFS Export?

Jul 8, 2010

exportfs outputs the following error upon restart or after editing /etc/exports.

Code:
'exportfs: Warning: /exports does not support NFS export.'
here is my info and configs.

[code]....

View 6 Replies View Related

Ubuntu Servers :: Backup Script To Check If A Path Is Mounted?

Mar 6, 2011

I'm writing a script to rsync some directories to external hdd for backup.

My external hdd gets automatically mounted to /media/backup1

My script then backs up predefined directories to /media/backup1.

I have added this script to cron to run once every day.

The problem is that in the case where the drive is not plugged in and the script runs, it backs up to my local hard drive, and since it is more than 70% full, it fills it up by duplicating that 70% onto itself.

I have taken the script further, to test whether /media/backup1 is mounted. If it is, the backup will run. If it is not, it will bail out.

I'm using the mountpoint program to test for mounts.

My script so far:

Code:
#!/bin/bash
if [[ `mountpoint /media/backup1` ]]; then
echo "filesystem mounted"
# The backup function. Commented out for testing.

[Code]....

View 9 Replies View Related

Ubuntu Installation :: No PATH Variable Set But Still Javac Working Fine

Jun 11, 2010

I thought that setting up the PATH variable was a must if we wanted to use java or javac commands on linux (preferably in the bashrc file), but I am able to use these commands anywhere without setting up the PATH variable.. Similarly, without specifying . in the CLASSPATH variable (in fact, not specifying the CLASSPATH variable at all), I am able to access class files in the same directory. How is it possible ?

View 1 Replies View Related

Ubuntu Servers :: Postfix + Dspam Wrong Path For Digest Files

Apr 7, 2010

I am struggling to get dspam to work properly.

I have follow the instructions [URL] to the letter but when I send spam/ham to the ham@mydomain.net address I see a problem in the logs.

The problem appears to be that when dspam filters the mail it stores the digests in:

/var/spool/dspam/data/mydomain.net/<user>

But when it tries to find the digests to add them to the spam/ham database it looks in:

/var/spool/dspam/data/local/<user>

But I can not find anywhere in the config that controls this.

As I followed the instructions on the ubuntu forums I can not be the first person to see this problem.

logs:

Quote:

Apr 7 22:27:02 rat postfix/smtpd[19662]: connect from localhost[127.0.0.1]
Apr 7 22:27:02 rat postfix/smtpd[19662]: EAC8AE0B6A: client=localhost[127.0.0.1]
Apr 7 22:27:03 rat postfix/cleanup[19659]: EAC8AE0B6A: message-id=<0D3D54F4-4E18-4EE8-88F7-DE7D4B9A45C2@mydomain.net>

[Code].....

View 1 Replies View Related

OpenSUSE :: Path Not Working When Executing From Script?

Jul 26, 2010

I use tcsh. When I execute by hand a command that is in my path...located in say "~/bin/myscript"....the command executes without an issue. I don't need to use the absolute path "~/bin/myscript", I can simply type the command "myscript" since the path "~/bin" is in my .tcshrc file. When I execute the same command from a script, I get a "command not found" error. A similar issue is when I use the absolute command, but a library necessary the programs' execution is defined within my .tcshrc file. I'll get a library not found error.

View 5 Replies View Related

CentOS 5 :: Get Command Working Without Entering The Path?

Mar 3, 2011

For example, what I have now as a root user on CentOS 5.5:

# setsebool
bash: setsebool: command not found

I need to enter /usr/sbin/setsebool to get it working

The same is with some other commands:

# service httpd restart
bash: service: command not found

And so on. I know, that I need to add path somewhere, as I did it before on FreeBSD. But I don't know where?

View 2 Replies View Related

Software :: No PATH Variable Set But Still Javac Working Fine

Jun 11, 2010

I thought that setting up the PATH variable was a must if we wanted to use java or javac commands on linux (preferably in the bashrc file), but I am able to use these commands anywhere without setting up the PATH variable.. Similarly, without specifying '.' in the CLASSPATH variable (in fact, not specifying the CLASSPATH variable at all), I am able to access class files in the same directory. How is it possible ?

View 4 Replies View Related

General :: Present Working Directory Path Display - RHEL5

Jun 23, 2011

need to know, how we can display the whole (till current directory) path in below highlighted way. normally it shows only the name of current working directory after the server name.

View 3 Replies View Related

General :: Move A File To Some Path And Create That Path When It Doesn't Exist?

Oct 8, 2010

I use this command:

Code:

find ./ -atime +360

to figure out the files that haven't been accessed since 360 days. The command above will return results like this:

Code:

/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc

I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:

Code:

mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext

But I want the executed command to create this path

Code:

/old-files/uploads/2010/02/

If it doesn't exist.

View 6 Replies View Related

Programming :: Java Applet Not Loading Image With Relative Path But With Absolute Path / Resolve It?

Jul 17, 2009

Java applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server

View 2 Replies View Related

General :: Forcing An Absolute Path Where A Relative Path Is Expected

Feb 21, 2011

I have a program that takes a relative path as input appends it to a some path string to get the actual path.

Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.

If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.

Is there some path string syntax that I am not aware of but can achieve this?

View 2 Replies View Related

General :: Deleted Path Variable - How To Return To The Original Path Value

Apr 26, 2011

Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.

View 3 Replies View Related

Red Hat / Fedora :: Appending A Path To PATH Variable Permanently?

Oct 21, 2010

how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.

View 2 Replies View Related

General :: Change Windows Path To Unix Path?

Sep 14, 2009

I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup

View 7 Replies View Related

General :: Change Absolute Path To Relative Path?

May 31, 2011

Current script:-

prefix=user@my-server:
find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do (
cd "$path" || exit $?

[code]....

How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?

View 7 Replies View Related

SUSE / Novell :: Add Path To $PATH Variable?

Apr 19, 2009

I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.

View 2 Replies View Related

Ubuntu Servers :: Set Home Directory Path Different From LDAP's Home?

May 24, 2011

I need to specify a different path to home directories on a particular server than what LDAP contains for the users, besides using a symlink. E.g. "/Users/jdoe" vs "/home/jdoe" I don't want to change the actual LDAP attributes, just want a particular server to point them in the right direction (Ubuntu 10.04).

I'm assuming it's something I could probably set in pam configurations?

View 1 Replies View Related

Ubuntu Servers :: Website Not Working \ Default Site Is Working?

Jan 19, 2011

I just installed the lamp stack and so far my default site is working. But a 2nd site I made is not working.I created the config file in /etc/apache2/sites-availableit reads:Quote:

<VirtualHost myip:80>
ServerAdmin webmaster@mydomain.com
ServerName mydomain.com

[code]....

View 9 Replies View Related







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