/srv/irclogs.ubuntu.com/2008/09/08/#ubuntu-server.txt

J-_How can I change my server password?00:28
hadspasswd00:29
J-_!passwd00:30
ubottuSorry, I don't know anything about passwd00:30
J_5J-_: for your user name? used passwd00:56
J_5use*00:56
=== PrivateVoid_ is now known as PrivateVoid
=== erichammond1 is now known as erichammond
=== PrivateVoid_ is now known as PrivateVoid
warchief_ryanDoes anyone know how I can have my iptables rules added at boot?02:30
OntologAre there command-line utilities that do the same thing as the Network Configuration GUI?02:34
OntologIn particular, define and apply different Profiles?02:34
warchief_ryanifconfig, depending on what your wanting to do I think.02:36
Ontologifconfig is very low level02:40
Ontologi'm talking about the higher-level 'Profiles' that the GUI supports02:41
ScottKwarchief_ryan: If you configure ufw, it will run at boot.02:41
warchief_ryanI have, but I want to use just iptables02:41
kgoetzdoes hardy still have /etc/rc.local? if so you could put a iptables-restore in there03:22
warchief_ryanwhy would I do that?03:24
warchief_ryanI want my rules added, wont that just restore to default?03:25
kgoetznot if you restore from a dump you made.03:26
warchief_ryanok, how?03:28
kgoetziptables-save and iptables-restore are both <40 line man pages. its not very complex.03:30
warchief_ryancomplex maybe not, but the man pages don't really explain throughly enough, mainly about the process03:34
warchief_ryanlike if its dumping it to somewhere or if ive got to state where to dump03:35
kgoetzafaik its as hard as iptables-save > /root/dump && echo "iptables-restore < /root/dump " > /etc/rc.local # again, assuming that rc.local exists andd is used03:36
warchief_ryank thanks, ill try03:39
=== PrivateVoid_ is now known as PrivateVoid
khaotikanyone have time to help a complete noob?04:18
lrojashi all04:20
J_5khaotik: we were all noob's at once, just ask you question :)04:20
khaotikwell i would like to attempt to set up one of my machines to run ubuntu server. I have never dealt with any server OS before. ive been using ubuntu desktop for over 1 year.04:22
lrojasi tried installing ubuntu JeOS server on VMWare fusion, but i am not sure if i am suposed to use it only to prepare an appliance or can i use to develop my web app in it... ( care to clarify that? ) but my main question is... Do man comes with JeOS? cause when i try to man something i get command not found04:22
khaotiki have an old laptop i would like to use. is there any limitations or specifications of hardware i should use or stay away from?04:23
lrojasdid i get disconected?04:25
lrojas:/04:27
ScottKNo.04:27
lrojasok04:27
lrojas:)04:27
ScottKFor a test server most any hardware will do.04:28
ScottKActually for most server applications hardware is less critical than desktop since you aren't running X and a bunch of heavy apps.04:28
lrojasare you answering me? i am asuming you are answering khaotik04:30
hadslrojas: sudo aptitude install man04:32
khaotikmy bad i had to take the dog for a walk04:33
lrojashads, thanks04:33
hadsJeOS is exactly the same, just a minimal install04:34
lrojasdoes anybody knows if i intend to run the ubuntu server under a VM, installing from the JeOS iso is better than from the regular server ISO?04:34
khaotikthe reason i ask i have an old HP laptop that has 512 MB RAM 40 GB hardrive and pentium 4 1600 Mhz. would that be something sufficient to run on?04:35
jhigueros good night may be you can helpme somebody knows where is magicfab i am loking for him04:36
lrojashads, thanks again didnt realize that you had answered me before i asked my question04:39
khaotikwell i tried installing ubuntu server on it. everything seem to load fine. then when i tried to install a GUI for it it crashed04:44
hadslrojas: No problem04:49
lrojasanybody can give me a sugestion, regarding runing ubuntu server on a Virtual Machine ( VMWare ), should i install it as JeOS Server? or is that only used to make appliances and for more general purposes the standard server is ok?05:16
hadsAs I mentioned it's the same thing, JeOS is just a minimal install.05:17
chmacMy apache child processes are using around 20-30 MiB of physical memory after serving a few requests. Does that seem normal?05:31
chmacWhen the child is freshly created it uses < 1 MiB05:32
lijjkkll05:41
=== chmac is now known as chmac_away
=== Dedicated is now known as dedi_away
=== dedi_away is now known as Dedi
skepchmac_away: this can be normal..do you run e.g. php app's?07:34
chmac_awayskep: Yeah, running large bloated php apps, phpnuke being the worse, and WordPress07:35
skepi would say its normal then..the default limit is 64MiB afaik..07:39
skepfor child mem use07:39
chmac_awayskep: The MaxClients at 150 was killing my server07:43
chmac_awayI've reduced it to 18 now though, so hopefully it'll behave from now on07:43
Ian_Cornehehe07:44
skepchmac_away: you could also reduce the ServerLimit to the same number..07:45
chmac_awayskep: I don't have a ServerLimit in my apache2.conf...07:46
=== chmac_away is now known as chmac
chmacskep: Ok, I see how it works. I'll keep that in mind if we have problems down the line. Thanks.07:48
=== mdz_ is now known as mdz
uvirtbot`New bug: #267696 in mysql-dfsg-5.0 (main) "mysqldump fails silently against mysql 4.0 server" [Undecided,New] https://launchpad.net/bugs/26769611:06
hsn_i need libcxa.so.3 where can i get it?11:15
uvirtbot`New bug: #267701 in php5 (main) "php5 session files purge cron job not working outside /var/lib/php5" [Undecided,New] https://launchpad.net/bugs/26770111:36
=== Dedi is now known as dedi_away
skephsn_: libcxa.* should be in intel compiler packages..are you sure that this file isn't already on your filesystem? perhaps search via find..12:26
skephsn_: so perhaps you just need the dev package for your compiler..12:28
=== dedi_away is now known as Dedicated
lrojashi all13:17
lrojasanybody aake?13:17
lrojasawake... awake... awake...13:19
* lrojas ponders at the cavernous cacophony in here13:20
sorenThe keyword is patience.13:31
sorenAlso, most people don't bother answering "anybody awake" sort of questions. There's 107 people in here. The noise of everyone responding to those kinds of questions would be horrible. Just ask your question.13:32
lrojasi just installed ubuntu server, and i was following the documentation to install lighttpd + ruby + rails, everything installed ok but now when i try to access the site, it says conection refused... what am i doing wrong?13:51
skeplighthttp running?13:58
lrojaswell, i am following this instructions : https://help.ubuntu.com/community/RubyOnRails#Lighttpd%20Installation, i executed the command for running the lighttpd service but when i check if it's up, is not13:59
* zul really really hates libtool13:59
=== mdz_ is now known as mdz
sorenlrojas: Try "sudo /etc/init.d/lighttpd stop ; sudo /etc/init.d/lighttpd start"14:08
sorenlrojas: Do you have another webserver running on the machine, perhaps?14:08
lrojassoren, not that i know of, is a fresh install of ubuntu...14:11
lrojassoren, i dont want to use pastebin for 6 lines, can i paste them here?14:12
sorenNo.14:14
soren-> pastebin.14:14
lrojashttp://pastebin.com/d5fbcfee314:16
skeplooks good..and localhost in your webbrowser gives you connection refused?14:20
lrojasif it is any help, here is my /etc/lighttpd/lighttpd.conf http://pastebin.com/d109af8e314:22
skepwhats the output of "sudo netstat -ap | grep www" after starting lighthttpd?14:25
sorenAnd just as interesting:14:26
sorensudo netstat -apn | grep lighttpd14:26
skepsoren: but doesn't the n parameter converts www/lighthttpd into 80?14:27
skepah no..mixed something up..its ok14:27
lrojasskep yes14:27
lrojasskep i get conection refused14:28
soren-n turns 'www' into 80. Nothing else.14:28
\shguys...does anyone run a hp dl3x5 with a p400i for system hds and a p800 for MSA storage? looks like that even if the bios is saying: p400i is the default boot controller, our grub and kernel doesn't want to boot14:28
sorenWell, it skips any sort of name/service resolution14:28
soren\sh: What happens?14:28
\shsoren: well, it should boot...but it doesn't :)14:29
\shno errors during installation (server)14:29
lrojassudo netstat -ap | grep www returns nothing14:29
sorenlrojas: What about "sudo netstat -apn | grep lighttpd" ?14:30
lrojasnothing either14:30
sorenps aux | grep light14:30
soren\sh: I hope you're typing more info and not just waiting for an answer..14:31
lrojasit only returns the grep itself14:31
skeplrojas: you could also check out the logs in /var/logs for something lighthttpd related..maybe in messages or the lighthttp logs itself (if there are any)14:32
\shsoren: I'm running between my desktop and my server ;)14:33
\shstrange..after installation the server doesn't boot up as expected...now I "reinstalled" grub from the "rescue system"...and now he finds the devices correctly, but totally wrong from grubs menu.lst now (which was during installation (hd1) and now it's (hd0))..no cold boot done14:34
sorenJust change the boot entry in grub?14:34
lrojashow do i cd into /var/log/lighttpd ? i get permission denied, if i do sudo cd /var... i get cd commnad not found14:38
\shsoren: i did...but something goes wrong during installation via d-i and the final system...I'll have another machine with the same setup tomorrow...so I can check a bit more14:39
\shsoren: btw...do you have any clue how udev setups the devicenames for NICs? It looks a bit strange when the onboard and the other 4Gi NICs are somehow randomly counted...14:40
soren\sh: It's random.14:42
sorenUpon discovering the pci devices, the modules are loaded. The modules's initialisation phases might overlap, and then you get a somewhat odd ordering of the interfaces.14:44
sorenYou can fix it up in /etc/udev/rules.d/70-persistent-net.rules14:44
sorenYou can even assign arbitrary names to nics in there. (i.e. you can name them according to function "wan", "dmz", "office", "prod", "test", etc.)14:45
\shsoren: yes..I know, I just thought that it happens via a non-random system e.g. pci-id dependent14:47
_rubenugh .. i really oughta setup a netboot environment .. this vritual media over lan is performing like shit :/14:58
_rubennow it seems to stall even earlier .. sigh15:03
uvirtbot`New bug: #267671 in samba (main) "bug of samba" [Undecided,New] https://launchpad.net/bugs/26767115:12
skeplrojas: "sudo tail -f /var/log/messages" and/or "sudo tail -f /var/log/lighthttp...." and with these commands running try to (re)start lighthttpd and check if something is added to the logs15:17
soren_ruben: "virtual media over lan"?15:37
soren_ruben: Well, really "vritual", but I presumed that was a mistake :)15:37
_rubensoren: its a feature of this machine, as part of the remote kvm card in it .. it allows to mount isos over the network to be used as a virtual cdrom drive15:38
sorenOh.15:38
_rubenmoved the iso from fileserver to my local system .. atleast feels faster .. perhaps im able to actually finish the install now :)15:39
_rubenbah .. cheered too early .. stalled on "Retrieving lvm2-udeb"15:44
AnRkeyMy dovecot-imapd is showing this error in the /var/log/mail.log file >> Sep  8 17:09:13 homeserver dovecot: imap-login: Aborted login (0 authentication attempts): rip=192.168.0.2, lip=192.168.0.516:13
AnRkeyi cant connect to the imapd from evolution or thunderbird16:13
AnRkeyany suggestions?16:14
zulare you using the right password?16:14
AnRkeyhaha16:19
AnRkeyi think i am beyond that yes :D16:19
AnRkeyfound the prob16:19
AnRkeyi had sasl auth only on16:19
AnRkeyit's always something simple that messes everything up :D16:20
AnRkeythanks anyway16:20
uvirtbot`New bug: #267802 in nagios2 (universe) "Home Folder for Nagios is wiped on Reboot" [Undecided,New] https://launchpad.net/bugs/26780216:51
jdstrandsommer: hi! do you have time for some quick comments regarding the ufw documentation?17:11
jdstrandlamont: hi! I have on my todo list to do the LP stuff for the bind9 SRU. I don't (yet) see that it is uploaded. can you ping me when you upload and I'll do the LP stuff?17:34
sommerjdstrand: can I ping you in about 2 hours?17:37
jdstrandsommer: sure. ping me when ready (I may be out, but will certainly be available around that time)17:38
lamontjdstrand: git clone git://git.debian.org/~lamont/bind9.git17:41
lamont:-)17:41
lamontor was I packaging it?17:41
jdstrandlamont: oh, I thought you said you'd upload17:41
jdstrand(I thought that was where we left it)17:41
lamontright17:42
lamontsorry17:42
jdstrandnp at all17:42
lamontI'll get to that tonight,  I expect17:42
jdstrandcool-- feel free to ping me when uploaded17:42
uvirtbot`New bug: #263840 in samba (main) "smbpasswd crashed with SIGSEGV in dump_core()" [Medium,Incomplete] https://launchpad.net/bugs/26384018:27
_rubenbah .. most neboot tuts are geared towards -desktop, not -server :/18:32
_rubens/neboot/netboot/18:33
Goosemooseanyone know what to set in the preseed file to get the new computers to authenticate users against the domain?20:05
mathiazGoosemoose: have you looked into using the late_command option ?20:06
Goosemooseyeah i just cant seem to get likewise to work right20:06
mathiazGoosemoose: AFAIR the likewise-open package doesn't support preseeding the domain part20:07
Goosemoosethat would be bad, i dont want to manually go join 250 machines to the domain20:07
mathiazGoosemoose: IIRC you can pass the administrator password on the domain-join command line20:07
Goosemoosehmm20:07
mathiazGoosemoose: so you can use the late_command option to perform the domain-join and adding likewise-open to the list of packages to be installed20:08
Goosemooseok ill have to figure out the domain-join part, i must have something wrong with it20:08
mathiazGoosemoose: be aware that the preseed will go uncrypted on the network20:08
Goosemoosei used MD5 for the admin user on the machine, I'm guessing domain-join doesn't support that?20:09
mathiazGoosemoose: another solution is to setup ssh public keys on installs and then ssh into the box to do the domain-join20:09
Goosemoosei'd rather avoid that if i can20:10
mathiazGoosemoose: right - it seems the first you'd have to take is to figure the domain-join command line20:11
Goosemooseok20:11
Goosemooseim going to look on the forums some more20:11
mathiazGoosemoose: once you've got the command line, you can choose where you want to automate it : late_command in preseed (less secure depending on your installation environment) or via ssh20:12
Goosemooseok20:12
Goosemoosehmm, i just installed likewise-open on a machine via sudo apt-get install likewise-open, but the domain-join command does not exist20:25
Goosemooseis there another dependency?20:25
Goosemoosenvm its domainjoin-cli20:25
sommerjdstrand: pinger20:26
jdstrandsommer: hey20:27
sommerufw has some new options?20:27
jdstrandsommer: I just have a few really small things20:27
jdstrandsommer: 1) ufw has 'status' and 'status verbose'20:27
sommerjdstrand: ah, I'll note that20:28
jdstrandsommer: 2) until case-insensitive profile names are in place, when referencing applications profiles, we should use a capitalized first letter20:28
jdstrandsommer: eg 'Samba' or 'Apache'20:28
sommerokay, are the --update-new options the same?... I thought there were some changes, at least from the one email thread20:29
jdstrandsommer: let's get back to that in just a sec20:30
sommerheh, no problem20:30
jdstrandsommer: you say: "Similar to allowing traffic to a port, enabling an application profile is accomplished by entering"20:31
zulmathiaz: do you have an opinnon on bug #26770120:32
uvirtbot`Launchpad bug 267701 in php5 "php5 session files purge cron job not working outside /var/lib/php5" [Undecided,New] https://launchpad.net/bugs/26770120:32
jdstrandsommer: but there really isn't a concept of 'enabling an application profile"20:32
jdstrandsommer: it's really, just using it, like you might use a protocol name in /etc/services20:32
jdstrandsommer: you use 'enabled' in a few places in there, so the workding may need to change somewhat20:33
jdstrandsommer: does that make sense?20:33
sommerjdstrand: I think so20:33
jdstrandsommer: ok good-- eg "To view details about which ports, protocols, etc are enabled for an application, enter:"20:33
mathiazzul: we should find out why php is creating session in /tmp/20:33
jdstrandsommer: here, just do s/enabled/defined/20:34
mathiazzul: or which module is causing that - and fix it there20:34
zulmathiaz: cool..20:34
jdstrandsommer: now to your previous question20:34
jdstrandsommer: 'ufw app update <foo>' only does something if you used the profile 'foo' in your rulesets20:35
jdstrandsommer: otherwise it's a no-op20:35
sommerjdstrand: gotcha20:36
jdstrandsommer: 'ufw app update --add-new <foo>' will do as above, but will also add a rule to your existing rules if the default application policy is changed away from 'skip'20:36
jdstrandsommer: no packages do that currently20:36
jdstrandsommer: unless you are going to talk about how an administrator can use applications profiles, you might want to just skip mentioning '--add-new'20:37
jdstrandsommer: what do you think?20:37
sommerjdstrand: I think that'd be simpler20:38
jdstrand(it is in the man page)20:38
jdstrandsommer: I agree20:38
jdstrandsommer: it was always intended for maintainer scripts, and possibly for advanced sysadmins20:38
sommerjdstrand: cool, I'll rework that bit20:38
jdstrandsommer: that's all I have. thanks *soo* much for the docs :)20:39
sommerjdstrand: np, thank you20:39
sommerjdstrand: ufw section updated :-)21:11
sommerjdstrand: it may be tomorrow before the changes appear on the website though21:12
jdstrand\o/21:12
jdstrandsommer: ok, I'll check then21:12
jdstrandsommer: thanks again21:12
sommerwelcome :)21:13
zethhello21:28
zethI am doing21:28
zethI am trying to install something21:28
zethand apt-get blocks me21:28
zethThe following packages have unmet dependencies. libdb4.6-dev: Conflicts: libdb4.3-dev but 4.3.29-11ubuntu1 is to be installed21:28
zethHow do I have both?21:28
arakthorI have no idea if this is sane, or works, but have you tried installing that dependency by itself21:30
zetharakthor: you mean from source?21:30
zethor just apt-get install libdb4.3-dev ?21:30
zethdoes not seem to make much difference installing it alone21:31
arakthorapt-get install libdb4.3-dev is what I meant21:31
arakthorerr21:32
arakthorsorry21:32
arakthor4.621:32
zethlibdb4.3-dev is already the newest version.21:32
zethif I do that21:32
zeth4.621:32
zeththen I get21:32
zethThe following packages will be REMOVED apache-dev libdb4.3-dev21:32
zethremoving apache-dev might be very bad21:32
arakthorah21:32
guntbertzeth: I've  seen such behaviour after enabling "proposed"21:34
zethoh right21:36
zethyes21:36
zeththat sounds good21:36
zethknow how I can fix it?21:36
zethLook through my sources.list?21:36
guntbertI'm on ubuntu desktop, but on server, yes, edit sources.list seems sensible21:38
zethno proposed there21:39
dendrobatesScottK: bug #26790122:22
uvirtbot`Launchpad bug 267901 in smart "smart does not correctly verify packages coming from archives." [High,Fix released] https://launchpad.net/bugs/26790122:22
dendrobatesScottK: I uploaded a fix.22:23

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