=== `6og is now known as kgoetz === PrivateVoid_ is now known as PrivateVoid === PrivateVoid is now known as PV_Away === PV_Away is now known as PrivateVoid === hessml|away is now known as hessml|away|away [04:20] once when I get my apache server up and running for windows xp I well be also putting in a server for all futuer software for ubuntu-server for all people to download [04:34] Hi, I have been searching in the net how to do a fail over with 2 differents ISP and how to make the machine to switch each time one of the ISP stop respoding ping and also to forward internet. [04:49] hello [04:49] I'm trying to setup my ubuntu server [04:50] Is anyone here? [04:50] no. everyones dead [04:50] !ask [04:50] Please don't ask to ask a question, ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely answer. :-) [04:51] is there anyone here that is knowledgable on how to setup a DNS, web and e-mail server w/Ubuntu? [04:52] JoshPritchard, web server is easy [04:52] DNS too [04:53] RoAkSoAx: would you be willing to help me figure it out [04:53] the IP is 99.170.178.126 [04:53] I have LAMP setup on it, but am having trouble with the DNS part, I think [04:53] JoshPritchard, It works! [04:53] that's what it shows [04:54] right [04:54] I also installed Bind9 [04:54] and I thought I got all the DNS settings correct [04:54] but when I dig [04:54] it doesn't work [04:55] and I'm brand new at linux, and so I don't really even know where to begin to troubleshoot [04:55] ;; ANSWER SECTION: [04:55] 99.170.178.126. 0 IN A 208.69.32.132 [04:55] what does that mean? [04:55] JoshPritchard, for DNS server first try this: http://doc.ubuntu.com/ubuntu/serverguide/C/dns.html [04:55] you can also find webserver config there [04:56] JoshPritchard, good tutorial for a complete server is: http://www.howtoforge.com/perfect-server-ubuntu8.04-lts [04:56] RoAkSoAx...I did that perfect server setup [04:57] JoshPritchard, you trying yo create a hosting web server or something? [04:57] yes [04:57] I want to host 3 websites [04:57] I have them on a shared server now [04:57] http://99.170.178.126/jkp0007 [04:57] its not showing properly [05:00] JoshPritchard, so webserver is working, [05:00] you need to get DNS server working? [05:00] yeah [05:01] JoshPritchard, follow http://doc.ubuntu.com/ubuntu/serverguide/C/dns.html to get the domains of the ones who you gonna host [05:01] do you think I should remove bind9 [05:01] and then reinstall it [05:01] to clear all of what i've already setup? [05:02] JoshPritchard, not necessary... just create new config files and follow the serverguide so you can do it the right way [05:02] i'm not experienced in setting up hosting servers [05:02] do you know how to look at an error log? [05:03] JoshPritchard, error logs are usually located in /var/log [05:03] JoshPritchard, i always use: tail -f /var/log/syslog (for example) [05:03] yes, that's it! [05:04] I don't know how to do anything in Linux..its been slow going, all of this [05:04] JoshPritchard, just practice a lot and i'll be easy :) [05:05] do you know of a place that I could get someone to ssh in and help me setit up? [05:06] JoshPritchard, i don't think someone's gonna recommend you to do that... [05:07] why's that? [05:07] JoshPritchard, security issuis.. i wouldn't trust a server to someone i don't know :P [05:12] hmm [05:12] ok [05:14] There are probably several people idling on the channel who do this sort of thing, but it really is better you do it yourself. [05:14] I've been trying for 3 days now...I definitely want to learn it [05:16] I just looked at the error log [05:16] how do I get out of it? [05:16] back to the # prompt [05:17] How did you get to it? [05:17] tail -f /var/log/syslog [05:18] JoshPritchard, ctrl + c [05:19] thanks! [05:19] do you know how to test if postfix is setup properly? [05:57] Greetings... [05:58] It has been pointed out to me that the ubuntu-server default installation has a world readable /root directory. Is this necessary? Should it be considered a problem? [06:01] Should I use dar to backup my /var/www directory? [06:16] can i make my 7.10 server using desktop envi? and will it affect the security and performance of the server? [06:42] !faikover [06:42] Sorry, I don't know anything about faikover [06:42] !failover [06:42] Sorry, I don't know anything about failover [06:42] !bond [06:42] Sorry, I don't know anything about bond [07:45] there's a way to remove everything i installed but what the installer did or packages that forms the "base" of the system [07:45] ? [08:01] moin [09:19] I am trying to install the tarball distro of 5.1 64-bit on 64-bit Ubuntu Server. When I run the scripts/mysql_db_install command I get this error: ./bin/mysqld: error while loading shared libraries: libstdc++.so.5 [09:19] while libstdc++.so.5 is not under /usr/lib, libstdc++.so.6 is [09:19] anyone have an idea what is going on and how to solve it? [09:21] <\sh> Ontolog: what's a "tarball distro" ? I think you are trying to install mysql 5.1 pre-compiled? looks like they don't use the latest libs for their builds... [09:21] yes the tarball distribution of mysql [09:21] so just installing libstdc++5 should be ok? [09:21] won't duck up other things? [09:22] <\sh> dunno...I'm using only the ubuntu releases of mysql... [09:22] <\sh> at least...no ubuntu problem...but mysql... [09:36] haha the mysql people said not mysql problem ubuntu [09:36] so funny [10:26] could anyone tell me what the difference is between mysql and mysql-ndb in the init scripts? And do I have to run them both? [10:29] oh, there is even a mysql-ndb-mgm one... The reason i ask is because i'm setting up a heartbeat server. And i don't know if i can just run the mysql service or that i would have to do these first. [11:53] can someone tell me how to change my domainname? "hostname -fqdn" gives me only my hostname on one server. On the others it gives the hostname as well as the domain name, as it should be. I do not have a dns server setup, so this must be in some file. Only i do not know which one. It's not /etc/hostname, that is certain. [12:11] hi [12:11] can someone remind me the command to clone a user ? [12:11] actually, not remind me, just to tell me :) [12:16] youngmusic: /etc/hosts [12:16] Abracadabra: I'm not familiar with any such command. [12:20] oh ok [12:21] so I have to adduser and manually add everything ? [12:26] Abracadabra: you want to completely copy ever aspect of the user? [12:26] even the uid? [12:29] thefish, I am a windows admin. I am now being thrown in the deep end to be a Linux admin....I was wondering how to create an account with the same group and accesses as myself [12:29] Abracadabra: Define this "everything" [12:29] Abracadabra: Ah, ok. [12:30] Abracadabra: Er.. Well, it's rather straightforward, really. You create the user, and use something like "id" to see which groups you're a member of and add him to them. You can create a small script to do it, if it's something you think you'll need often. [12:32] Abracadabra: ok fair enough - not 100% sure about groups, but check out /etc/skel for files - this will be copied to the users new ~ when you create them [12:32] Abracadabra: you want another admin? (another user who can use sudo) [12:35] Abracadabra: but to have the exact same groups as you, something like sudo adduser --ingroup `groups` (ive not tested that!) [12:36] Abracadabra: actually check out the adduser man page, theres some quite interesting stuff you can do [12:37] actually Abracadabra you probably want the add_extra_groups option ;) [13:04] hey [13:05] I can't tell from the Postfix docs, however will an entry in the file for 'virtual_alias_maps' such as: @example.com @example.org rewrite all mail for anything@example.com to anything@example.org ? [13:23] anyone here with amd64 and xen 3.2.1-rc1-pre. === freaky[t] is now known as fReAkY[t] [14:06] When I run screen on my server, I can't see what window I'm currently in [14:06] On redhat machines the default is to show that as the "title" of my terminal [14:06] Anyone know how I can set that up in Ubuntu? [14:11] man screen [14:18] cynicismic: :) [14:18] cynicismic: I copied /etc/screenrc from fedora to ~/.screenrc - seems to have done the trick [14:20] <_ruben> bugger .. my /dev/random is 'empty' ... [14:22] that'd do it :) [14:22] the default gentoo .screenrc is quite nice as well [14:41] New bug: #260060 in dhcp3 (main) "prepend domain-name-servers ignored for ppp0" [Undecided,New] https://launchpad.net/bugs/260060 [14:44] cynicismic: Please file a bug if you think the defaults should be different. There's no point in us providing lousy configs by default. [15:15] If I want to only send mail on a server, do I need to install postfix, or is there something lighter / simpler? [15:16] I won't accept connections on port 25, except from localhost [15:16] My mail all comes into a separate box, but some web apps will want to send mail [15:18] chmac: postfix is pretty much one of the most simple SMTP services [15:18] chmac: things like sendmail are much more complex [15:18] ikonia: Ok [15:19] ikonia: I was surprised by the list of dependencies, openssl-blacklist and ssl-cert [15:19] chmac: well, thats for if you want to use things like TLS [15:19] chmac: it will work without them but balancing basic functionality against peoples needs is a tough line to walk [15:19] ikonia: Is TLS used from one server to another, or only from mail client to mail client? [15:20] Sorry, mail client to server [15:20] chmac: can be either [15:20] or both [15:20] ikonia: Ok, cool [15:20] Two dependencies is not a big deal, I just wondered if there was an alternative, thanks for clarifying [15:20] chmac: there are alternatives, sendmail, qmail, exim, etc etc [15:20] chmac: but postfix or exim are probably the most straight forward [15:21] ikonia: Ok, I'll go with postfix as it's the ubuntu default I believe [15:21] sendmail is a smaller program though, but when you consider how much any of them take up, is it really worth it [15:23] Postfix is the standard MTA for Ubuntu. [15:24] ikonia: Thanks again [15:25] <\sh> damn.he's gone..if he just wants to get mail from a machine to a relay or hub, he could use ssmtp [15:33] I've a weird problem with Postfix/Dovecot, it all works perfectly when sending emails between accounts hosted on my server, I can also send to accounts outside of it (such as my Google Mail account). However, I am unable to send email from my Google Mail to an account that is hosted on my server, there is nothing in the logs to help me out, I'm wondering if anyone has an idea as to where to start debugging? [15:39] AlexC_: does your server show it hitting your box at all [15:39] AlexC_: is your isp blocking port 25 incoming ? [15:39] AlexC_: are you blocking port 25 incoming [15:41] ikonia, no to all 3. However, I'm thinking this may be a DNS issue. See, I'm moving servers over slowly, currently moving my 'main.example.com' over. I thought I had it all working so I updated the DNS zone to point that subdomain to the new server IP, However, I've just moved it back to the original server IP and it looks like the mail has ended up there (since I just got the email) [15:42] yup, always leave 24/48 hours for dns changes to effect the outside world [15:42] if you can see mail appearing on the old server, your fine [15:42] ikonia, ok, thanks =) [15:46] ikonia: that's a wonderful oversimplification of dns change propagation :-) [15:47] lamont: glad it got it across ;) [15:47] you notice I'm not jumping in to correct it with unnecessary accuracy [15:47] lamont: bottom line is - mail is going to the old server, dns is pointing there [15:48] right [15:51] there was the fun day that I discovered I'd started with the wrong zone file, and therefore had a 1 week TTL on the A RR for a web site... and it moved with about 24 hours notice. [15:51] Hi, does Server Edition use the -server kernel by default? [15:51] explaining that to a bunch of very non-technical people (the site will move to the new one over the course of the week, with most people seeing it immediately, just not you guys and people at your ISPs, thanks) [15:51] that was very,uh, fun. [15:52] I'm trying to figure out the inconsistent reports I've seen regarding Server Edition on VIA CPUs. [15:52] See https://bugs.launchpad.net/bugs/254453 [15:52] Launchpad bug 254453 in linux "Ubuntu 8.10 Alpha-3 Intrepid Ibex - Via C3 CPU not Supported" [High,Confirmed] [15:53] That bug is regarding Intrepid in general, but I'm simultaneously fielding questions from a user having issues with 8.04 Server Edition. [15:55] lamont: I appriciate there are loads of options such as TTL, cache, expire sizes etc etc, but if he's repointed the record twice and it's worked Ithink he should hopefully have a reasonable understand of how long his setup will take [15:55] fbond: intrepid is not stable [15:55] fbond: and can be discussed in #ubuntu+1 [15:58] ikonia: Okay, thanks, but my question is very much not specific to Intrepid. [15:58] fbond: is there bug logged for 8.04 ? or is it referenced in the interpid bug report ? [15:58] In fact, my question is really about 8.04 Server Edition. [15:59] The bug is about Intrepid, but there is discussion there regarding current SE. [15:59] fbond: since your question is mostly kernel related you may get a faster response asking in #ubuntu-kernel [15:59] sommer: Okay, I'll check there. [15:59] but someone here may know as well [16:23] !gui [16:23] The graphical user interface (GUI) in Ubuntu is composed of many elements, including the !X server, a window manager, and a desktop environment such as !GNOME or !KDE (which themselves use the !GTK and !Qt toolkits respectively) [16:23] !servergui [16:23] Ubuntu server does not install a desktop environment or X11 by default in order to enhance security, efficiency and performance. !eBox provides a GUI system management option via a web interface. See https://help.ubuntu.com/community/ServerGUI for more background and options. [16:25] hi all! is there a way to do a 8.04 headless install (serial console)? google has no clue [16:52] zul: re bug 253855 - could you try to grab samba4 from experimental and try to build it ? [16:52] Launchpad bug 253855 in ubuntu "please sync samba4 from debian experimental" [Undecided,Confirmed] https://launchpad.net/bugs/253855 [16:52] zul: I've tried to build it in my chroots but failed [17:25] mathiaz: np [17:49] mathiaz: i havent updated my schroots today but its building fine for me [17:49] zul: hm - which build system are you using ? [17:49] sbuild [17:50] zul: I'm using sbuild+lvm and building samba4 triggers an oops [17:50] zul: related to ext3 and/or lvm snapshot [17:50] mathiaz: im not using lvm though [17:55] mathiaz: built fine [17:56] zul: could you ACK the sync request then once you've checked that the packages look good ? [17:56] zul: or could you put the built package somewhere ? [17:57] ok np [18:28] mathiaz: http://people.ubuntu.com/~chucks/samba/ [18:29] its for amd64 [18:30] zul: great - thanks [19:02] New bug: #259488 in samba (main) "libwclient fails to install on dist-upgrade" [Undecided,New] https://launchpad.net/bugs/259488 [19:06] New bug: #260156 in samba (main) "package libwbclient0 None [modified: /var/lib/dpkg/info/libwbclient0.list] failed to install/upgrade: trying to overwrite `/usr/lib/libwbclient.so.0', which is also in package likewise-open" [Undecided,New] https://launchpad.net/bugs/260156 === hessml|away is now known as hessml|away|away [19:14] hello! I've installed ubuntu-server 8.04 amd64 on a machine with 32 Gb RAM. However I can only see 4 gb. Help! [19:19] Absorto: I'd hate to question such a thing, but are you sure you didn't install i686 by accident? [19:20] infinity: I'm pretty sure. I triple checked. uname -a says: x86_64 [19:21] Kay. [19:21] Then I'd go hunting around in BIOSes and such. [19:22] Cause the x86_64 -server kernels should certainly be able to handle more than 4GB of RAM. [19:22] I'm getting suspicious, tho. I booted a pair of livecds from other distros (not that I'm considering switching ;) ) and couldn't see the entire RAM either. [19:22] BIOSes, eh? Humm... [19:22] * Absorto reboots [19:26] :S turns out I have 8 512MB DIMMs [19:27] Fun. [19:28] anyone have ubuntu server running on hyper-v? [19:36] i cant get the network card to work, even though i installed a legacy network adapter [20:23] i'm looking for some sftp help, having a strange issue [20:24] i'm using winscp to connect to my ubuntu server running openssh. everything works except I cannot get it to overwrite files. [20:24] I can delete and create new, but now overwrite. [20:24] *not [20:36] anybody here? [20:39] i'm here seeker71 ;) [20:40] log into your ubuntu server with the same user, and try to overwrite a file via a "cp" [20:41] yes, that works. [20:41] hello [20:43] seeker71: I've had the before and IIRC it was a permissions issue of some kind. [20:43] But it's been a while. [20:44] yeah, i've got all the files at 777 while trying to figure this out. are there attributes that need to be changed maybe? [21:08] Hey guys, how can you send a file from the command line via email (like echo/mail/sendmail) anyone know ? [21:19] dusty_: Install an MTA with an appropriate interface (I recommend Postfix) and then start with man sendmail. [21:33] Hardy's (server) kernel does not support my EPIA-ITX board (CPU), what can be done... some boot options ? [21:33] Hi. I have one user reporting that he installed Ubuntu 8.04 Server Edition and ended up with a -generic kernel, and one reporting that he did the same and ended up with a -server kernel. How can I explain this? [21:33] Weasel[DK]: Use the -generic kernel. [21:34] Weasel[DK]: The -server kernel is not compatible with your CPU, and no boot options will fix it. [21:34] fbond, ok, is the generic kernel included in the server dist ? [21:35] Weasel[DK]: Well, that's part of what I'm trying to figure out. :) [21:35] Weasel[DK]: You installed 8.04 Server Edition and ended up with a -server kernel? [21:36] fbond, seems so yes [21:36] fbond, complatins about some unsupported features.. and the stops [21:37] Weasel[DK]: Okay. I'm downloading the Server Edition CD to check it out. [21:38] fbond, really... don't you have any thing else to do.. ;) [21:38] Weasel[DK]: Actually, I was tracking the same issue you are having. [21:38] I've gotten some conflicting reports about Server Edition compatibility with C3 CPUs. [21:38] fbond, ahhh [21:38] I'm trying to figure out who's right (or wrong), and why. [21:40] There is a user reporting at https://bugs.launchpad.net/bugs/254453 that he installed Server Edition and ended up with a -generic kernel that works fine on his C3. [21:40] Launchpad bug 254453 in linux "Ubuntu 8.10 Alpha-3 Intrepid Ibex - Via C3 CPU not Supported" [High,Confirmed] [21:40] ok, i can assist as test-dummy.... [21:40] he he [21:40] Weasel[DK]: Sure thing. [21:41] * Weasel[DK] is reading... [22:12] fbond, there is a generic kernel in the ISO.. ill try to start rescue mode and install it... === hessml|away is now known as hessml|away|away [22:30] fbond, Success :) [22:50] Weasel[DK]: good, glad to hear it. [22:50] Weasel[DK]: What mainboard do you have? [22:51] fbond, EPIA-SP8000EG [22:51] Weasel[DK]: Thanks. [22:51] Weasel[DK]: Yeah, we currently don't detect lack of PAE support in the CPU. :( [22:52] I hope to fix that for Intrepid. [22:52] sounds great... :) [22:52] (PAE is what is missing from the VIA CPU's which makes the server kernel unable to boot) [22:52] soren: There is also CMOV. gcc uses CMOV when compiling for 686. [22:53] soren: isn't it like really late on your TZ? [22:53] They don't have cmov either? Oh, Jebus.. [22:53] nxvl: Nah, this is not too bad. It's just before midnight. [22:53] soren: Will the detection make the kernel compatible with the C3, or make the installer use the -generic kernel? [22:54] soren: Most VIA CPUs actually *do* have CMOV. [22:54] soren: the funniest time for hacking :D [22:54] The day before yesterday was pretty bad. I didn't get to bed until 3 AM or thereabouts. [22:54] soren: But nothing before the Nehemiah core. [22:54] fbond: It'll make the installer use the generic kernel. [22:54] soren: Cool. [22:54] Yeah, we're not going to disable PAE in the server kernels :) [22:55] soren: So ... there is a user at https://bugs.launchpad.net/bugs/254453 claiming that the Server Edition CD installed fine for him and he ended up with a -generic kernel. Possible? [22:55] Launchpad bug 254453 in linux "Ubuntu 8.10 Alpha-3 Intrepid Ibex - Via C3 CPU not Supported" [High,Confirmed] [22:56] (The bug is for 8.10, but his CD was 8.04) [22:56] fbond: Yes. [22:56] soren: Okay! How does it happen? [22:56] i get 0:6 and 0:8 as not pressent in CPU [22:56] fbond: We detect some cases in the installer. [22:57] fbond: ...just not PAE (currently). [22:57] soren: What package can I examine to determine what is detected? [22:57] fbond: base-installer, IIRC. [22:57] I really need to head to bed now.. [22:57] soren: Thanks! [22:57] G'night, everyone! [22:57] g'nite [22:57] soren: Good night. [22:58] hello! I'm trying to install ubuntu-server on a dell r905. Well, the install CD cannot find the DVD-ROM, I guess because it is SATA. So: I installed ubuntu on a similar machine that doesn't have that problem, then I made a tar of the whole root filesystem. Then I booted an install cd of slackware 12.1 which has the appropiate module for the DVD-ROM and, using the root shell, I created the partitions and untared my tar. Phew. Then I [22:58] chrooted to the appropiate mount point and ran grub-install. I rebooted and got the grub, but the kernel doesn't boot. [22:59] soren: sleep tight! [22:59] I went into grub's console and specified root and kernel. So the kernel boots, but ends up in a kernel panic! it says my root= parameter is wrong. [23:00] Absorto, you have to set the root right then ;) [23:01] what is it linke now ? [23:01] Weasel[DK]: I guess so. [23:01] like [23:01] Well, the one in menu.lst is a very weird UUIDblahblahblah that I have never understood. [23:02] My root fs should be /dev/sda2, but that didn't work. [23:02] I think the UUID is the one of the first machine tho... [23:03] ther kernel line also contains a root= [23:03] have you edited that one too [23:03] yes, I specified a root= on grub's command line [23:04] I tried /dev/sda2 and I copied the UUID on menu.lst [23:05] root= in the menu.lst could be like (hd0,0) or (hd0,1) ? [23:06] no, i mean, i specified kernel (hd0,1)/boot/vmlinuz-blah root=/dev/sda2 [23:06] and /dev/hdxxx as kernel option [23:06] I also specified root (hd0,1) [23:07] i think yuo shuold remove (hd0,0) from the kernel line [23:07] just /boot/vmlinuz-blah root=/dev/sda2 [23:07] hmm... [23:08] okay. I think I might try that. That and learning the propper UUID with the blkid command. BRB [23:08] note to chek that you harddrive is primary master [23:08] * Absorto goes into the cold, cold site. [23:11] Absorto: When I've had problems like that, I just installed on one machine and then physically moved the hard drive to the box I wanted the install on. === hessml|away is now known as hessml|away|away [23:27] ScottK: I might try that. Although I'm trying to install ubuntu on a dell r905 that has weird drives on the front, I'm not sure I'm gonna be able to install them on the other much simpler host. [23:28] weird drives ? [23:30] Yeah, they are like mounted racklike, I'm not sure they are sata or what sort of interface they use. [23:33] Is there a way I could run the installation script of grub from within a chroot? [23:34] should not be neserry [23:35] But it is. You see: the installer configures grub. But since I installed in another machine, all references to drives are wrong. [23:36] go into grub... type ----- root (hd0,1) [23:36] Oh, and: ScottK: I can't take the drive from the huge server and install ubuntu on it on another host because I'm installing into a RAID-5 array. [23:36] I did. root (hd0,1) [23:36] then kernel /boot/vmlinuz-blah root=/dev/sda2 [23:37] and then setup (hd0) [23:37] I also tried kernel /boot/vmlinuz-blah root=UUID-blahblahblah [23:37] Weasel[DK]_: id did that. The grub is propperly setup. That is: it is copied onto the master boot record of the disk. When I reboot, grub comes up. [23:38] But when I select the first option in the menu, it says the drive is wrong. [23:38] when i try it on grub's cli the kernel boots but then goes into panic because the root= parameter is wrong. [23:38] ahh oh yes i forgot sorry ;) [23:39] Is there a way of starting the install script from the command line interface? [23:39] I mean... [23:39] ahh oh yes i forgot sorry ;) ? [23:40] what do you have on (hd0,0) part. boot ? [23:40] I have setup ubuntu and made a tar of the root fs. I am able to boot and get a root shell thru the livecd of another distro. Then i can chroot into my ubuntu partition. Could I then run the install script? [23:40] Weasel[DK]_: (hd0,0) is swap [23:42] could you publish you menu.lst at paste.bin or a like [23:45] I could, but with much effort. The livecd through which I can get a shell doesn't have the propper kernel modules for the NIC :( [23:45] But I can describe it accurately. [23:45] ahh sad [23:45] It is exactly the menu.lst you get in a fresh install, I've only changed the UUID=blah part. [23:47] does fdisk /dev/sda look as expected ? [23:47] hey! I forgot all about that! let me see. [23:49] but... would a wrong entry on /etc/fdisk cause a kernel panic? [23:49] I guess it would! [23:49] brb [23:50] you mean /etc/fstab i guess