i started to play with Oracle VM server (Red hat based) and im really lost with something.
In the server i have a regular user (lets call it "pepe") and the root user.In order to make things work properly, i need to set N user variables with pepe.
The problem is that "pepe" cant execute the command export (The command is not being recognized), but when i run the export command as root, every works as expected.
Any ideas why "pepe" can't reach the export command ?
The command export is working inside a shell script, but when I type it at the command prompt / terminal it doesn't work. "export: The command not found" error is displayed instead.
I tried this:
cat test.sh
Code:
abc=123 export abc echo "Exit status of export abc: $?"
[code]....
I tried it before on my RHEL system and it was working. I have checked
I am attempting to create a script for Grid job submissions. I have most of it completed but when testing I've run into some problems.
How it works is that I have 2 wrapper files, one is the top of the script, the other the bottom, the original script imports commands for the middle.
Basically this is what is to happen: cat script-start.sh >> workerscript.sh echo commands >> workerscript.sh cat script-end.sh >> workerscript.sh
workerscript.sh gets created with no problems but when it is run I get: export: command not found
I think that the new script is not calling bash which gives the problem. I don't know how to fix the problem though because I have the shell set in the script-start.sh.
#!/bin/sh - tried /bin/bash, same result export PROJECT=/...... export PROJSOURCE=/......
I noticed in phpmyadmin that we can export a database in type update. Indeed we have update... in place of insert.... is there anyone know if it possible by a command line or by a simple PHP code ?
I was trying to get rid of qtconfig's error message "QGtkStyle was unable to detect the current GTK+ theme.".
So I created the file ~/.gtkrc-2.0 with this content:
Code: gtk-theme-name="Xfce" Then I had to read this file after logging in (or at least, when I start X. So I created a ~/.bash_profile file with the following line:
Code: export GTK2_RC_FILES="$HOME/.gtkrc-2.0" When I now login, I get this message: Code: -bash: export: command not found Any idea what could cause this problem?
I have installed fedora 14 minimum install and I have configured my machine for Static IP but now i cant reach any external sites or repository, in fact all i can do is ssh to the box. below is the configuration in my /etc/sysconfig/network-scripts/ifcfg-eth0 file:
and my DNS is setup to point to my ISP's primary and secondary DNS servers. I have brought the interface down then up after each change but still cannot ping anything.
my Sabayon desktop won't boot into runlevel 5 anymore:
Code: ERROR: avahi-daemon failed to start Also can't start avahi manually, verbose mode gives no extra information, debug says: (...) Code: * Starting avahi-daemon ... + /usr/sbin/avahi-daemon -D + eend 1 + exit 1 * ERROR: avahi-daemon failed to start (sic)
I suspect this to be related to the hplip drivers I installed before the last reboot, all I did was select the package in sulfur, and as it worked right out of the box, I changed nothing else.
I am trying to run matlab on a remote mac through my laptop at home, which is a linux-based. I am not able to export the display. Here are the steps I followed.
1. xhost +remotehost 2. Log into remotehost (i.e., the mac machine) 3. export DISPLAY="192.168.2.2:0.0" 4. matlab
But I get the following message,
"unable to open display 192.168.2.2:0.0"
The reason I typed in that ip address in step 3 was that is the ip listed in the "wlan0" block when I typed "ifconfig -a" on my local linux laptop.
I'm using VirtualBox 3.1.2 (r56127) on Linux (Ubuntu 9.10 64-bit). I'm trying to use Export Appliance utility to clone my virtual machines over local network using SMB protocol to NAS. I decided to do it because some machines are larger than free space on my local disk drive - lack of space for the clones. Simply, I specify GVFS path in the folder selection dialog box, for example:
/home/mloskot/.gvfs/mloskot on browarekhd/VirtualBox/clones
The process starts but after a minute or so the VirtualBox throws an error. Here is screenshot with the exact error:
Does it mean export over network is not supported? Does it mean there is a bug in VirtualBox? Or, simply I must not have used GVFS path as the one above as it consists of spaces in mloskot on browarekhd ?
UPDATE: Maciek suggested below to copy vmdk file to NAS manually. Generally, it would work, but as I specify in my question, I can't generate vmdk file (by exporting VM locally first) on my box where I keep all my VMs due to lack of disk space.
I have an account in a cluster. In the cluster we have to submit jobs by sgi. After every submission I am getting an an error "can't chdir /export/home/user/". My user account (user) is placed at /export/home/ instead of /home/. I am not understanding what to do. Please help.
I used my computer this morning, but when I returned this evening, I am unable to reach the internet. Also the light on the mobo where the ethernet cable is plugged in is steady yellow.
My limited experience would tell me it is a hardware failure, but it seems so strange with nothing happening during the day. How might I best diagnose the problem?
I am copying some backup files to a NAS by connecting an NFS export on the NAS to a mount point on my linus box. I then copy the files to it with a cron job that runs nightly. I have mounted the NAS to /mnt/nas. How can I test that the mount point is active before I copy to it? I wouldn't want to copy to /mnt/nas unless it was actually connected to the NAS.
I'm trying to install Gentoo on a virtual machine (VirtualBox installed on my debian squeeze).
My connexion at home is veeery slow, so I wanted to do it at work (don't judge me!), the thing is I' behinf a proxy.
I tried the command
Code: export http_proxy="proxy:port"
but couldn't ping anything. On the other hand, when i use
Code: links www.google.com -http-proxy host:port
that works...
So i was able to download the stage3 file and start preparing the system, but I have some troubles when it comes to use the provided tools (the tool to add a mirror can't retrieve the list for example, and I guess I could not emerge anything either)
How can I export my Ubuntu terminal's color scheme for use on other computers?I've set up a color scheme that I like and I'd like to put it in a git repo for easy loading from other machines. Any strategy that would make it work in other terminal apps too, such as Konsole?
Taking all Contacts and Emails temporarily back to Windows for safety - whilst I install Mint in place of Ubuntu. Using Thunderbird. I have checked the help files and checked Google.
I am using export in 'Inkscape' to convert an SVG file to PNG. As I am using a transparent background, the colour of background is automatically set to yellow. I want to change this default colour to white. How can I do this?
Intel motherboard DG33TL, chipset G33. I use the on-board graphics. The display is an Fujitsu-Siemens 22" with 1680x1050 res. The latest four versions including 10.04 of Ubuntu selects wrong resolution at boot up, 1024x768. There is no option for higher res. It should be 1680x1050 and I can't change it. Have not found a solution. It works on other quite modern motherboards, but just NOT DG33TL.
I'm running ubuntu 9.04 and I have set up 2 ip aliases using the /etc/network/interfaces file http://pastie.org/775037 -- when I ping the main address 10.0.2.16, all works fine, same with the first alias 10.0.2.22 -- but I can't reach the 2nd alias 10.0.2.23 I get the following from ping:
PING 10.0.2.23 (10.0.2.23): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 92 bytes from 10.5.0.1: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 06eb 0 0000 3f 01 5e81 10.5.0.34 10.0.2.23
My machine's IP address is 10.5.0.34 I can't figure out why I can ping 10.0.2.22 but not 10.0.2.23 -- seems like there is probably some kind of routing thing that I'm missing, but I'm confused how it would have gotten set up for 10.0.2.22 but not 10.0.2.23 -- hopefully someone out there has an idea -- or can point me to references where I might be able to learn how to debug routing issues on a network?
i use firefox for a long time, but today in opensuse he just stoped working without any reasonable reason! The only page he opens from now on is my default page... when i try to go to other ones appears this error message: "by the way the server is redirecting you, you will never reach your destination" or something like that. After this, says that this may be caused by blocked cookies... the problem is with my firefox, cause konqueror is working ok!
I have a problem reaching some hosts on the Internet, namely newegg.com and djangoproject.com. On the same machine and network connection using Windows 7 the host names resolve properly and I can connect to them. The host names are resolving in Ubuntu, but I cannot connect to them.
I'm using Ubuntu on my laptop but I'm having a small problem. The network is working fine except for the fact that I can't reach anything on my LAN (can't even ping the router), but everything on the outside works just fine. I can even visit my webserver if I type my public IP.
Where should I begin looking for faults?
Here, enjoy some data. I'm using my wlan0 interface, not sure whether eth0 works or not.
Quote:
$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
I have just installed ubuntu Server with Apache2, PHP5, MySQL and PhpMyAdmin. Everything works fine when I access the server on the LAN. I have forwarded port 80 in my router to the LAN ip of this server. (I have other windows based web servers so I am familiar with port forwarding) however when I try to access the server from the true static IP outside the LAN I cannot reach it and the connection just times out with the Ubuntu server connected if I use canyouseeme it says port 80 is closed. If I replace the Ubuntu server with another server I can reach this just fine from outside and canyouseeme says the port is open. So I am pretty darn sure the router is correct and that there is some config problem with the Ubuntu box, but I cannot find it. the ports.conf file has listen 80 in it and the apache2.conf includes the ports.conf file.