I have a mount point — let it be /media/question — and two possible devices: a physical HDD and a remote NFS folder. Sometimes I plug the device in physically, in other cases I mount it via NFS.
Is there a way to specify both of them in fstab so that executing mount /media/question will preferably choose physical volume, and when it's not available — NFS?
I have an existing Centos 5 installation. I would like to upgrade to Ubuntu. Thing is, I don't want to be down for as long as it will take to get my entire environment moved over - software installed, connectivity configured, etc. I'd like to take it one step at a time.
But I don't really want to keep rebooting back and forth from the new OS to the old OS. That's what I did last time I upgraded to a new OS, and it got old real fast.
So, since my new MB is virtualization-ready (AMD Phenom II 945 quad-core), I figured I could create a virtual machine, under the new OS installation, that ran the old OS installation.
The problem is that the documentation I've been able to find has been pretty sparse. I've found a lot of possibilities, and little info on which would be capable of doing what I want.
I have a new Ubuntu 9.10 installation, and a second disk containing the Centos 5 installation. And I don't know where to go next.
Any help would be appreciated.
I am connecting a USB to serial driver port to my system and I get about halfway to where I need to go. When it is plugged in dmesg indicates:
<6>usb 2-1: new full speed USB device using sl811-hcd and address 4
<6>usb 2-1: configuration #1 chosen from 1 choice
and lsusb
Bus 2 Device 4: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 2 Device 1: ID 0000:0000
Bus 1 Device 1: ID 0000:0000
I get a series of usbdev2.4 (usbdev2.4, usbdev2.4_ep00, etc) devices in dev but no ttyUSB0 or anything that I can open with minicom.
How do I get the system to create the /dev device?
Thanks
Dave
We've tried both the first options
Install or upgrade an existing system
Install system with basic video driver
When trying option #1, it gets to a screen that has a solid cursor about halfway down, then freezes.
When trying option #2, it freezes at the point where it says:
Waiting for hardware to initialize...
Of course, we bought the unsupported version and haven't found anything to help us so far.
Here are the specs to the server in the original post:
ASUS P8Z68-M Pro LGA 1155 Intel Z68 HDMI SATA 6Gb/s USB 3.0 Micro ATX Intel Motherboard with UEFI BIOS
RAIDMAX Reiter ATX-305WBP Black Steel / Plastic ATX Mid Tower Computer Case 450W Power Supply
Intel Core i7-2600 Sandy Bridge 3.4GHz (3.8GHz Turbo Boost) LGA 1155 95W Quad-Core Desktop Processor Intel HD Graphics 2000 BX80623I72600
16GB Ram
OCZ Agility 3 SSD 120GB
From some of the posts out there could the UEFI Bios or the Sandy Bridge processor be a culprit here?
We just tried the DVD on a different computer and it got past that point with ease. It's a standard Dell build compared to our custom machine. Could it be having difficulty recognizing drivers? How do we get past that?
I am working on a PHP script that transfers files using FTP functions. It has always worked on my production server (which is a hosting service). The development server I have just setup (I am a novice to servers) is Debian Lenny with Apache2, PHP5, and MySQL5.
The file transfer works correctly, but once the file has been written to the server, it has permissions of 600. This makes it impossible for me to view the file (JPEG) in the web browser, as permission is denied. I have scoured the internet and even broken my server installation and reinstalled it trying to figure this out (which has been fun, nonetheless!).
I know it is unwise to set 777 permissions on public accessible files, but even that will not solve the problem. The only thing that works is if I chmod 777 thefile.jpg after it has been transferred, which is not a working solution.
I tried changing the owner of my site files to www-data per this post, but that also does not work.
My user is mike, and it still does not work whether the owner of the files is mike or root.
Would somebody point me in the right direction? Thanks! And, of course, let me know if I can clarify anything.
I am working on a project which is to show the simulation of streaming of audio and video data in wireless networks. I want to show the simulation that involves a base station, with few wireless stations. The base station should start sending data once it computes a certain value . On receiving the data, each wireless must begin communicating with the base station.
I have gone through basic NS-2 tutorials from over here but I am not getting how to go about integrating it with my project. Can anyone tell me how to do it using NS2 or any other network simulator?
I would like the output of A to be input for B and at the same time the output of B to be the input for A, is that possible?
I tried the naïve thing: creating named pipes for A (pipeA) and B (pipeB) and then:
pipeB | A | pipeA &
pipeA | B | pipeB &
But that does not work (pipeB is empty and switching the order would not help either).
Any help would be appreciated.
Example:
Command A could be compiled form of this C program:
#include <stdio.h>
int main()
{
printf("0\n");
int x = 0;
while (scanf("%d", &x) != EOF)
{
printf("%d\n", x + 1);
}
return 0;
}
Command B could be compiled form of this C program:
#include <stdio.h>
int main()
{
int x = 0;
while (scanf("%d", &x) != EOF)
{
printf("%d\n", x + x);
}
return 0;
}
I had the old 10.9 driver of ATI, it worked fine.
Sadly, I decided to upgrade it to the new 10.12. After that, HDMI stopped working. So, I want to downgrade back to 10.9. I did everything by the book. But it fails:
As root, I do:
cd /usr/share/ati
sh ./fglrx-uninstall.sh
Yes, the uninstall process tells me that everything is fine uninstalled.
And after doing reboot, I have the default opensource ATI driver which comes with X11 (or the kernel?). The ATI control panel shortcut points to nowhere. So, the driver seems uninstalled.
Now I install the older (10.9) proprietary ATI driver. It also finishes successfully. But after reboot, the ATI control panel tells me that I still have 10.12. And it seems to be true, because HDMI doesn't work.
So, how can I completely purge the new non-working driver and downgrade to the old one?
I am using open suse 11.3 .my laptop is running to slow and dmesg is showing following error:
733.162161] psmouse.c: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 5 bytes away.
[ 774.230841] psmouse.c: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 2 bytes away.
[ 856.344570] psmouse.c: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 1 bytes away.
[ 898.451626] psmouse.c: TouchPad at isa0060/serio4/input0 lost synchronization, throwing 1 bytes away.
is there any way i could see the problem and solve it....
I have a file sharing website, and my files hosted in a server with those system specifications:
32GB RAM
12x3TB
2x Intel Quad Core E5620
I have files in this server up to 4gb for each file. 446gb is full (/36TB)
[root@hosted-by ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 50G 2.7G 44G 6% /
tmpfs 16G 0 16G 0% /dev/shm
/dev/sda1 97M 57M 36M 62% /boot
/dev/mapper/VolGroup01-LogVol00
33T 494G 33T 2% /home
And take a look at this:
Why is the wa% so high? (I think that what makes the server to be so slow)
What is the most efficient way to block access to 8-10k IP addresses?
My server runs EngineX on Debian.
If possible, I would like to show all of the addresses an Internal Server Error (500).
I need to allow members of the group 'ftpusers' to be able to change permissions on all objects inside a certain directory. I was looking into how to do it but all I have found is how to do it on BSD:
chmod +a "ftpgroup allow writesecurity" /some/dir
I need exactly the same thing but for Debian/GNU.
Thanks
Hi,
I have to install jre1.5.0_10 but jre1.6.0_16 is already installed.
How can i remove jre1.6.0_16.
The application i am try to access requires jre1.5.0_10.
Please Help
I would like to make a six second video using six images. Each second is sliding over one image from its top to its botom. Or some other motion effect – I would like to try several.
I tried
kdenlive
Imagination
Videoporama
PhotoFilmStrip
The first one has not enough settings (don't remember what exactly) and all those have rather poor quality – the resized picture is very "aliased" (like no quadratic filter was applied during resizing).
I'm trying to do following things:
Login to CentOS over ssh: authentication needs to happen with Microsoft Ldap
On successful login create a home directory for user in /home if directory exists take him to his home directory
Put quota on /home/user directory of 5 GB
Can someone please show me a link for Centos/redhat to authorize users with Microsoft Ldap?
I have already tried: setup command from root - "Authentication configuration" - "[] User Information - Use Ldap" - Authentication - [] Use Ldap Authentication" - []/[*] Use TLS - Server: ldap://corporate.company.com - Base DN: dc=corporate,dc=company,dc=com" This does not authentication users with Microsoft LDAP
I have an nginx server running on ubuntu 12.04 that serves http through port 80 and https through port 443.
Everything works fine if I access it from the same computer via localhost, 127.0.0.1 or the local IP 192.168.0.11. If I try to access the server from another computer in the same VLAN it does not work for http; it works for https. I have changed my nginx configuration to also listen to port 8000 for http; I can then access http from the other computer in the same VLAN via "http://192.168.0.11:8000".
I also have a web server running on port 80 on a windows machine and can access it from another device in the same VLAN, therefore the router is not blocking incoming http traffic.
The nginx process is run by root. I have used tcpdump and I see that packets are arriving to Ubuntu:
192.168.0.16.49735 192.168.0.11.80
and that some response is being given
192.168.0.11.80 192.168.0.16.49735
(I do not know what the response is though). There is no request arriving at the nginx web server (I have checked the access log).
I have iptables empty. I have unsuccessfully tried to find a solution for a long time to this, it has now become a matter of happiness or bitterness :).
My laptop uses CentOS 6.3 with kernel 2.6.32-279.el6.x86_64. My wireless adaptor is Intel Corporation Centrino Wireless-N 1000.
My wireless connection always get off after about 20 minutes. The network applet shows the connection is still on with good signal strength, but I just cannot load any web pages even the configuration page of the wireless router.
The problem will continue until I disable and reconnect the wireless.
Other devices like my cell phone uses the same wireless network without the problem. Even yesterday I'm using the same laptop with Fedora 17 without this problem.
I also searched the internet and someone said running services NetworkManager and network simultaneously may be a problem. But I cannot stop any one of them because: if I stop network and start NetworkManager, the network service will start automatically; if I stop NetworkManager and run network, it says "Device does not seem to be present, delaying initialization." when trying to bringing on the wireless.
What shall I do to get rid of the problem? Thank you very much!
I try to run a specified command on a desired time. I found at for this, and it seems to work fine if I run:
echo "ls -al / > /home/florin/test.txt" | at 4:21am
But I want to run a different thing: /usr/bin/firefox -new-tab http://google.ro
I tried adapting the first line with my action (running it in terminal opens a new Firefox tab with http://google.ro, so the command is correct), but with at, it does not work:
echo "firefox -new-tab http://google.ro" | at 4:23am
The task seems to be scheduled, but it does not run. When running the previous line I get the default reply from at:
warning: commands will be executed using /bin/sh
Should my Firefox command be differently run in sh? Is there a way to do my action with at, or some other way? Thanks a lot!
I generate more than 50GB of cache files on my RHEL server (and typical file size is 200kb so no of files is huge). When I try to delete these files it takes 8-10 hours.
However, the bigger issue is that the system load goes to critical for these 8-10 hours. Is there anyway where I can keep the system load under control during the deletion.
I tried using
nice -n19 rm -rf *
but that doesn't help in system load.
I have a jar that runs forever (infinite loop with socket listening thread) and need it to run in the background at all times. An example would be: "java -jar test.jar" How do I do this? Thanks in advance!
I need to configure a IMAP4 capable (console-based) email client to
- check and edit the name of an attachment ("contains umlauts?" - change character ä to ae)
- delete emails that don't fit certain requirements (not PDF, DOC,... not from domain xyz.com)
Whether the client can do everything by itself or can just trigger a script on incoming mail doesn't matter.
Anyone have an idea with mail client would be suitable for such a task?
I have run the command to backup 7 accounts and then i want to quit that command while its running.
How can i quit from command line
I want that it should quit backing up all accounts not just current account and then i have to press again untill all accounts open
How can I specify a port for the destination ip? When I do scp -p 0000 it still tries to connect on port 22, not the one I'm specifying.
scp svn_backup.tgz [email protected]:/path/to/new/svn/