On my computer yesterday I installed 12.04 and applied all updates. I have installed lamp on this system using following command sudo apt-get install lamp-server^ phpmyadmin
. I created a new user from phpmyadmin and given that user all the global privileges, but I am not able to login using that new user, I have also restarted the mysql service, reload the privileges, but still its not working. It used to work fine in Ubuntu 10.04.
hsinxh's questions
I keep getting this warning whenever I try to run sudo apt-get update
.
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Below is the output from /etc/apt/sources.list
file:
deb http://archive.ubuntu.com/ubuntu precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb http://archive.ubuntu.com/ubuntu precise universe
deb-src http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu precise-updates universe
deb http://archive.ubuntu.com/ubuntu precise multiverse
deb-src http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb-src http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse
How do I fix it?
I am trying to install mailscanner
using apt-get install mailscanner
and I got the following error
Setting up spamassassin (3.3.1-1) ...
Starting SpamAssassin Mail Filter Daemon: child process [21344] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 2588.
invoke-rc.d: initscript spamassassin, action "start" failed.
dpkg: error processing spamassassin (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of mailscanner:
mailscanner depends on spamassassin (>= 3.1); however:
Package spamassassin is not configured yet.
dpkg: error processing mailscanner (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
spamassassin
mailscanner
E: Sub-process /usr/bin/dpkg returned an error code (1)
and when I tried to install spamassassin
I got the following error :
Setting up spamassassin (3.3.1-1) ...
Starting SpamAssassin Mail Filter Daemon: child process [21389] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 2588.
invoke-rc.d: initscript spamassassin, action "start" failed.
dpkg: error processing spamassassin (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of mailscanner:
mailscanner depends on spamassassin (>= 3.1); however:
Package spamassassin is not configured yet.
dpkg: error processing mailscanner (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
spamassassin
mailscanner
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am using Ubuntu Server 10.04
I am running ubuntu 11.10 32bit. I have separate /
and /home
partitions. I want to go back to Ubuntu 10.04. How can I do this without losing my /home
partition. Basically I want to save my preferences and all the settings I have saved, my emails accounts and other stuff. I have also setup github and bitbucket setup in this /home partition.
I was trying to setup spam filtering on Ubuntu server with postfix and dovecot already running. I issued the following command
sudo postconf -e 'content_filter = smtp-amavis:[127.0.0.1]:10024'
Now I want to know how can I undo this command ?
I tried to dual boot Ubuntu and fedora, but now I am unable to boot into my Ubuntu installation. Here is the situation
I had Ubuntu installed already on /dev/sda2
and I resized it to create another partition /dev/sda3
. I installed fedora 15 on /dev/sda3
. Now I can boot into fedora but there in to option to go into Ubuntu. Swap partition is on /dev/sda1
.
Swap /dev/sda1
Ubuntu /dev/sda2
Fedora /dev/sda3
I am trying to setup a proxy server but I am unable to do it. Here is the details of my setup
I have one Server(IBM X3800 series) and one Desktop PC. Server is having to network card connected to it. eth0 and eth1. eth0 is connected to WAN via global IP of 202 series and internet is working fine on server, I can connect to internet. eth1 is connected to switch and below is config in eth1
IP: 192.168.2.2
Netmask: 255.255.255.0
Gateway: 192.168.2.1
Network: 192.1968.2.0
Broadcast: 192.168.2.255
I have simply installed the squid proxy using apt-get install squid
. I have changed the file
/etc/squid/squid.conf
and added the below details
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl lan src 192.168.2.0/24
http_access allow lan
and finally added these iptable rules
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to globalip:3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
where globalip is the IP of eth0.
Now the desktop PC is connected to server via switch and the ip configuration for Desktop pc is this
IP: 192.168.2.4
Netmaskapt-get install squid: 255.255.255.0
Gateway: 192.168.2.1
Network: 192.1968.2.0
Broadcast: 192.168.2.255
I can easily ping from desktop to server and from server to desktop. But my desktop system cannot access the internet. So I guess that the problem is with the squid. Please help me to solve this issue. If you need any other information then please let me know.
Thanks
Firefox 5 has been released today, so I want to know when Firefox 5 will be in the official Natty repositories. I don't want to upgrade using a PPA.
I am using 11.04 64bit on Dell Inspiron N5010. I have this strange problem, if I leave my laptop suspended for more than 20 minutes(approx.) then it does not resume.
It works fine if I resume within or less than 20 minutes. I have 4GB ram and 8GB swap space, my system have ATI 5000 series graphics card and and I am using proprietary drivers installed via jockey.
I see the following messages on booting. My system works fine. I have disabled the plymouth theme and I am using text boot only
udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:10 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:12 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:14 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:17 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:19 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:21 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:23 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:26 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:28 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:30 ^M udevd[343]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/80-canon_mfp.rules:32
I upgraded to 11.04 on the day for its release and I am unable to hibernate my laptop, When I click on Hibernate, the screen just goes blank and cursor starts blinking in the top left corner and nothing happens. . It used to work fine till 10.10. Suspend/Resume works fine though. I am using 11.04 64bit on Dell Inspiron N5010 it have ATI graphics card and I am using propriety drivers for it installed via jockey. Thanks
The clock in the notification area disappeared after I removed Ubuntuone from my system and I cant figure out how to get it back. Thanks
I am using evolution mail client from my gmail account. Whenever a mail arrives in INBOX I get notification but if the mail arrives in some other folder then I don't receive notification. How can I receive notification for all my folder, even junk folder too.
I am using Ubuntu 11.04
I have upgraded to Ubuntu 11.04. I used to have lock-keys-applet on the panel but since now I am using unity I see no way to get it back except that I use Ubuntu-classic. Somebody please tell me how can I get my lock-keys-applet back in Ubuntu 11.04 without using Ubuntu-classic.
P.S: Please excuse my bad English, I am learning.
I just installed kubuntu-desktop, everything seems to be working fine and I am enjoying KDE. But the cursor is not the default KDE one, its the same old GNOME cursor. How can I solve this issue.
I just upgraded to Chromium 12 using daily build ppa. But Chromium is still showing older icon on the gnome panel and appication menu. But it shows new icon if I create shortcut on the desktop and it shows new icon about window of chromium. I tried to remove it completely and re-installed but no use. I even deleted the .cache folder from my home directory.
When I open synaptic via launcher on gnome-panel, it opens and asks me for the password but if I enter the password, it says its wrong even though the password is correct and it used to work OK few days ago. If I open synaptic via terminal using sudo synaptic
then it opens OK without any problem.
Is there any lock-keys-applet alternative to kubuntu. I just want some indication whenever I use caps lock or num lock key. I am using dell inspiron n5010 laptop and it does not have inbuilt indicator. Thanks
I am having problem hibernating and suspending my Dell Laptop while virtualbox is running( XP Guest). I have tried default kernel method, uswsusp and tuxonice and none of them works. But if I close virtualbox, then hibernation and suspend works fine. Following are system specs. OS : Ubuntu 10.10 64bit (completey updated) Ram : 4GB Swap : 8 GB Root : 500 GB (of which, about 79% is free)
My laptop model is Dell Inspiron N5010. It has ATI HD 5000 series graphic chipset and I am used proprietary Drivers for it, installed via jockey.
Thanks.
On my dell laptop I have to use tuxonice to get hibernation and suspend work because default kernel and uswsusp is not working for me. tuxonice is working good. But I want to know that what are disadvantages of custom patched kernel. Am I going to get the updates ? What if where Natty will be released, is it going to break my whole system ?