Ubuntu Servers :: Server 11.04 Bash_completion Failure?
Jun 17, 2011
I have an Ubuntu box running server 11.04 that is displaying a weird behavior when logging into the CLI. The message below will scroll for about 15-20 seconds when you first log in, but then it goes to the normal shell and everything seems to work fine.
Code:
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-server x86_64)
* Documentation: http://www.ubuntu.com/server/doc
[code]....
View 9 Replies
ADVERTISEMENT
May 8, 2010
I'm trying to get openssh-server working so I can stop using the family TV and just SSH from my laptop. I've only just installed 10.4 server edition, and I've made a change to /etc/apt/sources.lst by removing the # in front ofdeb cdrom:[Ubuntu-Server 10.04 LTS Anyway I run:sudo apt-get install openssh-server
Code:
Reading package lists... Done
Building dependancy tree
[code]....
View 7 Replies
View Related
May 7, 2011
Main purpose of this LAMP server is testing development. I would like to get this server setup up almost exactly to a T how my real web hosting server is setup. I am running 11.04 and have installed LAMP. I also installed vsftpd. I went ahead and made a symlink from /home/user/public_html to /var/www/. I login from a Windows 7 computer via CuteFTP to my Ubuntu server. I can enter the public_html directory and can create folders but the default permissions for any folder created is 700. I have tried running chmod -R 755 /home/user/public_html but this does not work. Every file or folder created now currently will take a 700 permission.
How do I make it so anything that is uploaded into this folder will be at either 755 or 775? Also what is the best practice for utilizing the /var/www directory? Should I be using a symlink to link it to my user's home folder? I have read through so many posts with regards to adding users to a group and giving this group permission and this or that I'm so confused.
View 2 Replies
View Related
Jan 13, 2010
I have two ubuntu boxes. One is a 9.04 desktop edition and the other is a 9.10 server edition I am working on some code that needs to be highly tolerant of bad network connections. It sends transactions to a central database, but when the network is not available, it caches them locally to retry later.
I have the code working beautifully on my desktop box. but when I test it on this other box (the one running server edition) there is a HUGE DELAY every time it tries and fails to send a transaction to the database when the network is down.
I tested a little further, and I found that if i unplug my network cable and run ping somehost on the desktop, it fails instantly saying "ping: unknown host somehost" But if I unplug the cable on the server box and run the same ping command it lingers for about 40 seconds before the ping fails.
Does anybody have any idea why this might be happening? Is this a 9.04 vs 9.10 difference? Is this a desktop vs server difference? Is there some package I can install, or some config setting I can change that will make the server box insta-fail just like the desktop does?
View 5 Replies
View Related
Jun 2, 2010
A week or so ago I ran an aptitude safe-upgrade and while it was updating mysql I suffered a power-failure. Now, this never really happens in Holland but of course this once it happened at the worst possible time.
I've tried a lot of different things to get mysql working again, but am running into all kinds of problems. First mysql won't shut off properly (it does startup with the computer but I can't connect to it at all) during an aptitude purge. If I kill the process mysql seems to purge properly, but I guess this is not the case because I wasn't able to install it then.
Things seem to have gone a bit more smoothly this time, however:
Code:
snek@snek-server:~$ sudo aptitude install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code].....
View 2 Replies
View Related
Jun 27, 2011
I upgraded the boot loader using apt-get upgrade. So Grub upgraded and I believe it automatically ran the upgrade-grub-from-legacy executable. I was confused on what to do so I selected all drives. When I did that, I received a bunch of messages, I will write only non-redundant ones:
mdadm group disk not found (many times, over 20 or so) installation finished, no errors reported (4 times, I guess for my 4 hard drives)Found linux image vmlinux Found initrd image Next, I reboot, and absolutely nothing, not even a grub prompt!! So I tried the following:
1) grub-install /dev/sda1
2) Super grub disk
3) Ubuntu Server Installation CD in rescue mode trying, I get the infamous red error screen when trying to install grub
Nothing worked! My partitions are all there and I can see them and mount them from rescue CD, but I cannot boot to the system, My partitions layout:
One LVM sitting on two RAID-1 Drives Sitting on all four hard drives sda, sdb, sdc, sdd
One Root partition /dev/md2 in RAID-1 Drive sitting on two of the four drives (sda2 and sdb2) Four bios_grub partitions sda1, sdb1, sdc1 and sdd1 each ~1MB Two Swap partitions on two raid drives
I would give more detail but I think the problem is probably in the bootloader configuration because I can access all partitions including LVM and RAIDs from the rescue CD.
View 2 Replies
View Related
Jul 29, 2010
I have built a small test server. I am planing on using this machine a an email and web server to test out its hosting capacities. in the future I will build a larger and more well equipped version.
AMD Athlon x2 2.0ghz
2 160gb SATA drives (hardware raid 1, done through the Motherboard)
2 gb ram (dual channel)
Like I said small test server. I am trying to install 10.04 server edition. When I get to the point of partitioning it asks me to activate the raid so I do. I get through the guided partitioning and get ready to write the file system to the drives and the screen goes red and says that it has failed. On a side note, this works if i install it on the same drives without any raid configuration.
View 6 Replies
View Related
Sep 6, 2010
Based on the reading I've done over the past 48 hours I think I'm in serious trouble here with my RAID 5 array. I got another 1 TB drive and added to my other 3 to increase my space to 3 TB...no problem.
While the array was resyncing...it got to about 40%, I had a power failure. So I'm pretty sure it failed while it was growing the array...not the partition. Next time I booted mdadm didn't even detect the array. I fiddled around trying to get mdadm to recognize my array, but no luck.
I finally got desperate enough to just create the array again...I knew the settings of my and had seen some people have success with this method. When creating it, it asked me if I was sure because the disks appeared to belong to an array already, but I said yes. The problem is when I created it, it created a clean array and this is what I'm left with.
Code:
/dev/md0:
Version : 00.90
Creation Time : Sun Sep 5 20:01:08 2010
Raid Level : raid5
Array Size : 2930279808 (2794.53 GiB 3000.61 GB)
[Code]....
I tried looking for backup superblock locations using e2fsck and every other tool I could find, but nothing worked. I tried testdisk which says it found my partition on /dev/md0, so I let it create the partition. Now I have a /dev/md0p1, which won't let me mount it either. What's interesting is gparted reports /dev/md0p1 as the old partition size (1.82 TB)...the data has to still be there, right?
View 3 Replies
View Related
Nov 14, 2010
I have 2 Ubuntu machines up & running on a small network. Both are running SAMBA servers. One several years old & has a rather old version of Ubuntu. The other, quite new & has a version about 9 months old.The newest has a problem. When working with large & complex Word documents, it will periodically generate an an error on the work station.
"Word failed reading from this fille (xxx specifies file we are working on). Please restore the network connection or replace the floppy disk drive". The it crashes Word & unsaved work is lost.The error never occurs when using the old server, only the new.
View 1 Replies
View Related
Oct 6, 2010
I have set up a server box running Ubuntu 10.04 Server 64-bit with Squeezeboxserver, ftp, apache and all the things that I need.I am running it on a Asus P5Q pro with 9 harddrives attached.I have set up 6 1tb disks that run a raid6 array but I am wondering what would happen if the motherboard would fail me.Is it possible to just replace the motherboard with a newer one and would then the raid6 array still be intact?
I used to run a raid10 with the 6 disks on a Windows 7 machine with a software raid card but the card broke and I replaced it with a new one but the array could would not work so I had to forget all my data and this is what brought me to using a Ubuntu server as OS and running the raid array on the motherboard sata instead.Also, is it possible to make an exact copy of the boot drive/partition and easily replace that is the boot hard drive would go faulty? I have heard about the dd command and I feel it would be nice to know that I'm not totally screwed if the boot drive fails.
View 3 Replies
View Related
Jun 10, 2010
I am trying to setup HylaFax server on Ubuntu 10.04 Server with an external COM Rockwell modem, but no success yetEverything works fine except when I try to send fax. I get an error saying: Failure to train remote modem at 2400 bps or minimum speed.I have searched Hylafax mailing lists but no luck.Does anyone had the same problem? Any ideas to solve it?
View 1 Replies
View Related
Nov 13, 2010
Running Ubuntu headless server 9.10 with a RAID 1 on ext3. After a power failure (UPS power button was hit accidentally), I logged into the system via ssh and found that I had lost all data since my last reboot, which was 4 months ago. It was as if I had a perfect snapshot of my machine from 4 months ago. Everything, database files, logs, all report as if the machine had been off for 4 months. Fortunately, I have quality backups of all my data so I am able to recover, but I have never had such a problem before and I cannot figure out what happened.
View 4 Replies
View Related
Jan 14, 2009
I am unable ot mount a USB external drive on fedora 6, and automount hasn't worked since the last upgrade from 5.
View 1 Replies
View Related
Feb 5, 2010
I just installed the Ubuntu 9.10 and then installed Oracle 10 Express and all went fine. I can access oracle on 127.0.0.1:8080/apex address however when I try to access the server on it's external ip address (192.168.1.14) even when I'm on my Ubuntu machine it's failing. I'm new to Linux so I'm sure this should be silly and simple issue but I can't find a way around it. I need this so I can access the oracle server from outside world (other nodes on the network).
View 1 Replies
View Related
May 9, 2011
I need to trust a new Verisign Root cert, I have uploaded it to the /etc/ssl/certs store but I am still getting the Handshake failure error when WorldPay call back to my site..
Quote:
I believe I still need to create a sym link? So I followed this article but I get an error..
Quote:
I have also tried update-ca-certificates.
I'm using Ubuntu 8.04 LTS.
View 6 Replies
View Related
Jul 28, 2010
I am not able to connect samba server from other linux pc giving error: NT Authentication Failure
But am able to access through anonymous login from linux Same is working fine will all smb users through windows. I am using rhel 5.
View 3 Replies
View Related
Apr 28, 2011
I am new to to dovecot and would like some help, so please be kind.I have one user that can send mail but not read it either by pop3 or imap.I am running Dovecot 2.0.11 on Fedora 14.
View 2 Replies
View Related
Jun 30, 2010
I have 10.04 desktop basically running xbmc sabnzbd and as a file server. the loads aren't too large as it is just for my house. But i moved from a server install to the desktop because of sound issues and running xbmc at start was a bit of a pain... so bit of background done.
My problem is that after installing 10.04 i got the disk utility pop-up saying one of samsung spinpoint 1tb (HD103UJ) has a critical error... now i didn't panic (although in the next couple of months i am intending to get another drive) but in the meantime i am simply wondering if this is a false flag? i've been getting this error for over 6 months now... pretty much from the last time i formatted the disk, i wiped it and then used dd to copy over a smaller partition, after which i used gparted to grow the partition to the whole drive. could this have created a false flag?
The 184 error is the only one, here is all the data i can glean from my system, attached is a screen of the relevent info from the disk utility, and this it from smartctl:
Code:
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
View 3 Replies
View Related
Jan 3, 2009
I had a RAID1 'device' build on two physical partitions on two drives. One of the disk controllers died and software RAID did the job - now I am working on the degraded array.
Now I want to put the old disk (sdb) back, and I am not sure what will happen. Both disks have 'raid auto' partitions. And sdb file structure from before of the failure. The raid code will find inconsistency between both partitions. What will it decide? Will it start coping from the currently running system (sda) all the data to the old one (sdb) at the boot time, as I wish?
I don't want to it to write from the old one to the new one, as some months passed and lots of changes happened to the data.
View 1 Replies
View Related
Jan 13, 2011
Ive been at this for two days now, and cant make any progress.
First, the details:
Target OS:
Fedora 14, i386
Target Machine:
IBM (e)server, xSeries 306
OS: Fedora v.4
Boot Order:
1. CD...
2. Removable Media
3. SATA...
USB Drive:
adata 8GB
Process:
I used the prescribed live usb creator for windows to fill the usb drive with Fedora 14 i386. Ive attempted to boot from the USB at least 4 times, once from each USB port on the box. No luck. There isnt an option in the BIOS to select the specific boot device. I bring that up because my desktop does have that option, and using the BIOS BOOT MENU, I was able to boot from the USB and bring up the Fedora 14 Installation Menu, no problem.
So, it works on the pc thats on my desk (eMachine w/XP), but the IBM doesnt even recognize it.
View 3 Replies
View Related
Mar 14, 2010
I got a root user command prompt - what do I do next? Edit /etc/X11/xorg.conf? How?Do I need to boot up a live CD?
View 1 Replies
View Related
Sep 1, 2010
I know why this happened, but I need to know what problems it's going to cause and how I can re-install / fix the problem. I have my /tmp folder mounted as -noexec ... so when I did a recent update to my 10.04.1 LTS server installation, I got the following errors:
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-24-server
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-premount/lvm2: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-top/all_generic_ide: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-top/blacklist: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-top/udev: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/panic/console_setup: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-bottom/udev: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/local-premount/fixrtc: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/local-premount/ntfs_3g: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/local-premount/resume: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/nfs-top/udev: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/local-bottom/ntfs_3g: Permission denied
Press return to continue.
What should I do now? (besides, obviously, removing the -noexec flag from /tmp so this doesn't happen again!)
View 1 Replies
View Related
Jul 20, 2011
I'm having a problem at the moment (sometimes), tail -f cache.log
[Code].....
View 1 Replies
View Related
Sep 10, 2010
I'm attempting to get 10.04 to connect to an SBS 2003 pptp vpn server, but for the life of me have been unable to find or implement a working solution. System previously had 8.x and 9.x and had no difficulty connecting to same server, but on a fresh install of 10.04 cannot connect.
tail -f /var/log/syslog shows the following:
Code:
Sep 10 15:19:32 ubuntu NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Sep 10 15:19:32 ubuntu NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started
[Code]....
View 1 Replies
View Related
Apr 16, 2011
OS=FC14 x86_64
DM=Gnome
I've installed pure-ftp, and the firewall is open on port 21, the router has port forwarding.
I can connect to this machine, from my smart-phone and a laptop using its IP Address 77.xx.xx.xxx
I'm getting user OK but its not accepting my password or one I just made on another account
This is whats happening:-
What layer of extra security is stopping this working, as the guy attempting access is trying to send a file to big to attach to an e-mail.
View 1 Replies
View Related
May 22, 2009
I *had* a server with 6 SATA2 drives with CentOS 5.3 on it (I've upgraded over time from 5.1). I had set up (software) RAID1 on /boot for sda1 and sdb1 with sdc1, sdd1, sde1, and sdf1 as hot backups. I created LVM (over RAID5) for /, /var, and /home. I had a drive fail last year (sda).After a fashion, I was able to get it working again with sda removed. Since I had two hot spares on my RAID5/LVM deal, I never replaced sda. Of course, on reboot, what was sdb became sda, sdc became sdb, etc.So, recently, the new sdc died. The hot spare took over, and I was humming along. A week later (before I had a chance to replace the spares, another died (sdb).Now, I have 3 good drives, my array has degraded, but it's been running (until I just shut it down to tr y.
I now only have one replacement drive (it will take a week or two to get the others).I went to linux rescue from the CentOS 5.2 DVD and changed sda1 to a Linux (as opposed to Linux RAID) partition. I need to change my fstab to look for /dev/sda1 as boot, but I can't even mount sda1 as /boot. What do I need to do next? If I try to reboot without the disk, I get insmod: error inserting '/lib/raid456.ko': -1 File existsAlso, my md1 and md2 fail because there are not enough discs (it says 2/4 failed). I *believe* that this is because sda, sdb, sdc, sdd, and sde WERE the drives on the raid before, and I removed sdb and sdc, but now, I do not have sde (because I only have 4 drives) and sdd is the new drive. Do I need to label these drives and try again? Suggestions? (I suspect I should have done this BEFORE failure).Do I need to rebuild the RAIDs somehow? What about LVM?
View 6 Replies
View Related
Jun 19, 2011
Am unable to send mail from Outlook to my Postfix SMTP server.
Am getting the following in the /var/log/maillog.
Code:
Think I've pretty much followed the instructions correctly here.
[url]
Also, I looked for the PID of the smtpd and did a strace on it.
Code:
Code:
However, when I looked at the permission of this file, it should be accessible by everyone.
Code:
View 3 Replies
View Related
Jun 10, 2010
The following config works and creates a good VM in Xen:
Code:
# Kernel Setup
kernel = "/boot/vmlinuz-2.6.18.8-xenU"
# Memory
memory = "256"
# Disk
disk = [
"file:/opt/xen/domains/110/sda1.img,sda1,w",
"file:/opt/xen/domains/110/swap.img,sda2,w"
]
# container name
name = "110"
hostname = "boo"
# Networking
vif = ["type=ieomu, bridge=xenbr0"]
# VNC
vnc = 1
#vfb = [ 'type=vnc,vncdisplay=2,vnclisten=0.0.0.0,vncpasswd=110' ]
# Behavior Settings
root = "/dev/sda1"
extra = "fastboot"
But when I uncomment the VFB line, I get the following error after it hangs for at least 30 seconds:
Code:
[root@customer 110]# xm create boo.cfg
Using config file "./boo.cfg".
Error: Device 0 (vkbd) could not be connected. Hotplug scripts not working.
Part two of this question:
Sometimes it actually works, and a port is opened. When this happens, nmap shows the VNC ports open and I can connect via the VNC client, but it just hangs at "Connection established." and no VNC display shows up. I've tried multiple VNC clients (TightVNC, TightVNC Java Console, RealVNC), but they all fail to connect. Does VNC through Xen require X to be started in order to function? I was under the impression that it would show the console screen.
View 2 Replies
View Related
Sep 19, 2009
I had a power failure the other day and my server shutdown abruptly. After bringing the server up I noticed that the /var partition came up as read only. I was not able to edit the crontab, not able to write to files within /var/log/ and do other write operations within /var.
I did a mount and it showed that /var was mounted read and write but when trying to run certain operations the system was still saying that it was read only.
[Code]...
View 1 Replies
View Related
Jun 7, 2011
I have 4 WD10EARS drives running in a RAID 5 array using MDADM.Yesterday my OS Drive failed. I have replaced this and installed a fresh copy of Ubuntu 11.04 on it. then installed MDADM, and rebooted the machine, hoping that it would automatically rebuild the array.It hasnt, when i look at the array using Disk Utility, it says that the array is not running. If i try to start the array it says :Error assembling array: mdadm exited with exit code 1: mdadm: failed to RUN_ARRAY /dev/md0: Input/output error
mdadm: Not enough devices to start the array.I have tried MDADM --assemble --scan and it gives this output:mdadm: /dev/md0 assembled from 2 drives - not enough to start the array.I know that there are 4 drives present as they are all showing, but it is only using 2 of them.I also ran MDADM -- detail /dev.md0 which gave:
root@warren-P5K-E:~# mdadm --detail /dev/md0
/dev/md0:
Version : 0.90
[code]...
View 11 Replies
View Related