I,m having a rough time getting the terminal environment to recognize my android debug bridge path (which is set in a separate hdd) I used to paste this in my bashrc, but then found that it would make the env system bonkers whenever i attempted sudoing with an option:
# Android Debug Bridge (ADB) sdk path alias sudo='sudo env PATH=$PATH' export PATH=${PATH}:/media/Disk/Linux/Android/sdk/platform-tools/ The "alias" line was the one making me have a rough time with env. Now that i got rid of it everything is well but adb's path isn't exported anymore.
It is a simple 2D RPG game. I have this great idea to use static backgrounds and foregrounds. To do this I plan to create another layer that will serve as the collision mask, and cover area where the player cannot move to. I have been trying to find a good format to do this, I want something simple because I plan to write my own library to read the format, it seems that most vector graphics formats are simple enough for that, so its not a huge issue, and not all the information is necessary, for my application, since it will not be visible, no color information is needed. However, there are not that many formats available, and they all seem to be XML based (I don't care for XML), but in the end, I settled on SVG. I wanted something I could create in GIMP, if these masks are too hard to create, I may never finish this project (laziness)... However, I discovered that my version of GIMP will not save as/export to SVG format! It will open SVG, but not export to SVG. Very frustrating. So I went through all the trouble of compiling GIMP 2.7, but that still doesn't support SVG. I made sure to install all libsvg-dev headers before building GIMP 2.7. What can I do to get GIMP to support exporting to SVG format OR is there another SIMPLE vector graphics format that GIMP supports that I could be using?
recently i notice this warning in my /var/log/messages avahi-daemon[4335]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns! but i can't install it yum install nss-mdns No package nss-mdns available.
how to export normal unix user to ldap I've unbuntu ldap server with some local users. I want to export all my local users to ldap database as a ldap users. Or if there is any configuration so that when ever a normal user is created then automatically an ldap user with the same name as the normal user will be created
I'm new to Ubuntu and I'm remote from the server. I'm setting up an Ubuntu server 10.04 x64. My intention is to load Oracle 11g, however I know I will need to be able to export an X display back to my desktop (Solaris) to run the Oracle installer. What do I need to load to get X working enough to export the display back to myself. I need to provide additional information. Since I'm new I may not have adequately covered what's needed.
I'm running OpenSuSE 11.3 (64 bit) with the latest kernel update as of yesterday. I've recently moved from NFSv3 to NFSv4 on 4 servers. Between the 4 servers there are 9 exported directories. All of them work except 1 on 1 of the 4 servers.
/etc/exports # NFSv4 fsid=0 for the top level directory /export *(rw,fsid=0,async,no_subtree_check,insecure) # End
# NFSv3 /export/apps/oracle *(rw,async,fsid=7,no_subtree_check,insecure) /export/ftpserver *(rw,async,fsid=6,no_subtree_check,insecure) # End
I had to keep the NFSv3 entry as I need that as the mount doesn't work with v4. /export directory listing /export: total 5 drwxr-xr-x 4 root root 104 2002-08-08 16:47 . drwxr-xr-x 33 root root 944 2011-01-25 17:28 .. drwxr-xr-x 10 root root 232 2010-01-26 10:01 apps drwxr-xr-x 8 root root 4096 2010-12-13 12:31 ftpserver
Now on any of the 4 servers if I do: # mount -t nfs4 machinename:/apps/oracle /mnt mount.nfs4: mounting lister:/apps/oracle failed, reason given by server: No such file or directory
But the other sub-dir of /export is fine: # mount -t nfs4 machinename:/apps/ftpserver /mnt
If I mount the pseudo root: # mount -t nfs4 machinename:/ /mnt # ls -l /mnt total 4 drwxr-xr-x 2 root root 48 2002-08-08 15:20 apps drwxr-xr-x 8 root root 4096 2010-12-13 12:31 ftpserver
But the apps sub-dir is empty # ls -l /mnt/apps total 0
Well that explains why the NFSv4 mount of /apps/oracle fails because for some reason it can't "see" any files below that, but as I say the ftpserver sub-dir & mount are fine.
I am working with Ubuntu 10.04 I can't print documents on HP Laserjet 1020 While printing, the jobs shows up in the print queue and disappears without any error, but no printout I tried to install HPLIP 3.10.6 from [URL]I followed the instructions but it ends with the error
Code:
INSTALL MISSING REQUIRED DEPENDENCIES ------------------------------------- warning: There are 5 missing REQUIRED dependencies. note: Installation of dependencies requires an active internet connection.
I am still learning the ropes on Ubuntu server. I am trying to set up samba, but when I use the "gedit" command, I get this error: GTK-WARNING **: cannot open display I had installed the gedit command by using apt-get and aptitude, but still no luck. I am using virtualbox to test Ubuntu Server 9.10.
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.
I am getting following error messages when trying to re-start the apache2 on Ubuntu Server 10.04. [warn] The Alias directive in /etc/squirrelmail/apache.conf at line 1 will probably never match because it overlaps an earlier Alias. [warn] The Alias directive in /etc/phpldapadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias. ...waiting [warn] The Alias directive in /etc/squirrelmail/apache.conf at line 1 will probably never match because it overlaps an earlier Alias. [warn] The Alias directive in /etc/phpldapadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias. [OK]
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.
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.
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.
This is installed and I get this error. I am attempting to install razor-agents 2.84 and get this error along with: Warning: prerequisite URI::Escape 0 not found.
Both of these were install in CPAN. When I attempt to install them again, they say they are up to date.
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.
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.
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.
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.
I am trying to insall CPAN, apparently I do this by typing CPAN at the command line.After much else, this results in
Code:
**UNRECOVERABLE ERROR** Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher. If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd. Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
i just tried to install Ubuntu Netbook 10.04 on my old Amilo Lifebook P Series. But after the boot screen and the choice to install Ubuntu i get stuck at the Ubuntu screen with the little dots on the bottom If I hit esc i can see the warning (process 257): GLib-WARNING **: getpwuid_(r) failed due to unknown user id (0)