/srv/irclogs.ubuntu.com/2009/07/08/#ubuntu-server.txt

=== Guest46165 is now known as nandemonai
pwnguinhttps://lists.ubuntu.com/mailman/listinfo/ubuntu-security-patch00:47
pwnguinis this new? or simply never used?00:47
KillMeNowno idea, first i heard of it00:48
KillMeNowarchives are empty so apparently nothing has ever gone out on it00:49
pwnguinim writing out some linux patching policies for work00:49
pwnguinalready did the rhel doc00:49
pwnguinnow im working on Ubuntu00:49
KillMeNowsounds like too much fun00:50
pwnguinmeh, it's interesting00:50
pwnguinbeats dealing with users00:50
KillMeNowheh00:50
KillMeNowsuppose so00:50
pwnguinlooking for a comparable way to email security patch alerts00:51
KillMeNowcourse, at this point in time, i would be happy to work with users as i'm unemployed at the moment00:51
pwnguinideally, just the packages we have installed00:51
pwnguinbut it kinda looks like traffic on security announce is light00:51
KillMeNowi would say take a look at debian00:52
KillMeNowsince Ubuntu mainly gets it's packages from Debian00:52
pwnguinright...00:52
KillMeNowif something needs to be patched @ debian, Ubuntu is likely to follow shortly00:52
pwnguinhttps://lists.ubuntu.com/archives/ubuntu-security-announce/00:52
pwnguinthere's also a website / rss feed00:53
pwnguinbut i was wondering whether there was something installable00:53
ice|worki got a "minor" problem, if anyone have encountered this and know how to fix it please msg me00:53
ice|workiceonnet@homeserver:~$ sudo visudo00:53
ice|workiceonnet is not in the sudoers file. This incident will be reported.00:53
pwnguinlike a trigger to apt-get or cron job00:53
=== ice|work is now known as iceonnet
pwnguinice|work: are you in the sudoers file?00:54
iceonnetno i saved it00:54
iceonnetand exited00:54
pwnguinerr00:54
iceonnetkinda sqrewed it up i guess00:54
pwnguinice|work: is your user in the sudoers file?00:54
KillMeNowyea, so the message is pretty clear Iceonnet00:54
iceonnetpwnguin: no, that is what i realized when i was done and got the message00:54
iceonnetKillMeNow, yeah it is00:54
KillMeNowit means that the username iceonnet isn't in the sudores file or it doesn't have permissions00:55
iceonneti did add this,00:55
iceonnetapache ALL=NOPASSWD:/usr/sbin/useradd, \00:55
iceonnet/bin/mkdir, /bin/ln, /bin/chown00:55
iceonnettho apache doesn't have any passwd00:55
KillMeNowyea, and the command you gave it was sudo visudo00:56
pwnguinKillMeNow: actually, i think something like apticron would suffice00:56
pwnguin!info apticron00:56
ubottuapticron (source: apticron): simple tool to mail about pending package updates. In component universe, is extra. Version 1.1.28 (jaunty), package size 14 kB, installed size 112 kB00:56
KillMeNowhey pwnguin, that looks like a good solution00:56
pwnguinyea, i was hoping people in here would know more than i could find with apt-cache search :P00:57
KillMeNowat least then you would have some type of an idea when something is coming up...  however will it cover your security patch issue?00:57
pwnguinwell, im comfortable with canonical's turnaround time00:57
KillMeNowyea, they are pretty quick usually00:57
pwnguinas long as i mandate that -security is in soruces.list, we'll be fine I think00:58
KillMeNowiceonnet..  you added the sudo rights of /bin/mkdir /bin/ln /bin/chown and /usr/sbin/useradd00:58
iceonnetyeah its for a apache project00:59
KillMeNowyea, but for the user iceonnet doesn't have /usr/sbin/visudo rights00:59
KillMeNowfollow?01:00
iceonnetyup01:00
KillMeNowat least that's what i'm guessing from what you said you added01:00
KillMeNowso add /usr/sbin/visudo for iceonnet in the sudoers file01:01
iceonnetwell i can't access the visudo file since i removed admin group rights for sudo01:01
iceonneti guess i just should reinstall the whole thing01:02
KillMeNowdo you have root?01:02
iceonnetroot isn't set up from a fresh install is it?01:02
KillMeNownot usually01:02
KillMeNowusually the initial username you create during install has sudo su rights01:03
iceonnetyeah01:03
KillMeNowso you can get to root01:03
KillMeNowbut some ppl enable root after the fact01:03
iceonnethow do i enable it? just f.ex do passwd root | set password?01:03
KillMeNowif you didn't do this, and then changed the sudoers file, then yea i can't think of any workaround off the top of my head01:04
KillMeNowlemme think about it for a second01:04
KillMeNowtry this...  sudo passwd root01:05
KillMeNowif you can change the password, log out and then try logging in as root01:05
iceonnetok01:06
KillMeNowif you can log in as root, you're saved from a reinstall01:06
iceonneticeonnet@homeserver:~$ sudo passwd root01:06
iceonnet[sudo] password for iceonnet:01:06
iceonneticeonnet is not in the sudoers file. This incident will be reported.01:06
iceonnetso i guess reinstall is the next stem01:06
iceonnet*step01:06
KillMeNowhate to say it, yea01:08
KillMeNowthink that's the case01:08
erichammondiceonnet: Since apache has "sudo ln" access you might be able to save a copy of /etc/passwd, edit it, and then ln the copy over top of /etc/passwd.01:08
erichammondNot sure if the system checks the ownership of the file.01:08
KillMeNowwell, how far in to this are you?01:08
erichammondGive root a password and then log in as root.01:09
KillMeNowif you just installed it and haven't done much to the system, i might just chuck it and start over01:09
KillMeNowotherwise, try Eric's suggestion01:09
iceonneti just installed the server, apache, mysql, php and vsftpd, just done the basic setup01:09
iceonnetso i guess i just should start over, its about 15-20 mins of installing and setting it up again01:10
KillMeNowyea, that's what i would do01:10
erichammondIf the system doesn't like a non-root-owned /etc/passwd, then you could overwrite any file which root runs regularly (after saving a clean copy).01:10
KillMeNowbut i would also create a new account to use instead of the initial one you used01:10
keespwnguin: it's not used yet01:10
erichammondmy way is more fun :)01:10
KillMeNowheh01:11
KillMeNowHACKERY!  :D01:11
erichammondbut yeah, starting over and documenting or automating the correct setup steps is a good idea.01:11
erichammondIn case it wasn't clear, I also believe that giving an account sudo access to random commands is almost the same as giving it root access.01:12
iceonnetabout the root enabling, should i just do a passwd root, after the installation?01:15
KillMeNowif you want to enable root access via ssh01:15
erichammondI think an attacker could also get root with "useradd" and "chown".  I'm still thinking about mkdir.01:15
KillMeNowi would recommend creating a new user besides the elevated user account at install01:16
KillMeNowthen i would give that other user account whatever rights you were looking to do...  you usually DON"T want to allow root login besides from superuser01:17
KillMeNowAFK for a few01:17
neilvany security-team people around?  i was directed here. i have a DoS security bug against ubuntu's packaging apache that appears to be stuck in the process...01:20
uvirtbotNew bug: #396813 in mysql-dfsg-5.0 (main) "karmic: file conflict when installing mysql" [Undecided,New] https://launchpad.net/bugs/39681301:21
neilvhttps://bugs.launchpad.net/ubuntu/+source/apache2/+bug/39435001:28
uvirtbotLaunchpad bug 394350 in apache2 "RLimitCPU has no effect in Apache" [Undecided,Incomplete]01:28
fool_hey guys, i've turn ufw logging to full, grep all of /var/log but found no trace of ufw log. what should i do ?01:39
KillMeNowi've never used the Ubuntu Firewall as a frontend, i've always used IPKungfu01:43
KillMeNowtry sudo ufw logging on01:44
pmatulisKillMeNow: that's pretty funny01:44
KillMeNowwhy is that?01:44
KillMeNowyes i know that they are both front ends for iptables01:44
pmatulisKillMeNow: the name (IPKungfu)01:44
KillMeNowooh01:45
KillMeNowyea, i've used it since like 200101:45
pmatulisgraphical?01:45
KillMeNowwhen i got tired of beating my head on the table trying to get IPtables done right01:45
KillMeNowno, it's all cmd line01:45
KillMeNowit has several config files01:45
pmatulisok01:45
pmatulisyeah, iptables is the dog's breakfast01:45
KillMeNowwww.linuxkungfu.org01:46
KillMeNowplus the guy who wrote it is hella nice01:46
pmatulisthat helps01:47
fool_KillMeNow: i tried ufw logging full01:47
ruben23hi01:47
ruben23how do i disable the ubuntu server firewall...?01:47
KillMeNowyea, talked to him here on freenode in #ipkungfu01:48
pmatuliscome on guys, '$ man ufw'01:48
ruben23is it builtin installed on the fresh ubuntu installed..?01:48
KillMeNowyea, man ufw shows 'ufw logging on | off01:48
pmatulisyes, ufw is installed by default01:48
fool_pmatulis: i did01:49
pmatuliswell it says on the first few lines: ufw disable01:49
pmatulissorry, mixing you guys up01:50
pmatulisthat was for ruben2301:50
fool_ # ufw logging on01:50
fool_Logging enabled01:50
KillMeNowoh hahahhaa...  yea 2 ppl here talking about UFW01:50
ruben23how about already installed openssh but getting network refuse when ssh on the ubuntu server01:50
fool_ ufw status01:50
fool_Status: active01:50
fool_To                         Action  From01:50
fool_--                         ------  ----01:50
fool_22                         ALLOW   Anywhere01:50
fool_it's active01:51
fool_it's running01:51
fool_but i can't find any log anywhere01:51
fool_lol01:51
pmatulisfool_: looks good but i would disable ufw and then test ssh01:51
fool_pmatulis: ssh's working01:51
pmatulisfool_: so what's the problem?01:52
fool_pmatulis: no log anywhere01:52
KillMeNowhe's looking for the physical log file in /var/log01:52
KillMeNowit doesn't show allowed connections i think01:52
fool_pmatulis: when i turned on ufw aptitude couldn't work, and when i tried to look for logs i couldn't find any01:52
KillMeNowonly connections rejected correct pmatulis?01:52
ruben23how about me, ssh not working--> i got network refuse error01:53
fool_KillMeNow: i turned on full logging and still no log01:53
pmatulisfool_: calm down01:53
KillMeNowhrm...  ruben2301:53
KillMeNowdisable ufw and try ssh again01:53
ruben23i just type command ufw logging off..01:54
fool_pmatulis: oh my bad01:54
KillMeNowif you've flushed your iptables and you still can't connect to ssh, is your box behind a firewall and is the firewall forwarding port 22?01:54
KillMeNowruben type in ufw disable01:54
ruben23ok01:54
KillMeNowthat should turn off the firewall01:54
KillMeNowthen try to connect to ssh port 2201:55
KillMeNowif it works, viola01:55
pmatulisfool_: are you good now?01:55
KillMeNowyou need to add the rule in to ufw01:55
fool_pmatulis: no01:55
KillMeNowhave you read the man page for ufw ruben?01:55
fool_pmatulis: when i turned on ufw aptitude couldn't work, and when i tried to look for logs i couldn't find any <<<01:55
fool_so i'm stuck on those 2 problems01:55
pmatulisfool_: '$ sudo ufw logging high'01:56
pmatulisfool_: that will give you a 'high' level of logging01:56
fool_pmatulis: i tried with full w/o any luck01:56
pmatulisfool_: then '$ tail -f /var/log/kern.log'01:56
ruben23<KillMeNow> no luck---->still getting network refuse01:57
pmatulisruben23: is ufw disabled?01:57
ruben23yes01:57
ruben23disable now01:57
pmatulisruben23: did you flush your iptables rules?01:57
ruben23i just disable01:58
pmatulis'$ sudo iptables -F' IIRC01:58
ruben23no flush01:58
pmatulisplease do01:58
KillMeNowiptables --flush01:58
fool_pmatulis: nothing01:58
KillMeNowoh yea, sudo iptables --flush01:58
KillMeNowthen you can type in iptables --list01:58
KillMeNowthat should show you all your iptables rules01:58
KillMeNowyou shouldn't see any01:58
ruben23ok in aminute01:59
fool_pmatulis: i'm looking at syslog/kern.log/messages/dmesg and it shows up nowhere01:59
KillMeNowhey fool_ have you checked in /var/log/messages for any ufw messages?01:59
KillMeNowi'm reading a forum post on ubuntuforums and someone posted that it may be logging in messages01:59
fool_pmatulis: i'm looking at syslog/kern.log/messages/dmesg and it shows up nowhere << KillMeNow02:00
KillMeNowtry sudo cat /var/log/messages | grep -i ufw02:00
pmatulisfool_: and what do you expect to see there?  is it blocking stuff?02:01
fool_pmatulis: there is nothing, no messages02:01
fool_lol02:01
fool_say if it's blocking aptitude or  something at least there'd be some messages02:01
fool_but there's nothing02:02
fool_:/02:02
pmatulisfool_: why do you think it's blocking aptitude, that makes no sense02:02
KillMeNowdoes aptitude work now with firewall rules in?02:02
pmatulisfool_: AFAIK, ufw blocks incoming only02:02
KillMeNowif now, disable it and then flush your iptables02:02
fool_pmatulis: because aptitude works when i disabled ufw and doenst when i enable it02:02
KillMeNowyea, another reason i used IPkungfu02:02
pmatulisvery strange02:03
KillMeNowok, that would make some type of sense...  check your rules...  did you block a outbound port range?02:03
fool_pmatulis: yep, that's why i'm hear for help02:03
fool_lol02:03
pmatulisfool_: did you confirm that there are no other rules active?02:03
fool_pmatulis: nope02:03
fool_unless ufw status lie to me02:03
ruben23guys02:04
pmatulis'$ sudo iptables -L -n'02:04
ruben23still cant login through ssh02:04
ruben23network refuse02:04
KillMeNowok, is the ssh service running?02:04
pmatulisruben23: so you flushed the rules or not (i'm getting tired)02:04
KillMeNowcheck your services02:04
KillMeNowsudo netstat -nap | more02:04
ruben23but when /etc/init.d/ssh restart ------> got this no such file directory02:05
KillMeNowcheck to see if the ssh daemon is listening to port 2202:05
ruben23done already as youve said02:05
ruben23all done02:05
pmatulisruben23: guess sshd is not listening then02:05
KillMeNowwell, then it sounds like you don't have sshd installed02:05
KillMeNowapt-get install sshd02:05
pmatulisKillMeNow: no02:05
KillMeNowno?02:05
pmatulispackage is 'openssh-server'02:05
KillMeNowooh yea02:05
KillMeNowwoulda figured that out soon enough02:06
pmatulisruben23: did you install this package?02:06
ruben23doing it now apt-get install openssh-server02:06
* pmatulis packs up02:07
ruben23ow..this is a fresh install ubuntu...02:07
ruben23do i need to enable something on the sources list..?02:07
ruben23before i can do apt-get install packages02:07
fool_man02:08
fool_he's gone02:08
KillMeNowyou might, but it wasn't broken after i installed ubuntu02:08
fool_http://pastebin.ca/1487592 << here's the pastebin if anyone care tolook02:09
KillMeNowlooking02:09
KillMeNowi'm not sure why you are accept UDP for port 22 and 8002:10
fool_uhm that's irrelevant to my problem isn't it ?02:11
KillMeNowyep02:11
KillMeNowmost likely02:11
KillMeNowjust saying02:11
fool_well i just enable the ports so it doesn't matter udp or tcp02:12
fool_unless there's a good reason i should specify02:12
KillMeNowjust thinking of flooding maybe...02:13
KillMeNowcourse it really doesn't matter since there is no udp socket for port 2202:13
KillMeNowor port 8002:13
ruben23guys ssh-server is installed02:13
keesbug 39435002:13
uvirtbotLaunchpad bug 394350 in apache2 "RLimitCPU has no effect in Apache" [Undecided,Invalid] https://launchpad.net/bugs/39435002:13
ruben23on the ubuntu server02:13
fool_KillMeNow: yeah so what should i do about aptitude and no logging problem ?02:14
KillMeNowdamn peculiar02:14
KillMeNowyour output chain looks ok02:14
KillMeNowand aptitude is all out bound02:15
fool_lol uh huh02:15
fool_that's what puzzled me too02:15
fool_i thought my isp pulled my leg for a min or something02:15
KillMeNowit makes no sense02:15
fool_then i realized i just turned ufw on02:15
ajmitchkees: only thing I can think of on that one is that the kernel does some of the enforcing, and I saw something on the kernel list a couple of months ago about fixing it02:16
KillMeNowmy suggestion, try using ipkungfu02:16
KillMeNowit's hella easy to install and the config files are very self explanatory02:16
KillMeNowwhat version you running?02:16
KillMeNowlatest?02:16
fool_yes02:17
fool_jaunty02:17
KillMeNowok ruben, start it and try to connect to ssh02:17
ruben23yeah..02:18
ruben23still no succes02:18
KillMeNowdid it work?02:18
ruben23no still02:18
KillMeNowleave the firewall turned off02:18
ruben23i got no such fiel or directory02:18
KillMeNowmake sure openssh-server is started02:18
keesajmitch: nah, it behaved correctly for me on hardy02:18
KillMeNowsudo /etc/init.d/ssh status <--type this in ruben02:19
KillMeNowall i can say is that i can't see really anything broken by your UFW rules fool_02:19
fool_KillMeNow: i don't either02:20
fool_lol02:20
fool_but things are borken02:20
fool_brb02:20
jmarsdenfool_: Turn on logging and see what gets logged by your UFW rules.02:20
KillMeNowLOL...  he has02:20
KillMeNowit's not logging either02:20
jmarsdenThen if nothing is logged, it isn't UFW/iptables doing the breaking...02:20
KillMeNowgetting nothing in either /var/log/messages02:21
KillMeNowwell it works when we turn UFW off02:21
jmarsdenVery strange... did you paste the iptables ruleset from when it is turned on somewhere... I just got home from work, have not scrolled back very far...02:22
KillMeNowyea here:  http://pastebin.ca/148759202:22
KillMeNownothing in the ruleset that i can tell is limiting the outbound connections02:22
KillMeNowinbound looks ok as well02:22
ajmitchkees: maybe there some some updates which have fixed it, very hard to say for sure :)02:24
jmarsdenKillMeNow: Yes, that looks pretty boring... does netstat -ntlp show sshd on port 22?02:24
fool_jmarsden: ssh is working02:25
KillMeNowi think jmarsden is looking at Ruben23's sshd issue02:25
fool_oh my bad02:25
KillMeNowtwo firewall types of rule problems jmarsden...  ruben23 and fool_02:25
jmarsdenOh, I may be confusing the two... OK.02:26
KillMeNowruben23 is that he didn't have openssh-server installed02:26
keesajmitch: did it not work for you at some point?02:26
jmarsdenSo for fool_ when UFW is enabled what exactly breaks -- what is the symptom?02:26
KillMeNowfool_ has all that working, but when IPTables is turned ON - aptitude fails02:26
ajmitchkees: I haven't tried it, but it's something that I should use02:27
ajmitchI just saw the bug earlier & did a little checking since I'd touched apache2 recently02:27
jmarsdenKillMeNow/fool_: Does FTP to other sites work with UFW enabled?  Does HTTP to other sites work with UFW enabled?02:27
fool_jmarsden: one sec let me try wget something02:28
KillMeNowsorry, i'm doing about 40 different things at the moment02:29
KillMeNowtrying to reimage my wife's laptop from WDS, back up my Ubuntu box for update and watch this too  LOL02:29
jmarsdenfool_: It might also be good to try ftp to the site you are using in sources.list for apt/aptitude, using wget or a conventional ftp client such as lftp02:29
fool_jmarsden: ufw on, wget doesn't work02:29
jmarsdenfool_: for http, or for ftp, or for both?02:30
fool_jmarsden: for http02:30
fool_let me try ftp02:30
jmarsdenfool_: OK.  Are you set up to use any kind of proxy server, for FTP or for HTTP?  Anything like squid or some more proprietary software or hardware "in the way"?02:32
fool_jmarsden: nope02:32
fool_say if i do this  wget http://mirror.mcs.anl.gov/pub/ubuntu-iso/DVDs/ubuntu/hardy/release/ubuntu-8.04.1-dvd-i386.iso02:33
fool_then disable ufw02:33
fool_it'll run02:33
fool_then enable ufw02:33
fool_it'll stop02:33
fool_and so on and so forth02:33
fool_lol02:33
fool_no squid no proxy no cache02:33
fool_i'm on a vps if that changes anything02:34
fool_kernel 2.6.18-128.1.1.el5.028stab062.302:34
jmarsdenDo you control the whole physical machine -- or are you renting the VPS from a provider?02:34
fool_i'm renting the vps02:35
KillMeNowahhh02:35
jmarsdenOK.  So we don't really know what the provider does once packets leave your virtual machine...02:35
fool_but it shouldn't matter should it ?02:35
fool_since it's working when ufw is turned off ?02:35
jmarsdenWell, it means we can't test or run tcpdump on the host OS instance, for example...02:35
fool_so what should i do ?02:36
jmarsdenYour pastebin of the ruleset does not seem to show UFW logging enabled -- are you *sure* it is enabled?02:36
KillMeNowwe had him turn it off i think02:37
KillMeNowthen disabled the ufw02:37
fool_jmarsden:  cat /etc/ufw/ufw.conf02:37
fool_# /etc/ufw/ufw.conf02:37
fool_#02:37
fool_# set to yes to start on boot02:37
fool_ENABLED=yes02:37
fool_# set to one of 'off', 'low', 'medium', 'high'02:37
fool_LOGLEVEL=full02:37
jmarsdenTry    sudo ufw logging on     and then test again?02:37
fool_i've been doing tail -f on syslog/kernlog/messages/dmesg  since the beginning02:39
fool_lol02:39
fool_nothing comes up02:39
fool_weird as heck :/02:39
jmarsdenNo....    sudo ufw logging on    # and then grep "UFW BLOCK" /var/log/*02:40
fool_nothing02:41
jmarsdenOK.  You did a wget or whatever after enabling the logging, right?  Anwyay, I need to go, unfortunately (to eat and then out to play guitar)... back in ~2 hours or so I expect.  Hopefully you'll have found and fixed it before that!02:42
fool_yes02:43
fool_it's werid as hell02:43
KillMeNowgah, sometimes i really hate M$ crap02:43
jmarsdenOK... definitely weird...  When you find the asnwer say so here... I'll log the channel so I find out what the answer was :)02:44
KillMeNowi still think you should try ipkungfu02:44
KillMeNowsee if that works for you02:44
KillMeNowmainly cause i like ipkungfu02:44
fool_KillMeNow: this is not M$ crap02:45
fool_KillMeNow: afaik this ufw is maintained by ubuntu devs02:45
KillMeNowno, i mean myself02:45
KillMeNowbeen fighting with M$ WDS all afternoon02:45
fool_jmarsden: sure will , bon appetite02:45
KillMeNowmicrosofts windows deployment services02:45
KillMeNowit's a pita02:45
KillMeNowyeap...  i'm sure UFW is maintained by ubuntu devs02:46
KillMeNowbut it's just a frontend for doing IPtables02:46
KillMeNowi don't use UFW, but i also own the server mine is on02:46
KillMeNowbut if you think it's UFW, you can install ipkungfu, configure it and see if the problem persists02:47
KillMeNoweither way, i'm curious to know what the issue is as well02:47
fool_haha if i have to get used to ipkungfu again then i might as well learn iptables02:49
KillMeNowit's pretty easy to use, but ok02:50
KillMeNowwell it's time for me to go02:51
KillMeNowhave a good one02:51
jdstrandfool_: some vps providers don't compile in all the necessary modules for ufw. See http://bazaar.launchpad.net/~jdstrand/ufw/trunk/annotate/head%3A/README03:02
* jdstrand is just passing by...03:02
jmarsdenfool_: I'm on my way out the door, but your pastebin also lacks a bunch of rules regarding state RELATED that my UFW setup has... which coudl be highly relevant to your issue...03:05
jmarsdenfool_: See http://pastebin.ubuntu.com/212336/03:08
MTecknologyHow can I resize LVM partitions?03:39
fool_it's werid as hell03:41
fool_jdstrand: http://bazaar.launchpad.net/~jdstrand/ufw/trunk/annotate/headA/README gives me internal server error03:43
fool_jmarsden: thanks03:43
jdstrandfool_: that is .../head%3A/...03:44
fool_jdstrand: so addrtype, comment, hl, limit , multiport, recent and state are the only required modules right ?04:08
=== s_markow_ is now known as s_markow
nick125Other than the server guide, what's another good documentation source for Ubuntu Server-related things?05:25
ragsI use an external smtp server to send/receive mail how to configure ubuntu to do the same?? I understand that postfix is the default MTA, should I use that or go for exim??05:50
nick125In Ubuntu's networking configuration file, is there a way to either specify that the default kernel route not be added or have it removed?05:52
lamontnick125: "default kernel route"?05:52
lamontdo you mean default network route?05:53
nick125lamont: For instance, if I add the IP address 192.168.1.1/24, it'll add a route from 192.168.1.0/24 to 0.0.0.005:53
nick125Since my server will have two interfaces with IPs in the same subnet, it seems to get confused if both routes are there.05:54
jmarsdennick125: if the two interfaces are set static, then only at a gateway line to one of their declarations... and you should only get one default route.05:58
jmarsdenSomething like http://pastebin.ubuntu.com/212420/05:58
nick125jmarsden: On one interface, there is only one host that I need to communicate to, so on my current setup, I remove the default kernel route and replace it with 192.168.1.24/32 to 192.168.1.24/32.05:59
jmarsden??? There is no such thing as a "kernel route".  And routing from A to A is... pretty useless by definition, you are already *at* A so no need to route to it.  Overall it sounds like you are trying to do something you do not fully understand... what are you trying to achieve?  pastebin me a little ASCII art diagram, or something?06:02
nick125sure, one second.06:02
nick125http://pastebin.ubuntu.com/212427/06:07
nick125Sorry, my ASCII diagrams really suck....and that line there didn't break like it should've :(06:08
nick125http://pastebin.ubuntu.com/212428/06:09
jmarsdenYou want two different networks, both 192.168.1.x, connected to the same server, and route between them?  The logical answer is don't do that, renumber one of them, or bridge them.06:09
nick125The problem is that I _can't_ renumber one of them.06:10
jmarsdenThen, as far as I know, you need a bridge, not a router to join them.06:10
nick125Hmmm.06:11
jmarsdenWorst case could you make one into 192.168.1.0/25 and the other into 192.168.1.128/25 so they are different?06:11
nick125Here's the problem: I have a static IP block from my DSL provider, and the modem has a static IP from within the block...06:11
nick125And they won't give the DSL modem a different IP unless I pay them $50.06:12
nick125($50 for another IP block for the DSL modem)06:12
jmarsdenThe usual approach is to put the "DSL modem" (which is usually a modem/router really) into bridge mode...06:12
nick125Can't. My provider uses PPPoA.06:13
nick125So, unless I find a supported USB modem or PCI modem, I'm screwed on that.06:13
nick125I've asked and begged them to support PPPoE, and they refuse.06:14
jmarsdenAnd you need all 254 IPs?  for doing what?06:14
ajmitchthere are definitely PPPoA DSL modems that do some form of bridging, I've got a cheap linksys one at home that does that06:15
nick125Well, it's actually a /28...I made up some numbers :p06:15
nick125ajmitch: The modem will do bridging, it's just that I can't actually do PPPoA on my server.06:15
ajmitchthe modem does 'half-bridging' to use its term - it does the PPPoA06:16
nick125ajmitch: Well...this modem has a half-bridging feature, it's just that....it doesn't work.06:16
ajmitchheh06:16
nick125And the vendor doesn't plan on doing a firmware update06:16
nick125even though there is a _major_ security bug in them that allows anyone to bypass the "password" security.....06:17
nick125not to mention the bug where it resets the password every time the modem power cycles.06:17
jmarsdenTime to buy a new ADSL modem/router ?06:17
nick125Might not be a bad idea.....but most of them are really......awful.06:18
jmarsdenGoogle for linux pppoa and you'll probably find forums where this is discussed, and pick one with lowest awfullness ??06:18
jmarsdenOr... write a PPPoA driver for Linux :)06:19
jmarsdenThere may actually be one already?06:19
nick125You can't do PPPoA over Ethernet ;-)06:19
nick125I spent hours and hours trying to figure it out before I realized that daunting fact06:21
nick125I guess I could just drop the line to remove that pesky route into /etc/rc.local06:22
jmarsdenHey, if that works for you, and saves you $50... it's worth a try!06:23
nick125I was hoping that there was a nicer way to do it, but I'm guessing I'm probably the only one with this screwed up setup :p06:24
jmarsdenIf you change the local LAN subnet to something else and do NAT on the server, does that not get you what you need?06:25
nick125jmarsden: I'm already doing NAT....but I still need to assign public IPs to machines in the LAN :(06:26
jmarsdenNo, you assign all the public IPs to the one server interface on the ADSL modem side of things, and assign local IPs to each machine on the LAN...06:27
jmarsdenThen do one to one NAT in the server.06:27
nick125I've done 1:1 NAT before...but then you get into problems when you try to use the public IPs inside of the network06:28
nick125So I end up having to setup a separate DNS server somewhere that points to the local IPs....so when I go to nick125.com, instead of getting the public IP, I'll get the local IP.06:29
jmarsdenYes, you probably would... local DNS server can be on your server (the one with 2 NICs) -- you already have that server, so use it...06:30
nick125Maybe I should just redesign my network to not be so....quirky.06:31
jmarsdenYes.  I don't know if the NAT approach is really any cleaner than adding a line to rc.local... just trying to think up alternatives.06:31
jmarsdenOr, if the $50 is a one time fee... just pay the $50 :)06:32
nick125Well, it's $50 plus $1/month....on top of the $80USD I'm paying them a month.06:32
jmarsdenOK... now compute what your time is worth redesigning the network and testing odd configurations etc etc... is it work $50 plus $1/month to you to avoid that headache?06:33
nick125I'm not sure, especially considering that I might switch ISPs next month.06:33
jmarsdenWell, if you can switch that easily... drop a line into rc.local for a month, and clean up once you switch ISPs :)06:34
\shmoins07:29
uvirtbotNew bug: #393450 in samba (main) "[SRU] pam_winbind Use incorrect value for password expiry calculation" [Undecided,Fix committed] https://launchpad.net/bugs/39345008:21
_rubenhm .. i thought there was a way to tell cron to not log to syslog only for certain cronjobs .. cant seem to find anything on it though :(08:29
atomic__yeah, that's been bugging me too08:38
atomic__you can send a script's output do /dev/null though :)08:38
neggethat's what I do as well08:40
_rubenthat has nothing to do with cron itself logging to syslog though :)08:40
=== hito_jp0 is now known as hito_jp
henkjan_i'm thinking about using etckeeper09:01
henkjan_any good reason to use bzr and not the default git?09:01
th0many news on the ssh remote exploit rumor .09:07
th0m?09:07
th0mhttp://isc.sans.org/diary.html?storyid=674209:07
=== scfh_ is now known as scfh
socketbindhi, i have installed ubuntu server 9.04 on a simple desktop machine to act as a file server. i seem to have a network card issue which im unable to fix10:53
socketbindin the middle of large file transfers the ethernet card silently fails. there are no kernel error messages and the machine does not freeze10:54
socketbindbringing down and up the ethernet interface fixes it10:54
socketbindi'm unable to fix it and need some help. it is using the via_rhine driver10:55
pixlboxdoes anyone know how to set up ftp access to authenticate via mysql, ive tried the vsftp and mysql tutorial on howtoforge but its not working11:23
iceonnetis this command correct? sudo /usr/sbin/useradd <username> -m -p <encrypted password> -s /bin/sh11:45
_rubeni'd put the username last as last parameter to be sure, looks fine otherwise11:47
iceonnetok, let me try that11:47
U2GBlook man useradd and man adduser11:48
iceonnetthank you very much, worked like a charm =)11:51
iceonnetis there any way to force a user to log out?11:53
_rubenkill all of its shells11:55
iceonnetto find the shells i write ps -x?11:57
=== dantalizh is now known as dantalizing
cjwatsonth0m: nothing concrete to my knowledge, just rumours13:33
cjwatsonth0m: panicking's likely to be unhelpful13:33
th0mhow could i find the process which sendmail ?13:46
th0mi'm cleaning a box, cant find the process spamming (think of apache, but cant find in the log)13:46
th0mis there a way to identify the process executing the sendmail cmde ?13:46
hito_jpth0m: I'm beginning to get the picture, please check your situations. 1) Are you in troubles that your server are spaming e-mails without your will?  2) Are you use some web-apps? or not?13:57
cjwatsonreplace the sendmail process with a shell wrapper that prints its parent process id ($PPID) to a log file and then execs the real sendmail13:58
=== andreas__ is now known as ahasenack
uvirtbotNew bug: #397054 in samba (main) "package samba-common 2:3.3.2-1ubuntu3.1 failed to install/upgrade: Unterprozess post-installation script gab den Fehlerwert 1 zur?ck" [Undecided,New] https://launchpad.net/bugs/39705416:41
ruben23____hi17:23
ruben23____how do i check if openssh-server is installed on the ubuntu server17:24
bitprophetdpkg --list | grep openssh17:24
bitprophet(or grep openssh-server to be super specific, but I find a wider net is often more useful in case one has the package name wrong or made a typo)17:25
wizardslovakhello17:27
wizardslovaki need someone to help me set up apache and print server17:28
wizardslovak!print server17:28
ubottuSorry, I don't know anything about print server17:28
wizardslovak!print17:28
ubottuPrinting in Ubuntu is done with cups. See https://help.ubuntu.com/community/Printers - https://wiki.ubuntu.com/HardwareSupportComponentsPrinters - http://linuxprinting.org - Printer sharing: https://wiki.ubuntu.com/NetworkPrintingFromWindows17:28
ruben23____<bitprophet>the output is  ll client, an rlogin /rsh/rcp repla       1:4.7p1-8ubuntu 1.217:41
ruben23____is my openssh server installed..?17:41
ruben23_hi i do dpkg --list | grep openssh then -------------> ii open ssh - client ll client, an rlogin /rsh/rcp repla       1:4.7p1-8ubuntu 1.217:49
ruben23_is my openssh server installed..?17:49
bitprophetruben23_: nope, openssh-client is just the client stuff, you don't seem to have openssh-server17:51
bitprophetUnless the server package name changed drastically after 8.0417:52
ruben23_anyone have idea..17:55
bitprophetcan't you just aptitude install openssh-server ?17:56
spectosudo apt-get install openssh-server should work17:57
ruben23_yes i already do that..17:57
ruben23_<specto> should i enable something first on my source.list17:58
ruben23_this is a fresh install17:58
spectoruben23_: no, its on every installation17:59
spectoruben23_: even jeos17:59
ruben23_<specto> i cant login through it17:59
ruben23_remotely17:59
spectoruben23_: that could be other problems17:59
spectoruben23_: ps aux | grep ssh18:00
ruben23_ssh is installed by default on ubuntu server18:00
ruben23_ok18:00
spectoruben23_: sudo netstat -natp | grep sshd18:00
ruben23_ok18:01
spectoWhat does it say?18:01
ruben23_in a minute got disconnected-need to reboot the server..18:01
ruben23_<specto>...?18:30
ruben23_for my ps aux | grep ssh18:30
ruben23_4425 0.0 0.0 5164 800 tty1 s+ 22:42 <-------------------output18:31
ruben23_netstat -natp | grep sshd18:31
ruben23_i got emty output18:31
ruben23_empty18:31
alexmruben23_: what does this say? sudo lsof -i tcp:ssh18:32
ruben23_ok18:33
alexmthis is what is saying for me:18:34
alexmCOMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME18:34
alexmsshd    3225 root    3u  IPv4  23143       TCP *:ssh (LISTEN)18:34
alexmsshd    3225 root    4u  IPv6  23145       TCP *:ssh (LISTEN)18:34
ruben23_<alexm> sorry getting hard to transfer im not on terninal18:35
ruben23_writing the details on the server now18:35
alexmok then, ruben23_18:36
alexmjust look for those LISTEN entries18:36
alexmare they on the lsof output?18:36
spectocheck if it is running 'ps aux | grep ssh18:37
ruben23_ps aux | grep ssh------------------------>4425 0.0 0.0 5164 800 tty1 s+ 22:4218:38
ruben23_unknow protocol for  lsof -i tcp:ssh18:39
alexmwhat about... sudo lsof -i tcp:2218:40
alexmspecto: i'd suggest to grep for sshd instead18:40
alexmas in ps aux | grep sshd18:40
ruben23_maybe i guess need to reload the OS server itself18:44
ruben23_again18:44
nick125Good morning everyone18:45
alexmruben23_: no, there's no need to reboot18:47
alexmis lsof -i tcp:22 giving you the same error?18:48
cvwCheers19:17
cvwGot an issue with networking, our interfaces file is setup properly.  when calling "ifup eth0" the interface is brought up properly.  However, /etc/init.d/networking (re)start dose not bring the device up as expected.  What could we be doing wrong here?19:18
ruben23_hi guys19:47
ruben23_i have install ubuntu server 819:47
ruben23_during installation19:48
ruben23_i was not prompt for network configuration19:48
ruben23_directly goto hostname and partitioning19:48
sommerruben23_: by default the installer uses dhcp19:48
ruben23_ok19:48
ruben23_on the partition side what would i best select..?19:49
sommerruben23_: totally depends on what type of server it's going to be19:49
ruben23_what is the default by it..?19:49
ruben23_use entire disk19:50
sommerruben23_: I don't know if there is a hard and fast default, but the most flexible IMHO is LVM entire disk, that is if you don't know exaclty how you want the layout up front19:50
ruben23_ok19:52
alexmsommer: i usually set up /boot outside LVM, maybe for historical reasons, isn't non-lvm /boot needed anymore?19:53
sommeralexm: nope... at least I've never had a problem putting /boot on LVM19:54
sommeralexm: but I think the automated whole disk lvm will create a seperate /boot so you're probably right that's a safer way to go19:55
Edwi1hi people19:55
alexmi'm sure i had problems with that in the past with this, so i was just wondering19:56
alexms/ with this//19:56
alexmsommer: btw, i installed nagios3 and munin following the karmic serverguide and it worked wonders19:57
alexmi just missed a note explaining how to setup munin plugins (i found it in munin docs anyway)19:58
Edwi1I have a problem installing virtualbox 3, it says that Ther is no enough space in /tmp while it tries to compile a kernel module for virtualbox, how can I change the space of /tmp ? (thanks in advance)19:58
sommeralexm: good to hear :)19:58
ivoksso, what's the deal now?19:59
ivokswe have to submmit bug reports for syncs from debian? :)19:59
sommerisn't that the procedure after debian freeze, or whatever the freeze is?19:59
ivokshttps://wiki.ubuntu.com/DebianImportFreeze20:00
ivokslet's read...20:00
ivoksok... i request a sync from debian :)20:01
ivoksany core dev around? :)20:01
Edwi1sorry, I don't mentioned that I am using Ubuntu Server 8.04 LTS20:01
alexmEdwi1: is /tmp on lvm?20:02
Edwi1alexm is /tmp20:02
Edwi1but I don't see where can I define or resize it20:03
alexmEdwi1: what does df /tmp say?20:03
Edwi1I was googling for a while and in some site says that it's chageable in /etc/fstab but I could not see anything abount /tmp or /tmpfs20:04
alexmEdwi1: please, can you tell what says df /tmp?20:05
Edwi1alexm: df -h /tmp/20:06
Edwi1Filesystem                    Used  Disp Usage% Mounted20:06
Edwi1overflow              1.0M  1.0M     0     100%         /tmp20:06
alexmoverflow? it's the first time i see this20:07
Edwi1alexm sorry if something is bad translated20:07
Edwi1yeah, alexm... me too!  :O20:07
alexmEdwi1: this is what i get20:08
alexmFilesystem           1K-blocks      Used Available Use% Mounted on20:08
alexm/dev/mapper/tleilax-root20:08
alexm                      20806268  16389232   3368460  83% /20:08
alexmand /dev/mapper/tleilax-root in that case means logical volume root in volume group tleilax20:09
alexmEdwi1: can you please run... grep /tmp /etc/fstab ?20:09
Edwi1alexm how you could saw that information (what command)20:10
Edwi1ok alexm wait a minute...20:10
alexmEdwi1: df /tmp20:10
Edwi1alexm, grep /tmp /etc/fstab   don't showed anything20:12
ivoksmount | grep /tmp20:13
Edwi1 df /tmp/20:13
Edwi1S.ficheros         Bloques de 1K   Usado    Dispon Uso% Montado en20:13
Edwi1overflow                  1024             1024         0      100%     /tmp20:13
Edwi1sorry, it is spanish :$20:14
ivoksi said20:14
ivoksmount | grep /tmp20:14
ivoksjust copy paste20:14
Edwi1ivoks: ~$ mount | grep /tmp20:15
Edwi1overflow on /tmp type tmpfs (rw,size=1048576,mode=1777)20:15
ivoksso, tmpfs, of 1MB size20:15
ivokswhat did that?20:16
Edwi1yes ivoks, it seems... :-/20:16
Edwi1I don't know ivoks, this ubuntu server was installed for another person20:17
alexmbut shouldn't it be an entry in fstab for /tmp?20:17
ivokswell, a script could do it20:18
Edwi1I don'tknow if the problems regarding with virtualbox can get solved resizing that filesystem, and btw how can I change it...20:18
alexmtmpfs means that /tmp is in memory not disk20:19
Edwi1alexm, unfortunately there is not any entry for /tmp in /etc/fstab  :(20:19
ivoksyou don't need to resize it20:19
ivoksjust umount it :)20:19
ivokscopy the data before that20:19
ivoksmaybe there's something valuable20:19
Edwi1ivoks:  really?20:19
ivoksyeah20:20
ivoksmkdir /var/tmp/tmp_tmp20:20
ivokscp -a /tmp /var/tmp/tmp_tmp/20:20
ivoksumount /tmp20:20
alexmivoks: you're right, it's the best way20:20
ivoksand then copy it back20:20
Edwi1actually there is other people having a session on it server, it server is running an instance of vnc-server20:21
Edwi1I supose that they (remote people) will lost their session if I made that changes, right?20:22
alexmyou could see if there's any file open in /tmp with ... sudo lsof /tmp20:22
Edwi1alexm, it seems that smeone is using something... please check the output of  lsof /tmp20:25
Edwi1lsof /tmp/20:25
Edwi1lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/siget/.gvfs20:25
Edwi1      Output information may be incomplete.20:25
Edwi1COMMAND     PID      USER   FD   TYPE DEVICE SIZE  NODE NAME20:25
Edwi1seahorse- 31852 dataguard  cwd    DIR   0,21  860 11868 /tmp/20:25
alexmit seems that dataguard has a gnome session on the server20:27
alexmeither you tell him to logout for a while or that you'll kill his seahorse-agent20:27
alexmseahorse is the gnome app that deals with passwords and keys20:28
ruben23_hi can proceed with the installation of ubuntu20:30
ruben23_got error when formatting partion20:30
ruben23_what would i do20:31
ruben23_it stop responding and stay for long20:31
Edwi1ah ok alexm... but currently I am logged in the server as dataguard20:33
alexmruben23_: it could be a problem with the disk, what kind of error did you get?20:33
Edwi1what could happen if I kill that process?20:33
ruben23_it just freeze for long20:33
ruben23_how do i reformat my entire disk20:34
ruben23_might resolve the problem20:34
alexmEdwi1: if you just kill it as in "kill 31852" mot much, seahorse-agent is expected to end ok20:34
Edwi1ruben23_:  you can reformat the entire disk with a livecd20:35
alexmbut you can logout, go to a console and then login, perform the copy as ivoks explained, umount /tmp, logout and log back in gnome20:35
ruben23_<Edwi1>the ubuntu installer itself../20:35
ruben23_?20:35
alexmruben23_: you're using the ubuntu server installer or any other?20:37
Edwi1thanks alexm, I'll kill such process...20:37
alexmEdwi1: just remember to logout and login back when finished with /tmp just in case you need seahorse-agent later20:38
Edwi1I have done a copy of /tmp to /var/tmp/tmp_tmp20:39
ruben23_ubuntu server 820:40
Edwi1alexm, but in your opinion how much space has to have aUbuntu Server that is used only for backup data from using an application to do that?20:40
Edwi1will be doing the problem the actual size of /tmp or tmpfs ??20:41
alexmEdwi1: did umount /tmp work?20:42
alexmwhat does df /tmp say now?20:42
ruben23_<alexm>...?20:42
Edwi1I have did not the changes yet alexm :$20:43
alexmruben23_: to perform tests on the disk it'd be better to boot a live cd and run gparted, install smartmontools, etc.20:44
Edwi1actually I have the irc from the server  :-/20:44
Edwi1alexm, so I am thinking in just kill the process20:45
alexmruben23_: otherwise, you should change to a console on the first step of the debian-installer booting from the ubuntu server and proceed from there on the command line20:45
ruben23_ok20:45
ruben23_then on the console20:45
uvirtbotNew bug: #397143 in drbd8 (universe) "Please merge drbd8 2:8.3.2-1 (main) from Debian unstable" [Medium,Confirmed] https://launchpad.net/bugs/39714320:46
alexmEdwi1: sure, i thought you had already killed it ;-)20:46
Edwi1hooray!!! I killed the process and didn't happen ;)20:47
Edwi1jajaja20:47
ivokstestdisk is the best tool for disks20:48
Edwi1for mounting again the /tmp  I just have to type: mount /tmp  to get mounted ???20:48
ivoksEdwi1: why would you do that at all?20:48
ivoks1MB is not enough for /tmp20:48
alexmEdwi1: no, you'll be using /tmp from the / partition20:49
ivoksif you want to have /tmp in ram20:49
ivoksadd something like this:20:49
Edwi1sorry, actually /tmp doesn't have its partition, it dependes under  /20:50
ivokstmpfs /tmp tmpfs size=130000000 0 020:50
Edwi1but, wait a minute friends... I can't umount /tmp  it says "device is busy"20:51
Edwi1lsof /tmp/20:51
Edwi1lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/siget/.gvfs20:51
Edwi1      Output information may be incomplete.20:51
alexmEdwi1: you'll have to logout20:53
spectoEdwi1: you'll probably have to boot to another cd....20:53
Edwi1please, check this lsof output:20:53
Edwi1umount /tmp/20:53
Edwi1umount: /tmp: dispositivo ocupado20:53
Edwi1umount: /tmp: dispositivo ocupado20:53
specto!pastbin20:53
ubottuSorry, I don't know anything about pastbin20:53
specto!pastebin20:53
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. Ubuntu pastebin is at  http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from  command line | Make sure you give us the URL for your paste - see also the channel topic20:53
alexmEdwi1: sorry, siget user should logout20:54
alexmor umount /home/siget/.gvfs20:54
Edwi1"dispositivo ocupado" is similar to "device is busy"20:54
Edwi1ok alexm, I will try with your last advice20:55
Edwi1alexm, it says again "device is busy"20:56
alexmEdwi1: please, run sudo lsof /tmp20:57
Sam-I-Amor fuser /tmp20:57
Edwi1alexm, losf command, now doesn't show anything20:58
Edwi1Sam-I-Am: fuser /tmp don't show anything, too20:59
alexmEdwi1: now, try to sudo umount /tmp again20:59
Edwi1alexm, /# umount /tmp/21:00
Edwi1umount: /tmp: dispositivo ocupado21:00
Edwi1umount: /tmp: dispositivo ocupado21:00
Edwi1alexm, remembering "dispositivo ocupado" is equal to "device is busy"21:01
Edwi1:-/21:01
Sam-I-Amlots of stuff writes into tmp21:01
alexmEdwi1: i know21:01
Edwi1alexm :)21:01
alexmEdwi1: new approach... sudo ls -l /proc/*/fd|grep /tmp21:05
Edwi1thanks alexm, I'll try that :)21:05
Edwi1alexm, the output of last advice you gave me is in: http://paste.ubuntu.com/213115/21:09
alexmso users dataguard and siget should logout from their sessions in order to umount /tmp21:10
alexmyou could try to stop tracker et al. but it'll be a lot harder21:11
Edwi1thanks alexm, but the easy way is killing the session for siget (a remote user connected) and I have to logout21:14
Edwi1but if I had to do the hard way, how can I stop tracker ?21:15
alexmin preferences > startup applications there's a way to stop tracker21:18
alexmbut you won't be able to do so for user siget21:18
alexmunless you kill all tracker processes on the system21:19
Edwi1alexm, what you can recommend me to do for user "siget"21:19
alexmi'd try to ask him to logout first21:20
Edwi1alexm, I called him by phone to his office but he is not there, so he gave permission to finish his session21:22
Edwi1he told me that doesn't left running anything on the server21:23
alexmso you're asking how to finish his session, isn't it?21:23
Edwi1yes alexm21:23
alexmsince he doesn't care or recall having a session open then a "killall -u siget" should do21:24
Edwi1ok alexm, i'll do that21:25
Edwi1(btw, thanks for your help alexm)21:26
alexm:-)21:26
ivokswow21:30
ivokskillall -u21:30
ivoksi always used slay21:30
Edwi1alexm, i'll back... I'm going to logout (I am logged as dataguard)21:33
Edwi1and I will try to umount /tmp from the console21:38
ruben23_hi if my HDD is formatted with ntfs--->can i still used it to install ubuntu...server21:45
spectoruben23_: I wouldn't, while ntfs-3g seems to perform decently compared to a native file system such as ext3 it's not acceptable for a server.  Just use a VM?21:48
ivoksruben23_: that most probably wouldn't work21:49
ivoksyou wouldn't have UNIX ACL's21:49
ruben23_<specto> im formatting the HDD on a windows platform then put it again on my server to installed the default linux setup-but still got freeze during formatting on partition part.21:49
ivokswhich would render it useless21:50
spectoruben23_: sounds like there is something wrong with your hard drive21:50
ivoksanyway, good night21:50
ruben23_how to boot on command pompt in the install cd..of ubuntu server22:06
alexmAlt-F222:07
ruben23_<alexm> on boot up of CD..?22:08
alexmno, you must start the installation process22:08
alexmlet the install process to detect your discs, etc. and then press Alt-F222:09
ruben23_then ill press Alt_f2 on what part..?22:09
ruben23_ok22:09
alexmor Alt-F3 ... there are a few consoles open22:09
ruben23_<alexm> on the console ill reformat my HDD- with fdisk22:10
alexmthe installation process will perform some interesting setup steps for you: loading modules, network settings, etc.22:11
alexmthen, once on the console you can change the partition layout with fdisk, if you like to22:11
ruben23_<alexm>on what part of the installation ill set ALT+f222:12
ruben23_when it prompt me for network setup..? partition?22:12
alexmyou can switch consoles anytime22:12
alexmat least wait for the discs to be detected22:13
alexmi don't have an exact picture of the whole d-i screens in my mind right now22:13
ruben23_ok hope this will work for my HDD now22:13
alexmnevertheless, you should check the disk for defects anyway22:14
alexmone way to do it is with badblocks22:14
billybigriggerhey all22:15
alexmor with dd if=/dev/sda of=/dev/null22:15
alexmor with testdisk22:15
billybigriggeranyone know why i wouldn't be able to bring up eth0? i have it set to dhcp, and i know it works, static doesn't work either22:15
ruben23_<alexm> whats your location..?22:16
ruben23_:)22:16
billybigriggernvm, interfaces had an entry for eth0, and it needed to be eth122:18
alexmruben23_: i'm near barcelona, es22:18
ruben23_<alexm>---ow nice..22:21
ruben23_im in the console now22:21
alexmbillybigrigger: check that interface names match the right mac address in /etc/udev/rules.d/70-persistent-net.rules22:21
alexmruben23_: the uds karmic venue was just 10 minutes away from my home ;)22:23
ruben23_nice22:26
ruben23_<alexm> are you a sysadmin..?22:26
alexmyes, i work at the upc university in barcelona22:27
alexmgood night22:34
ruben23_hi can i used cfdisk on ubuntu...?22:41
ruben23_in the installation process on the console22:41
ruben23_i got error------------------------------------------------>dos compatibility flag is not set22:44
DelphiWorldhello23:08
KillMeNowHowdy23:08
=== nandemonai_ is now known as nandemonai
DelphiWorldplease how i can use static IP unstid of Using DHCP?23:08
KillMeNowyou have to edit your interfaces file23:08
DelphiWorldUBUNTU SERVER 8.1023:08
KillMeNowin /etc/network/interfaces23:09
DelphiWorldok23:09
KillMeNowmake sure you read this:  man interfaces23:09
KillMeNowalso make sure you are editing the right interface...  ifconfig is your friend23:09
KillMeNowifconfig will show you all network interfaces on the system23:10
DelphiWorldok23:10
ruben23_hi-im on ubuntu installation terminal use fdisk on partioning- then now would like to run mkfs -t ext2 /dev/hdb1------> error mksf not found23:33
KillMeNowruben, why do you want to use ext2 filesystem?23:36
KillMeNowuse ext323:36
KillMeNowalso, if you're installing Ubuntu, it can format and partion your drives for you23:37
nick125Hmm...when doing RAID/LVM in Ubuntu, where do I put my /boot? Should I create a separate partition?23:43
KillMeNowif all you have is the one RAID drive set w/o a free standing drive, you kinda have to put your /boot partition on the RAID.  Otherwise, if you have another drive you can mount that partition on a separate drive23:44
KillMeNowfollow?23:44
KillMeNowhere is a good article about building raid with Ubuntu:  http://advosys.ca/viewpoints/2007/04/setting-up-software-raid-in-ubuntu-server/23:49
KillMeNowthis is a decent looking article as well:  http://beginlinux.com/server_training/server-managment-topics/1001-raid-5-with-lvm-on-ubuntu-80423:50
KillMeNowgotta go get some other things done but i'll be back in a while23:54
=== KillMeNow is now known as KillMeNow[A]
* KillMeNow[A] is now away - Reason : Not here right now23:54
ruben23_<KillMeNow>sorry got disconnected----> yes i used the installation but during format my HDD freeze in progress23:54
jeiworthsaaaaay guys, what would be the best solution to block a machine from communicaating with the internet, i.e. i only want to allow network traffic from and to local machines/IPs?23:54
KillMeNow[A]:jeiworth23:55
Reepicheepjeiworth: don't give the machine a gateway23:55
KillMeNow[A]that was the first suggestion before i accidentally hit enter23:55
hggdhor block it at the router23:55
KillMeNow[A]or if you wanted to be studly and set up your IPTables output chains to block all internet access except for your local networks23:56
Reepicheepor iptables, or even better.. layers are good so do them all23:56
KillMeNow[A]ok, now i am away23:56
jeiworthReepicheep: hmm but will then be reachable over its hostname or just its ip?23:57
Reepicheepthat shouldn't matter23:57
KillMeNow[A]oh yea Ruben...  if you're using older hardware (Megaraid scsi for example) I don't think ubuntu supports that anymore23:58
jeiworth<hggdh> or block it at the router <-- i am trying to convince the customer to do that but their linksys doesnt seem to offer that option :-/23:58
Reepicheepthat is dependent on the sources machines DNS settings and the DNS server or host file23:58
ruben23_<KillMeNow[A]> :)23:58
KillMeNow[A]i had a old megaraid hardware scsi raid controller and Ubuntu installs always failed on about the same place you're describing...  wound up pitching the controller for something else23:59
hggdhjeiworth, heh. Being cheap sometimes bites back ;-) But I find surprising that their router does not even provide parental controls23:59
ruben23_no im using SATA new one23:59
KillMeNow[A]ok now i am REALLY away23:59
KillMeNow[A]check to make sure that the SATA controller is in the supported hardware list23:59

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