[00:00] if u want an image why not use clonezilla live cd? [00:00] orudie: grub-install /dev/sda [00:01] <_cpod_> dinger2006: never heard of it... i'll check that out [00:01] worth a look, the new one is built on intrepid i believe [00:01] when you use clonezilla the destination partiion is bigger than the source, you have to resize your filesystems to fit new partition space [00:02] <_cpod_> jmedina: alright so if i use clonezilla and then gparted i should be good? [00:02] yeap [00:02] wel, I dont know gparted [00:03] I use something like: resize2fs /dev/sdc1 [00:03] for ext3 filesystems [00:03] <_cpod_> okay [00:04] <_cpod_> alright well i think i've got all the info i need [00:04] clonezilla grows it as long as its bigger [00:04] <_cpod_> thanks a ton guys! i appreciate it [00:05] dinger2006: you make me doubt, I think I needed to resize when I used dd_rescue [00:06] im sure it does it but might be wrong [00:42] Here's a silly question: What's the best way to run a cron job as root? I have a service I need to restart daily. [00:54] awmcclain: Perhaps /etc/cron.daily/YOURNAME (executable script) or /etc/cron.d/YOURNAME (crontab format) [01:01] erichammond: But what user does that run as? root? [01:02] awmcclain: cron.daily runs as root. cron.d files specify the user in each entry. See the existing files that are probably in those directories. [01:03] erichammond: Ah, perfect! Thank you. [01:03] awmcclain: man cron [01:03] erichammond: No, I have custom scripts in cron.daily, but for some reason I thought they ran as a less-privleged user. === FFForever is now known as FFForever-Away === edson is now known as edsoncanto [02:25] Hi, I'm having trouble getting amavis to work with my postfix setup. It sems to be running OK but messages are not being passed to amavis as best I can tell. I'm not dure where do go from here. I can't find anything helpful in my logs. [02:28] r_myoung: telnet to the amavis port, does it respond? [02:30] Yes, it responds: 220 [127.0.0.1] ESMTP amavisd-new service ready. [02:35] r_myoung: write a message to it, then. [02:40] r_myoung: i guess your postfix configuration is messed up then, maybe pastebin your master.cf and main.cf somewhere [02:46] Here's my master.cf http://dl.getdropbox.com/u/247534/master.cf [02:49] and here's my main.cf http://dl.getdropbox.com/u/247534/main.cf === timburke_ is now known as timburke [03:11] I wrote a message using telnet to check the transport chain and it seems to work OK. [03:36] Your main and master .cf look OK to me. [03:37] I guess he left .... [04:17] how do i let my app to use vendor rails, not gem rails? === FFForever-Away is now known as FFForever === s_markow_ is now known as s_markow === pschulz01_away is now known as pschulz01 [05:23] How do I tell Ubuntu Hardy, to try to find a DHCP server for eth0. BUT, if it cannot, set a specified IP address and subnet? [06:23] I need some help on getting my 56k modem to work and I am using ubuntu 9.04 server with HSFi CX11252-11 [06:34] Sigh. [06:34] Why isn't aufs modprobable anymore on my 8.04 server system? [06:35] Ah, probably because some fucking idiot decided to deploy openvz on the system === FFForever is now known as FFForever-Away [06:58] Is module-assistant still the approved way of building kernel modules from foo-source packages? [07:03] ^dkms [07:03] twb: Error: "dkms" is not a valid command. [07:03] !dkms [07:03] DKMS is Dynamic Kernel Module Support. See https://launchpad.net/dkms for more. [07:04] !m-a [07:04] Sorry, I don't know anything about m-a [07:04] !module-assistant [07:04] Error: I am only a bot, please don't think I'm intelligent :) [07:04] Sigh. [07:07] hi === FFForever-Away is now known as FFForever [07:14] <_ruben> dkms is prefered over m-a indeed [07:15] <_ruben> though for most -source packages, m-a is still the way to go (as they not yet support dkms) [07:15] _ruben: is there a "dkms for m-a weenies" article somewhere? [07:16] Or: how can I tell if dkms will work with aufs-source? [07:16] Not that it matters, because "m-a a-i aufs" on an OpenVZ kernel just bombed out with retarded arity errors. [07:16] <_ruben> twb: they're quite different in how they work/are setup [07:17] <_ruben> there's no simple "do this, do that" to turn m-a package into dkms [07:17] <_ruben> dkms in fact is easier (in my experience) to package than m-a though :p [07:17] <_ruben> once you get your head around it [07:17] Eh, this isn't -devel. [07:17] I just wanna get an aufs.ko that I can modprobe in my current kernel. [07:18] <_ruben> then again .. now that i think about it .. all you might need is a proper dkms.conf in addition to the source that's provided by the -source package .. perhaps aufs upstream already has a dkms.conf available [07:18] Nope; not on 8.04 anyway [07:19] <_ruben> that's why i said upstream .. meaning the authors of aufs .. and thus not (directly) related to ubuntu (versions) [07:19] Ah, OK. [07:21] I hope dkms is as pleasant to use as m-a is, by the time I'm forced to use it. [07:22] when i buy commercial support from canonical, the price of 750$ is per server per year, right? [07:22] NFI. [07:22] !commercial support [07:22] Error: I am only a bot, please don't think I'm intelligent :) [07:23] * twb finds http://www.canonical.com/services/support [07:24] I note that page doesn't seem to indicate whether VMs (under KVM) are considered separate servers. [07:34] hmm, jep... [07:36] can i buy commertial support at any time? [07:37] i mean, setup my server try if everything works, and when everything is okay, the buy the suppotzt [07:39] There's a bug in the Ubuntu Server Support Service Description version 1.2 [07:40] It refers to Order before it is defined. [07:40] And indeed it doesn't appear to be defined subsequently. === FFForever is now known as FFForever-Away [07:56] which support service description do you mean? [08:17] The one linked to in the above URL [08:43] Hi, I have installed Ubuntu Server 9.04 with NTP, DHCP, DNS and OpenLDAP on it. I have created a few users through phpLDAPAdmin. But while trying to login from the Ubuntu Client 9.04, it is giving a problem that the Home directory is not present. Again, it is giving that it is ignoring .dmrc file. But even through ls -la I could not find any .dmrc file [08:54] dhruba: there is a pam module that can create home directories for you, when a user logs in [08:55] dhruba: http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-pam_mkhomedir.html [09:19] ssm: Thanks a lot. I am going to try the same. [11:59] hi all [11:59] can I install ubuntu-server without lamp and so, I want to use small server for firewall/router [12:00] also if someone know good firewall console gui === erichammond1 is now known as erichammond [12:12] drcode: shorewall? if i remember right is in ubuntu, but usually you dont run X on server, but in other hand you can run that gui on your desktop via ssh X tunnelig [12:15] drcode: yes you can. [12:17] i entered session required pam_mkhomedir.so in common-session but it does not seam to work [12:17] I dont know what to do from here? [13:15] noob question: say i've bought a new tower, w/o cd drive, grphx, screen etc (a server), whats the best way of getting linux installed on the hdd? [13:16] best = easiest i guess [13:23] <_ruben> without a graphics card most pcs dont even boot .. use a screen from another computer .. use an usb cdrom drive/usb stick/netboot installer to install the os [13:23] seems like most tower servers have dvds and integrated grphx anyway [13:24] thx [13:37] Good Morning cjwatson [13:39] How come I dont get to choose resolution when i do dpkg-reconfigure xserver-xorg? [13:41] <_ruben> because ubuntu-server doesnt have xserver-xorg [13:47] umm [13:47] but i just apt-get installed igt? [13:47] it* [13:48] <_ruben> then it no longer qualifies as -server im afraid [13:48] I dont understand [13:48] <_ruben> you're now running a desktop with the server kernel [13:49] so ubuntu server removed that option (or more) from the dpkg-reconfigure and only has the keyboard options [13:51] <_ruben> not really .. installing X on a -server flavour, turns your machine into -desktop, concerning getting support that is [13:51] ? [13:51] <_ruben> in othe words: ask the desktop people in #ubuntu [13:52] still a server kernel but ok [13:52] <_ruben> this channel is for server related support .. which does not cover X [13:52] I just edit xorg.conf by hand [13:52] nick_schembri: can I help you? [13:52] thought it was bug or something [13:52] <_ruben> Appiah_: it could very well be .. but it'd be a desktop bug, not server [13:52] k [13:52] Appiah_: these days X tries much harder to autodetect resolution and so no longer offers that via debconf [13:53] ye , and that really sucks when it autodetects something your monitor does not handle :D [13:53] but I'm gonna leave it at that [13:55] Appiah_: please do file a bug on xorg about that [13:55] we can only improve the autodetection with good bug reports [13:55] Appiah_: http://wiki.ubuntu.com/X may help [14:02] cjwatson: All of my notes are on firefox and it crashed. I need a minute [14:08] cjwatson: I had everything planned out to make this sort ad sweet. I'm sorry. [14:09] cjwatson: I just remastered the livecd for a project at work. I'm sure you do this a better way. [14:09] I looked your scripts on launchpad. They talk about download-live-filesystem from a build server. It this image a hand tweaked desktop? [14:09] Should I build my image up from server + ubuntu-desktop? [14:09] I'm going to have to build a set of livecd for this project, 100+ [14:10] I have a samba server and several Windows XP clients. The clients have each of their homes mounted as drive H: and a shared drive on S:. Some of the Windows clients are suddenly getting this error, when trying to open the S: "Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied.", but at least one of the clients does not get this error. I cannot see anything i [14:14] cjwatson: brb [14:16] nick_schembri: livecd-rootfs builds the live filesystem [14:16] nick_schembri: it's a separate piece because if you're building for multiple architectures then the livefs build has to happen on a different machine for each architecture, whereas the ISO image build can be central [14:22] cjwatson: thanks I'll look at livefs. that saved me a lot of time digging :) [15:07] After a site has been blacklisted by google and DNS providers because of malicious content being downloaded from another server - how long does it take until you get your name cleared again once the problem is resolved. [15:31] New bug: #379597 in samba (main) "Failure to install in Ubuntu 9.04" [Undecided,Incomplete] https://launchpad.net/bugs/379597 [15:36] Ubuntu ready for production servers ? [15:36] Ubuntu 9.04 ready for production servers ? [15:37] Hmmm I've got a hardware question... I've compiled this NIC driver without any problems, but when trying to use insmod i get the error message "-1 file exists". [15:38] I've also tried to use modprobe to install the driver, but I don't get any error messages. [15:38] What should I check first? I'd like to try and track down an error message for modprobe, but I can't find anything when I tail /var/log/messages. [15:56] New bug: #373619 in openssh (main) "jaunty openssh-client tries all keys available in ~/.ssh" [Undecided,Incomplete] https://launchpad.net/bugs/373619 [16:12] Alright so I've verified with lsmod that the driver was installed, but I still can't see eth0 [16:12] I've restarted my network service, but I still got nothin' [16:12] how can I activate a network card that I just installed the driver for? [16:13] just upgraded my hard box to the latest dansuardian from repository. getting all kinds of segfaults. is there a way i can revert to the older version? [16:15] hardy and dansguardian. [16:25] <\sh> hmm...which meta package is installed by ubuntu-server ? ubuntu-minimal or ubuntu-standard? [16:29] Hello. I have a home server on which I'll be running a couple of Linux distros via KVM. I'm trying to create a network bridge for each guest, but I'm pretty confused because my /etc/network/interfaces file only contains one interface: lo [16:30] All the tutorials I've seen assume that eth0 is defined and use it to create the bridge [16:31] What interface should I use to set up the bridge? SHould I configure eth0 explicitly? [16:31] (ifconfig shows 4 interfaces: eth0, eth1, lo and virbr0) [16:42] Actually, do I really have to create a bridge interface while virbr0 is already available? [16:56] hey folks, i've got something very odd going on... over the weekend all of my ubuntu servers suddenly developed problems with outgoing connections to the internet. Windows and OpenBSD systems are all fine, but every one of my ubuntu servers have very slow internet access... slow enough that outside ssh connections can't even connect. [16:57] Can anyone hit me with the cluebat? I'm completely lost. Even weirder... one of them is a vmware host, and all the virtual machines on it are doing just fine. But I can't connect to the host unless i do so on the local network. [16:57] Should I just call a priest and be done with it? [16:58] psyferre: are there any errors in /var/log/syslog? [16:59] hmm... a whole mess of "console-kit-daemon[29051]: CRITICAL: cannot initialize libpolkit" [17:03] why. i should have left my hardy system running rather then doing nice job and upgrading hardy now dansguardian is segfaulting and i have no idea [17:06] refnumzx: so, why dont you install previous version? [17:10] jmedina, if i could figure out what that was. i would. [17:11] probably in your dpkg.log [17:11] sommer: I've got a lot of "cannot initialize libpolkit" errors in syslog, but it looks like that's a bug. In any case, it's in syslog long before the problem started... I've got 5 ubuntu boxes, some that have been working perfectly for over a year, and for some reason this weekend they all stopped getting normal internet access. [17:11] i tried browsing the package lists on ubuntu [17:15] 3dpkg only tels me that it had unpacked dansguardian. not what it instal from as i removed [17:16] sorry to be more clear, dpkg.log only has details about unpacking the latest dansguardian, not what it is going to remove [17:16] psyferre_: they are ubuntu server installs? are they trying to get dhcp or something? [17:18] sommer: yes, ubuntu server. They all have static IPs on bonded nics. All are accesible on the local network just fine, but internet access on them is VERY slow. From outside the local network I cannot reach them. [17:26] New bug: #385614 in net-snmp (main) "package snmpd 5.4.1~dfsg-12ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvió el código de salida de error 127" [Undecided,New] https://launchpad.net/bugs/385614 [17:26] psyferre_: could it be a dns or gateway issue [17:27] sommer: sorry for the blips in and out... thunderstorm keeps knocking out my power === dendrobates_ is now known as dendrobates [18:00] <\sh> does anyone of you work with FAI?;) [18:31] what file system would probably be best for a home network virtualization server? ubuntu server 9.04 [18:31] just run ext3 [18:31] if you have no other requirements [18:32] k. thank you [18:45] anyone know much about imap and backups? === _jmedina is now known as jmedina [18:46] Faust-C: why? [18:47] jmedina, i want to use a imap server but idk much about if a user deletes a email how do you retrieve it [18:50] you can't [18:50] Faust-C: generally you'll be using maildir format, so each message is a file. you can take backups by tarring the maildir directory, and to restore, you have to find the message file and restore it to the maildir. [18:50] that may not work... i think there's an index somewhere that would need to be updated as well. [18:51] well some mail clientes only mark emails for deletion [18:51] hi. whats a good way of providing public ftp [18:51] Faust-C: I would configure a backup system [18:52] * Faust-C sigh [18:53] I consider backups the second most important task for a sysadmin [18:53] yeah [18:53] fist: keep systems running, so is a must === \sh is now known as \sh_away [18:53] jmedina, yeah but around here users constantly delete emails they need, we need to get past emails etc [18:53] and i dont see a llot of options for that === \sh_away is now known as \sh [18:54] telling the users they're idiots isn't an option? [18:54] diffra, it hasnt helped .... nothing helps [18:55] Faust-C: so what is te problem with backups? [18:55] you can do incremental backups [18:55] jmedina, its has to be simple enough for other admins to manage [18:56] :D [18:56] ill be leaving once im done so i want to make sure they can manage this [18:56] so what you want? [18:56] you can backup the maildirs, and then when you need to retrieve a message, you untar the backup, and grep the directory for whatever you're looking for. if they can't use tar and grep, they aren't admins. [18:56] wow, i'm really condescending today. sorry. [18:56] mainly just the ability to retrieve emails, restore/archive simpler, [18:56] diffra: good point [18:56] diffra, lol [18:57] diffra, would you happen to have a written example of that? like does it work well? [18:58] what about something like a mail archive system? [18:58] you can doit with simple bcc using postfix [18:58] or something like mailarchiva [19:03] ic [19:05] Faust-C: it all depends on what you want. Are you using virtual users or unix users? [19:05] Is there any way to delete the mail spool? It's a little late now... but when the site went down it generated 100K emails to me for every request that wasn't working (which then generated mail-daemon bounebacks) [19:05] bouncebacks [19:05] diffra, virtual of course [19:06] awmcclain: postfix? [19:07] Yup. [19:07] i just did sudo apt-get install vsftpd [19:07] and it was suppose to create user with home directory /home/ftp and it didnt [19:07] postsuper -d ALL should do it [19:07] that'll remove everything in the queue. [19:08] man postsuper if you want to be specific [19:09] Faust-C: you could just tar czvf /media/backup/mail.tar.gz /home/vmail/ for the backups if you want to do incrementals, check out rsync. [19:09] you could also write some kind of script to troll your vmail dir for user folders and back each one up individually. [19:09] diffra, funny how simple youve made it! [19:09] i mean really its a simple issue [19:10] brb [19:12] diffra: Thank you! [19:15] Faust-C: it's much more fun in here than doing my real job, which i'm avoiding (deploying jboss apps on windows 2008.) [19:22] awmcclain: glad to help [19:37] What do i need to append to /etc/apache2/envvars to umask apache2 to 002? [19:37] ...on 8.04 [19:41] diffra, well at least youre productive, i myself on the otherhand feel lost [19:41] wadmurr: try this http://ubuntuforums.org/showthread.php?t=549457 [19:43] diffra: thanks. i just realized that it's a debian box and the envvars file is different [19:45] does shell refer to ssh ? [19:47] it can. specifically, it refers to the command interpreter. [19:47] bash is the most common example of a shell [19:47] however, some people say 'login to shell' when they mean sshing in to access said shell [19:49] for the purpose of using just ftp, how can i take away the use of shell from one of my users ? [19:49] set their shell to /bin/false [19:49] i think there's a command to do it, or you can just modify /etc/passwd [19:50] ah, usermod -s /bin/false username [19:51] :) [19:51] worked [20:13] RoAkSoAx: you know that i get mail when your ppa's fail? :) === tdn_ is now known as tdn === RoAk is now known as RoAkSoAx [20:52] Hey, im have installed apache/php but what ever i do im not allowed to access tmp files created by apache trough php [20:52] how can i fix that? [20:52] has anyone ever tried installing ubuntu server, then installing the ubuntu-desktop meta package on top? [20:53] I'd like to run an ubuntu server in VM, but I'd also like to run NX on the box for remote desktop sessions as well... I'd much rather have the kernel and such tuned to server performance, so this seems like the way to go [20:54] sammy: i'd recommend just installing the ubuntu desktop version then. [20:54] diffra: really? any particular reason(s)? [20:54] the kernel is slightly different, but not enough to make much of a difference. Put it this way: you'll get way, way more of a performance hit by adding the GUI than you would running the desktop kernel. [20:55] that makes sense [20:56] they're VMs so I guess I could make two [20:56] that seems like a bit of a waste, though. they *are* going to be really low-strain servers [20:57] apache and a few other things that wont be heavily used or doing anything complicated. all things that run just fine on the desktop kernel [20:57] yeah. I'd just rock one ubuntu desktop installation. If you want to lighten the load on the host machine, maybe look into xubuntu or crunchbang(openbox ubuntu) [20:58] crunchbang i've been wanting to look into. i remember openbox back in the day, though I like the gnome integration [20:59] we'll see. I'll probably just end up with the one desktop install... and maybe I'll go with crunchbang. [20:59] yeah, just a suggestion. The nice thing about VMs is they're easy to create and throw away. [20:59] off to clean the kitchen and contemplate. bbiab === FFForever-Away is now known as FFForever [21:55] for fsvtpd in /etc/ftpusers instead of adding each user can i add a group ? === FFForever is now known as FFForever-Away [21:57] orudie: short answer is definitely no. long answer, i'm not sure that vsftpd supports using groups for that [22:11] how do i change the user's password [22:12] passwd username [23:08] Hi, I'm trying to upgrade from Intrepid to Jaunty server. All was going fine until it got to the /etc/default/slapd configuration file. It's asking me if I want to keep my current file, etc. However, it seems like the input is locked up and I can't continue. Can I kill the process and restart? [23:09] Why do you think the input is locked up? [23:09] Is this a GUI or console upgrade? [23:09] (update-manager or do-release-upgrade) [23:10] No key strokes are echoed to the terminal and hitting enter (default=N, which I want) does not continue the process. Oh sorry, do-release-upgrade (console) [23:12] Hmm [23:13] I guess I would probably look at ps -efH and try to work out what process to kill to get past the stuck prompt with minimal disturbance to the upgrade [23:13] It's running /usr/bin/dpkg --force-overwrite --status-fd 56 --configure linux-libc-dev libc6-dev (etc. etc. wall-of-text)... I'm ok with restarting the upgrade or whatever.. just don't want to kill my server if at all possible :D I'm SSH'ed in and if it dies it will be a major headache [23:16] Hi there! Don't know if I'm right here with an apache problem (authentication pgsql/mysql) [23:17] Schlabby: it can't hurt to ask! [23:17] :-) great [23:18] Sigh.. well thanks for the input maxb. I guess my options are just to kill it or stare at it for eternity anyway... we'll see what happens. [23:19] too many ubuntu-channels.. well: apache installation, different virtual host. some use mod_auth_pgsql and some use mod_auth_mysql. those that use mysql produce those errors: [mod_auth_pgsql.c] - missing configuration parameters [23:19] i didn't find a way to disable/enable mod_auth_pgsql for specific virtual hosts [23:23] Looks like do-release-upgrade was smart enough to attempt a recovery dpkg --configure -a which completed the rest of the upgrades. So far it looks like it worked... thanks again, maxb! [23:30] schlabby: that doesn't sound fun. #apache might be the way to go though -- i doubt it's an ubuntu-specific issue. [23:33] #ubuntu was first try after googling for 3 hours.... [23:35] yeah, sorry, maybe someone else in here knows, but probably someone in apache knows for sure. come back and let me know what the solution is though? you've got me curious. [23:35] And you're right, my google-fu is coming up empty too. === pschulz01 is now known as pschulz01_away [23:38] i can't believe i'm the only one who uses both auth types on a single server. maybe the only one who cares about the error_logs ;-) because it's running like a charme. only "warn"s. i'll keep on searching and tell you. [23:46] I am new to servers. I have read everything I can find on OpenSSH, however, I am currently stuck. I know how to use OpenSSH and scp, but I am having trouble getting the dsa keys working. [23:46] I have sshd installed on my server, and ssh installed on my laptop (remote host). [23:46] matthewmpp: what OS are you using on the server and your laptop? [23:47] laptop: ubuntu desktop 8.10, server: ubuntu server 9.04 [23:47] I used the following command to generate the dsa keys: ssh-keygen -t dsa. [23:48] Then I used scp from a remote_host_terminal: scp root@server:/root/.ssh/id_dsa.pub /root/.ssh/id_dsa.pub [23:48] rockin. ah ha! there's your problem. [23:48] the remote host should have the public key in the file /root/.ssh/authorized_keys [23:48] (this is where i halfheartedly tell you you should be using user accounts to protect yourself from yourself) [23:49] 1 sec let me check something. [23:52] also, check out this tutorial. it's fairly awesome for initial server setup: http://articles.slicehost.com/2008/11/28/ubuntu-intrepid-setup-page-1 [23:52] yeah. I did that: cat id_dsa.pub >> /root/.ssh/authorized_keys [23:53] I just realized that I have not restarted the ssh serveer since I have installed the dsa keys. I will do that right now. [23:57] okay, restarting the server did not help. It still asks me for the password instead of the passphrase. I will check out the link you posted and see if that helps.