/srv/irclogs.ubuntu.com/2010/07/21/#ubuntu-server.txt

pittstainsnot sure how else i'd unmount it because it's a remote server and the OS (/, /boot, everything) lives there00:00
Jordan_Upittstains: You should *never* run fsck on a mounted extn filesystem.00:02
pittstainsi thought it was safe with the -ns flags00:02
pittstainsread-only mode00:02
pittstainsam i wrong about that?00:02
Jordan_UNo, that's correct.00:03
pittstainsJordan_U: whew! so any idea about the proper way to repair it, given my circumstances?00:04
Jordan_Upittstains: I think that even though it's safe, running fsck on a mounted system isn't meaningfull as a mounted FS looks like a broken one (the journal looks like it needs to be replayed, parts of the FS read earlier are inconsistent with parts read later if something changed)00:06
Jordan_Upittstains: So you can "sudo touch /forcefsck" to cause an fsck to be run at next boot, but don't be too worried about errors from fsck on a mounted fs.00:07
pittstainsJordan_U: thanks for that info.  i generally don't work too close to the filesystem, so that's helpful info.  however, i think i actually do have a problem: i deleted a large file and dh gives me the same output.00:08
pittstainsalso, the file deleted instantly.... usually there's a little lag for big files00:08
pittstainsJordan_U: will the forcefsck file be deleted after the next boot?  also, which log should I check to see the results of the check?00:09
Jordan_Upittstains: Do any applications still have the file open?00:09
pittstainsgood question... it was a log file being written to by Apache (it had grown to 10GB)00:10
Jordan_U(you can check that by running "sudo fuser /path/where/the/file/was".00:10
pittstainsdoesn't show up under ls any more.... running fuser now...00:10
Jordan_Upittstains: In unix files aren't truly deleted untill no references to them exist, that includes hard links and open file handles.00:11
pittstainsfuser says no such file or directory... if i restart apache that should close any handles though00:12
Jordan_Upittstains: Try "sudo lsof | grep /path/to/file" instead.00:13
pittstainslsof not found?00:14
Jordan_UThat's surprising, are you sure you spelled it correctly?00:14
pittstainsLSOF, right?00:16
fallousshould be in /usr/bin/00:16
pittstainsoh, i forgot this is a debian box and not ubuntu -- should be the same though, right?00:17
Jordan_Upittstains: sudo apt-get install lsof, and let's continue this in #debian since it's off topic here.00:18
pittstainsthanks, jordan00:19
yabbolooks like ubuntu doesnt support this system00:24
yabbothat sucks00:24
yabbotoo old of a dell00:25
yabboexit00:27
=== dendrobates is now known as dendro-afk
pittstainsfor anyone who was following my convo with Jordan_U, the reason the file didn't delete is that Apache was still using it.  restarting Apache freed up the file to be deleted, and df now reports as expected.00:30
DukeOfMilanI'm trying to Kickstart a server but getting "bad archive mirror" w/ us.ubuntu.com/ubuntu, any ideas?00:33
jpdsDukeOfMilan: It's us.archive.ubuntu.com00:35
jpdsDukeOfMilan: Which are part of the US is the server physical based?00:36
DukeOfMilanRight, sorry--typed it wrong.  This is what I'm using: http://us.archive.ubuntu.com/ubuntu00:37
DukeOfMilanSF Bay area00:37
jpdsThat should work.00:37
DukeOfMilanHere's the line from ks.cfg:00:38
DukeOfMilanurl --url http://us.archive.ubuntu.com/ubuntu00:38
jpdsDukeOfMilan: You might want to use http://mirrors.us.kernel.org/ubuntu/ instead however - as that's based in California.00:38
DukeOfMilanHmm, I'll try that, thanks.00:39
DukeOfMilanCan I just use it like that in the ks.cfg, or do I need to add: dists/lucid or anything more specific?00:39
jpdsI'm looking for Kickstart documentation on it just to be sure.00:41
DukeOfMilanIt didn't like the url I was using, and it takes like 15min to get to the part of the install where it fails.00:42
DukeOfMilanI'm using "The Official ubuntu Server Book" as a guide, btw.00:44
jpdsDukeOfMilan: As far as I can see, that line should be fine.00:48
DukeOfMilanI'm trying: url --url http://mirrors.us.kernel.org/ubuntu00:49
DukeOfMilanI'll know in about 15min if it worked. :)00:49
jpdsDukeOfMilan: http://ubuntuforums.org/showthread.php?t=880829 describes what it's trying to do internally.00:50
DukeOfMilanjpds: same error message I'm getting, maybe same issue.00:52
=== dendro-afk is now known as dendrobates
ruben23hi guys when i install ubuntu-server using a sas HDD do i need to laod drivers during the install or no need..?00:57
qman__ruben23, if it works, then no00:57
qman__"installing drivers" is basically a thing of the past00:58
ruben23ok00:58
qman__either it's in the kernel or it isn't, as long as you run the latest updates00:58
qman__and if it isn't in the kernel, but does exist, you'd have to compile it yourself anyway, quite the task00:59
silentwhispersir jeeves01:00
ruben23hi si rt-kernel used by ubuntu-server studio..?01:01
silentwhispermy server is access denied01:01
silentwhisperpls help how to troubleshoot01:01
silentwhisperanyone pls help01:02
qman__!details | silentwhisper01:03
ubottusilentwhisper: Please give us full details. For example: "I have a problem with ..., I'm running Ubuntu version .... When I try to do ..., I get the following output: ..., but I expected it to do ..."01:03
silentwhisperwhen i try to browse http://bits.ath.cx01:05
silentwhisperaccess denied appears on the screen01:05
silentwhisperwithin the network ok01:05
silentwhisperbut outside the network access denied appear01:05
ruben23any used rt kernel on ubutu-server..?01:06
silentwhisperit been a week i keep receiving this error01:07
silentwhisperi was able to make right less than a week01:07
silentwhisperuntill access denied appears01:08
qman__silentwhisper, what software are you using? what do you expect to see? what authentication mechanism is in use?01:09
=== dendrobates is now known as dendro-afk
silentwhisperim using ubuntu 10.04 deskstop and installed apache201:10
silentwhisperat local host is says "it works"01:10
silentwhisperbut in the internet error01:10
qman__silentwhisper, that access denied page is not an apache access denide page01:11
qman__first make sure that URL is pointing to your server, and that ports are forwarded01:11
silentwhisperhttp://paste.ubuntu.com/466724/01:11
silentwhisperyes sir im using dyndns01:12
silentwhisperand my port 80 is forwarded01:12
silentwhisperim using ddclient to update my ip regularly01:12
silentwhisperthis http service is intermittent01:12
qman__silentwhisper, it is a DNS issue01:13
qman__accessing your IP works01:13
qman__http://120.28.128.42/01:13
qman__it isn't pointing to your IP01:13
qman__;; ANSWER SECTION:01:13
qman__bits.ath.cx.60INA222.127.223.6901:13
silentwhisperwhat seems to be the problem sir?01:15
qman__bits.ath.cx does not point to you01:15
silentwhisperhow can i fix it?01:16
qman__so it's either the wrong URL, or your dyndns is configured wrong, or you have a dynamic IP and it's not updating01:16
qman__any number of reasons01:16
silentwhisperfor sure i have dynamic ip01:16
qman__you need to have a script or service to update the IP information with dyndns01:17
silentwhisperbecause my service provide is for home user only01:17
silentwhisperhow can i do that?01:17
qman__I don't know how to do it with dyndns.org, I use afraid.org myself01:17
qman__but there should be instructions at dyndns.org01:18
silentwhisperi'll check on it also01:18
silentwhisperthanks qman01:22
silentwhisperi'll try it01:22
silentwhisperhow did you found out my hosts is not redirected correctly to my ip01:23
qman__the error page that was showing is not an apache error page, it's some other software01:24
qman__so then I compared the results of `dig bits.ath.cx` to the IP you are chatting from01:25
qman__and they are different01:25
qman__I then tested browsing to your IP, which worked01:25
silentwhisperwow01:26
silentwhisperthanks01:26
silentwhisperyou can get my ip while were chatting?01:26
qman__yes01:26
qman__freenode does not obfuscate them01:27
qman__ /whois me, and you'll se mine01:27
cjsHow do I detach a logical volume (i.e., make it disappear from /dev/mapper)?01:27
cjsAh, vgchange -a n <name>.01:29
silentwhisperi type /whois qman but no output01:30
qman__ /whois qman__01:30
silentwhisper"/whois qman"01:30
qman__and it may not show up on this screen depending on your chat client01:30
qman__xchat shows it in the 'server' tab01:31
silentwhisperit does not show up01:31
qman__ah, you are using xchat01:31
qman__in that case, you can also right click on my name, and hover it01:31
qman__and it will show you01:32
silentwhisperreal name,user,country01:33
qman__yes01:33
qman__under user, it shows you my IP, though my ISP has reverse DNS so it shows you the name01:33
silentwhisperreverse dns01:34
silentwhisperah01:34
MoltarHi.  I'm having a problem with a GPT formatted boot volume, my server gets a 'boot failure' after the installer has completed installing into the GPT partitions.  I'm using 10.04 server.  Could anyone suggest a fix or a way to troubleshoot this?01:35
tcwDoes the latest ubuntu server edition do some kind of automatic NIC teaming in a default installation?02:37
silentwhisperhelp pls03:22
silentwhisperi have dynamic ip03:22
silentwhisperwhich is the best dns to use and easy to configure03:23
twbAny of the ones your PPP/PPPoE/PPPoA client can auto-update03:26
twbSince you're probably doing PPPoA on an appliance modem/router with its default proprietary firmware, that set may well be the empty set.03:27
silentwhisperwhich is easier to use dydns,no ip,afraid etc03:32
silentwhisperand which client is easier to configure03:32
silentwhisperi have a dynamic ip03:32
twbMost clients support a large number of providers.03:35
silentwhisperwhich client is easier to configure for different dns03:42
twbI can't comment on that.03:43
silentwhisperwhen you are setting a server using dynamic ip what client you usually use?03:47
twbI don't.  I have a class C.03:50
tcwyears ago no-ip was pretty easy to use03:51
tcwhavnt used it in 5+ years though03:51
tcwassume its only gotten easier03:51
twbWhat they all boil down to is a post-ACK hook that issues an HTTP POST with the appropriate username, password and IP fields.03:54
tcwhow can i get a list of network interfaces in a machine (interfaces that currently are not brought up) i.e: i have added a secondary PCI NIC but I am unsure if it is classified by the system as eth1 or something else04:06
twbtcw: ip link show04:23
=== skydrome_ is now known as skydrome
=== EvilTrek is now known as EvilPhoenix
=== rmk_ is now known as rmk
Hilikushey guys05:29
Hilikusi have a backup system set up using passwordless ssh login. for some reason, if the user disconnect unexpectedly (their internet died) my system only realises the user disconnected after like 2-3 hours05:30
Hilikusany idea why is that?05:30
Hilikusis it rsyncd or is it sshd or what?05:30
twbBecause you aren't using -oBatchMode=yes ?05:33
Hilikuswhere??05:33
twbIn your .ssh/config or on the command line.05:34
Hilikusin the client's ssh client??05:34
twbIn whatever is invoking SSH05:34
Hilikusand this is a switch in ssh? i'll look it up05:35
Hilikussounds about right, but i still don't understand what it does05:37
Hilikuswhats password querying??05:37
Hilikusi just want to make sure i'm not making my system more vulnerable my setting this to yes05:37
silentwhisperhi to all06:00
silentwhisperi learned setting webserver using apache06:02
silentwhisperwhat service i must learn next06:03
silentwhisperim studying on my own please guide mo06:03
silentwhisperguide me06:03
silentwhisperpls06:04
=== dendro-afk is now known as dendrobates
Hilikussilentwhisper: ssh? it depends what you're interested in?06:59
Hilikussamba?06:59
larsemilsilentwhisper: what do you want to do?07:08
larsemilsilentwhisper: you have php support? mysql? that would be something07:08
kblinhi folks07:13
kblinit looks like myu ipv6-only system only tries to look up A records for hostnames instead of AAAA records. is there a setting I need to pass to the resolver to make it look for IPv6 records as well?07:14
kblinah, nvm, pebkac. I keep forgetting to use ping607:20
twbDoes lucid's slapd have that weird thing I heard about, where the config is stored *in* the database?07:28
joschitwb: yes07:37
joschitwb: but it's not specific to lucid07:37
twbWhere can I read about that?07:37
joschitwb: it's the new, "better" way of configuration propagated by the openldap people07:37
twb"sudo -ux getent passwd x" fails, but "getent passwd x" works, which indicates there's a missing access parameter -- but on my 8.04 system BOTH work, and it has an identical slapd.conf07:37
joschitwb: unfortunately, it's still incomplete, e.g. it's not possible to configure the meta-backend through the cn=config interface07:38
twbjoschi: well, I remember the #openldap people griping about Ubuntu adopting it before it was really ready07:38
joschitwb: http://www.openldap.org/doc/admin24/slapdconf2.html07:38
joschitwb: "Unlike previous OpenLDAP releases, the slapd(8) runtime configuration in 2.3 (and later) is fully LDAP-enabled and can be managed using the standard LDAP operations with data in LDIF."07:38
twbDoes that mean that slapd.conf is not changed at all -- it's simply EXPOSED via the LDAP API?07:39
joschitwb: no. either you use the traditional slapd.conf, then it's just a read-only version in cn-config07:39
joschitwb: or you exclusively use cn=config and have no slapd.conf at all07:40
joschitwb: the data is then stored in /etc/ldap/slapd.d/...07:40
joschitwb: on the plus side, you can change slapd's configuration on the fly without a restart/reload using cn=config07:40
twbHm.  I have a new lucid install (i.e. not upgraded), and it has a slapd.conf.  How did it get there, if Ubuntu doesn't use it by default?07:40
joschitwb: see /etc/default/slapd07:41
* twb looks07:41
twbSLAPD_CONF= (i.e. the empty string) in there, which means "use slapd.conf" according to the comments.07:42
joschitwb: do you have a different ubuntu lucid than me? mine says: "If empty, use the compiled-in default (/etc/ldap/slapd.d)."07:44
twbOh oh oh oh oh07:45
twbI'm very very very very stupid07:45
twbI forgot that the DESKTOPS are migrating 10.04, but the server is still hardy07:45
twbSorry for wasting your time07:47
silentwhispernext i want to try i mail server07:47
silentwhispercan you guide me07:47
twbThe problem must be elsewhere07:47
silentwhisperpls07:48
Jeeves_silentwhisper: Try the Ubuntu Server Guide07:48
Jeeves_Morning, all07:48
silentwhisperhi good am to you too07:55
silentwhisperhere in our country, its 2 in the afternoon07:56
=== dendrobates is now known as dendro-afk
ader10My question is here: http://ubuntuforums.org/showthread.php?t=1535426 Please help if you can09:42
zulivoks: around?09:55
ader10somebody answered my question10:02
silentwhisperneed guide how to set up a typical mailserver10:47
silentwhisper           help10:47
larsemilsilentwhisper: have you looked at the server guide?10:49
larsemilhttp://doc.ubuntu.com/ubuntu/serverguide/C/email-services.html10:50
TeTeTsmoser: do you maintain the euca2ools for Karmic? there is a question in the answer tracker that looks like a bug to me: https://answers.launchpad.net/ubuntu/+source/eucalyptus/+question/11842911:07
uvirtbotNew bug: #608154 in mysql-dfsg-5.1 (main) "MySQL bug(s) crash akonadiserver" [Undecided,New] https://launchpad.net/bugs/60815411:16
smoserTeTeT, i will look later11:35
andoljoschi: Just curious, you don't happen to be the same joschi the one on serverfault?11:50
joschiandol: I am11:50
andoljoschi: Ok, was mostly curious, having seen the same nick both there and here.11:51
uvirtbotNew bug: #608177 in squid (main) "squid crashed with SIGFPE in main()" [Undecided,New] https://launchpad.net/bugs/60817711:57
uvirtbotNew bug: #608182 in nut (main) "problems with ups (mge pulsar es 8+)" [Undecided,New] https://launchpad.net/bugs/60818212:02
uvirtbotNew bug: #608189 in samba (main) "package smbclient 2:3.4.7~dfsg-1ubuntu3 failed to install/upgrade: ile tar rovinato - l'archivio del pacchetto è danneggiato" [Undecided,New] https://launchpad.net/bugs/60818912:26
kaushalhi13:06
kaushalis there a way to know the controller card details on ubuntu server 8.04 ?13:07
pmatuliskaushal: start with 'lspci -vvnn'13:07
kirklandSpamapS: https://blueprints.edge.launchpad.net/ubuntu/+spec/server-maverick-uec-monitoring13:20
_chris_can i somehow tail the activity of a port ?13:23
=== mathiaz_ is now known as mathiaz
SpamapS_chris_: sure, you can use tcpdump to sniff the traffic, or you could log using iptables13:34
pmatulisshouldn't 'mount -a' mount nfs shares?13:47
SpamapSpmatulis: unless it has a 'noauto' option13:48
kirklandccheney: please push to lp:~uec-provisioning/uec-provisioning/trunk13:49
pmatulisSpamapS: thanks13:49
_chris_SpamapS, thx thats what i was looking for :)14:02
andreserlttx, howdy!! Can you take care of bug #607835 when you have the time please?14:33
uvirtbotLaunchpad bug 607835 in drbd8 "New Upstream Release DRBD 8.3.8.1" [Wishlist,Confirmed] https://launchpad.net/bugs/60783514:33
=== Daviey_ is now known as Daviey
ttxandreserl: please subscribe me to it, will do in my next sponsoring spree if nobody beats me to it14:41
andreserlttx, ok thanks :)14:42
benediktwhere does libvirt/kvm store its disc images by default?14:49
edwin_i want to set up a mail server14:56
edwin_please guide me14:56
kim0edwin_: check this out https://help.ubuntu.com/community/Postfix14:58
edwin_thanks kim815:05
edwin_but how can we retrieve the mail15:05
edwin_typically what i see is user can retrieve mail through website am i right?15:06
\shedwin_: http://workaround.org/ispmail/lenny <- this is for debian, but works on ubuntu...follow the steps...15:06
edwin_postfix is commandline type15:07
edwin_not gui type15:07
edwin_for user15:07
kim0edwin_: you'd need a webmail (which is a separate thing) .. try http://openwebmail.lagmonster.org/  or atmail.com15:10
kim0edwin_: or search for zimbra.com .. it's an all in one monster solution .. probably close to what you're looking for15:10
edwin_thanks guys for the links15:12
edwin_nowadays how is an emailserver setup for user15:14
edwin_is it gui type / still shell type/commdline type?15:14
WampyreHi15:18
=== zz_ng_ is now known as zz_zz_ng_
WampyreI have a service that is set to start with runlevel 2, but it's not doing so.  Once the computer starts up, I can start the service manually using the same script.  What do I need to check?15:18
=== edwin_ is now known as silentwhisper
sommermorning all15:44
Jeeves_Hi15:45
WampyreOla!15:45
Jeeves_Wampyre: Is it upstart or plain-old init?15:45
WampyreHow can I find out?15:46
raphaHi all, does Ubuntu Server not have PEM installed anymore?15:46
qbitzaWampyre, update-rc.d15:47
WampyreThe script exists in /etc/rc2.d15:47
Jeeves_Wampyre: So it's plain-old init :)15:47
rapha(Also there don't seem to be any PEM packages - I'm trying to get vsftpd virtual users working as per ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.2.2/EXAMPLE/VIRTUAL_USERS/README - can somebody help me?)15:48
Jeeves_Wampyre: Convert it to upstart15:48
qbitzaWampyre, as in sudo update-rc.d <service> defaults15:48
Jeeves_that's easy15:48
qbitzaupdate-rc.d shouldn't be bothered15:48
qbitzaIt can do either, afaik15:48
jjohansenDaviey: Bug #59945015:49
uvirtbotLaunchpad bug 599450 in linux "[apparmor] getattr handled incorrectly in 2.6.35-6.7" [High,New] https://launchpad.net/bugs/59945015:49
Wampyreqbitza, I've done that, while installing the application.  It has created the necessary scripts, but the service is still not starting.15:49
WampyreJeeves_, how do I convert it to upstart?15:50
ScottKGood morning sommer.15:50
sommer:-)15:50
Jeeves_Wampyre: Read the files in /etc/init15:50
Jeeves_There pretty logical15:50
Jeeves_upstart is the way to go anyways, so.15:51
qbitzaWympyre, I agree with Jeeves, upstart is the way of the future15:51
qbitzaWampyre, is this your own script?15:51
WampyreNope, comes with the software15:52
WampyreI just needed to update the paths in it.15:53
Jeeves_Wampyre: Which software15:59
Wampyrezabbix15:59
WampyreApparently it depends on mysql starting before it does.16:00
uvirtbotNew bug: #608292 in bind9 (main) "Sync bind9 1:9.7.1.dfsg.P2-2 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/60829216:01
phretorI had several LocalForward entries in my .ssh/config and I would like to open an ssh connection to the machines in a sort of "background mode" - is this possible?16:07
Jeeves_phretor: What do you mean?16:07
Jeeves_phretor: You mean that a script can open connections without usernames and passwords?16:08
phretorJeeves_: well, I'd like to put the ssh client in the background so I don't have to open another shell to, say, connect to locally forwarded ports.16:08
WampyreIn an upstart script, the start on parameter tells the script what to depend on?16:08
Jeeves_Wampyre: Yes16:09
Jeeves_You can configure your own events (i believe) and runlevels16:09
WampyreHow would I create a dependency upon mysql?16:09
Jeeves_That's a good one :)16:10
Wampyreso just; start on (mysql) ?16:11
Jeeves_that might work, yes16:11
Jeeves_Wampyre: I'm trying to find some documentation on that16:13
Jeeves_Wampyre: http://upstart.ubuntu.com/getting-started.html16:14
Jeeves_In the bottom, it talks about initctl -emit16:14
Jeeves_initctl emit16:14
Jeeves_Wampyre: Have a look at /etc/init/mountall.conf16:15
Jeeves_'emits' is the configuration keyword16:15
Jeeves_So if you change mysql.conf to 'emits mysql', than zabbix will start when mysql is started16:15
Jeeves_Upstart is pretty cool, actually.16:16
WampyreAh! So if I add "emits mysql" to mysql.conf, then I can use "start on (mysql)"16:16
Jeeves_Too bad that so many programs aren't fixed to use it yet16:16
Jeeves_Wampyre: That's how I read it, yes :)16:16
Jeeves_Anyways, I'm afk for a while16:17
WampyreThanks ffor the assistance :)16:17
Jeeves_np16:21
=== dendro-afk is now known as dendrobates
remix_tjanyone has experience with postfix and postfixadmin's vacation?16:30
remix_tji got this vacation working only for an email.16:30
remix_tjthere is no way to get it working for other emails...16:30
lamontremix_tj: postfixadmin's vacation?  do you mean the vacation package, or some other thing?16:34
remix_tjsome other thing16:34
remix_tja postfix vacation with a sql backend16:35
lamontit's specific to postfix?16:35
remix_tjwhat do you mean?16:35
lamontwhen you say "a postfix vacation", do you mean that it's specific to postfix, or that it's "just another vacation binary" that happens to have an sql backend?16:36
remix_tjuh, seems to be a postfix problem, because the vacation script gets not called16:41
remix_tji've an email (a@b.it) which is (when vacation is active for that user) an alias for a@b.it,a@b.it@autoreply.b.it16:42
remix_tjthe mail gets delivered to a@b.it but not to the autoreply one, which is the address that generates the automatic email16:42
Hilikuscan i create a user in my system that will be login in through ssh that i can keep in its own home dir? i.e. so that he doesn't see or can move to the rest of my system?16:43
lamontthat'd be because postfix explicitly blocks routing via multiple @s16:43
pmatulisHilikus: yes16:43
lamont--> broken vacation package if it's depending on source routed email to work16:44
pmatulisHilikus: "chrooted ssh"16:44
Hilikuspmatulis: is that a chroot jail?16:44
Hilikusok, thats what i thought16:44
Hilikusthanks pmatulis16:44
lamontsadly, chroots are frequently trivial to escape16:44
Hilikusyes, i've heard16:44
Hilikusany other idea lamont16:45
Hilikus?16:45
pmatulislamont: oh, how so?16:45
pmatulislamont: ssh ones specifically16:45
lamontpmatulis: dunno about ssh in specific, but various approaches exist, depending on the environment handed to the user in the chroot16:45
lamontif you can get root inside the chroot, then the most trivial is to mount the real root disk somewhere, and chroot into that.16:46
hallyn(use pivot_root to prevent the usual chdir-based chroot escapes)16:46
Hilikusi want to give access to a user to come in and see their backups and their backups only. maybe i can restrict the also the commands allowed in the console?? to just do ls and get or whatever download command is needed?16:46
lamontHilikus: sounds like you want sftp-only16:47
Hilikusi thought sftp still needed ssh access and a system account16:47
Hilikusbut yes,i was thinking of using sftp16:47
lamontyeah.  ISTR sftp-only users were possible with modern ssh16:48
remix_tjlamont: but the strange thing is that works for assistenza@b.c.it@autoreply.b.c.it but not for lorenzettoluca@b.c.it@autoreply.b.c.it16:48
lamontinteresting16:48
pmatulisHilikus: yes, sftp chroots are built-in16:48
Hilikusi don't have any ftp or sftp daemons running and i can connect to my server using sftp currently16:48
pmatulisHilikus: it'a a hidden/internal subsystem to ssh16:49
Hilikusso, since i there's no daemon, where do i tell it it is a sftp-only access??16:49
remix_tjlamont: that's why i'm asking for help, this is driving me crazy :-)16:49
pmatulisHilikus: ask the great oracle16:49
Hilikusi'm not sure what to search for16:50
pmatulisHilikus: "sftp chroot"16:50
Hilikusthanks pmatulis16:50
pmatulisHilikus: you're welcome16:50
=== dendrobates is now known as dendro-afk
MTecknologyHow should I go about adding a module to ejabberd?16:59
=== dendro-afk is now known as dendrobates
oru_workhow to compress a directory with tar ?17:11
FunnyLookinHattar -czvf file directory17:12
=== dendrobates is now known as dendro-afk
kalkin-hi guys17:48
kalkin-i'm trying to rebuild php with --with-curlwrappers17:48
kalkin-i followed this guid http://panthar.org/2006/06/15/php-with-mssql-on-ubuntu-606/17:49
kalkin-with php 5.2 it works flawless17:49
kalkin-but with 10.4 and php 5.3 it fails17:49
kalkin-this are the errors i get17:49
kalkin-dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)17:49
kalkin-dpkg-source: unrepresentable changes to source17:49
kalkin-dpkg-buildpackage: error: dpkg-source -b php5-5.3.2 gave error exit status 117:49
kalkin-any idea whats wrong?17:49
SuperLagCan you pass a regex to apt-get? How would you say, apt-get install all-of-the-tomcat6-packages17:51
pmatulisSuperLag: apt-get install tomcat*17:53
pmatulisor tomcat6*17:53
SuperLagexcellent, thank you17:53
pmatulisSuperLag: test with simulate switch (-s)17:53
=== niekie_ is now known as niekie
SandGorgonhi guys.. i have gotten a hosted ubuntu 8.04 and am deploying my web app for the first time. my question is about security - what is a reasonably good, reasonably out-of-the-box intrusion detection system - I have heard about OSSEC and Snort18:04
hazmatregarding using cloud-config on ec2 w/ lucid, are packages supposed to be installed before the runcmd are executed?18:06
hazmathmm.. it looks like cloud-init is parallelized via upstart so the command execution portion (runcmd) can't depend on packages installed by cloud-init..18:11
ejatany respond / update on bug 33797618:16
uvirtbotLaunchpad bug 337976 in ubuntu "[needs-packaging] Package Redhat's oVirt for use on Ubuntu" [Wishlist,New] https://launchpad.net/bugs/33797618:16
pmatulisejat: read the bug to find out18:37
dupondjeHi guys, I would like to know if its possible get get new debian php package getting sru'ed19:21
dupondjefixes quite some amount of dirty bugs19:21
ioI have a dedicated server from a host that refuses to use a clean image from the Ubuntu website without installing a ton of packages before handing it over to their customer. Is there a straight forward way of comparing what packages a clean image usually gives, against their image, so that I can remove the additional packages they install?19:26
Jeeves_dpkg --get-selections19:27
ioJeeves_: manpage has little information. What does that do?19:31
Jeeves_io: it shows which packages are installed on your system19:34
bjorranyone help out with a strange nagios error?19:34
Jeeves_So if you do it on both machines, you can create a diff on both configurations19:34
Jeeves_bjorr: Maybe19:34
bjorrfuck already broke rule 119:34
bjorrill pastebin19:35
Jeeves_bjorr: And there's the second! :) No swearing :)19:35
bjorrhttp://pastebin.com/0B494S4Y19:36
ioJeeves_: That shows both packages from a clean image, and packages that somebody has installed?19:36
bjorrfrom /var/log/nagios/nagios.log19:36
Jeeves_io: All installed packages19:36
bjorralready been to #nagios, we couldnt solve it there19:36
Jeeves_bjorr: It segfaults19:36
bjorrive crawled forums all day for this19:36
Jeeves_bjorr: Try to start it witouth daemonizing19:37
ioJeeves_: Is there a list of packages installed on a clean image?19:37
bjorrhow do I do that?19:37
Jeeves_io: Yes, just after you installed a machine and typed 'dpkg --get-selections'19:38
Jeeves_bjorr: /usr/sbin/nagios3 /etc/nagios3/nagios.cfg19:38
Jeeves_bjorr: Without the -d switch, Nagios won't daemonize to the background19:38
Jeeves_O19:38
Jeeves_I'd love to help further, but I promised my wife I'd watch a movie with her. :)19:39
ioJeeves_: What extra packages does -server install?19:39
Jeeves_So I gotta go.19:39
Jeeves_io: No clue.19:39
pmatulisJeeves_: enjoy19:39
Jeeves_Thanks!19:39
bjorrNo dice jeeves19:39
bjorrdamn you jeeves wife! i needed him more!19:43
LichteI just installed 10.04 and nothing comes up on the screen when I start it up........is there some kind of framebuffer turned on during install ???19:51
LichteI can't ssh in either since it's turned off by default19:51
NightDragon(13:54.25) •          [ NightDragon ]: hey guys19:57
NightDragon(13:54.28) •          [ NightDragon ]: question19:57
NightDragon(13:54.48) •          [ NightDragon ]: ...my department wants to digitize all of their paper files. Does anyone have a good suggestion for a document management solution?19:57
NightDragon(13:55.19) •          [ NightDragon ]: i was going to suggest Acrobat for the software they use to ditgitize, but i'm guessing theres got to be a better way to manage the files then to just store them in folders19:57
NightDragonerr yeah19:57
NightDragonthat sucked19:57
NightDragon...but does anyone have some good advice?19:57
qman__NightDragon, if you can convince them to change, a wiki-style setup is much better to work with19:59
qman__but if not, there are still version control/management solutions for more traditional documents19:59
NightDragonwell these are student records that they are trying to digitize19:59
NightDragonso we are trying to find a structured solution for records storage20:00
NightDragonmore then like a doku/wiki type setup, you know?20:00
NightDragonunless wiki's apply to this sort of thing in some really nice way20:00
qman__not especially20:01
qman__it's just a great way to work with other people as opposed to word documents or PDFs20:01
qman__but if they're basically read-only, PDFs are a fine way to do it20:01
qman__however, it should be noted that plain text/markup is much easier to search than binary document formats20:02
NightDragonwell i was planning on suggesting PDF's as a format, as Acrobat is a _really_ good solution for digitizing records20:03
NightDragonbut i'm trying to find something that works well for storing/accessing them20:03
io!info doxfs20:04
ubottuPackage doxfs does not exist in lucid20:04
pmatulis!search doxfs20:06
ubottuFound:20:06
bleythingI just had a weird experience with groups... I added my user to a group by hand-editing /etc/group, logged out and in, no dice.  used usermod, same deal.  then rebooted and it had taken effect20:25
bleythingare groups cached or something?20:26
pmatulisbleything: next time use 'adduser'20:40
LichteI just installed 10.04 and nothing comes up on the screen when I start it up........is there some kind of framebuffer turned on during install ???20:44
jordHi, how do I turn off any splash stuff on boot? I'm trying to figure out why the machine won't boot.20:46
pmatulisjord: configure GRUB20:46
pmatulisjord: how depends on GRUB1 or GRUB220:47
jordpmatulis: I've got 10.04, so grub 2?20:48
LichteI have the same problem20:48
pmatulisjord: /etc/default/grub for the latter20:48
pmatulisjord: GRUB_CMDLINE_LINUX_DEFAULT="debug" for the most verbose boot20:49
jordpmatulis: Cool, thanks. Will probably be back with more info :)20:49
jordpmatulis: Ahh, I see20:49
pmatulisjord: make sure you run 'update-grub' as the file says20:49
jordpmatulis: Ok, will do20:49
bleythingpmatulis: will do, thanks.20:49
uvirtbotNew bug: #608423 in mysql-dfsg-5.1 (main) "post-start script broken" [Undecided,New] https://launchpad.net/bugs/60842321:05
Lichtewhere do I go to allow ssh login on boot ?21:07
=== Mikey is now known as Guest94198
ScottKLichte: Install ssh is all you need to do.21:14
coxnI want a script that, when run, has a session like this: http://sillyidea.pastebin.ca/190553221:31
coxnDoes such a thing exist in some corner? If not, if I were going to do that in python, what module(s) should I be looking at?21:31
LichteScottK: can't do that, the screen goes blank during boot21:38
ScottKIf you don't have ssh installed, there's not much you can do then.21:38
LichteI guess I'll have to go back to 9.1021:39
Jordan_ULichte: Did the LiveCD work correctly?21:43
jeremyni'm having a problem with amavisd-new, for some reason i get a "Virus scanning skipped: Exceeded storage quota" whenever it tries to process an email with a tar file attached. it doesn't have this problem with gz or zip files. it may have been like this since i set it up. any ideas?21:47
jeremynit has the problem with tar.gz files too21:47
jeremynthe tar files i'm testing with only contain one very small text file21:48
Jordan_ULichte: Or, since we're in #ubuntu-server and you probably used the server CD, try holding shift during boot and adding "gfxpayload=text" (on its own line) to the first menu entry by pressing 'e' (press ctrl+X to boot the edited entry).21:50
LichteJordan_U: yeah, no livecd for the server21:53
LichteJordan_U: that goes at the end of the kernel line, no ?21:55
Jordan_ULichte: No, on its own line.21:55
Lichteok, I'm off to try again21:55
blackstar256are are some advantages of ubuntu server over other distrobutions21:56
LichteJordan_U: that didn't work either21:58
Jordan_ULichte: Any output at all when you try to boot?21:59
LichteJordan_U: when I erased the "quiet" at the end of the kernel line, I got some kernel output until the screen went blank again21:59
LichteJordan_U: I can tell it's booting up by the HD activity22:00
LichteI just can't get any text output22:00
FunnyLookinHatIs there a way to force my DNS to refresh?  I'm fairly certain there isn't... but here's hoping :)22:01
Jordan_ULichte: You can use the server install CD to chroot in and install ssh.22:01
LichteJordan_U: then what?  How do I fix the screen output ?22:02
Jordan_ULichte: I think there's even an option to setup the chroot automagically, "repair broken system" or similar.22:02
LichteJordan_U: I've done that too22:02
Jordan_ULichte: Check dmesg for anything that looks relevant.22:03
LichteI have 3 servers to upgrade, ,my boss isn't going to allow no screen output, I don't care personally, I'd rather have headless servers22:03
Jordan_ULichte: Try adding "nomodeset" to the kernel parameters.22:04
LichteJordan_U: OK22:04
cloakableFunnyLookinHat: more detail please :) how are you getting dns, and how do you want it to refresh?22:05
Jordan_ULichte: Or maybe hook a DVD player up to the monitor with a loop of random boot messages to make your boss happy :)22:05
LichteJordan_U: :))22:08
LichteJordan_U: that worked!  I now have sshd installed22:08
Lichtenomodeset did the job22:08
Lichtewho's the genius that decided a graphical boot on a server was a good idea ??22:09
sysdocSince webmin is no longer in the repos, is there a replacement for it??22:10
cloakableebox :)22:10
FunnyLookinHatcloakable: well - does my machine cache a host lookup after a single attempt for a while?  Because I setup a cname over an hour ago and it still isn't showing up with host22:10
sysdoccloakable, thanks22:11
cloakableFunnyLookinHat: I wouldn't know. so you have a caching nameserver installed?22:11
cloakableFunnyLookinHat: *do22:12
FunnyLookinHatcloakable: oh no I don't - I'm just fetching my DNS lookups from the DNS server provided by my ISP22:12
FunnyLookinHatYou can ignore me :)22:12
FunnyLookinHatI've realized I'm just impatient22:12
cloakableFunnyLookinHat: heh :)22:12
FunnyLookinHatOk - better question - I'm having trouble finding the syntax to upload just a single file with rsync over ssh22:13
cloakableupload, or sync?22:13
FunnyLookinHatupload.22:13
Hilikusi'm having a problem with sshd. i created a group and added a user to that group22:13
Hilikusthen in my ssd_config i have22:13
FunnyLookinHatcloakable: only want to use rsync because it compresses a bit22:13
HilikusAllowGroups backup_reader22:13
FunnyLookinHatcloakable: otherwise scp would probably be fine22:13
Hilikusbut when the user tries to log in auth.log reports22:14
Hilikusnot allowed because not listed in AllowUsers22:14
Hilikusam i missing something? my logic is that it should be allowed because even though it is not in AllowUsers, it is in AllowGroups22:14
cloakableFunnyLookinHat: rsync -t <filename> server:/path/to/directory/22:15
cloakableFunnyLookinHat: I'd think, reading the manpage22:15
FunnyLookinHatcloakable: Yeah that's what I thoguht - I was just checking if my interprettation of the manpage was right :)22:15
cloakableFunnyLookinHat: :)22:16
MoltarI'm having a problem with 10.04 server, it will not boot after the install when installing on a GPT formatted partition.  The BIOS just says 'boot fail hard disk 0'.  This is on an IBM x series server with a 3TB RAID volume.  Can anyone suggest a way to troubleshoot this or maybe a pointer to some documentation?22:20
Jordan_UMoltar: Software RAID or Fake RAID?22:21
Lichtethanks for the help Jordan_U22:21
Jordan_ULichte: You're welcome.22:22
Lichtelaters22:22
Jordan_UMoltar: Can you run this script: http://sourceforge.net/projects/bootinfoscript/ and pastebin the RESULTS.txt?22:25
Hilikuscan i have allowUsers and allowGroups in sshd at the same time??22:41
MoltarJordan_U: Hardware RAID, an IBM RAID controller22:42
pmatulisHilikus: the sshd_config man page will tell you22:42
Jordan_UMoltar: Ok, then the fact that it's RAID should be irrelevant for this purpose.22:43
Hilikusthen i'm reading at the wrong place22:43
Hilikusit doesn't say anything about itr22:43
Jordan_UMoltar: The output from the boot info script would still be usefull.22:43
pmatulisHilikus: read the section explaining the AllowUsers parameter22:44
MoltarJordan_U: I tried that script yesterday and it complained that the 'core.img' file was not recognized in that small bios_grub flagged partition.  But if I dump the first block with dd it looks the same as the core.img file to me.22:44
Jordan_UMoltar: Did you do any repartitioning after installing grub? Does the script show grub as being installed to the mbr? (the full output would be usefull)22:45
MoltarJordan_U: OK, I'll have to reboot from the DVD in rescue mode and run that again.  I've also tried using the efi boot option, with that I at least get what looks like the start of the kernel and initrd loading but nothing after the initrd message.22:45
Hilikuspmatulis: i did, and still nothing specific about combining it with allowGroups22:48
Hilikusfor some reason the behaviour i'm seeing is that allowGroups is ignored, but that's not what the man says22:49
Hilikusso i'm probably doing something wrong22:50
Hilikusi want to allow certain users AND certain groups22:50
pmatulisHilikus: "The allow/deny directives are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups."  if you have restarted sshd and this statement proves to be wrong then open a bug22:54
Hilikusthat doesn't say anything about my questions. that's when there are conflicting permissions. it doesn't say that each directive overwrites everything below it22:56
HilikuseMBee August 2, 2006:    i did a few quick tests on the interaction of AllowUsers and AllowGroups and it seems that they can’t really be used together22:57
Hilikushmmm22:57
MoltarJordan_U: I've screwed around with this system so much that I'm starting from scratch, I'll paste that RESULTS.txt from the bootinfo script after I reinstall to avoid totally confusing the issue22:58
silentwhispergreat day to everyone23:02
Hilikuswhats the diff between a user group and a system group?23:05
pmatulissilentwhisper: thank you.  to you as well23:53

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