/srv/irclogs.ubuntu.com/2010/05/09/#ubuntu-server.txt

* penguin42 wonders if theres a way to get kvm/libvirt to reload its networking settings00:20
uvirtbotNew bug: #516040 in ubuntu-release-notes "dovecot sieve plugin renamed from cmusieve to sieve" [Undecided,Fix released] https://launchpad.net/bugs/51604000:26
dominicdinadaIf i do iptables-save where does it save the file to ?01:18
ziesemer_dominicdinada:  Per the man page, nowhere - but to stdout.01:32
dominicdinadais that a file that contains the firewall then to import elsewhere01:33
ziesemer_Try "man iptables-save".  It mentions using IO redirection, as well as iptables-restore.01:34
ziesemer_So by default, it seems that every user account has a same-named group created, of which is the primary group for each user.  Should I do the same if using LDAP?  What would an advantage be over just using a generic "users" group?01:36
dominicdinadaHmm i still am not able to export it to bring it into firewall builder01:45
ziesemer_What is "firewall builder"?01:45
ziesemer_Maybe you just want "iptables -L >someFile" ?01:46
dominicdinadagot it i think :P01:46
dominicdinadaexcept it is a empty file :(01:47
ziesemer_sudo ?01:48
dominicdinadayes01:49
dominicdinadai take that back01:49
dominicdinadahttp://www.fwbuilder.org is the proggy btw01:51
ziesemer_I just setup LDAP for authentication, and ran "auth-client-config -t nss -p lac_ldap".  Why is pam_groupdn not working in /etc/ldap.conf ?02:34
=== zorzar_ is now known as zorzar
chewbrancaanyone have any thoughts on ubuntu server 10.04? I'm going to setup UEC tonight and I'm wondering if 10.04 is a good way to go, or if I should go with 9.10?03:07
chewbranca10.04 on the desktop has not been very pleasant so far, for me and most everyone I know who has upgraded to it03:08
owen1does it make sense to use MinimalCD as a server? or should i just use the server and remove stuff i don't need? where can i see list of packages for each one?03:16
KurtKrautowen1, I don't think you'll find a list of packages installed by default. Only very small Linux distributions (like tinycore, puppy linux and damn small linux) bother to create such list03:17
owen1KurtKraut: but ubuntu has minimalCD as well. i am curious to know if it's used for servers?03:19
KurtKrautowen1, the minimal CD is minimal for Ubuntu but not a minimal Linux distribution.03:19
KurtKrautowen1, it is not like Damn Small Linux that provides you a full featured system in a 50mb ISO.03:20
FrankLeeHi. I'm looking to set up a solid home server base, that is also capable of running desktops/xserver on top. Basically want a server and desktop in one. Any one keen to share some ideas?03:20
owen1KurtKraut: ok. after i install minimalCD, i can't install ssh server and login to my new machine?03:21
owen1FrankLee: i am doing the same.03:21
FrankLeeahh that's handy03:21
owen1FrankLee: i am debating between ubuntu server+x or minimalCD+x03:21
KurtKrautowen1, if you install and configure openssh-server later, yes.03:22
FrankLeeyes I was wondering the same. btw how do i direct a comment towards someone? not a big irc user.03:22
owen1FrankLee: what client do u use03:22
owen1try irssi. it's the best03:22
FrankLeequassel03:22
owen1i just start the nick of someone, and hit tab03:23
owen1and that the message03:23
FrankLeeowen1: ah huh, very cool, cheers03:23
KurtKrautFrankLee, IRC clients tend to have autocompletion just like bash.03:23
FrankLeeKurtKraut: thank-you03:23
showmeurOfaceok03:23
ziesemer_What else could be caching authentication info?  I had configured LDAP, and I shutdown the only LDAP server.  A login for a user that exists only in LDAP is still working.  I don't have nscd installed.  Even rebooting the client host doesn't help - login still works.03:24
KurtKrautowen1, Have you seen the Ubuntu JeOS images? JeOS stands for 'just enough OS'. I think it is the minimium you can get with Ubuntu03:24
owen1KurtKraut: so if i really want lean machine (server or desktop) i should start with MinimalCD?03:24
owen1KurtKraut: let me google03:24
KurtKrautowen1, why are you so worried to get a minimum set up? Are you planing to install in a pendrive or in a small storage device?03:25
owen1http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos03:25
owen1KurtKraut: no, but that's a good idea. i just don't need all kind of stuff, like apache. i want nginx for example.03:26
KurtKrautowen1, the regular Ubuntu Sever install doesn't install Apache by default.03:26
owen1KurtKraut: interesting. so maybe i can stick to server then03:29
KurtKrautowen1, yes.03:30
showmeurOfacestupid question but whats a good windows front end to build iptables firewalls ?03:31
KurtKrautshowmeurOface, I wouldn't rely in any.03:33
showmeurOfaceHmmm I was under the understanding iptables was ez :/03:36
showmeurOfacemaybe I should rephrase the question because firewall builder is awesome... but you gotta pay for it...03:37
FrankLeeKurtKraut: So if I set up a ubuntu-server, what is the best way to ensure that remains running whilst being able to change between xservers?03:38
showmeurOface!ufw03:39
ubottuUbuntu, like any other Linux distribution, has firewall capabilities built-in. The firewall is managed using the 'ufw' command (see https://help.ubuntu.com/community/UFW), or 'iptables' (https://help.ubuntu.com/community/IptablesHowTo). GUI frontends such as Firestarter/Gufw (Gnome) or Guarddog (KDE) also exist.03:39
KurtKrautFrankLee, sorry, I don't understand your question.03:39
FrankLeeKurtKraut: ie. If ubuntu freezes or something now. I end up needing to reboot the whole system to restore the xserver.03:39
FrankLeeKurtKraut: So how to I kill x without killing the server side of things?03:40
KurtKrautFrankLee, press CTRL+F1 or access the server remotely by SSH and them run sudo gdm-restart03:40
FrankLeeKurtKraut: ok, do you think running a solid server and a desktop on the same machine is visible?03:42
KurtKrautFrankLee, what kind of use you expect it as a server and what use as a desktop?03:42
FrankLeeKurtKraut: At the moment I'm running freenas on an old box, that is pretty much flawless. But I feel that because my desktop is on 4-8hours a day anyway, why not combine the two.03:43
KurtKrautFrankLee, if it is for personal use, why do you describe it as 'solid', like something that you could not expect it to fail?03:44
FrankLeeKurtKraut: Well I guess I just mean reliable. The main point is that shared folders, torrents etc don't go down because xserver has died etc.03:46
KurtKrautFrankLee, I think you won't find problems, but I suggest you to use a regular ubuntu desktop install for the job03:46
FrankLeeKurtKraut: In that case, can I run nfs shared directories and torrents outside of ubuntu xserver/desktop?03:48
KurtKrautFrankLee, the easiest approach would be just using sshfs or mounting the folders via SSH in Gnome in the other LAN computers03:49
FrankLeeAlright, I think what I'm getting is that a std ubuntu install will provide me with all I need because those needs are fairly basic. Yes?03:50
KurtKrautFrankLee, no. Because the desktop usage will require more packages that isn't bundled with the server install.03:55
KurtKrautFrankLee, I mean: it is easier to turn a regular desktop Ubuntu install into a server than the opposite direction03:55
FrankLeeKurtKraut: Ah ok, I think that's what I meant but was not clear. My fault.03:56
resnois it possible to run a scsi server off sata or ide?03:56
FrankLeeKurtKraut: Thanks for your time.04:00
bogeyd6FrankLee, wat04:21
bogeyd6xserver on my ubuntu servers?!?!?04:23
Pirate_Huntercan someone tell me where I can get info on the pam modules as I have just read the man for pam and pam.d and no reference is made of the actual modules?04:32
bogeyd6FrankLee, if you are trying to run xserver you should be in #ubuntu asking your questions05:04
bogeyd6resno, iscsi?05:04
yabooinstalled ubuntu server 10.4 and the screen does not show or the sync is to high for my lcd05:07
yabooduring bootup, can i get top the grub screen05:08
ziesemer_yaboo: Hold down shift during boot?05:08
yabooziesemer_, thanks05:09
yabooziesemer_, thanks that works, what are the commands to make it just vga, and 60hz05:12
yabooor do i use recovery mode05:12
bogeyd6resno, im leaving but you should look at openfiler if you are interested in running an iscsi server05:12
ziesemer_yaboo:  You're loading a GUI, that you're having the video issues?05:13
ziesemer_If so, try just using Ctrl+Alt+F1 to go to a text console.05:14
yabooziesemer_, get to get, then boot and lose video synvc05:14
yabootried that no go, its just default from a fresh install05:15
ziesemer_Are you running server or desktop?05:16
yabooserver05:17
yaboocannot even install ssh to remote in05:17
yabooclean fresh install, when booting lcd loses sync05:17
ziesemer_Not sure why you would be loosing sync for a text only console...05:19
dominicdinadayaboo:  Did you get it samba working correctly ?05:25
dominicdinadahttp://www,fwbuilder.org05:25
dominicdinadawww.fwbuilder.org05:25
yaboodominicdinada, no, does not work, seriously thinking going back to 9.1, that works05:27
yabooziesemer_, vbe mode is 10105:27
dominicdinadaeh :(05:27
yaboonow that 10 does not give me console, cannot even log into the box05:28
dominicdinadasigh05:28
dominicdinadayaboo: stop breakin stuff :)05:30
yaboodominicdinada, then ubuntu should work, not me it ubuntu, badly built05:30
uvirtbotNew bug: #577681 in lm-sensors (universe) "sensor applet does not fully support 9300 nvidia igp (zotac 9300-itx)" [Undecided,New] https://launchpad.net/bugs/57768105:31
yaboonever had issues with debian, but spents weeks configuring debian05:31
owen1i cancel capslock with xmodmap command. i want it to apply on boot so i put it in .xinitrc  it's not working on boot. what am i doing wrong?05:33
yaboodominicdinada, ziesemer_ used another monitor it wored, but went to 1920x1600 res, does it auto detect console05:43
yabooopenssh-server is not on the cd, but need to get it off the net05:44
dominicdinadacorrect05:44
dominicdinadanot sure about the monitor it should auto detect05:44
yabooshows ubuntu is not ready for prime time05:45
dominicdinadaheh05:47
bogeyd6LAWL05:47
bogeyd6yaboo, o rly?05:47
dominicdinadawhat did you set to  wake the cron up at prime time :O05:47
yaboobogeyd6, if it does to me, imagine how much of a idiot i would be at work05:48
bogeyd6ignorance is the only enemy of ubuntu05:48
dominicdinadathere actual were commands before about waking up cron at tea time, Prime time.......05:49
yaboobogeyd6, its not ignorance its that it just does not work05:49
bogeyd6yaboo, so you installed ubuntu server and the console would not load on the monitor?05:50
yabooyes bogeyd605:51
bogeyd6but all of the install worked just fine05:51
bogeyd6rebooted and all the sudden no monitor?05:51
yaboobogeyd6, yes05:51
uvirtbotNew bug: #577683 in tomcat6 (main) "tomcat6 directory structure broken" [Undecided,New] https://launchpad.net/bugs/57768305:51
bogeyd6yaboo, are you absolutely sure you were not trying to run the desktop05:52
yaboobogeyd6, yes, been running server for the last two months05:53
ziesemer_What are you seeing now with the new monitor when you login?  Just a plain-text terminal?05:53
bogeyd6i didnt even know tha was possible05:53
bogeyd6all monitors accept default vga input05:54
yaboobogeyd6, yes05:54
grantbowbogeyd6: I think I can find an exception in my closet05:54
bogeyd6i guess if the HW is old enough it might not work as expected05:55
ziesemer_yaboo:  Can you confirm that you are now seeing only a plain-text terminal?05:55
bogeyd6i one time had a problem with a kvm network switch not showing the monitor, turned out to be a bad cable05:56
uvirtbotNew bug: #577686 in backuppc (main) "package backuppc 3.1.0-9ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/57768605:56
yabooziesemer_, absolutely05:56
bogeyd6ziesemer_, :P05:56
ziesemer_I guess it may be too high of a mode?05:56
yabooziesemer_, one assumes so05:56
bogeyd6yaboo, you should be in #ubuntu asking for support05:56
ziesemer_Which I'm guessing can be manually specified on the grub command line - though I don't recall what it is exactly.05:56
bogeyd6we dont support xserver/gnome/kde/etc05:56
yaboobogeyd6, thought it was a server issue05:56
yaboobogeyd6, only use the commandline05:57
grantbowcan you ssh after rebooting?05:58
yaboograntbow yes once i configured ppoe and installed openssh-server05:58
grantbowyou said above you couldn't log in, now you can?06:03
yabooyes via ssh once i alsp changed the lcd monitor on the box06:03
yaboook server working, now to fix samba06:04
=== jldugger is now known as pwnguin
yabooanyone using samba under 1006:34
jpdsyaboo: Children using Samba?06:35
uvirtbotNew bug: #577693 in squid (main) "squid restart fails" [Undecided,New] https://launchpad.net/bugs/57769306:36
sporediwhich is simple  mail server comes with ubuntu 10 server06:37
=== \shade\ is now known as fn
=== fn is now known as \shade\
=== yaboo_ is now known as yaboo
claudiousshello07:34
claudiousscan anybody help me??07:34
claudioussi just installed Ubuntu Server 10.04, but i have a problem07:35
blue-frogif you don't say the problem you might wait forever the answer07:39
ziesemer_!ask07:40
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)07:40
quentusrexAnyone know about the apport bug: Error connecting to Launchpad: 'NoneType' object has no attribute 'makefile'07:41
claudioussok, i'm sorry07:41
quentusrexapport is unable to connect to launchpad, and I can't seem to get more debug output than that.07:41
jpdsquentusrex: Try #launchpad.07:47
claudioussi just installed ubuntu server 10.04, with a RAID 1 config, following this instructions: https://help.ubuntu.com/10.04/serverguide/C/advanced-installation.html - tthe installation completed successfully, but when the computer restarts, MOUNTING errors appear and it says "No init found. Try passing init=bootarg.  BusyBox v1.13.307:47
blue-frogwow first line I read about the raid description and horrified am I. "reducing ... data loss" almost saying backup is no use when you have raid.07:49
jpdsblue-frog: Are you reading RAID0's description?07:50
blue-frogthe link you gave us yes07:51
claudioussRAID 1... mirror disk07:51
blue-frogclaudiouss, don't know. need to install one with 10.04. might be a bug. might be something went wrong. try again once.07:54
claudiousswhat if i try with a old version of Ubuntu Server... maybe 9.04, if it works, can i update after and get someting like 10.04??07:55
yaboothink 10.04 is buggy08:08
claudioussyaboo, So what version do you recommend?08:09
yaboo9.04, everything worked for me, upgradec to 10.04 and nothing works08:10
yaboosquid, samba08:10
claudiouss64bits?08:11
yaboo32bits08:11
claudioussmy computer is an Intel Core i308:11
claudioussshould i use 64bits right?08:12
yabooclaudiouss: do not know08:12
claudioussok.. i'll try ubuntu server 9.0408:13
yaboogoing to downgrade now08:13
claudioussthanks yaboo08:13
jpdsclaudiouss: I would use 10.04 as it's an LTS release.08:15
* jpds reads scrollback.08:15
blue-frogclaudiouss, do you really need raid?08:16
claudioussthat's what i installed08:16
claudiousshmmm, there ir other method to auto backup de disk into another disk??08:17
claudiousshmmm, there ir another method to auto backup the disk into another disk??08:17
blue-frogclaudiouss, well raid is definitely not a backup solution08:17
claudioussis not??08:18
blue-frognot08:18
blue-froghas nothing to do wiht backup08:18
blue-frogunfortunately the server guide page is misleading08:18
claudioussbut, RAID 1?08:19
blue-froghttp://en.wikipedia.org/wiki/RAID08:20
claudiouss"RAID 1 mirrors the contents of the disks" that's what i need08:21
claudioussin case of failure of one08:21
blue-frogah good one one that page. search for RAID is not data backup on that link08:25
yabooclaudiouss: go 9 10 is faulty08:47
yaboodoes ufw block traffic outside the machine09:00
yabooother than ufw how does one setup iptables in ubuntu09:12
lingmMy computer is connected online via eth0. I want other devices to be able to connect to it via wireless and use it's connection to go online. How do I do this? (or is this the wrong channel to ask in?)09:18
Ellementupon installation of ubuntu server 10.04 is get the following "starting system log daemon: syslogd, klogd" it then hangs. any work arounds?09:20
Tweeda_media wiki depends on mysql server... context switch much?09:22
yabooneed to take back afew bad things i sad about server 1009:30
dominicdinadayaboo: what did you mess up and then fix10:10
yaboodominicdinada: seem ufw is the culprit switch off ufw and samba works10:20
dominicdinadawell i told you just add an exception last night for it10:21
dominicdinadalol10:21
yabootried that did zero10:21
dominicdinadahmmm its not accepting the changes?10:21
dominicdinadacheck out this program it might help10:22
yaboowent back to my custom iptables scrit it works10:22
dominicdinadahttp://www.fwbuilder.org10:22
dominicdinadacan i check your script out ? trying to get a general idea for mine10:22
yaboonope gui, avoid on the server10:22
yabooyeah sure10:22
dominicdinadayou can make then then import them i believe10:23
yaboohttp://paste.ubuntu.com/430474/10:24
dominicdinadaok thanks10:24
=== JanC_ is now known as JanC
sporedican you please tell me which is simple mail server comes with ubuntu  ,for soho office11:09
Tweeda_sporedi, I think postfix is the default these days.  mail isn't simple tho11:10
sporediok11:11
sporediTweeda_: do u have any idea on postfix ,do u use it .....11:18
Tweeda_sporedi, I know enough to get myself into trouble.11:19
sporedican i trouble u some more ,to help me11:20
Tweeda_sporedi, just ask.  somebody may know11:23
sporediok11:23
_TrulloI have 3 fans, red/blue/black wire, the blue one is for the rpm.. can I attach only the blue on to the motherboard?12:06
penguin42where were you going to connect the red and black12:19
_Trullodirectly to the psu12:19
_TrulloI don't think the motherboard can power the 120x120x38 highspeed fan12:20
_Trulloand I got more of them12:20
penguin42I think that should be OK12:20
_Trullodo you think I can connect 3 fans to the same motherboard pin?12:21
penguin42doubt it12:21
_Trulloyeah I have no idea really..12:22
penguin42you don't have to connect the rpm pin at all - but you won't be able to tell if it fails12:23
_Trullothe fan is really noisy now so i need to lower the rpm12:25
_Trulloand I thought I should connect 3 fans to the same motherboard pin12:26
_Trullothe power is all from the psu anyway..12:26
penguin42oh that won't work - get yourself a fan speed controller12:38
_Trulloyeah, I guess that's the only option13:15
uvirtbotNew bug: #577852 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/57785215:36
slacksterhi, I get a message "Your CPU appears to be lacking expected security protections."15:52
slackster/usr/lib/update-notifier/check-bios-nx --verbose <- command not found15:53
slackstersomething I should worry about?15:53
slacksterhttp://pastebin.com/mdX1cwUn  cat /proc/cpuinfo15:56
halvorsSomone know how to fix the dovecot musieve bug? https://bugs.launchpad.net/ubuntu-release-notes/+bug/51604016:12
uvirtbotLaunchpad bug 516040 in ubuntu-release-notes "dovecot sieve plugin renamed from cmusieve to sieve" [Undecided,Fix released]16:12
halvors???16:19
handheldCaru triggered a helpful bot16:20
jo-erlendcjwatson, I just tried to install a kvm guest with lucid server and then desktop using alternate. I added some raid devices and even though the install seems fine, it's not able to boot it. I only get "error: no such disk." and then a grub resque prompt.17:10
jo-erlendcjwatson, I've been reading some bug reports on lp, which is why I'm telling you. I though these bugs were supposed to have been fixed? Is it just for virtio-disks, perhaps, that it still doesn't work?17:11
cjwatsonjo-erlend: I tested with virtio not that long ago and it seemed ok17:11
cjwatsonjo-erlend: I'd need you to extract /var/log/installer/syslog and /var/log/installer/partman from that installation and attach them to a bug, I guess17:11
cjwatsonat least for starters17:11
cjwatson"reading some bug reports on lp" - probably best not to, it'll only be confusing :)17:12
jo-erlendindeed :)17:12
jo-erlendbut I'll extract those files immediately.17:12
cjwatsonso I did have to patch grub2 a bit to get raid-on-virtio to work17:13
cjwatsonmaybe that fell out by mistake due to a subsequent patch, or something17:13
cjwatsonit's not impossible as that was all very delicate17:13
SmaakageHi,17:13
cjwatsonbasically what I need is a clear reproduction recipe so that I can go and repeat your procedure17:14
SmaakageCan somebody help me with install mysql server.. Can't get it working after updating to 10.0417:14
jo-erlendcjwatson, if I were on something other than a 3g connection, I could've uploaded the entire vm or at least given you access to it. :)17:15
jo-erlendbut if all you need are those files, then you'll have them shortly.17:15
cjwatsonthose files and a step-by-step description of what you did17:15
cjwatsonsince it's kvm I assume it's repeatable17:16
cjwatsonthe log files are basically just in case there's something obvious in them, and also so that I have a machine-readable description of your partitioning layout17:16
Smaakageno body there can help me with my buged mysql-server install?17:17
SmaakageI used apt-get install mysql-server17:17
Smaakagethen it got stuck with:17:17
SmaakageSetting up mysql-server-5.1 (5.1.41-3ubuntu12) ...17:17
SmaakageHave ben stuck in 10 minuts now.17:18
ikoniawhat's up ?17:18
SmaakageAnd it frosend..17:18
ikoniahave you killed it and attempted to re-install it ?17:19
SmaakageYes, and i also tryed to apt-get -p remove mysql-server but when i type mysql then it says that it could't connect to the mysql..17:20
SmaakageIs there any way where i can delete all files mysql are using and then install it again?17:21
Smaakageit stops with:17:23
SmaakageSetting up mysql-server-core-5.1 (5.1.41-3ubuntu12) ...17:23
SmaakageSetting up mysql-server-5.1 (5.1.41-3ubuntu12) ...17:23
Smaakageand when i see the prosecc tree it stops with:17:23
Smaakagestart mysql17:23
Smaakagethen i killed it:17:24
SmaakageSetting up mysql-server (5.1.41-3ubuntu12) ...17:24
SmaakageProcessing triggers for libc-bin ...17:24
Smaakageldconfig deferred processing now taking place17:24
jo-erlendcjwatson, http://pastebin.com/wMFNcdk617:24
cjwatsonjo-erlend: please file a bug about it, I'll lose it if you just put it on IRC I'm afraid17:25
cjwatsonjo-erlend: use the debian-installer source package in Ubuntu17:25
Smaakagestart mysql17:25
Smaakagestart: Job is already running: mysql17:25
Smaakagemysql17:26
SmaakageERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)17:26
jo-erlendcjwatson, oh, ok. :)17:26
ikoniaSmaakage: look if that socket file is there and if mysql is actually running17:27
Smaakagethere is no files in /var/run/mysqld/17:27
SmaakageAnd i can't see the mysql server online in webmin17:28
JanCugh, webmin17:28
jo-erlendcjwatson, what package should I attach the bug to?17:28
jo-erlendheh, sorry... :)17:29
jo-erlendI just read your message above.17:29
Smaakageany?17:29
AdamDVSmaakage: Try sudo apt-get remove mysql-server mysql --purge && sudo apt-get install mysql mysql-server17:30
uvirtbotNew bug: #491955 in libssh (main) "remote crash via ssh kills local machine" [Undecided,Invalid] https://launchpad.net/bugs/49195517:31
Smaakagedeon.17:32
Smaakagedone*17:32
Smaakageservice mysql start17:32
Smaakagestart: Job is already running: mysql17:32
Smaakagethen i:17:32
Smaakageservice mysql stop17:33
Smaakageand now it is stuck again.17:33
ikoniaSmaakage: webmin ??? that won't work with ubuntu's current config style17:33
ikoniaSmaakage: check if mysql is actually running with ps17:34
ikoniaSmaakage: also look for a run file17:34
Smaakageps?17:34
AdamDVps -A17:34
AdamDVTry ps -A | grep mysql17:34
AdamDVAlso,17:34
* AdamDV hisses at webmin17:34
AdamDVbrb, reboot17:35
Smaakage1288 ?        00:00:00 pure-ftpd-mysql17:35
SmaakageOnly that one there is showed17:35
ikoniaSmaakage: ok - so it's not running, so it must be a run file17:36
Smaakageok, what can i do then?17:37
ikoniafind the run file and remove the wrong pid from it17:39
Smaakagehow?17:39
ikonialook in the init script for where it stores the pid file (/var/run I think) and remove it17:39
halvorsSomone know how to fix the dovecot musieve bug? https://bugs.launchpad.net/ubuntu-release-notes/+bug/51604017:42
uvirtbotLaunchpad bug 516040 in ubuntu-release-notes "dovecot sieve plugin renamed from cmusieve to sieve" [Undecided,Fix released]17:42
Smaakagei can't find it ikonia17:42
jo-erlendcjwatson, it seems that my internet connection is too slow to file bugs on launchpad. I keep getting timeouts.17:42
jo-erlendcjwatson, can I send you an email instead?17:42
cjwatsonjo-erlend: you can e-mail me, cjwatson@ubuntu.com17:42
jo-erlendgreat. Thanks.17:43
SmaakagePID=$17:44
ikoniaSmaakage: where in the init script does it say the pid file is kept17:45
JanC/var/run/mysqld/mysqld.sock is the default, not sure if webmin does weird things with the config though  ;)17:50
JanCSmaakage: normally you can find it in /etc/mysql/my.cnf but check out whether webmin doesn't use its own config file instead17:51
znuff-mobileHi17:52
znuff-mobileI'm stuck installing ubuntu 10.4 on server17:52
znuff-mobileThe partitioner doesn't want to mount and format ext417:53
znuff-mobileI'm using hardware raid17:53
znuff-mobileOnly thing that works is ext2, but that fails at the mount step: (17:54
halvorsHow can i fix the bug?17:55
halvorsSomone know how to fix the dovecot musieve bug? https://bugs.launchpad.net/ubuntu-release-notes/+bug/51604017:55
uvirtbotLaunchpad bug 516040 in ubuntu-release-notes "dovecot sieve plugin renamed from cmusieve to sieve" [Undecided,Fix released]17:55
jo-erlendcjwatson, you have mail. Please let me know if there is anything more you need.17:56
JanChalvors: it's explained in the bug report how to fix that?17:57
JanCas well as in the release notes: https://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Dovecot%20cmusieve%20plugin%20renamed%20to%20sieve17:57
halvorsbut i can find the file17:57
halvorsi have not the17:58
halvorsmail_plugins = sieve17:58
halvorsin my dovecot.conf17:58
halvorsso with command should i run?17:58
JanCdid you read https://bugs.launchpad.net/ubuntu-release-notes/+bug/516040/comments/6 ?17:59
uvirtbotLaunchpad bug 516040 in ubuntu-release-notes "dovecot sieve plugin renamed from cmusieve to sieve" [Undecided,Fix released]17:59
halvorsI got it, thanks ;)18:08
Smaakagethere is no file in /etc/mysql/18:12
Smaakageany?18:15
mcasSmaakage: i have my.cnf and conf.d folder in there18:17
mcashi txwikinger :-)18:17
txwikingerhi mcas18:18
SmaakageI do not..18:22
Smaakagehow do i make a total reinstall of all files mysql are using?18:23
mcashave you tried to reinstall mysql-server?18:23
Smaakagei have done apt-get remove -purge mysql-server18:24
Smaakagemany times..18:24
SmaakageDo not help.18:24
mcashave you make an apt-get update before reinstall?18:24
Smaakageyes18:25
mcasyou could try to remove the mysql-server package from /var/cache/apt/archives18:25
mcasthis should let you download the package from the server18:26
SmaakageIt did. But diden't help.18:26
mcasSmaakage: which ubuntu version?18:28
mrlemaoI would like to have ubuntu+all my development tool in a memory stick: plug that guy on any computer and use it as it were yours without touching the host HD/etc. Is there a Ubuntu distribution that can help me with that?18:28
Smaakagethe news. 10.0418:29
Smaakagenew*18:29
mcasmrlemao: you could use a vmware player on usb stick18:29
SmaakageI updated from: 8.10 to 9.04 to 9.10 and then 10.0418:30
SmaakageAnd mysql worked on 9.1018:30
Smaakagebut when i updated to 10.04 it diden't work.18:30
Smaakage:s¨18:33
Smaakagenobody?18:33
mcasSmaakage: sorry i am running out of ideas18:34
Smaakageok :/18:35
ikoniaSmaakage: find the pid file, that's key18:35
ikoniaSmaakage: stop using webmin - that's also the key18:35
SmaakageI have another servere where i updated from 9.10 to 10.04 and the mysql server works fine on that. There is also webmin on..18:36
ikoniawebmin is not the problem (probably) however it will cause you problems as it's not supported by ubuntu, has a tone of security issues, and compatible with a lot of ubuntu's config files layouts18:37
SmaakageOk, what if i uninstall it then?18:38
ikoniaI don't think that will resolve your issue18:38
ikoniayour current issue is that the init script thinks the pid file exists and has a valid pid in it, you need to remove that file or the contents of that file18:39
SmaakageHow do i find the name of the pid file?18:39
ikoniaSmaakage: it should be referenced in the init file, or in the my.cnf file18:40
SmaakageI deleted the my.cnf file :s18:40
ikoniain the init script sorry - or the my.cnf file18:40
ikoniaSmaakage: why did you delete that ?18:40
SmaakageDon't know :s18:40
ikoniathat's simpley stupid18:40
ikoniamore so if it's for no reason18:40
ikoniasearch the file system for mysql.run (as I recall it's called that)18:41
mcasSmaakage: i think i have not read everything about your problem ;-)18:41
Smaakageconf.d  debian.cnf18:42
ikoniaerrr no18:42
SmaakageThat all the files in /etc/mysql# ls18:42
Smaakagewhereis mysql.run18:43
Smaakagemysql: /usr/bin/mysql /etc/mysql /usr/lib/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz18:43
mcasSmaakage: find / -name mysql.run18:43
Smaakageroot@localhost:~# find / -name mysql.run18:46
Smaakageroot@localhost:~#18:46
SmaakageNo output18:46
Smaakage:s18:47
pmatulisSmaakage: please study this bug, you might be affected by it18:49
pmatulishttps://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/56673618:49
uvirtbotLaunchpad bug 566736 in mysql-dfsg-5.1 "mysqld does not start reliably..." [Low,Won't fix]18:49
SmaakageDo not help me :s18:56
Smaakagedos*18:56
SmaakageHow can i backup the databases then?18:58
Smaakage?18:59
pmatulisSmaakage: did you run the init script manually?18:59
Smaakageby /etc/init.d/mysql ?19:00
pmatulisSmaakage: or upstart, whatevery mysql uses in lucid19:00
JanCit uses upstart19:00
Smaakageupstart?19:00
pmatulisSmaakage: yeah19:01
JanCand I won't be surprised if webmin doesn't work well with it  ;)19:01
SmaakageI have removed webmin19:01
SmaakageRemoving mysql-server ...19:02
SmaakageRemoving mysql-server-5.1 ...19:02
Smaakagestop: Unknown instance:19:02
SmaakageRemoving mysql-server-core-5.1 ...19:02
SmaakageProcessing triggers for man-db ...19:02
SmaakageProcessing triggers for ureadahead ...19:02
pmatulisSmaakage: you're removing mysql now?19:03
Smaakageyes19:03
SmaakageAnd when i try to install again it get stuck at19:03
SmaakageSetting up mysql-server-5.1 (5.1.41-3ubuntu12) ...19:03
JanCoh, and your databases are in /var/lib/mysql/ in case you need them19:04
SmaakageYes, but when i try to restore them on another server it, it says there are no tables in there.19:05
pmatulisSmaakage: do you have a backup of your data?19:06
SmaakageYes i have a backup of alle the files in /var/lib/mysql/19:08
Smaakageall*19:08
chewbrancahey I'm getting: "ubuntu4_amd64.deb was corrupt" while installing UEC, any ideas?19:10
chewbrancathis is on 10.04 btw19:11
Smaakage:s no ideers?19:13
pmatulisSmaakage: one option is to start fresh then19:13
Smaakagestart: Job failed to start19:13
SmaakageSetting up mysql-server (5.1.41-3ubuntu12) ...19:13
SmaakageProcessing triggers for libc-bin ...19:13
Smaakageldconfig deferred processing now taking place19:13
Smaakagestart fresh?19:13
pmatulisSmaakage: you said it hung on 'Setting up...', now you have different output19:15
SmaakageNo..19:16
chewbrancalame19:16
chewbrancadefinitely corrupt19:16
chewbrancatrying to download again19:16
SmaakageSetting up mysql-server-core-5.1 (5.1.41-3ubuntu12) ...19:16
SmaakageSetting up mysql-server-5.1 (5.1.41-3ubuntu12) ...19:17
Smaakagestart: Job failed to start19:17
SmaakageSetting up mysql-server (5.1.41-3ubuntu12) ...19:17
SmaakageProcessing triggers for libc-bin ...19:17
Smaakageldconfig deferred processing now taking place19:17
pmatulischewbranca: you need to clean out your package cache19:17
SmaakageI have tryed that ones?19:17
chewbrancapmatulis, package cache?19:17
pmatulischewbranca: 'apt-get clean'19:17
chewbrancapmatulis, I was installing this fresh in a new virtual box vm19:17
chewbrancawould my local package cache on the host os mess with that19:18
pmatulischewbranca: but you have a corrupt package apparantly19:18
chewbrancapmatulis, this is just from the 10.04 iso, just running through the base install process, hit this during 'install base system'19:18
pmatulischewbranca: ah19:19
SmaakageHow do i restare the files from /var/lib/mysql/ on another ubuntu 10.04 server?19:19
chewbrancaI just redownloaded the image, giving that a try, otherwise going back to 9.10 because that works on here19:19
Smaakagerestore*19:19
pmatulischewbranca: alright, make sure to verify the checksum19:21
SmaakageHow do i restore the files from /var/lib/mysql/ on another ubuntu 10.04 server?19:22
chewbrancapmatulis, that would be a good idea, don't even see a checksum on http://www.ubuntu.com/getubuntu/download-server19:22
chewbrancaoh well, just did the test-integrity option on the new iso and it checks out19:23
chewbrancaso should be good to go19:23
chewbrancathere we go19:24
chewbrancabase system is chugging along19:25
Smaakage#1017 - Can't find file: './wiihosting_gcp/billing.frm' (errno: 13)19:25
Smaakagebut the file is there? :s19:25
raphaHi all!19:26
raphaHow do you upgrade Ubuntu Server 9.10 to 10.04?19:26
RoyKdo-release-upgrade19:26
raphathanks RoyK ! :)19:26
RoyKor you can do it the redhat way - purchace a CD and reinstall19:28
raphawell i only have remote access to them19:29
raphathe hoster doesnt install anything else but 9.1019:29
RoyKit was meant to be a joke :)19:29
raphainteresting ... started the upgrade on 3 identical servers at the same time, but they progress at different speeds19:29
raphaoh now i get it sry RoyK :)19:29
SmaakageHow do i remove mysql-server total?19:30
RoyKwouldn't it be better to just upgrade one first to see if it works out?19:30
RoyKapt-get remove --purge?19:30
raphaRoyK: if it doesnt i'll just hit the "reinstall" button in the web interface *shrug*19:31
raphait's a fresh minimal install though, so why wouldn't it work19:31
RoyKit probably will19:34
Smaakagestart mysql19:35
Smaakagestart: Job failed to start19:35
RoyKapt-get remove --purge19:35
RoyKalso, check the logs19:35
raphaRoyK: it says /etc/sysctl.conf was modified ... keep, replace?19:37
RoyKif you haven't changed anything yourself, just replace19:38
SmaakageDiden't work at all RoyK19:38
RoyKsame with all files19:38
raphak thx19:38
RoyKSmaakage: pastebin errors19:38
SmaakageI have send the link in PM19:41
SmaakageCan you see it?19:43
RoyKno, you didn't. just give the pastebin link here19:44
Smaakagehttp://pastebin.com/YtqHY2F419:44
slacksterhi, I get a message "Your CPU appears to be lacking expected security protections."19:45
slacksterI ran  -> /usr/lib/update-notifier/check-bios-nx --verbose <- command not found19:46
slacksteranyone have any ideas?19:46
slacksterhttp://pastebin.com/mdX1cwUn  cat /proc/cpuinfo19:46
penguin42slackster: I'm not sure where that was supposed to come from - it's not in the apt-file list for lucid19:46
slacksterpenguin42: I see..19:47
penguin42oh I lie, it's part of cpu-checker19:47
raphahmmm i have 4 servers to run a rails app (will need about 5 x 10 thins) ... one of them is already fully set up, also with lighttpd and mysql. i wonder if it would make sense to have the three others run *only* the thins and be served the requests by proxying from the first one and access the mysql database of the first one as well19:47
penguin42rapha: I'd make sure you can cope with a failure of the one running mysql19:48
SmaakageCan you see it RoyK?19:48
raphapenguin42: it has a pretty redundant setup and is known to be very reliable, whereas the other three are brand new (i'll only have them during the World Championship 2010, for about 3 months from now on)19:49
=== gabriel__ is now known as vluu
raphapenguin42: they're all interconnected with 100 MBit - i could maybe get GBit networking between them but not sure about that19:50
RoyKSmaakage: why install mysql-server* ?19:50
RoyKyou probably just need the base install19:50
RoyKnot all the other crap19:50
SmaakageI can start the server manualy?19:50
Smaakagesudo -u mysql mysqld19:50
SmaakageBut not with start mysql19:51
penguin42rapha: I don't know about setting up something of that size, sounds like a fun little project :-)19:51
RoyK/etc/init.d/mysql-server19:51
RoyKstart19:51
raphapenguin42: yeah, every World or European Championship again ... 2006, 2008, and now for 2010 in South Africa19:54
halvorsI have a problem, aliases does no0t work on my email server20:17
halvorswhen i send email to an emailadrss who should resend it to a other email i get the error20:18
halvorshttp://paste.ubuntu.com/430717/20:18
halvors???20:19
halvorsNo ideas?20:22
mcasyour server cannot relay mails for your domain20:22
halvorshow can i fix it20:24
halvorsshould i remove relayhost=20:24
halvorsparamenter in postfix main.cf20:24
halvors??20:24
raphacool20:25
raphaset all three of the new servers up and made cool Huey, Dewy and Louie ASCII art /etc/motd's20:25
halvors?20:25
rapha:-)))20:26
halvorsI mean about my problem20:28
guntberthalvors: is your mail server publicly reachable?20:29
halvorsyes20:30
halvorsi think so20:30
halvorswho port need to be forwerded?20:31
halvorsalso all email ports20:31
halvorsshould it relayhost = or noting to send direcly?20:31
halvors?20:32
halvors?20:33
guntberthalvors: as I already suggested: please take it off the internet immediately  -- play with it /read docu in a private environment until you know what you are doing -- only then connect it to the internet again20:33
halvorswho docs should i read?20:33
halvorswhen i take it off internet, i cant test it20:34
halvorsonly ask: should it relayhost = or noting to send direcly?20:34
guntberthalvors: you do have an internal network, don't you? if not you probably don't need a mail server anyway, you can start reading https://help.ubuntu.com/10.04/serverguide/C/email-services.html  -- smtp servers are problematic beasts to handle  -- open mail relays can get you into a lot of trouble20:37
halvorsshould postfix have chroot?20:40
raphawhat the heck?!?! where do the rubygems from the repository but the installed gems' binaries to?!20:42
federico_Hi, I've installed mysql server in a ubuntu server, but I can't access it from a pc of the LAN. I've changed the bind-address = 0.0.0.0 in /etc/mysql/my.cnf, but still doesn't work.20:53
federico_Hi, I've installed mysql server in a ubuntu server, but I can't access it from a pc of the LAN. I've changed the bind-address = 0.0.0.0 in /etc/mysql/my.cnf, but still doesn't work.20:55
bcfederico_: `telnet localhost 3306` to see if it's listening.21:08
bcfederico_: also `sudo iptables -L -n` and make sure you aren't dropping connections.21:09
federico_I'll try21:10
federico_<bc>: telnet works21:14
federico_<bc>and iptables says ACCEPT in everywhere21:14
bcfederico_: try it targeting eth0 instead of lo21:14
bcfederico_: try it from another machine also (telnet) and make sure you do not get 'x.x.x.x isn't allowed to access this mysql server'. if you do, then you need to grant access in the mysql database.21:16
raphaf***! wife kept stressing me, accidentally rm -rf'd /usr/bin/*21:21
raphai got a backup ... anybody know of a good way of how to restore them without local access?21:23
rapha(still logged in via ssh)21:23
federico_bc: Trying 192.168.2.140...21:24
federico_telnet: Unable to connect to remote host: Connection refused21:24
federico_that's my problem21:24
bcfederico_: two computers on the same network? anything in between you and 192.168.2.140? if you telnet to 3306 on 192.168.2.140 from 192.168.2.140 does it work?21:27
leniosfederico_, does "netstat -nat | grep LISTEN" shows it's listening from any source address?21:27
federico_bc: the telnet doesn't work21:28
federico_I did21:28
federico_telnet 192.168.2.140 330621:28
federico_and didn't work21:29
bcfederico_: check the IP address in ifconfig eth0 | grep inet21:29
federico_<bc>: for what?21:31
bcfederico_: well it should say 192.168.2.140. If it doesn't then...21:32
federico_bc: the telnet works from 192.168.2.140 to 192.168.2.14021:33
dominicdinada\21:33
bcfederico_: and iptables is accepting all? what other devices are between 192.168.2.140 and the other LAN clients?21:33
federico_UEC21:35
bcfederico_: also make sure you've granted access to the remote IP. http://dev.mysql.com/doc/refman/5.0/en/connection-access.html21:35
bcfederico_: although I don't think you should be seeing 'connection refused' if it's listening on 0.0.0.021:37
federico_how can I turn down the firewall(iptables)?21:41
bcfederico_: if `sudo iptables -L` says 'policy ACCEPT' for them all, and no reject or drop rules, then you have no active firewall.21:42
federico_check this output21:46
federico_http://paste.ubuntu.com/430744/21:46
dominicdinadabc: what is a good site with iptables for download like preconfigured so i can take a look ?21:46
bcfederico_: just do this and then test the connection: sudo iptables -F21:47
federico_there is no output21:47
dominicdinadasudo iptables-save21:47
dominicdinadacheck that output21:48
bcfederico_: right, now look at sudo iptables -L21:48
bcdominicdinada: https://help.ubuntu.com/community/IptablesHowTo21:48
dominicdinadasave is printed so he can better read it21:48
dominicdinadabc yeah thats the howto but i am looking for real world working examples from networks21:48
federico_http://paste.ubuntu.com/430745/21:49
federico_it's empty now21:49
bcdominicdinada: I don't know of one. Maybe google for iptables gateway21:49
dominicdinadaok21:49
bcfederico_: good, now test the telnet to 3306, and if it doesn't work, then iptables isn't the problem21:50
federico_from what pc?21:50
bcfederico_: any pc on the same network21:50
federico_federico@ubuntuCloud:~$ telnet 192.168.2.140 330621:50
federico_Trying 192.168.2.140...21:50
federico_telnet: Unable to connect to remote host: Connection refused21:50
raphawoah21:51
raphagot it running again21:51
raphaall hail sftp21:51
bcfederico_: did you restart mysql after changing bind address?21:51
federico_yes, but I'll do it again21:51
bcfederico_: I'm at a loss then. if it's listening on all interfaces, and iptables isn't blocking the connection, then something else between you two are blocking the connection.21:52
raphabye all!21:53
federico_I'm testing this on UEC, the mysql is running in an UEC instance21:53
RoyKdoes anyone use telnet login these days?21:53
federico_no21:53
RoyKwe have some crappy solaris 8 machines with it21:54
bcfederico_: are you able to acces any other services remotely? like port 80?21:54
RoyKtoo old to support decent openssh21:54
bcfederico_: I'm assuming direct port 22 access is working from another local IP address21:54
federico_yes21:55
federico_I'm using ssh fien21:55
federico_fine21:55
bcfederico_: I'm completely clueless about any cloud access problems though. on the lan here, if I bind to 0.0.0.0, flush iptables, and then telnet to the server from a local IP, I get a response from mysql.21:56
federico_u.u21:56
bcfederico_: check the mysql log to see if there are any errors, like problems with writing somewhere22:03
bcfederico_: outside of that, I'm out of ideas22:03
federico_bc: thanks for all, I think it's the UEC, because I did the same steps and it works in another pc22:04
bcfederico_: I googled a bit, and some people seem to have had problems with other services. one problem was permissions on /tmp, and there was some other problems with eucalyptus, but, again, I have no idea what I'm talking about when it comes to UEC.22:05
RoyKmysql normally doesn't listen to anything but localhost iirc22:07
bcRoyK: he changed bind address22:08
RoyKcheck netstat -ln --tcp22:08
RoyKok22:08
RoyKand removed skip-networking in the cf?22:09

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!