/srv/irclogs.ubuntu.com/2009/05/15/#ubuntu-server.txt

humahow about updating server guide url in the topic?00:19
wizardslovakhow to change hostname?00:33
jeiworthwizardslovak: /etc/hostname and /etc/hosts00:34
wizardslovakisnt there command for changing hostname?00:34
wizardslovaki changed hostname in /etc/hostname and is still old when i type hostname -f00:36
humais php in 9.04 suhosin patched?00:36
jmedinawizardslovak: use hostname command00:37
jmedinahostname newhostname00:37
wizardslovakcan i change it to mail.domain.com?00:37
jmedinawizardslovak: if you update /etc/hostname you need to run /etc/init.d/hostname.sh00:47
wizardslovakok i kinda dont get it00:49
wizardslovakin my domain name register site i created MX record 0 on server1.domain.com and it worked00:50
wizardslovakwhen i changed server1.domain.com to ip of my server i got error00:50
wizardslovak"Forward Address is not RFC compliant."00:51
wizardslovakdo i need to run dns server ??00:51
wizardslovakor i have to "register" my server  somewhere in order to  run mail server for my web site?00:52
Azodonis there a way to change system host name after install?01:32
pmatulisAzodon: yes01:41
Azodonpmatulis : is there an easy menu? i also remember one time opening a menu and having the choice to install LAMP and other things01:42
Azodonbut can remeber01:42
Wiseguyhey guys has anyone got a wireless card with a broadcom 4306 chip working before? im having some strange issues01:43
pmatulisAzodon: don't know about a menu, just edit /etc/hostname (and maybe /etc/hosts) and reboot01:44
Azodonhostname "newname"01:44
pmatulishuh?01:45
Azodonthats the command01:45
Azodonhostname "new host name"01:45
Azodonchanged it instant01:46
pmatulisyou think that's going to help you?01:46
ssd7Azodon: that will not be a permanent change though.01:46
Azodonno? damn01:46
Azodonok i will edit files01:46
Azodonthank you01:47
Azodonpmatulis : tasksel was what i was thinking of02:00
Azodonfor the record i had to edit /etc/hostname then run script /etc/init.d/hostname.sh02:01
Azodonthanks again for the right direction02:01
Wiseguyhey guys if i need to run about 4 commands during startup, but i need it at the end of the startup process, where is the best place to add these commands?02:22
sommerWiseguy: /etc/rc.local02:34
slideI installed ubuntu server about a week or 2 ago and i was able to SSH in fine before. I just tried to SSH in and its asking me for a password AND an authentication response which i have no idea what its supposed to be02:52
slidenever mind im an idiot02:56
omegamormegilGreetings!  I'm thinking of trying my hand at setting up my first mailserver using the dovecot-postfix package in Jaunty.  I don't see any documentation on the new Jaunty stuff in the Ubuntu Community Documentation.  Is there a HowTo doc somewhere addressing the new mail server stuff in Jaunty?04:48
ballIs there some way to ask Ubuntu Server what sound hardware is present?04:49
p_quarlesball: lspci might show it; lshw (install it via apt-get) will be more likely to give you readable results04:50
wizardslovaki think my logging system doesnt work04:53
wizardslovak"nano mail.info" shows empty04:53
ballIt doesn't look as though Linux recognises the sound hardware.04:54
ballhello Deevz04:54
ballbrb, kid's coughing04:55
Deevzhello ball04:55
ballhello pace_t_zulu04:57
pace_t_zuluhell ball04:58
pace_t_zuluhello04:58
pace_t_zuluhello ball04:58
pace_t_zulu3rd time's a charm04:58
ScottKwizardslovak: What packages do you have installed that you expect to write in that logfile?04:59
ballCrap, that's two machines where I can't use sound.04:59
ballI'm not batting too well.05:00
wizardslovakScottK: well postfix05:01
ScottKwizardslovak: OK.  That writes in that file here, so that's a good start.05:02
ScottKwizardslovak: How about mail.info.0 ?05:02
wizardslovakok i see some stuff05:03
ballOkay, this thing supposedly has a Crystal Semiconductor CS423605:05
ballCan Ubuntu Server use that?05:05
ScottKball: I have a suggestion for you on how to do this ...05:06
ScottK1.  Install a desktop system on the machine and see if sound works.05:07
ScottK2.  Switch to the server kernel (leaving the desktop installed).05:07
ScottK3.  See if sound still works.05:07
ballIt's not practical for me to install a desktop on that machine05:08
ScottKNot even for testing?05:08
ballIt only has 256 Mbytes RAM and 6.5 Gbytes disk space.05:08
ball(all of which is dedicated to Ubuntu Server)05:08
ScottKXubuntu will run on that.05:08
ScottKYou could add xubuntu-desktop to your existing server and see if sound works in it05:09
ballYou think the server kernel just doesn't include sound support?05:09
ScottKSound in  server is not a common request so short of trying it, I think you're unlikely to get a good answer.05:10
ScottKI suspect it does, but you lack some configuration magic.05:10
ballI could try Xubuntu on that, but I'll have to wait until I'm in a position to move its contents elsewhere.05:11
ballOh well.05:15
ballI have one machine where sound works and another where video works.05:15
ScottKXubuntu doesn't take a huge amount of space.  You could upgrade the existing install, not reinstall.05:15
ScottKIt'd just be sudo apt-get install xubuntu-desktop.05:16
ballScottK: that may interfere with the job it's already doing.  I'm not sure I can take that risk this month.05:16
ScottKAh.  I understand that.05:16
ScottKJust offering a potential path forward since I doubt you'll get a lot of help here (due to it's an unusual request).05:17
ballI suppose I should shut down the machine I'm sitting at and install a sound card in that.05:17
ScottKwizardslovak: So how long ago is the last entry in mail.info.0?05:17
ScottKPostfix may not have had anything to say since then.05:17
wizardslovakmay 13 7am05:18
ballOh well, back in about half an hour.05:21
ScottKwizardslovak: I'd take a look at what's in there and see if it's looks likely anything is actually missing.05:22
angelleyeI've got Ubuntu 9 installed in a VM.  Last night I did a clean install of lamp and made some basic configuration changes.  Everything was running great and then I suddenly started getting an error when I tried to restart apache:05:23
angelleye(13) Permission Denied: make_sock: Could not bind to address 0.0.0.0:80.05:23
wizardslovaksecond week i am trying to get postfix running and cant05:23
angelleyeI rebooted a few times, I even restored the VM back to clean install and re-installed lamp.  I couldn't get it to stop happening.05:23
angelleyeNow today it's not happening.05:23
angelleyeno idea why05:23
angelleyecan anybody shed light on that for me?05:23
angelleyeWhen it was happening I could do apache2 stop and it would say OK, but the site would still load05:24
angelleyerestart would return that error05:24
angelleyebut again, the site would always load.  now today i sat down to try and trouble this some more...and it's not happening05:25
racecar56how do i make a usb stick of ubuntu server correctly? it seems unetbootin dosent help05:30
racecar56O_o05:30
ScottKwizardslovak: What seems to be your problem with getting postfix running (what do you want it to do?)05:31
wizardslovakwell to receive outside mail05:39
twbracecar56: just install to the USB key as if it were a disk05:41
racecar56twb, sorry, i meant like i could install FROM it05:43
racecar56twb, anyhow, i fixed the problem by using expert install05:43
ScottKwizardslovak: OK.  I may be able to help you a bit (I'll be going to bed soon, I hope).  Where did you get stuck?05:43
wizardslovakscott i gotta go05:44
wizardslovakcan you send me your email ?05:44
ScottKwizardslovak: I'm generally around when it's work time in UTC -0400.05:45
wizardslovakwell i will be here tomorrow about same time05:46
ScottKFeel free to ask when you have time.  If I have time then I'll be glad to help.05:47
wizardslovakwhat do you see when you dig wizzy.us mx?05:47
wizardslovakso problem is when i send mail from server to gmail i see message05:51
wizardslovakwhen i reply to name@wizzy.us i dont get nothing back05:52
ScottKserver1.wizzy.us05:53
ScottKwizardslovak: So you are at 24.184.56.14605:53
wizardslovakyes05:53
ajmitchit at least replies with a postfix banner on that address05:54
ScottKYep05:54
wizardslovaki was trying to get postfix people to help me but they kind05:54
wizardslovakwhy cant i receive mail?05:55
wizardslovakshould i install squirrelmail?05:55
ScottKSince postfix is running and reachable, it's logs should tell the story05:55
wizardslovakmail.info.0??05:55
ScottKI just tried to connect to your server.  The attempt should be in your /var/log/mail.log05:55
wizardslovaksudo nano /var/log/mail.log05:56
ScottKYou shouldn't need sudo to read logs05:56
wizardslovaklol my fault05:56
wizardslovak7972 lines?????05:56
ScottKWell that's where the story is05:57
wizardslovakwhat am i looking for?05:57
ScottKSo try tail -f /var/log/mail.log then try to send yourself mail.05:57
ScottKSee what the log tells you.05:57
angelleyeI'm trying to edit network interfaces file for a static IP.  I'm following the guides I see but when I try and restart networking it says failed and can't read the interfaces file.  All of the samples I see seem to be tabbed over when they show address, netmask, etc.  Is there some special format I need?05:57
wizardslovaki see "warning: valid_hostname: invalid character 47 (decimal):etc/mailname05:58
ScottKwizardslovak: So now sudo nano /etc/mailname05:58
=== mobi-sheep__ is now known as mobi-sheep
ScottKWhat's in there?05:58
wizardslovakserver1.wizzy.us05:59
ScottKOdd.06:01
wizardslovak??06:01
ScottKascii 47 is "/"06:01
jmarsdenScottK: The char 47 is the / so the issue is that notehr config file has etc/mailname where it should have the actual server name itself.06:02
ScottKjmarsden: Ah.  Good point.06:02
wizardslovakso i am missing "/" somewhere06:02
ScottKwizardslovak: Time to pastebin the output of postconf -n06:02
jmarsdenwizardslovak: Or you have a / where you should not have one...06:03
wizardslovakhttp://pastebin.com/m59a9121406:04
jmarsdenHmmm.  Does the /etc/mailname file have a trailing newline?  Maybe it needs one for postfix to recognize the contents???06:05
ScottKMine doesn't have it.06:06
wizardslovakwell mailname has only one line "server1.wizzy.us"06:06
wizardslovakmaybe i should erase it?06:07
ScottKwizardslovak: I note in mydestination you have ,  , I doubt that's the problem, but please remove the extra comma, do postfix reload and try again.06:07
ScottKwizardslovak: Don't start making random changes to your system.06:07
wizardslovakok06:07
wizardslovakjust asking06:07
ScottKFix mydestination first.06:08
wizardslovakok done06:08
wizardslovakfixed and restarted06:09
wizardslovaki got itt06:10
wizardslovakheheh06:10
wizardslovaki see message from my gmail account06:10
jmarsdenwizardslovak: So it is now working fine?  No more warnings in the log file?06:11
wizardslovaklet me check log06:12
wizardslovak"tail -f /var/log/mail/log" may 14 22.33.00 ubuntuserver postfix master[32059]: terminating on signal 1506:14
wizardslovakexit06:15
ScottKThat's from when you reloaded06:16
ScottKNothing unusual there06:16
wizardslovakokk06:16
wizardslovakthanks scott06:16
wizardslovakone more think06:16
wizardslovakcan i access email in web?06:16
=== ejat is now known as e-jat
wizardslovaksomething like google or yahoo has?06:16
jmarsdenYou can add a webmail client to your web server.  squirrelmail or horde or roundcube or... plenty of choices...06:17
wizardslovakok06:18
wizardslovakif i want to add second email to adress where should i add user?06:18
wizardslovaki mean ok my email is wizardslovak@wizzy.us , what if i want luke@wizzy.us?06:18
ScottKwizardslovak: If you want to learn about Postfix setup and running a well configured mail server, go get yourself a copy of "The Book of Postfix".06:20
wizardslovaki am waiting for couple books06:20
wizardslovakpostfix,ubuntu server, apache and mysql06:20
angelleyewhen running commands from the command line, sometimes samples show the use ' or " but when I try and type that into the command line it won't work06:23
angelleyewhat am I supposed to use there?06:23
jmarsdenwizardslovak: If you want to alias luke@ to an existing account, edit /etc/aliases06:23
jmarsdenangelleye: What sample command are you referring to -- link please?06:24
angelleyehttp://www.howtoforge.com/perfect-server-ubuntu-9.04-ispconfig-2-p506:24
angelleyethe stuff about postconfi -e 'smtpd_sasl_localdomain...06:24
jmarsdenThose are single quotes and should work as such.  But double quotes (in that particular case) should also work.06:25
jmarsdenJust use the same kind of quote at both ends of the string :)06:25
angelleyewell, i can't type any type of quotes into the command line, though06:25
angelleyeit pauses for a moment and then gives me a bad "bleep" sound06:25
jmarsdenhuh?  What language keyboard do you have???06:26
angelleyeit's just a regular us keyboard06:26
angelleyein ubuntu terminal when I type a ' or " nothing comes up06:26
jmarsdenThe the quite key shoul dwork fine to enter quote marks... the one to the left of the ; key, to the right of the Enter key...06:26
angelleyeuh...to the left of my ; is the L key06:27
angelleyewhich is standard...that's the home row.  i'm confused.06:27
jmarsdenSorry, I said that backwards :|  to the right of ; and to the left of Enter06:28
angelleyeok, well yeah that's just ' or "06:28
angelleyethat's what i'm trying to use06:28
jmarsdenYes.  OK.  Then something unusual is acting on those keys.  That is not how Ubuntu shells should work.06:28
angelleyei'm running in a VM.  you think it could have something to do with it?06:28
jmarsdenAre you typing on a local shell terminal window -- Gnome Terminal or something?06:28
angelleyeyeah i'm in gnome terminal06:29
jmarsdenAh.. maybe.  try in a Terminal window on the host OS instead and see if that works better?06:29
angelleyethe host OS is what i'm typing in here.  ' " work just fine06:29
angelleyei've got ubuntu installed in vmware06:29
jmarsdenThen there seems to be some sort of VM keyboard driver/config issue.06:29
angelleyeand i've just got it open with gnome loaded and a terminal window open06:30
jmarsdenMaybe ask in #ubuntu-virt about that?  I use virtualbox-ose and do not have that issue... but I don't know enough about vmware to trubleshoto it.06:30
angelleyeok i'll check it out.  thanks06:30
jmarsdenNo problem.06:30
wizardslovakok now i am playing with squirrelmail06:33
wizardslovaki installed it and configured http://flurdy.com/docs/postfix/#config-extra-webmail06:34
wizardslovakbut when i do mail.wizzy.us i am getting error "domain not found"06:34
jmarsdendo you have a machine in the DNS called mail.wizzy.us -- I do not see it...06:35
wizardslovakyou mean MX record?06:38
wizardslovakor A record?06:38
jmarsdenI don't see either one, I checked with dig mail.wizzy.us a and with dig mail.wizzy.us mx   -- both return an NXDOMAIN error06:39
ScottKjmarsden: The mx is server1.wizzy.us06:41
ScottKAnd with that, I'm off to bed.06:41
jmarsdenThen why did you use mail.wizzy.us ?  Be consistent :)06:41
jmarsdenGoodnight ScottK06:41
wizardslovakthank you scott and good night06:42
wizardslovakjmarsden:  well i tried mail.wizzy.us06:42
wizardslovakbut error domain not found06:42
wizardslovakalthough when i type server1.wizzy.us i see my site06:42
jmarsdenRight.  You do not have a machine named mail.wizzy.us on the INternet at present.06:42
wizardslovakno06:43
wizardslovakhostname is server1.wizzy.us06:43
wizardslovakname of server06:43
jmarsdenso using the name mail.wizzy.us is not likely to work.06:43
jmarsdenIt is not *supposed* to work :)06:43
wizardslovakno06:43
wizardslovakit doesnt06:43
jmarsdenOK.  When you said "but when i do mail.wizzy.us i am getting error "domain not found""  I took that as a request for help to get that to work, that you were surprised by the error... now I'm just confused about what you are trying to do!06:44
wizardslovakok06:44
wizardslovaki installed squirrelmail , and in howto says i should login with mail.wizzy.us06:45
wizardslovaki even tried wizzy.us/squirrelmail06:45
wizardslovak"The requested URL /squirrelmail was not found on this server."06:45
jmarsdenYou installed squirrelmail where?  And you your DocumentRoot set to what in your apache config...06:46
wizardslovaki cant find document root06:47
jmarsdenThen you are in trouble... where are the files your web server serves? :)06:47
wizardslovaki used this howdy http://flurdy.com/docs/postfix/#config-extra-webmail06:48
wizardslovakin wizzy.us folder06:48
jmarsdenand did you install squirrelmail into that same place?06:48
wizardslovakno06:48
jmarsdenThen why would you expect the web server to be able to find squirrelmail when you installed it somewhere you did not tell the webserver to serve? :)06:49
wizardslovakupps06:49
wizardslovakhow can i fix it?06:49
jmarsdenI do not think your howto for webmail matches what you did to set up your apache.06:49
jmarsdenMake the two things consistent.  Either set the web server to serve the default DocumentRoot, or else move the squirrelmail stuff to the a folder called squirrelmail in your wizzy.us folder, and change the config to match that approach.06:51
wizardslovakok i know where squirrelmail is06:51
=== CrummyGummy is now known as CrummyGummyElo
wizardslovakjust copy it into /var/www/wizzy.us?06:52
=== CrummyGummyElo is now known as CrummyGummy
jmarsdenYou can try that... it's not ideal, but... it may work.06:52
wizardslovakor maybe i can show apache where to look for squirrelmail06:53
wizardslovakwithout copying folder into web folder06:53
jmarsdenThat is probably the better approach.06:53
wizardslovakit should be in apache2.conf or in 000-defauult?06:53
ballBed time.06:54
jmarsdenProbably in the virtualhost stuff, so in 000-default if that is where you set that up.06:54
jmarsdenIf both squirrelmail and the wizzy.us stuff are under /var/www you might be able to set up a symlink in /var/wwww/wizzy.us that points to wheresquirrelmai is, and the configure your virtualhost to follow symlinks.06:56
wizardslovaki see06:57
wizardslovaki am in 00-default06:57
wizardslovakwhere should i put that /etc/squirrelmail?06:57
wizardslovaki see /var/www/wizzy.us06:58
jmarsdenI think you need to read that Apache book so you better understand what is going on first?  No, /etc/squirrelmail is not where you want to symlink to, as far as I know at least...07:01
jmarsdenI should be going to bed too...07:01
wizardslovakok man thank you then07:01
wizardslovakhihih07:01
wizardslovakone more think07:06
wizardslovakwhen i go wizzy.us/squirrelmail/index.php it works07:06
MeXTuXI have an old PC (Pentium III 500 MHz with 96 MB RAM and 10 GB HD) and want to install a command line system in order to set up a proxy server. I have a classroom with 20 PC's and want to use the old PC as a proxy server. Is this hardware suitable to accomplish this??07:31
logistyes but hd is small for proxy07:34
MeXTuXsomebody told me that it would be better if I try with a light distro. I think getting a bigger disk is not an option to me because I won't get the money :) So should I try with a light distro instead??07:38
PietMeXTuX: https://help.ubuntu.com/community/Installation/SystemRequirements#Absolute minimum installation07:44
angelleyeI've just installed proftpd and I'm trying to get logged into it.  I can connect and it asks for a username and password but apparently I don't know how to configure un/pw's.  I thought it would just use the user account that's created in my passwd file and use that home directory as well..??08:50
angelleyeEverything I'm readaing says that should work, but then you could also create virtual users as well08:51
khermansangelleye, http://www.ubuntugeek.com/settingup-an-ftp-server-on-ubuntu-with-proftpd.html08:51
angelleyekhermans:  i've gone through that but it doesn't say much about user creation.  i've got it installed and working.  it's just not accepting my logins.08:53
angelleyeit picks up when I connect to the ftp server, though08:53
angelleyeit says by default users can ftp into their home directories08:53
angelleyethat's not working08:53
khermanshttp://ubuntuforums.org/showthread.php?t=7958808:53
khermansangelleye, are you sure the service listening is Proftpd ?08:53
angelleyeyup, i've had that one open too.  in fact that's the "old" one08:54
angelleyethere's a link at the top to a more udpated version08:54
khermansangelleye, do you see a banner saying so?  and you sure it is the right ftp server that you ocnfigured that you are connecting to?08:54
angelleyeand that's the one I was going by.  everything i read says that by default you should get access to your home directory08:54
angelleyethen it breaks down how to create virtual users and virtual hosts, etc.  but i don't needd that08:54
angelleyei just wnat to access to my home directory for the system user like it says i should have08:54
angelleyewhoops, you did send the newer one, sorry08:55
angelleyebut still...the default stuff doesn't seem to be working and that's all i need.08:55
angelleyegrrr...i just keep getting login incorrect08:58
angelleyei've double checked the /etc/passwd file to see if the user is in there and it is, as it should be08:58
angelleyeand everything in all these guides says that's what it uses by default08:58
khermansangelleye, try vsftpd instead09:03
twbvsftpd is by far the nicest FTP server.09:05
macnohi all , I need to modify apparmor.d/usr.sbin.slapd to permit to read my certs09:34
macnoor do I have to put certs in another directory?09:36
macnook, solved thanks09:41
khermansmacno, you would just allow the read() calls to the dir you want09:46
macnokhermans: yes I do that09:47
Hamziferhi, is there an easy way to build a deb from the trunk of a launchpad project (ie, to get the latest code rather than waiting for the next release)10:11
jmarsdenHamzifer: define "easy".  If you are comfortable with using bzr builddeb ... use it :)10:15
Hamziferi didnt know about bzr builddeb, will look into that, thanks10:17
* Hamzifer has his first foray into the world of bzr10:19
Hamziferhmm, keeps complaining about wanting an upstream tarball10:24
Hamziferof a release version that hasn't been released10:24
Hamziferah, think i've found a bug report and workaround10:28
Hamziferkirkland: dunno whether this is relevant to your trunk or bzr-builddeb in hardy, but i couldn't builddeb your latest byobu source, bug 309335 had a workaround for me though that worked10:31
uvirtbotLaunchpad bug 309335 in bzr-builddeb "Should either accept options with no section in config files, or warn about them" [Medium,Fix committed] https://launchpad.net/bugs/30933510:31
Hamziferkirkland: (yep, i'm now struggling to use screen without one of your profiles running, heh! only took 3-4 days of regular usage to become invaluable, good job!)10:32
Hamziferkirkland: and i saw you'd committed a fix to the hardy bug, and being impatient... :)10:33
BlinkizHi. Am using kvm virtualization and have started to use centos as a couple of quests. As you may know, centos uses 1000Hz in kernel instead of 100Hz that Ubuntu does. Also, asterisk timing clock zaptel (ztdummy) wants 1000Hz from kernel. So am thinking about raising this in Ubuntu server kernel. What is the downside of this?10:34
Blinkizguest10:35
BlinkizWith centos 5.2+ its possible to use the "divider=10" grub kernel line. It works great. But it does not solve my angry ztdummy that comes with asterisk. So because of this, am thinking about raising CONFIG_HZ parameter from 100 to 1000. Any downsides?10:37
uvirtbotNew bug: #329974 in system-config-printer (main) "SIGSEGV in _nss_dns_gethostbyname2_r() browsing Samba printers, i386 only" [Medium,Confirmed] https://launchpad.net/bugs/32997411:11
uvirtbotNew bug: #361629 in system-config-printer (main) "print configuration crashed while adding printer (dup-of: 329974)" [Medium,New] https://launchpad.net/bugs/36162911:16
uvirtbotNew bug: #359088 in system-config-printer (main) "system-config-printer.py crashed with SIGSEGV in _nss_mdns4_minimal_gethostbyname2_r()" [Medium,Triaged] https://launchpad.net/bugs/35908811:26
uvirtbotNew bug: #367042 in system-config-printer (main) "with trial cd, tried to browse for a windows xp printer (dup-of: 359088)" [Medium,Triaged] https://launchpad.net/bugs/36704211:31
=== gaveen__ is now known as gaveen
al_paunHi everybody12:55
al_paunPlease, can anyone help me to configure a backup internet connection to activate automaticaly if the main internet connection is down?12:55
sorencan you provide a bit more context and perhaps say a bit about your expectations from this?13:01
al_paunSure13:01
a_okal_paun you want linux to do spanning tree for you?13:01
al_paunspanning tree?13:02
al_paundon't know the term13:02
al_paunok let me explain what is my problem13:02
al_paunI have two internet connection on a ubuntu server. What i need is to configure the the two connections to switch automaticaly between if the one is down13:03
al_paunthere is one which is main (eth1)13:03
macnoal_paun: which type of "internet connection"?13:03
a_okal_paun: http://en.wikipedia.org/wiki/Spanning_tree_protocol13:03
al_pauntwo broadband connections. One is main and one backup13:04
macnoal_paun: ok, so you have the default route on eth113:05
al_paunyes13:05
al_paunand eth2 is the backup one.13:05
al_pauneth0 is internal network13:05
macnoal_paun: you can first try adding a second 0.0.0.0/0 route with higher metric on eth213:06
al_paunok13:10
al_pauncan you please tell me what gateway to add for the route and how to set the metric?13:19
al_pauni'm not realy a guru  in ubuntu :P13:19
macnoal_paun: eth1 and eth2 use dhcp?13:20
al_paunno.13:20
al_paunthey are static ip13:20
tadeu_guys, how can i install a bigmem kernel in ubuntu ?13:20
macnoal_paun: the gateway is your router ip address13:21
al_paunok, what about metric?13:22
macnoal_paun: please pastebin `route -n` output13:22
tonyyarussoI thought the server kernel already had bigmem these days?13:25
macnoal_paun: btw you could add +100 to the current metric .13:26
al_paunok i have eth1 configured like this address 217.156.27.163 gateway 217.156.27.161 netmask 255.255.255.22413:29
al_paunand eth2 is 10.0.0.1 gateway 10.0.0.138 netmask 255.255.255.013:29
macnoal_paun: with route -n you can see the current metric13:32
al_paunthe two connections are not yet plug in the computer. I'm upgrading to ubuntu from a gentoo I can paste for you the information available in gentoo for route -n for the server that has plug in the connections. and also the route -n for the current server.13:34
al_paun217.156.27.160  0.0.0.0         255.255.255.224 U     0      0        0 eth113:35
al_paun10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth213:35
al_paun192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth013:35
al_paun127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo13:35
sorenYou have this already working under Gentoo?13:36
al_paunyes13:36
al_paunbut the server is old13:36
al_paunand needs replacement13:36
sorenWell, how'd you do it? Just use the same mechanism under Ubuntu. No need to reinvent the wheel, if what you have works.13:36
al_paunit wasn't made by me.13:36
al_paunthis server is in production and it's old and get overloaded all the time13:38
al_pauncurrently the route on the new server is13:43
al_paun192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth013:43
al_paun0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 eth013:43
codeshepherdwhat are the advantages of using ubuntu over debian on a server ?13:53
ScottKIt kind of depends on what you are using it for.13:54
ScottKFor our LTS releases there is a (probable) longer support window in Ubuntu.  Debian is aiming for releases every 18 months and oldstable gets a year of support, so nominally Debian releases are supported for 2 1/2 years.  Ubuntu LTS releases are supported for 5 years on the server.13:55
codeshepherdnginx + php + memcache + mysql  ScottK13:55
macno!pastebin13:57
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)13:57
ScottKI little out of my area of focus, so I don't know specifics.13:57
ScottKIf you need a release with mysql 5.1, then it is (community supported) in Ubuntu Jaunty.  Debian doesn't have such a release at all yet.13:57
codeshepherdScottK:  oh.. thats great13:58
VK7HSENOOB Qestion!   But is there any benefits to mysql 5.1 over 5.0 ???14:00
ScottKDunno.14:00
ScottKI'm guessing the mysql developers wouldn't have released something new if they didn't think it was better.14:00
VK7HSEother than it being newer, and in universe! true!...14:00
ScottKcodeshepherd: Also for Karmic we are planning on extending our apparmor work to make it relatively easy to contain PHP applications so it's easier to keep your system more secure internally.14:01
ScottKThat's future work though, so no promises.14:01
codeshepherdok ScottK14:01
ScottKDebian uses selinux which means you either need to use exactly their supported use case, be an SE linux guru, or turn it off.14:02
VK7HSEhe, he... I finally got my head around UFW tonight!...  (previously was using shorewall!) :P14:02
ScottKApparmor is substantially less admin hostile.14:02
codeshepherdubuntu server edition has different release names ?14:04
macnocodeshepherd: no14:05
codeshepherdok macno14:05
VK7HSENo! as the Ubuntu release name goes across all variants...14:06
ScottKcodeshepherd: Ubuntu server is in the same repositories as the desktop flavors.  There is a different kernel and a server specific ISO, but it all comes from the same archive.14:14
reenignEesreveRI am having a weird problem. I have two servers on one of which my ssh keys are working perfect. I copied ~/.ssh/authorized_keys2 (it has two public keys) to the other server. Weirdly the other server doesn't worked well with the copied keys; it only authenticates with one of the keys in auth_keys2 files. Any idea how to diagnose the problem?14:26
W8TAHgood morning folks - -wee bit of a crisis here -- tried to log into a samba server this morning and couldnt get to the shared directory -- logged in via putty -- tried to CD to the directory -- was told input/output error -- rebooted the box and now its come up in a maint shell saying to fix the file system manually14:29
W8TAHits running 8.10 and ext314:29
W8TAHneed some help to work through this please14:29
W8TAHkinda in a place ive never been before14:29
macnoreenignEesreveR: take a look at /var/log/auth.log14:30
W8TAHthe fsck log says that its unable to resolve one of the UUID's (big long number)14:32
=== asac_ is now known as asac
=== Fumohh is now known as Fumoh|Work
Onbekend6i need some help14:46
Onbekend6can some one help me?:) plz14:46
maxb!ask14:46
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)14:46
Onbekend6im traying to edited the Makefile and changed x86_32 to x8614:47
Onbekend6whats the cammondo14:47
W8TAHgood morning folks - -wee bit of a crisis here -- tried to log into a samba server this morning and couldnt get to the shared directory -- logged in via putty -- tried to CD to the directory -- was told input/output error -- rebooted the box and now its come up in a maint shell saying to fix the file system manually14:47
Onbekend6edited the Makefile and changed x86_32 to x8614:47
Onbekend6how to do that?14:47
Onbekend6 agian im traying to edited the Makefile and changed x86_32 to x8614:48
W8TAHOnbekend6: cant you open it in vim and change the value?14:49
Onbekend6no14:49
Onbekend6becouse its inside xen server14:50
W8TAHthen i have no idea -- i dont normally mess with makefiles14:50
W8TAHim sorry14:50
Onbekend6i use the 64bit14:50
Onbekend6and the file is 32bit14:50
maxbW8TAH: Sounds like a bad disk14:50
Onbekend6hmmm i just need the command to change die file name14:50
reenignEesreveRmacd__, auth.log gives "Public key [blablabla] blacklisted (see ssh-vulnkey(1))" ... where do i get the details from?14:50
W8TAHmaxb: ok.... any chance to recover data off it?14:50
maxbNo idea... you're the one with the disk14:51
W8TAHmaxb: ya -- i know - -just not sure how to proceede here --14:51
W8TAHnever had this happen before14:51
reenignEesreveRmacno, auth.log gives "Public key [blablabla] blacklisted (see ssh-vulnkey(1))" ... where do i get the details from?14:51
maxbreenignEesreveR: What details?14:51
ScottKreenignEesreveR: Did you see man ssh-vulnkey?14:51
reenignEesreveRmaxb, ssh-vulnkey(1) <---14:52
ScottKreenignEesreveR: The short answer is you need to remove that key from the other machine right away.14:52
maxbOh, word(digit) is a standard form of reference to a man page, so do as ScottK says14:52
reenignEesreveRScottK, any pointers to why this is so?14:53
ScottKDid you read about the Debian/Ubuntu openssl vulnerability last year?14:53
ScottKreenignEesreveR: Your key is one of the bad one unless I'm completely misreading that.14:53
reenignEesreveRScottK, yes. But I'm amazed that my other server hasn't given any panic situation :(14:54
ScottKDoes it have openssl-blacklist installed?14:54
ScottKI think that's the package name.14:54
maxbopenssh-blacklist14:55
ScottKYeah.  That one.14:55
ScottKThanks.14:55
maxb(But there's an openssl-blacklist as well. And an openvpn-blacklist IIRC)14:55
* ScottK loses track14:55
ScottKI actually had all my vulnerable keys replaced before the detection tools were released.14:56
jdstrandhttp://www.ubuntu.com/usn/usn-612-* has details14:57
macnoreenignEesreveR: your other server is ubuntu? if yes, when you last run apt-get update?15:03
W8TAHmy system is reporting that an Inode has some errors -- FSCK exited with an error code 4 (errors left uncorrected) it opened a maint shell and said to run fsck manually -- when i try to do so it yells about running it on a mounted disk15:11
W8TAHneed some help walking through this --15:11
W8TAHthe errors are occuring in my LVM group15:12
ScottKW8TAH: Do you have physical access to the machine?15:14
W8TAHsure do -- its just across the room from me15:14
ScottKW8TAH: I'd suggest use a live CD, boot into the live CD and then fsck the drive from that session.15:16
W8TAHok - never done this before -- how do i specify the drive from the live cd session?15:16
W8TAHim assuming im going to select the fix a broken system option15:17
ScottKW8TAH: No, you're going to run a regular live CD session.15:17
macnoW8TAH: how many drive do you have?15:17
ScottKSorry, explaining the details would take more time than i have.15:17
W8TAHthere are 215:17
W8TAHok - thanks scott15:18
W8TAHmacno: use a server CD or a regular ubuntu cd -- this is a server box with LVM2 configured15:18
macnoW8TAH: live CD  is in desktop cd (not alternate)15:21
W8TAHmacno - ok  -- the server is 8.10 and i currently have a 9.04 live cd -- will that matter or should i download an older live cd?15:22
W8TAH(im probably asking too many questions -- but i want to be careful here)15:22
macnoW8TAH: you have only to run fsck, you can use the 9.0415:25
W8TAHok -- thank you - -let me get it going - im sure i'll be back with questions :D15:26
reenignEesreveRmacno, last apt-get update was around 4-5 months ago15:39
macnoreenignEesreveR: really strange openssh-blacklist rdepens on openssh-server . should be installed if you have openssh-server package15:50
ScottKmacno: It depends on the release.  In later releases it was dropped to suggests.15:50
henkjanhmm, default serverinstall blanks the console after x minutes15:51
henkjanso, when a server crashes i can't check out why it was failing15:52
macnoScottK ah ok, I have on 6.06 and 8.04 and blacklist depends on server15:52
ScottKYeah.  It was dropped later for CD space on the theory that everyone would have cleaned things up already.15:53
yeasonI've installed and I'm working on configuring ircd-hybrid, is there somebody here who could help clarify a few things from the ircd.conf file. I want to make sure I get this setup right16:01
reenignEesreveRmacno, i now manually installed openssh-blacklist package ... how do i make sure that whenever i do apt-get update all the security patches get installed automatically?16:05
ScottK!ask | yeason16:05
ubottuyeason: Please don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)16:05
yeasonsorry... lol, its early here. I guess I was asking if anyone was familiar with it... basically I'm to the operator portion of the conf file. for the line user = "user@127.0.0.1" I'm wondering if the correct context to allow the operator 'user' to login from anywhere would be "user@*"?16:07
yeasonalso for the listen block, it comes default with a bogus IP entered for 'host'. looking around I've  noticed that others just comment this out. this basically will allow the server to listen on all interfaces right?16:09
W8TAHyeason - -in honesty -- you will probably have more luck in their channel or e-mail support list16:11
LHChey16:11
LHCanyone one a thing or two about hosting16:11
yeasonW8TAH: yea... unfortunately their forums aren't resolving and there's 3 unresponsive people in their irc channel ><16:12
yeasonthanks anyway =)16:13
al_paunI don't have in /etc/init.d/ the file iptables16:13
LHCi want to sell hosting from a dedicated server I have16:14
ScottKal_paun: Is there a reason you expect it to be there?16:14
LHCim trying to figure out how to include php, subdaomains etc for each user16:14
al_pauni've installed a new server and the file iptables is not there. I wanted to restart the iptables service using /etc/init.d/iptables restart but couldn't16:15
SFauconnierwhat would be good software to make a bittorrent box out of my server?16:16
W8TAHyeason: ok - i understand16:16
SFauconnierrtorrent?16:16
LHCrtorrent yes16:16
LHCi use that with wtorrent16:17
LHCwebui16:17
SFauconnierok, thanks LHC :)16:17
ScottKal_paun: Ubuntu server doesn't by default use iptables directly.  We provide a front end called ufw.  I'd look into that.16:20
=== ejat is now known as e-jat
=== genii-2 is now known as genii-around
macnoI have a virtual ubuntu server 8.04 into an esx . I added a new 200gb disk from VC but ubuntu does not see it.. do I *really* need to reboot??16:31
jmedinamacno: what about fdisk -l?16:38
jmedinais it listed there?16:38
jmedinaany info in dmesg output?16:39
macnojmedina: no nothing..16:39
macnoreboot -_-'16:55
mawgeneral compile question... when I run ./configure and then I get a message like "configure: error: You MUST have the libxml2 (aka gnome-xml) library installed" and libxml2 is already installed. How can I check to see where ./configure is looking? I didn't see anything specific in the script16:59
mawI have libxml2.so.2 in /usr/lib/16:59
macnomaw: I think you need -dev17:03
mawya17:04
mawThe following packages have unmet dependencies:17:04
maw  libxml2-dev: Depends: zlib1g-dev but it is not installable or17:04
maw                        libz-dev but it is not installable17:04
mawheh17:04
mawI had everything except security commented out for apt17:05
mawwill try again17:05
mawyarrrr works17:06
macnomaw: fine17:06
SFauconnierI have a newbie question:: I've configured fluxbox and opened up a range of ports with ufw.. "ufw allow xxxx:yyyy/tcp" should suffice, right?17:37
SFauconnierbecause it seems really slow17:38
ssd7I have a drive that won't seem to mount on boot; however will mount a few seconds after boot is finished via sudo mount -a.  It is listed in my /etc/fstab using it's UUID.  However for some reason it's uuid never come up when I run blkid is there when I run ls /dev/disk/by-uuid.  I can't seem to get any traction on this issue, any ideas?17:41
ScottKssd7: Could it be related to Bug 290153?17:46
uvirtbotLaunchpad bug 290153 in linux "Fails to find boot device in Intel D945Gnt" [High,In progress] https://launchpad.net/bugs/29015317:46
ssd7ScottK: Not sure. I'll read that bug report and see.17:49
ScottKBe prepared for a long read17:50
ssd7This seems like it /could/ be it.  I'm thinking I will have to just go and get a monitor connected to it so I can see what /etc/init.d/mountall.sh is actually saying on boot.17:59
ssd7Could it have something to do with this: iTCO_wdt: failed to reset NO_REBOOT flag, reboot disabled by hardware18:15
ssd7Also, the drive mounts fine on reboot.18:22
ssd7Just now when I poweroff and then boot it18:22
ssd7s/now/not18:22
PrimusAvatarHello there, I'm having trouble installing ubuntu server edition 9.04 on my old computer (490MHz, 64MB-RAM, 10GB HDD) I't has a weird bug on the "Partition Disks" step. Instead of offering options its says "????"18:23
PrimusAvataris it version related or does it have something to do with NTFS system?18:24
W8TAHive got a server running 8,10 -- im having problems with lvm access -- and its got messages scrolling on the screen that start with ATA4.0018:30
=== MohammadBoozary is now known as Mohammad[B]
W8TAHim guessing some kind of drive problem18:30
W8TAHanyone able to take a stab at the solution?18:30
ScottKPrimusAvatar: It's not going to run on 64MB of ram.18:31
PrimusAvatarit says 32mb is enouh :(18:33
PrimusAvatarenough*18:33
ssd7OK.  Well adding rootdelay=300 does nothing to help the situation.  But when fsck kick in for sda1 then the other drive mounts fine.  Otherwise it says ntfs-3g: Failed to access volume /dev/dist/by-uuid/<UUID>: No such file or directory18:38
ScottKPrimusAvatar: Where does it say that?18:38
PrimusAvataron the "F1: Help" when i run the instalation18:39
PrimusAvatarbesides, i ran a memory check and its says that it's fine18:41
W8TAHPrimusAvatar: memory check validates that your memory is functional18:42
PrimusAvatarofcourse im aware that the recommended memory specs are ~190MB RAM but I'm aiming for the minimum requierments18:42
W8TAHPrimusAvatar: you are way under them18:42
PrimusAvataroh, i guess i've been using wrong guides then... thanks anyway.18:44
ssd7well, adding sleep 5 to mountall.sh seems to be a temporary workaround19:00
ssd7ScottK: Thanks for the help.19:01
ScottKssd7: You're welcome.  Please comment in the bug about your issue and how you worked around it.19:02
=== ssd7_ is now known as ss7d
=== ss7d is now known as ssd7
jjjren_ircHello everybody. I just deleted an user account by mistake, is there any way that I can reinstate the account?19:35
Hecatejjjren_irc, man useradd.19:39
jjjren_ircHecate thanks for the tip..19:40
Hecateyoure welcome, if you need any further help, just let me know.19:42
yann2_nijaba , soren , one of you around?21:18
yann2_May 15 22:17:01 nancy kernel: Cannot read proc file system: 9 - Bad file descriptor.21:19
yann2_May 15 22:17:32 nancy last message repeated 4762658 times21:19
yann2_May 15 22:18:33 nancy last message repeated 9601836 times21:19
yann2_syslog killing my server i am worried /o\21:19
yann2_damn killing 6 months uptime :(21:21
=== yann2_ is now known as Yann2
Yann2dd         5017   root    0r      REG                0,3          0 4026531849 /proc/kmsg21:32
Yann2mmmh.21:32
matt1211If I have an external harddrive plugged into a router, how can I mount it on my ubuntu 8.4 server? I have been having trouble with this.21:58
incorrectmattt, fdisk -l should find you the drive22:25
incorrectthen mount -t <fs type> /mnt/some mount point22:25
ivoksheh... ubuntu karmic desktop as it is now is way much better than jaunty was, at least for me22:55
ScottKWhat got better?22:55
ivoksxorg22:56
ivokssqlite22:56
incorrecti want a wiki that encrypts its data on the hard drive, does anyone know of one?22:56
ScottKivoks: Ah.  Makes sense.22:56
ivoksit's like a fresh air22:57
incorrectso the new xorg is already much better than 9.04?22:57
ivoksi have intel, so i don't know for others22:57
ivoksbut, intel in karmic is - wow22:57
ScottKThat's what I have too.22:57
ScottKDoes bryce have the same stuff in his X PPA?22:57
ScottKI may have to try it.22:58
incorrectmy desktop is really fast, its got a 8800 nv, my laptop has a nv quatro2go, its not to hot22:58
ivoksi used http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu22:58
ivoksbut karmic is much better22:58
ScottKHmm.  Ok.22:59
incorrecti wish 8.04 64bit worked with core i722:59
incorrectoh well i guess all i really need to do is sync openldap23:00
cellofellowMay 15 22:02:45 desertrats sshd[26492]: error writing /proc/self/oom_adj: Operation not permitted23:15
cellofellowwhat does that mean?23:15
cellofellowI get that when a friend tries to log in to ssh on my VPS.23:16
cellofellowI can log in just fine.23:16
ivokssomeone had similar problem once23:16
ivoksanyting in /etc/security/limits.conf?23:17
cellofellowlooking...23:18
cellofellownothing but comments23:18
ScottKcellofellow: Password or public key?23:20
cellofellowpubkey23:21
ScottKWhat does your auth.log have to say about it?23:21
cellofellowI pasted the line from the log file.23:21
ScottKWhich logfile?  /var/log/auth.log?23:21
cellofellowBefore it was saying account locked but I put a password on it and that went away, but he still can't login, getting the oom thing.23:21
cellofellowyes23:21
ivokshttp://groups.google.se/group/linux.debian.bugs.dist/browse_thread/thread/9f2d1a4334368dc823:23
ScottKcellofellow: Might http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473573 be relevant23:23
uvirtbotDebian bug 473573 in openssh-server "openssh-server: oom_adj tweak in init.d prevents upgrade inside vserver" [Normal,Fixed]23:23
ivoksunset SSHD_OOM_ADJUST in /etc/default/ssh23:23
ivoksjust comment it out23:23
cellofellowk23:24
ivoksand restart ssh23:24
NativeAngelshello ive setup proftpd but im gettin permisions error. the user can download files to a folder but when they want to upload them theyre getting a permisons error how do i fix this23:25
ivoksfix the permissions23:26
NativeAngelshow do i set the right permisions23:26
ivoksgood night ;)23:26
NativeAngelsok23:26
ivoksNativeAngels: well, add write permissions to the directory23:26
ivokstake care23:27
cellofellowivoks: did that but he still can't get in.23:27
cellofellowsame error23:28
cellofellowMay 15 22:28:00 desertrats sshd[13629]: error writing /proc/self/oom_adj: Operation not permitted23:28
phaidrosI try to make a quick backport using prevu (on hardy), but I cannot get 'prevu screen-profiles/jaunty' running ..23:31
phaidrosI have added the jaunty deb-src to the sources.list, but "dpkg-source: error: cannot open .dsc file ./*.dsc: No such file or directory"23:31
phaidrosshouldn't prevu go and fetch the .dsc by itself?23:31
nfrsI've got a weird situation with sshfs and fstab. will be grateful for any help. I've configured the mounting via the fstab. all seems to be well, except that my regular user can't access anything below the mount point (permission denied). this is weird, because "sudo stat" shows my user/group as owner23:39
phaidros-o allow_others .. not sure, but sounds like23:40
nfrsthere's sensitive stuff on that FS, I don't want other users to access it23:40
phaidrosor was this only an issue with fuse .. can'T remember ..23:41
nfrsI'm talking about fuse (sshfs)23:41
phaidrosah sure .. yes23:41
nfrsbut allow_others doesn't fit23:41
shipitkthxi have Jaunty server running on a hosted VPS, and Jaunty desktop on my local system, is it possible to install Gnome on the VPS and remote desktop in?23:41
phaidrosimho, it was allow_others, because some weird sshd stuff23:41
phaidrosshipitkthx: I don't see why not :)23:42
nfrsphaidros: I don't want "others" to read my private keys that are stored on that FS23:42
phaidrosnfrs: I understand that, but as far as I know (read from docs in the wiki/forums) a problem with fuse it is23:42
phaidrosnfrs: try to sshfs with the username who should access the data later on.23:43
phaidrosafaik it *must* be the same, if not even by uid23:43
nfrswhat do you mean?23:43
nfrsset uid=xxx option?23:43
nfrsif yes, it's already set23:43
shipitkthxphaidros: i havent tried installing gnome on a system i dont have in front of me, should it be pretty straight forward over ssh?23:44
phaidrosuh, not sure. just having ftpfs in mind, cannot remember sshfs fstab line, but isn't there #sshfs:user@host something?23:44
nfrsyes23:44
phaidrosshipitkthx: u juast install the packages, how to access that later on I don't know23:44
shipitkthxty23:44
phaidrosnfrs: so the user who is mounting the sshfs is the same (by name & uid) locally and remote?23:45
phaidrosthinking about it: setting uid might be an option as well ..23:45
nfrsphaidros: ah, I got your point. no, they are different in both23:45
nfrshmm, I might really try it, who knows..23:46
nfrsI did set the uid23:46
phaidrosnfrs: then I believe it is a fuse limitation which can only be circumvented by allow_others .. at least that was the result of my research these days :(23:46
phaidrosor uid .. that I didn't try23:46
nfrsphaidros: I don't have admin rights on the remote server. but perhaps I can set up a stub user at my local machine with the same name and uid as remote23:47
phaidrosnfrs: yep, I'd try that23:47

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