I am very new in server management thing. I want to make email accounts like [email protected].
I know something to do with Sendmail thing , but dunno what ?
I am on Ubuntu 10 server.
Hello all i've just migrated my desktop machine to Ubuntu 10.04. My problem is that i've just purged a package and can't install this package back. Because I can't see it in the aptitude or apt-get's package list. How can i fix this issue?
I currently have Ubuntu and I downloaded Windows 7 because I want change to that. But when I put the installation dvd in it starts up fine but when I start to install an error message comes:
Windows installation encountered an unexpected error. Verify that the installation sources are accessible, and restart the installation. Error code: 0x80000100
I would be thankful for any help
Hi everyone,
I run Ubuntu, and If i type the following in a terminal, I start a new instance of memcached, right?
# memcached -vv
How can I target the the current instance of memcached in terminal?
It would help me to see the very-verbose mode on my already running instance.
Thanks
My Ubuntu 8.10 crashed due to the overheating problem of the CPU. After reboot, under gnome, all the files cannot be removed, their properties cannot be viewed and they can only be opened, although all are still fine under terminal. I was wondering why is that and how can I fix it?
Thanks and regards
Hi everyone,
I'm still a bit of a freshie on Ubuntu and linux in general, so please bare with me.
I found this package that I would like to implement on my Ubunty SSH managed server: http://repcached.lab.klab.org/
Is that possible in any way, or does it requres a degree in some to-me-unknown compiling rocket science?
Thanks!
I installed ubuntu on a virtual box and I am running it on vista. I am trying to run a few programs which use pipes. There is some kind of installation problem for pipes.
How can I resolve this issue?
I don't know why but ubuntu 9.10 is not showing up one of the partitions in my portable hdd.
Only the 2nd partition is shown. And I can't find the 1st one.
What might be a solution to this?
my laptop, which i run ubuntu on, is getting a bit old and i find it's getting slower and slower at running applications. My desktop computer is stronger, but I can't give up on the portability of my laptop.
I was thinking of installing a HD drawer for both my laptop and desktop. and when I come home just pull the HD from the laptop and plug it into the desktop.
I wanted to ask if anyone have tried it or have any inputs on the idea
Im looking for wirless N cards that will work in Ubuntu, and has the cards firmware already uploaded. I have been looking for a while but I cant really find any good ones. (NO D-LINK)
As a learning experience I recently downloaded and set up Ubuntu 10.4 Server edition. When I logged in for the first time, all I saw was a terminal. I stared blankly at the screen, wondering what in the world do I do from here.
That's my question. How do I configure a server and maintain it from the terminal? Tutorials, books, guides, things like that would be the most useful. Thanks!
How can I verify if a ssh public key is successfully installed on a Ubuntu server?
I'm trying to unable continuos deployment and to do so I need to install the public key I got from codeship on the server.
I have copied the key I got on the server at ~/.ssh/authorized_keys/id_rsa.pub
and restarted ssh but I'm still not able to deploy my app so as first debugging step I'd like to make sure the public key is properly installed on the server.
Thanks.
When Ubuntu 10.04 boots, it loads, appears to be fine, then transitions to a blank screen. Pressing a key will bring it back, however, it then reverts to my old wallpaper and password protected login protocol. Anyone else have problems? Thanks.
I have just installed ubuntu server 10.04. For few days it was going ok. But now it reboots randomly once 1-3 hours.
I have installed these packadges:
lamp, gammu-smsd, gnome-core, tightvncserver
The server is Intel SR1625URSASR
Which log files I should provide?
On Monday I've upgraded to from Ubuntu 11.04 (my initial installation) to 11.10 and now I can't build gcc from source anymore. Since I forgot to uninstall the gcc package before the upgrade, Ubuntu replaced my 4.7.0 compiler with it's stable 4.6.1. So I tried to build the SVN sources again, but it fails. I've most recently tried it with SVN revision 180193.
After some time, the build fails with the following message:
/home/raphael/devel/gcc/build/./gcc/xgcc -B/home/raphael/devel/gcc/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -g -O2 -O2 -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/bid -I../libdecnumber -I../../src/gcc/../libgcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -I. -I. -I../.././gcc -I../../../src/libgcc -I../../../src/libgcc/. -I../../../src/libgcc/../gcc -I../../../src/libgcc/../include -I../../../src/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _ashldi3.o -MT _ashldi3.o -MD -MP -MF _ashldi3.dep -DL_ashldi3 -c ../../../src/libgcc/../gcc/libgcc2.c \
-fvisibility=hidden -DHIDE_EXPORTS
In file included from /usr/include/stdio.h:28:0,
from ../../../src/libgcc/../gcc/tsystem.h:88,
from ../../../src/libgcc/../gcc/libgcc2.c:29:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: File or directory not found.
I've cofigured it with:
~/devel/gcc/build$ ../src/configure --prefix=/usr --enable-languages=c++
And make it with:
~/devel/gcc/build$ make -j4
Just to be sure, I did a rm -rf * in the build directory in case there's some broken stuff inside. Didn't help, though.
That's the backstory. I tried to fix it and searched for the bits/predefs.h. It's inside /usr/include/i386-linux-gnu. I temporarily fixed the problem by doing
~/devel/gcc/build$ C_INCLUDE_PATH=/usr/include/i386-linux-gnu make -j4
Which is only temporary because now gcc complains that it can't find crti.o.
Which i can find in /usr/lib/i386-linux-gnu. Now i could also set C_LIBRARY_PATH - actually it doesn't work - but I feel like I'm fighting the system here. Also, even if it succeeds, my newly built compiler would also not know about the i386-linux-gnu stuff. So I would have to set C_LIBRARY_PATH and C_INCLUDE_PATH before every build of every project I have. I could add it to my .bashrc but that subverts the system even more.
So, how do I tell the build process:
That there are additional include/lib directories, and
That it should build a gcc which respects them too?
Edit: I forgot to include the command which causes the above error message. Also I can think of another solution: Copy the stuff from /usr/include/i386-linux-gnu to /usr/include (same thing for /usr/lib/i386-linux-gnu to /usr/lib). But that doesn't feel right, either. Finally, the system's gcc 4.6.1 can compile other applications just fine, except mine, which use C++11 features not present in the 4.6 series.
there!
After trying to upgrade from Ubuntu 10.04 to 11, the upgrading process stopped when running and then I got an "out of disk, grub rescue" message when booting.
After running Boot Repair, I got this results.
Now I get "Missing Operating System" whent trying to boot.
Bellow I show some results from some commands I gather from help foruns, but I still reached no solution.
Could you please help me? Any enlightment will be very helpful!
Disk Utility says "Disk has a few bad sectors". When trying to run
the Self-test I get "FAILED (Read)"
Here we have what Gparted says about the /dev/sda1 partition (ext4):
Flags: boot
Status: not mounted
Warning:
e2label: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1Couldn`t find valid filesystem superblockUnable to read the contents of this filesystem!
From sudo fdisk -lI got:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000e0596
Device Boot Start End Blocks Id System/dev/sda1 * 2048 607428607 303713280 83 Linux/dev/sda2 607430654 625141759 8855553 5 Extended/dev/sda5 607430656 625141759 8855552 82 Linux swap / SolarisDisk /dev/sdb: 320.1 GB, 320072933376 bytes255 heads, 63
sectors/track, 38913 cylinders, total 625142448 sectorsUnits =
sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512
bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c3c41
Device Boot Start End Blocks Id System /dev/sdb1
* 63 625137344 312568641 c W95 FAT32 (LBA) "
and fromsudo fdisk /dev/sda1I got
fdisk: unable to read
/dev/sda1: Inappropriate ioctl for device`
From sudo mount /dev/sda1 /mntI got:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
From sudo update-grubI got:
error: cannot read from `/dev/sda'.
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
I'm running a 64-bit install of Xubuntu 12.04. It took me a little while to get Google Earth working. The 64-bit Google earth package requires some 32-bit gtk libraries provided by ia32-libs. However, when I ran a simulation to install ia32-libs and it's dependencies, it wanted to remove a ton of programs, including the xubuntu-desktop meta-package. As a work-around, I used getlibs to get the 32-bit libraries I needed, and then installed Google Earth with the deb package and the --ignore-depend option to dpkg. Awesome, Google Earth is installed and is working great!
Now, however, Update Manager keeps complaining about a "Partial Upgrade", and apt-get won't let me install any new applications. It wants me to do a fix-broken install, but when I do a simulation of apt-get -f install I get some very bad news, they want to uninstall the Google Earth I just worked so hard to install!
$> apt-get -f -s install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
googleearth
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Remv googleearth [6.0.3.2197+0.7.0-1]
TL;DR The --ignore-depends passed to dpkg is not propagating to apt-get, so now I can't install any new applications until I uninstall Google Earth, because of it's missing dependencies (even though it works fine without them). How can I fix this?
I upgraded ubuntu, but the upgrade broke firefox, adobe flash plugin and corrupted the package database. I ran the suggested catalog repair, no change. I ran apt-get -f install, no change. I ran apt purge packageName, no change. How can I resolve this circular dependency?
Here are some details:
installArchives() failed: dpkg: dependency problems prevent configuration of adobe-flashplugin:
firefox (12.0+build1-0ubuntu0.12.04.1) breaks adobe-flashplugin (<= 11.1.102.63-0precise1) and is installed.
Version of adobe-flashplugin to be configured is 10.0.32.18-1intrepid1.
dpkg: error processing adobe-flashplugin (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of adobe-flash-properties-gtk:
adobe-flash-properties-gtk depends on adobe-flashplugin (= 11.2.202.235-0precise1); however:
Version of adobe-flashplugin on system is 10.0.32.18-1intrepid1.
dpkg: error processing adobe-flash-properties-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
adobe-flashplugin
adobe-flash-properties-gtk
Error in function:
dpkg: dependency problems prevent configuration of adobe-flash-properties-gtk:
adobe-flash-properties-gtk depends on adobe-flashplugin (= 11.2.202.235-0precise1); however:
Version of adobe-flashplugin on system is 10.0.32.18-1intrepid1.
dpkg: error processing adobe-flash-properties-gtk (--configure):
dependency problems - leaving unconfigured
I imagine this is a basic gotcha ... but I can't see it.
I have a system with 2(physical) harddrives.
The boot system (/dev/sda) was running 10.04 & the second drive (/dev/sdb) was just a mounted filesystem.
I did a clean load of Ubuntu 12.04 overwriting /dev/sda (not an upgrade) & now cannot mount the second drive.
so I do not know what to enter it into the fstab ...
I had expected to use:
/dev/sdb /tera ext4 defaults 0 2
But even manual mounting fails
(I also have tried various "-t" options on the off chance!)
sudo mount -t ext4 /dev/sdb1 /tera
mount: wrong fs type, bad option,
bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Output from disk queries indicate that it is a Linux LVM & a healthy disk still.
sudo lshw -C disk
*-disk:0
description: ATA Disk
product: WDC WD5000AACS-0
vendor: Western Digital
physical id: 0
bus info: scsi@2:0.0.0
logical name: /dev/sda
version: 01.0
serial: WD-WCASU1401098
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=00015a55
*-disk:1
description: ATA Disk
product: WDC WD10EADS-00L
vendor: Western Digital
physical id: 1
bus info: scsi@3:0.0.0
logical name: /dev/sdb
version: 01.0
serial: WD-WCAU47836304
size: 931GiB (1TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5
sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500106780160 bytes 255 heads, 63
sectors/track, 60801 cylinders, total 976771055 sectors Units =
sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512
bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00015a55
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 972580863 486289408 83 Linux
/dev/sda2 972582910 976769023 2093057 5 Extended
/dev/sda5 972582912 976769023 2093056 82 Linux swap /
Solaris
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63
sectors/track, 121601 cylinders, total 1953525168 sectors Units =
sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512
bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 1953525167 976762583+ 8e Linux LVM
LVM doesn't appear to be an option for mount or fstab.
... and here's a Smart data Screenshot from Disk Utility.
I did upgrade virtualbox from 4.1 to 4.2
wheneverver I want to load my win xp vdi, it gives me the following error:
"Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary."
I ran the suggested step to reinstall the kernel module, and the log file files is as follow:
Makefile:181: * Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
Makefile:181: * Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
Makefile:181: * Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
I still unable to re-run my win virtual XP vdi file.
anyone have a clue?
I think that my system is staying at an older kernel version. It seems to update when I run dist-upgrade but the current kernel version doesn't change. Is it possible the system is set to install new kernel updates but only load an older version at start up?
$ uname -a
Linux HTPC 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:32:50 UTC 2012 i686 athlon i386 GNU/Linux
$ dpkg --list | grep linux-image
ii linux-image-3.2.0-32-generic 3.2.0-32.51 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-32-generic-pae 3.2.0-32.51 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-32-virtual 3.2.0-32.51 Linux kernel image for version 3.2.0 on 32 bit x86 Virtual Guests
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'
linux-headers-3.2.0-36
linux-headers-3.2.0-36-generic-pae
linux-headers-3.2.0-37
linux-headers-3.2.0-37-generic-pae
linux-headers-3.2.0-38
linux-headers-3.2.0-38-generic-pae
linux-headers-3.2.0-39
linux-headers-3.2.0-39-generic-pae
linux-headers-3.2.0-40
linux-headers-3.2.0-40-generic-pae
linux-headers-3.2.0-41
linux-headers-3.2.0-41-generic-pae
linux-headers-3.2.0-43
linux-headers-3.2.0-43-generic-pae
linux-headers-3.2.0-44
linux-headers-3.2.0-44-generic-pae
linux-headers-3.2.0-45
linux-headers-3.2.0-45-generic-pae
linux-headers-3.2.0-48
linux-headers-3.2.0-48-generic-pae
After I upgraded to Ubuntu 12.10 from 12.04, there was low graphics and no Unity. Just the mouse and the wallpaper.
So, I got into the terminal via Ctrl+Alt+T, launched Chrome and searched for a solution. As a result, I tried this:
sudo sh amd-driver-installer-12.6-legacy-x86.x86_64.run
It did not work. Then I tried this:
sudo add-apt-repository ppa:makson96/fglrx
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fglrx-legacy
It did not work too. I removed the repository, got back the the xorg version to 1.13, and tried this:
sudo sh /usr/share/ati/fglrx-uninstall.sh
sudo apt-get remove --purge fglrx fglRx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx
sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon sudo apt-get install xserver-xorg-video-ati
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
It did return the screen resolution back, but still no Unity.
Is there something what could I do?
My graphics card is:
lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV620 [Mobility Radeon HD 3400 Series]