Server :: Inconstant Behavior On SUSE Using & Background Command
Dec 17, 2010
Have a bit of a dilemma I'm trying to track down. Have a user using both date and ps commands with & at the end of the line in a shell script. When he runs the script, it waits until he hits ENTER to get back to a prompt. Other times he doesn't. Also, I've noticed that this will sometimes happen, then immediately rerun the script and the behavior stops.
View 1 Replies
ADVERTISEMENT
Feb 28, 2009
I have written a script, lets call it B, that calls scripts A1 to A9. I want to run the A scripts simultaneously since they can take up to 3 hrs to complete. As you might expect, I use the & to run the script in background. I am looking for a mechanism to evaluate the return code from the A scripts when they eventually complete?
View 2 Replies
View Related
Feb 24, 2010
I have tried to install Opensuse 11.2 (Gnome-Live) and run it as my main OS.When i rebooted after install it would go to login and the desktop wallpaper would come up and that was it. Nothing else loaded, no panels, icons, just the green background.Any suggestions to fix this at all? Right now I am under XP, but would rather use Opensuse.My hardware consists of the following:Dell sx2601 gb Ram20 gb HDintel 82845g graphics.The actual live-cd ran perfectly.
View 2 Replies
View Related
Sep 6, 2009
I have a virtual machine with SUSE Linux Entperise 10 SP2 (I586) installed. However, the default setting is using command line based interface.
Is it possible to change it to be GNOME or KDE based interface ?
View 1 Replies
View Related
Nov 29, 2010
So I have installed LXDE on my SuSE install to have a addition to the GNOME desktop. The installation went fine (of course). But I'm now faced with a problem with the transparency in LXDE, I have a box around my cairo-dock with a piece of my login screen background (looks like the well-known black-box bug. See Screen shot). This is a bit strange and I've been looking at the solutions for the black-box bug since I've had it before, but have not found a way to sort this yetv(though i have found many solutions for the black-box bug itself).
But, not only is this box around cairo-dock, the rest of the transparency in LXDE also shows the login screen background. See screen shot. Screen shot: [URL] As you can see, i haven't had time to work on the eye-candy yet.
View 3 Replies
View Related
Apr 18, 2011
I've got an interesting problem when it comes to wildcard entries in bind. If I put the following in:
qa.express IN A 172.16.0.10
* IN A 172.17.1.156
If I then look up "express.example.com" it doesn't return an answer - it *should* return 172.17.1.156, but it won't unless I put that hostname in specifically. qa.express.example.com resolves as expected.
View 3 Replies
View Related
Jul 4, 2011
I have been running two Ubuntu 10.10 servers for some time now. My main server is 10.111.1.65 and backup server is 10.111.66. The main server is to host my website and ssh remote access (Key auth). The backup server pulls via ssh key auth what is in my /var/www (among other folders) to the backup home dir (encrypted). For some reason today I checked the uptime and it was 7 hours on both servers. All my other computers on the same power supply have a uptime of over a month. For some reason I now cant access backup via ssh from main's key (I could before) and I can not get to the home dir, see below:
Code:
carlos@UbuntuSvrDell2400:~$ sh "Access-Your-Private-Data.desktop"
Access-Your-Private-Data.desktop: 1: [Desktop: not found
[code]...
View 3 Replies
View Related
Jun 23, 2009
I have to trace back what command and when it is used for the last 3 months. It is quite urgent as I have trouble with the system configuration.
View 5 Replies
View Related
Aug 9, 2011
I've been using dhcpd for address assignments to PCs for a very long time with no issues. I recently upgraded from lenny to squeeze and now dhcpd seems to have new behavior which I can't seem to change. Here's what I want to do. First, I have a simple situation and don't want to get involved with dynamic DNS updates. I have host statements for each of my PCs and a range statement for cases where I install a new device and don't yet have a host statement for it. Previously, I could discover the ethernet address for the new device from the dhcpd log and add a host statement with an address of my choosing for the new device.
I'd then restart dhcpd and do something like reboot the device or issue an ipconfig /renew statement on the new PC. What would happen is that the old dynamically assigned IP address would be NAKed and the device would do a DHCPDISCOVER, etc. and get the new IP address I specified in the dhcpd.conf host statement. In squeeze, this no longer works. The client asks for the old address it got dynamically and the server just says yes. I can't seem to find a way to get it to NAK the dynamic address and use the new address I've specified in the host statement. I'd appreciate any enlightenment on how this is now supposed to be done. Here's my simplified dhcpd.conf file:
authoritative;
log-facility daemon;
ddns-update-style none;
[code]....
Note that the address here was assigned based on a previous range statement and isn't consistent with the above config file.
View 2 Replies
View Related
Jan 20, 2010
I've noticed something strange in the behavior of how Ubuntu server obtains it's IP address versus Ubuntu desktop and other versions of linux and Windows. When Ubuntu desktop obtains an IP address from my router that address is retained from one bootup to the next, same behavior as Windows, SuSE, and pretty much any other OS. Ubuntu server on the other hand grabs a different IP address everytime it boots. At first I guessed it was a difference in /etc/dhcp3/dhclient.conf so I replaced it with the dhclient.conf from Ubuntu desktop but no dice, it still grabs a new address every time.
In /etc/network/interfaces Ubuntu server defines the loopback interface and primary network interface, just as it should but Ubuntu desktop does not define the network interface, only the loopback interface. I'm guessing something else controls does this. Desktop appears to be storing previous IP lease information in /var/lib/dhcp3/dhclient.eth0.leases but server doesn't, /var/lib/dhcp3/dhclient.leases is always empty and there's no other files in /var/lib/dhcp3/.
Apparently something isn't writing old lease info there. Without setting a static IP address, how can Ubuntu server be configured to retain the same IP address between boots like Ubuntu desktop?I'm using Ubuntu server 8.04LTS, Ubuntu desktop 9.10 & 9.04, SuSE 11.0, Linux Mint, Windows XP, pfSense 1.2.2 as router.
View 9 Replies
View Related
Oct 16, 2010
so this one baffles me. I'm trying to get a script to do internal speed tests on demand. I'm using iperf. The bash commands are below.
Code:
#!/bin/bash
set -ax
[code]....
View 3 Replies
View Related
Jan 17, 2011
how to get the status of background command in bash script
supose , rm 1 &
rm 2
how to get status of rm 1 command
View 3 Replies
View Related
Jul 22, 2010
I am running memory test on SUSE, Memory test is just writing some patterns into a memory and reading it back in all CPU threads. After a while, when memory test is running in the background , I am trying to reset the system by echo b> /proc/sysrq-trigger command, Upon SUSE warm reset , I am seeing some UNCORRECTABLE MEMORY ERROR in model specific register (MSR : 0x421),
I am seeing this behavior on one of my server which has huge amount of memory.,Have you ever seen this UCECC error when SUSE generates warm reset when memory test in the background ?
View 4 Replies
View Related
Oct 6, 2009
I used to know a command to turn off various logs that run in the background of Debian. I using lenny on CF on an embedded board, that why I need the logs off, to stop writes.
View 1 Replies
View Related
May 5, 2011
sometimes i just want to stay in console and not start kde. But i do not know how to play music backgroundly
View 5 Replies
View Related
Feb 3, 2011
I'm writing a script that performs backups from partitions on remote servers. I used to do this with ssh, but that seems to be somewhat slow, so I switched to netcat.I start a listener on the receiving server (which runs the script) like this:netcat -l -p 7000 | dd of=imagefile &and then I make the remote and start a dd piped to netcat. This works quite well started manually and the listener is waiting in the background. However, when I have cron run the same script to automate it, the netcat listener is not started, probably because the "&" thing does not work (or there is something with the piping that behaves differently then)
View 7 Replies
View Related
Feb 1, 2010
Because of my English skills I'll try to explain this subject as best I can, thank you for understanding. Fisrt of all, I am running some program on my slackware in background (using standard method - &). I need to make a script, which allows sending command to this process on my machine from another one. Furthermore this program have to be logged out (standard output f.e. ./myprogram > log.out.txt).It might be a separate Program A which runs my Program B but it cannot be screen, because it is not working like I'd like to and it cannot be java, because it's slow and working not the best so to speak
View 6 Replies
View Related
Jul 23, 2009
Up until KDE4 I could select a different image for each of the 4 virtual desktops. Now I tried Suse11.1 KDE and it seems like there is no such option. I can change the background image allright, but all 4 desktops have the SAME image.
View 4 Replies
View Related
Oct 5, 2010
The first call to "somefunction" works as expected. The function prints "endfunction" and a process in background sleeps 30 seconds. In the second call I thought it should work in the same way, but the script sleeps 30 seconds before it prints "endfunction".Does someone know the reason of this behavior? Is there another way to do a command substitution of a function that has a background process without have to waiting for that process?
View 2 Replies
View Related
Jun 25, 2009
I have a Nis server on Suse 11 which is configured using Yast and nis clients on Suse and CentOs .All clients which is on the Suse Os is working fine. But on CentOs , users couldn't login using nis username.I have mounted home directory using nfs in fstab . I can switch to nis users homedirectory only when i am root. But nis users could'nt login on reboot.' ypcat passwd username ' is showing the output . No selinux is enabled in the client .Is there is any problem with Suse server to Centos Client in nis ??
View 2 Replies
View Related
Apr 15, 2011
Anyone know why each time I boot up the machine the cube background image goes away and the background colour is left. This image i am placing is in Apparency/Skydome
View 2 Replies
View Related
Dec 1, 2008
Is there a way to execute some command and then after the command completes utomatically reboot the system and then after the system reboots execute another command ? For example look at the sequence shown below(1) Execute command-1(2) After the command-1 in (1) is completed,reboot the system (3) Execute command-2(4) After execution of command-2 reboot the sytemIs there a way i can automate this process so that i need not reboot the system manually
View 5 Replies
View Related
Jan 10, 2009
I have installed suse linux on my desktop pc. I cant see the disk drives on which windows xp is load. How can I mount those drives so that I can see those drives in suse also. Also when I connect my usb drive, it is also not shown. I am new to linux. What are these commands to mount the other drives.
View 3 Replies
View Related
Jun 17, 2010
A long time ago I came here with a query about comparing directory structures so that I could ensure I had 2 copies of all of my mp3's - 1 in high quality and 1 in portable quality. The original thread is here [url]
Now time has moved on I have begun to encode to flac, and I want to find and delete any mp3's that I now have as flac.
The problem is, the file names are not always identical AND the extensions are different, meaning the command in the previous thread doesn't get me very far.
The music is stored in the format of /home/music/mp3/Artist/Album/ and /home/music/flac/Artist/Album/ if I could just get a list of all the "album" subfolders which are duplicated I could work the rest by hand.
View 2 Replies
View Related
Apr 26, 2010
Is there a way of enabling the locate command if you're not the root?
View 1 Replies
View Related
May 22, 2010
I used to be able to run locate and updatedb, but after an OpenSUSE update, they no longer work. I've reinstalled findutils and it appears to install correctly, but the commands still don't work.
server:/tmp # rpm -Uvh --force findutils-4.2.28-24.i586.rpm
Preparing... ########################################### [100%]
1:findutils ########################################### [100%]
[code]...
View 3 Replies
View Related
Jun 11, 2010
I come from ubuntu were ifconfig is used to check my ip address and nic cards on my computer. I have openSuSE 11.2 on acer aspire 5515.
When I run the command I get:
So what command do I use in place of ifconfig.
View 1 Replies
View Related
Jul 2, 2010
In GNOME there's an option to highlight your mouse when you press CTRL so that it's easier to find. That's a great function for me, because I work with several screens simultaneously. I really like KDE; does anybody know how to do the same thing in KDE or at least something similar? I haven't been able to find anything in Google.
View 2 Replies
View Related
Sep 29, 2010
I am unable to locate ftp binary on SuSE 10. Some one know the location of the binary / package which has this binary.
View 2 Replies
View Related
Nov 9, 2010
I have reinstalled Suse 10.1 as dual-boot with Windows XP. I am now unable to get a program to run from the Linux command line. I am familiar with the program and have had it running previously when the machine was Linux-only. Everything else, e.g.Firefox and Office, work fine in Suse.
[Code]...
The problem occurs with all commands - not just this one. isis3Startup.sh is in green on the screen so I assume I should be able to run it - I have never had any problem when it was installed previously.
View 2 Replies
View Related