[00:00] change the owner to www-data, change the group-owner to www-data, add www-data to the group-owner of the file, or change the everyone permission to allow writing [00:00] which is best depends on your priorities [00:01] the most secure method, meaning the one with least privilege, is to create a new group to be that file's group-owner, and add www-data to that group [02:00] hello [02:00] i apt-get installed ubuntu-desktop on top of my 10.10 server edition [02:00] how can i get it to start up without launching X11? [02:10] NightDragon: are you using gnome? [02:10] yes [02:10] NightDragon: update-rc.d gdm disable [02:11] NightDragon: try it [02:11] it used to be where you would change the grub conf to include 'text' on the kernel line, but grub has changed so damn much === oubiwann-away is now known as oubiwann === jenkinbr is now known as roflwafflez [02:56] hey party people [02:56] i'm trying to set IPMI up for my server [02:56] i apt-get installed ipmitool, but it cant find /dev/ipmi or anything like === _aegis is now known as aegis [03:54] hello all [03:54] i'm trying to set up IPMI [03:54] and i get this msg [03:54] Could not open device at /dev/ipmi0 [04:06] wow, this is certainly active :-/ [04:11] is anyone around? [04:13] NightDragon: Yes, but I am sorry I don't know much about ipmi :(. [04:13] :( [04:14] i'm just trying to clear out the stupid event log on my PE 6600 [04:14] to get rid of the stupid amber light [04:30] Hello [05:00] soren: there? [05:02] soren: when you get in -- how do I subscribe to the openstack teams on LP? I see no option to request membership... [05:02] soren: and I want to vote :-) [05:17] would a server set up as in this guide https://help.ubuntu.com/10.04/serverguide/C/mail-filtering.html only scan incoming mail? [05:21] nagchampa: no, it'll scan in- and outgoing mails [06:01] hello [06:01] how do you change the display mode in ubuntu server [06:02] my display is really weird, it's a laptop with no screen that i have attached to an external monitor [06:02] i can see text from the server but it's split and it keeps blinking [06:03] Server doesn't come with iwconfig?! [06:03] hrm. [06:13] joschi: do i need to make any modifications if my server is acting as an incoming relay? [06:20] nagchampa: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall [06:53] yup... bringing a server back from destruction blows... [06:56] New bug: #669338 in openssh (main) "ssh autologin fails to work" [Undecided,New] https://launchpad.net/bugs/669338 [07:38] root@insto:/usr/local/sbin# sudo -H -u www-data -i -- "ls" [07:38] /bin/ls: /bin/ls: cannot execute binary file [07:38] :S [07:44] MTecknology: Nice. [07:45] jpds: ya.... [07:45] jpds: that's what I get for dealing with old distros.. incompatibnilities [08:21] aah, i just love my sexy new server [10:23] When I try to email a message from my mail server to my google account I get an error about using sendmail as a relay server how can I fix this. [10:23] how can I set my smtpd to allow me to relay messages from other computers .... === aliverius_ is now known as aliverius === xfaf is now known as zul === _Techie_ is now known as _TechAway_ [11:29] hi all, [11:30] i'm trying to install 10.04 amd64 from CD on a machine and after starting to install packages it says: "Please insert the disk labeled: 'Ubuntu-Server 10.04 LTS _Lucid Lynx_ ..." [11:31] I've tried the same thing twice, so either I'm missing something obvious, or... umm, I'm not sure. Google is not being all that helpful either. [11:33] <_ruben> sounds like a "broken" cd [11:33] http://ubuntu-ky.ubuntuforums.org/showthread.php?p=6441798 [11:34] these are my exact symptoms, but the hdd is SATA and the cdrom is standard IDE [11:58] what should I use to secure my server: apparmor or selinux or something else? [12:05] HI, perhaps maybe someone here can help me out :) On my install of 10.04 I have configured ipv6, all seems to be okay, but for some reason the server keeps adding 'default via fe80::1:1' to my routes, which seems to mess up my ipv6 config [12:09] I want to fix this: [12:09] 0 root@oystercatcher:~#dpkg-reconfigure man-db [12:09] /usr/sbin/dpkg-reconfigure: man-db is broken or not fully installed [12:09] <_ruben> apt-get install -f # might do the trick [12:15] thanks, not sure why that didn't work for me before. Caused by a ro /usr, I think [12:34] when I ftp files to /var/www directory apache is unable to access files. I have to go in and manualy change permissions. I want to get around this. [12:34] when adding files through ftp, the files are taking ownership of that user [12:34] databits: change the permissions on /var/www [12:34] databits: set the uid/gid [12:34] databits: http://en.wikipedia.org/wiki/Setuid [12:34] ok kinda new to all this [12:36] Good afternoon all. I have created a bootable USB installation of Ubuntu 9.10 from ISO. My machine boots but the installation wants to configure Ubuntu from a mirror. Is there any way i can get it to use the media within the ISO? Many Thanks in advance [12:37] tgwoollard: it should use the local repo if you built the usb correctly [12:38] I simply used Universal-USB-Installer. Not really much for me to get wrong as you just point it at an ISO and then select your USB drive. Are there any sugesstions as to what might have gone wrong? [12:39] ok ikonia, that is exactly what I am looking for [12:40] tgwoollard: it's easier to use the one built into Ubuntu distro System > [12:40] Administration > Startup Disk Creator [12:40] so I would do chmod g+s www-data ? [12:40] databits: that would set the guid [12:40] Okay i shall give that a try and report back. Thanks Ninjix and ikonia [12:41] <_ruben> hm, bash refuses to show my fqdn when using \H in $PS1 [12:41] so if I set chmod g+s www-data /var/www [12:41] that would make it so no matter what user uploads a file to that directory [12:41] apache should be able to access the file [12:41] apache is running as www-data [12:51] ikonia: so what would be the correct command to have all files added to the /var/www directory take permissions so that apache will be able to serve the files ? [12:51] I'm not having very much luck here :( [12:55] chown -R www-data:www-data /var/wwww [12:56] which works for the files currently in the directory [12:56] but when I ftp files to that directory they are not accessable by apache [12:56] don't do that! setting the owner of the web files to the same user as apache runs under is a bad idea! [12:57] coop0a: Thats the normal setup. [12:57] I want all the files which are uploaded through ftp at a later date to be accessable though apache without having to go and reset permissions every time a new file is added [12:57] <_ruben> for some reason i cant find more than http://forums.debian.net/viewtopic.php?f=5&t=9225&start=0 which only lists a nasty workaround but no fix [12:58] Pici: it is "normal" to run windows, that does not mean it's a safe thing to do. [12:58] coop0a: I'd like some information on why doing what was suggested is a bad idea. [13:03] Pici: the web server is the most likely attack vector. consider a limited exploit by which an attacker does not get root privileges, but instead can access files as user www-data. /var/www/ could then be changed by the attacker. it's better to make it read-only for the web server. [13:04] databits: here's what you could do. make /var/www/ owned by someone else. e.g. the user you use to upload files. and make it only readable/executable to the web server. [13:05] databits: basically, you should make /var/www/ writable only for users which you will use for uploading files. [13:06] (apt-get install apache2-mpm-itk) [13:07] coop0a: the issue with that is I am going to have multiple users uploading files to the webserver [13:08] databits: then create a new group, add all uploading users to that group and make /var/www/ owned by root:that_group and set permissions to 775. [13:08] sudo chmod -R a+rw /var/www [13:09] when I issue this command all the file currently that are in the directory are able to be accessed by the webserver [13:09] but if I upload a new file, the server is denied access to the file [13:09] databits: the approach I just mentioned has the advantage that you can see who uploaded what. [13:11] allrighty let me give this a try [13:16] <_ruben> guess noone really wants the fqdn in their bash prompts, might as well resort to the hackish workaround i found (set PS1 based on `hostname -f`) [13:23] drwxrwxrwx 2 www-data www-data 4096 2010-10-31 15:37 images -rwxrwxrwx 1 www-data www-data 405 2010-10-31 15:37 index.html -rw------- 1 databits www-upload 449700 2010-11-01 09:20 Radiant w-9 form.pdf -rw------- 1 databits www-upload 333593 2010-11-01 09:22 Radiant Work Order.pdf [13:26] databits: ? [13:26] ok I did everything [13:26] still isn't working [13:26] index.html is still not owned by the correct group. [13:26] New bug: #669443 in openssh (main) "Terminal hangs when sshing to Ubuntu 10.04 " [Undecided,New] https://launchpad.net/bugs/669443 [13:26] databits: please pastebin ls -la /var/www/ [13:27] databits: btw, you haven't set the permissions correctly. [13:27] databits: Radiant pdf files are only readable/writeable by the owner [13:28] I did sudo chmod -R root:www-upload /var/www [13:28] *chown* [13:28] databits@ubuntu:/var/www$ ls -l total 776 drwxrwxrwx 2 root www-upload 4096 2010-10-31 15:37 images -rwxrwxrwx 1 root www-upload 405 2010-10-31 15:37 index.html -rw------- 1 root www-upload 449700 2010-11-01 09:20 Radiant w-9 form.pdf -rw------- 1 root www-upload 333593 2010-11-01 09:22 Radiant Work Order.pdf [13:28] funny thing is I am still able to view the index.html [13:28] but I cannot pull up any of the other files [13:28] because you didn't do what I told you. [13:29] I created group www-upload [13:29] added my user to it [13:29] databits [13:29] databits: sudo chown -R root:www_upload /var/www/ [13:29] the www-data user and group have absolutly no read/write to any of those files [13:29] exactly. [13:29] I added www-data to the www-upload group [13:30] that defeats the whole purpose of this. [13:30] like I said I am new to this in the learning process :) :( [13:30] please tell me [13:30] what commands should I issue laugh [13:30] databits: I did. [13:30] databits: sudo chown -R root:www_upload /var/www/ [13:31] when I upload a file they have ownership of databits:www-upload [13:31] databits: sudo chmod 775 /var/www/ [13:31] s/www_upload/www-upload [13:31] do you mean www-upload [13:31] s/www_upload/www-upload/ [13:31] yes [13:31] hi guys. I've got a server, with ubuntu enterprise cloud installed, and from time to time it just freezes. No ssh connection. But I cant even connect to it using a monitor and a keyboard, so I have to force-boot it. Cant seem to find anything in the logs. Any suggestions, please? what logs to check? [13:32] ok [13:32] done [13:32] now what ? [13:32] note that it is ch*OWN* and ch*MOD*, two different commands [13:32] I just cut and paste [13:32] okay, now try again. [13:32] it will work not because I just changed the permissions with that command [13:33] but if I upload a new file from ftp it will not work to access that file [13:33] I can tell you that righ tnow without even checking .... I will do so anyways [13:33] that is because you didn't set the permissions correctly. I just told you how to do it. [13:33] why wouldn't this respawn when the Xvfb process is killed.. (upstart) http://pastebin.ca/1978684 [13:34] sudo chmod 775 /var/www/ [13:34] correct ? [13:35] yes, but if you have files with wrong permissions already, you must use -R... as in sudo chmod -R 775 /var/www/ [13:35] ok [13:35] I am able to view files allready in the directory [13:35] ... [13:35] now lets try uploading from ftp and try to access it [13:36] databits@ubuntu:/var/www$ ls -l total 448 drwxrwxr-x 2 root www-upload 4096 2010-10-31 15:37 images -rwxrwxr-x 1 root www-upload 405 2010-10-31 15:37 index.html -rw------- 1 databits www-upload 449700 2010-11-01 09:35 Radiant w-9 form.pdf [13:36] as you can see the new uploaded file [13:37] please pastebin ls -la [13:39] error.log [13:39] databits@ubuntu:/var/www$ ls -l total 916 -rw------- 1 databits www-upload 7373 2010-11-01 09:38 error.log drwxrwxr-x 2 root www-upload 4096 2010-10-31 15:37 images -rwxrwxr-x 1 root www-upload 405 2010-10-31 15:37 index.html -rw------- 1 databits www-upload 449700 2010-11-01 09:35 Radiant w-9 form.pdf -rw------- 1 databits www-upload 333593 2010-11-01 09:37 Radiant Work Order.pdf -rw------- 1 databits www-uploa [13:39] databits: if you continue to ignore what I tell you, I'm done helping you. [13:40] databits: the problem is obviously that group and others have no read/executable privileges on the files. [13:40] databits: please pastebin "ls -la /var/www/" [13:41] databits@ubuntu:/var/www$ ls -la /var/www total 924 drwxrwsr-x 3 root www-upload 4096 2010-11-01 09:38 . drwxr-xr-x 14 root root 4096 2010-10-31 05:56 .. -rw------- 1 databits www-upload 7373 2010-11-01 09:38 error.log drwxrwxr-x 2 root www-upload 4096 2010-10-31 15:37 images -rwxrwxr-x 1 root www-upload 405 2010-10-31 15:37 index.html -rw------- 1 databits www-upload 449700 2010-11-01 09: [13:41] ok so what do I do from here [13:42] databits: check that whatever program you use to upload the files doesn't set the permissions incorrectly. [13:44] it is not changing any permissions [13:44] using flashfxp [13:45] windows isn't using unix permissions last time I checked, so it cannot "change" any permissions. it simply does not set them correctly. [13:48] I am ftping the files from my windows machine to my linux box [13:51] coopOa: any idea's ? [14:01] New bug: #669452 in freeradius (main) "Please sync freeradius (main) from Debian Unstable (main)" [Undecided,New] https://launchpad.net/bugs/669452 [14:32] anyone? I have an ubuntu enterprise cloud server, but sometimes it freezes and doesnt even respond to monitor+keyboard connections., so I have to force-reboot it. Cant seem to find anything in the logs. Any suggestions, please? what log files should I check? [14:48] hi [14:51] i wanted apache to listen to localhost only. so following the lamp guide on help.ubuntu i made Listen 80 to Listen 127.0.0.1:80 now when i try to restart apache it give me error [14:51] apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [14:51] httpd not running, trying to start [14:51] any help? [14:53] 127.0.1.1? === khussein_ is now known as khussein === khussein_ is now known as khussein [15:24] hi every body, i have a hard disk than the most of sector is whit errors [15:25] whitch tools i may to use to repair it [15:26] does it have data you want to recover? [15:30] <_ruben> andres_: bad sectors cant be repaired, only option is recovery (as stated by patdk-wk). dd_rescue would be my first bet [15:31] Heyy [15:31] Does anyone know how to get a vnc server working on ubuntu-server and then use a ssh-tunnel to connect to the vnc-server? [15:33] depends on your definition of repare, I would say forcing the harddrive to remap the sector, is repared, but still data lost :) [15:34] i'm accessing an ubuntu server via ssh and it's not giving my gnome-terminal scrollback information (don't know the term) - i can only see a screenful at a time, there's nothing to scroll back to. this is not the case with other remote servers, arch and centos. what do i have to do to enable scrollback for my ssh session? [15:36] that has nothing to do with the server, ssh or anything [15:36] that would be your terminal settings on your desktop [15:36] well, I guess if your running some kind of strange none-scrolling shell on that server [15:42] <_ruben> screen for instance [15:42] <_ruben> LyonJT: servers dont run X, so VNC is kinda useless [15:43] if I could only get rhel to understand that [15:44] _ruben: yes but i installed ubuntu-desktop on top of it [15:45] <_ruben> LyonJT: so it is no longer a server but a desktop instead, hence offtopic for this channel i'm afraid [15:45] well no because its a ubuntu-server [15:45] with ubuntu-desktop installed on it [15:45] heh [15:46] X and vnc are part of ubuntu-desktop, not server [15:46] so still offtopic :) [15:47] okay fine ill ask in another channel if its to hard to get answer from u [15:50] LyonJT: what problem are you having with vnc? [15:50] LyonJT: it should just work... [15:51] module whatever port forwarding you need to do (i do 'ssh -L5951:servername:5901 fwname' and then 'vnc :51', where fw is my fierwall and servername is the server which vnc is running on, and the vnc session is on :1 on servername) [15:59] hello all: newbie question, but how do i get a modprobe command to be persistant? like that module will forever be enabled, instead of going away when i restart [16:00] NightDragon: check out /etc/modules, format is simply name per line [16:01] aah [16:01] nice, thanks [16:02] well another thing... let me ask the rest of the class this [16:02] 20 | 11/01/2010 | 15:48:22 | Memory #0x01 | Correctable ECC | Asserted [16:02] should i be worried? === xfaf is now known as zul [16:11] New bug: #669514 in rabbitmq-server (main) "package rabbitmq-server 1.7.2-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/669514 [16:12] anybody know good software to compare/diff PDF files? I need a way to outline the differences between 2 PDF files that's easy for users to read [16:13] pdftotext [16:13] then diff :) [16:14] lol [16:14] I wish I could do that [16:14] truely a sysadmin answer [16:14] users need it to look the same. But I tried to pitch that idea first :) [16:14] well, it's #ubuntu-server [16:14] lol [16:14] 'users' are here computer literate and understand < and > [16:15] and also miss their classes [16:15] diffpdf - compare two PDF files textually or visually [16:15] because their new server drowned out their alarm :( [16:15] o_O [16:15] ivoks, that one rocks. Using it right now. [16:15] cool [16:16] google is your friend [16:16] But I need a web based tool. Trying to figure out what makes this one tick, [16:16] actually, apt-cache is your friend :) [16:16] I've seen a few think clients but nothing that's usefull for a web app. [16:16] then in that case, couldnt you make a very simple web wrapper for diffpdf? [16:17] I'm trying to figure that out. But the app has no cli option [16:17] i beleive there's a python pdf library; i'm sure you could wrote a web app that would do that [16:17] believe [16:17] or whatever :) [16:17] There are a ton of pdf tools in python. Just haven't see one that's easy to compaire, or that I know how to compare with [16:18] ah... i have things to do [16:18] why do you look so shifty-eyed when you say that? [16:18] like helping kpettit :) [16:18] that's for the suggestions === NG_ is now known as ng_ [16:44] hello guys ! I'm installing ubuntu lucid x64 server via pxe and the whole install gets interrupted by a Debootstrap warning package zlib1g is corrupt. I've checked(sha1sum) the package against the one from a install iso and they have the same sha1sum. Can I make debootstrap not check packages ? [16:49] if your installing via pxe, where does debootstrap come into it at all? [16:54] ppetraki - have an update on that server from last week, when you get a minute [16:54] is it possible to apt-get php5 and NOT get apache? [16:55] try the cli version of php5 [16:55] php5-cli [16:55] mkay [16:56] aha! very good. hopefully that'll include everything I need [16:56] :) [16:57] I just got a turnkey-linux core VM going (ubuntu server 8something I believe) and I wanted to set up just lighttpd + php5 + sqlite for some tinkering [16:57] apache always wants to get its claws in there [16:58] failsnail-d: instal php5-cgi [16:58] presumably sqlite needs it? [17:07] failsnail-d - zul is probably right, you might prefer the php5-cgi to php-cli [17:20] sheetzam, hi [17:21] ppetraki - so the server restarted sometime Friday. Unfortunately I was not here to get a look at what brought it down [17:21] so, we're back to noacpi [17:21] and I haven't been able to crash the server yet [17:22] sheetzam, so refresh my memory, what switches was the server running with with it presumably crashed? [17:22] noacpi [17:51] ppetraki - noacpi [17:52] sheetzam, ok... time to rewind you acpi runtime :) [17:52] sheetzam, which kernel were you running on the LTS that was stable? [17:54] sorry, it just now crashed with just noacpi enabled [17:55] and it was a machine check exception [17:56] so, to answer your question, it was whatever the latest stable server kernel was for 8.04 two weeks ago [17:56] no idea what it was, unfortunately [18:00] sheetzam: perhaps an obvious thought, but have you checked the memory? [18:02] RoyK - memcheck86 turns up no problems. This problem goes away when I set the machine to nosmp [18:02] thanks tho [18:02] nosmp helps? [18:02] do you have a panic dump? [18:03] RoyK - I have a screen cap of the screen at panic time, that's about it. Want to see it? [18:03] sure [18:04] remind me the image dump url? [18:04] sheetzam, http://pastebin.com/ie1VZjX9 [18:04] thanks [18:04] sheetzam, sure [18:04] oh, I forget :) [18:04] mm, sorry, the one for images, not text [18:04] http://imagebin.ca/ [18:05] http://imagebin.ca/view/2RKhPD45.html [18:05] thanks [18:06] sheetzam, so what this does is removes windows2009 from the list of ACPI OS NAMES [18:06] ok [18:06] sheetzam, essentially forcing the bios to respond as windows vista [18:06] sheetzam, which is what your old LTS would have done [18:06] so, this bios definitely predates windows 2009 [18:06] ok [18:07] 'This is not a software problem!' is a rather worrying line [18:07] ya, no kidding! [18:07] sheetzam, so if you run with this switch, and only this switch, and it works, it means that either our acpi runtime has regressed, or your acpi tables are broken [18:07] ok [18:07] sheetzam, it's a toss up really, which side the bug is on [18:08] :) [18:08] I understand [18:08] sheetzam, but we'll find it :) [18:08] so, let me run that, and reboot [18:08] sheetzam, I wrote this script because getting this right from grub is "painfull" [18:08] heh [18:08] ok, I appreciate that! [18:08] sheetzam: tried nomce? [18:09] RoyK - no [18:09] http://ubuntuforums.org/showthread.php?t=1474477 <-- just saw it mentioned here [18:11] royk is back, long time no see buddy. of course i have been away awhile myself [18:11] sheetzam, for the curious, http://lxr.linux.no/linux+v2.6.36/drivers/acpi/acpica/uteval.c#L62 [18:11] ok [18:11] linux basically starts at the end and rolls back until the acpi tables respond with something valid [18:12] and yes we pretend to be windows, because no linux distro has actually participated in the standards body to make ourselves relevant :) [18:12] so, that script is supposed to edit the grub boot command, right [18:12] ? [18:12] yup [18:12] ok, my grub does not live at /etc/default... [18:12] hmm [18:12] just takes the error out of it [18:13] this is ubuntu right? [18:13] yeah [18:13] I have no /etc/default/grub [18:13] lots of others, but not that one [18:13] was that added with grub2? [18:13] iirc it was [18:13] ok [18:13] still working with the older grub [18:14] seems like as good a time as any to update grub === _TechAway_ is now known as _Techie_ [18:14] https://help.ubuntu.com/community/GrubHowto [18:14] oughta be there, 10.04 right? [18:15] either way [18:15] this box has been upgraded from 6.04 to 8.04, and most recently to 10.04 [18:15] so [18:15] oh... [18:15] let me update grub, then run your script [18:15] ok [18:15] give you an idea of the age of the hardware, too... [18:15] * ppetraki fingers crossed [18:16] I should probably also check to see if there's an update to the bios firmware... [18:21] hey all, i have two myisam tables with identical indexes, one is 4.2 million rows, the other is 2.9 million. It takes about 8 times the time to draw the smaller table than the larger. How can this be explained? [18:24] draw? === ng_ is now known as NG_ [18:24] normally it has to do with key length, fragmentation, ... [18:24] how much ram you give the keybuffer [18:28] sheetzam: iirc grub2 is installed when you upgrade to 10.04.1, but not to 10.04 [18:28] no, it's installed only when you tell it to, it seems [18:29] regardless, it's upgraded, and ppetraki's script has been executed [18:29] I'm quite sure 10.04.1 upgrades will add it without asking [18:29] about to restart again [18:29] huh [18:29] sheetzam, great [18:30] sheetzam: http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/install-guide/ch-bootopts.html <-- a short description of nomce [18:32] hmm [18:32] what's the downside of that? [18:33] I mean, if it's checking for a problem, and one has been encountered, seems like ignoring it would be a bad thing === _Techie_ is now known as _TechAway_ [18:34] sheetzam: no idea, really - what sort of CPUs do you have in this thing? [18:35] a single Core 2 [18:35] 2Ghz [18:35] mainly I'm concerned that upgrading to 10.04 busted it, and would like to get the underlying problem fixed [18:35] greetings. with for sftp, how can I "jail" user in home directory / [18:36] ok, ppetraki - that script did not end up helping - just got it to lock up again [18:36] after I had rebooted [18:36] sheetzam: I'm running 10.04 on those processors [18:37] sheetzam: are you running 10.04 or 10.04.1? [18:37] yeah, not thinking it's the processors at fault [18:37] one sec [18:37] pretty sure it's 10.04.1, but let me check [18:37] sheetzam, ok [18:37] lsb-release -a [18:37] sheetzam, file a bug, it's a regression [18:37] Ubuntu 10.04.1 LTS [18:38] k [18:38] ppetraki - can you give me a pointer to get started on filing that bug? [18:38] sheetzam: try to 'apt-get update && apt-get dist-upgrade' before doing anything else [18:38] lol [18:38] yeah, way past that :) [18:39] https://help.ubuntu.com/community/ReportingBugs [18:39] RoyK, we've been chipping away at this for a while now [18:39] sheetzam, though that does beg the question, are you running the latest LTS kernel? [18:39] one sec [18:39] sheetzam, should be atleast 2.6.32-25-generic [18:40] 2.6.32-25-generic-pae [18:40] sheetzam: I don't think I run 32bit kernels on my core2 installs [18:40] sheetzam, yeah that's fine [18:41] sheetzam, sudo apport-bug -p linux [18:41] RoyK - as this is a machine that was originally running 6.04, I've not gone through the pain of changing to 64bit [18:41] sheetzam: that is - I'm certain I don't run anything but 64bit on those [18:41] ya [18:41] sheetzam: understandable, but still, there might be something there [18:41] RoyK, shouldn't make a difference, and if it does, it's a platform bug [18:41] I doubt very many run 32bit on those [18:41] you'd be surprised [18:41] ppetraki: sure - just opting my thoughts :) [18:42] :) [18:42] sheetzam, be sure you detail the troubleshooting steps we went through [18:42] ok [18:44] apport-bug? [18:45] thinking that's not a command line thing? [18:46] helps to spell [18:57] ppetraki - just fyi - I'm trying the upstream kernel package now [18:57] or, rather, the mainline kernel [18:59] don't suppose someone has a good writeup of upgrading from 32 bit ubuntu server to 64 bit? [18:59] well... [19:00] technically speaking, you should be able to do a base 64 bit install, over the 32 bit one, just leave all the files in place [19:00] because the 32/64 bit packages are designed to co-exist [19:01] but frankly, I don't think it's reasonable to put yourself through that hassle [19:01] let's fix the bug :) [19:01] ya [19:01] well, for the moment, I'm running with the mainline kernel, we'll see what that brings [19:02] that was quick - a crash [19:03] sheetzam: try the -server kernel [19:04] boot with nosmp or nomce [19:04] I have no idea if it'll help, though - just a guess [19:08] royk - happy to try, can you tell me what the actual package name is? === _TechAway_ is now known as _Techie_ [19:10] looking through apt-cache search, I nly see linux-image for generic, generic-pae and 386 [19:10] sheetzam: linux-image-server [19:10] ah [19:10] ok [19:11] hmm [19:11] is that a virtual package for generic-pae? [19:11] what is the ls command to view hidden files that begin with . ? [19:11] ls -a [19:11] tnx [19:12] sheetzam: how much memory do you have? [19:12] 2g [19:13] no need for pae then [19:14] so, when I install linux-image-server, it says I have it installed already, and the only kernel I have installed is generic-pae [19:14] so [19:15] sheetzam: dunno - how much will you need to setup again if you reinstall with 64bit lucid? [19:16] enough to make it painful [19:16] what's the server doing? fileserver? web? apps? [19:16] <|rt|> does anyone know if adduser supports the --conf option? [19:17] it's our development and test server for our web based apps [19:17] <|rt|> the manpage indicates that it does but when I run adduser with --conf I get an error saying that it doesn't understand --conf [19:17] sheetzam: I see [19:17] and nomce just means it restarts without telling me it had an mce :) [19:18] looks like it's nosmp if I want the server to stay up [19:18] sheetzam: but then, nomce might leave both cores usable? [19:18] oh] [19:18] ic [19:21] and, of course, the bios update requires a windows 95 or 98 boot floppy [19:21] * sheetzam facepalms [19:22] sheetzam: DOS FTW! [19:23] riiight [19:24] sheetzam: if you have an USB pen drive or something, perhaps testing a vanilla 10.04 x86 might be worth a try? [19:25] thinking the only other change I'd be willing to test at this point is 64bit [19:26] beyond that... [19:26] since it happens with the mainline kernel also... [19:26] not sure what further testing is going to help with [19:28] what should the chmod be set to for /home/user/.ssh/uthorized_keys ? [19:28] <_Techie_> 700 for authorized keys, and 770 for .ssh IIRC [19:29] <_Techie_> although i have mine set to 700 for .ssh and 600 for authorized_keys [19:30] _Techie_, the user should not have the ability to modify the file right ? only vew [19:31] <_Techie_> orudie, in my setup, a user can raed and write to their key [19:31] <_Techie_> but read write and execute their .ssh directory [19:32] i set CDPATH and it works but i don't get tab autocompletion in bash. what do i need to do for this? [19:34] <|rt|> hmm the adduser man page in 10.04 seems to have a bunch of problems....it's listing options that aren't supported and doesn't list any of the single letter flags that adduser -h lists...anyone else seeing this and should I file a bug? [19:35] _Techie_: chmod go-rwx -R $HOME/.ssh is my way of doing it - that works [19:36] I generated a public auth key with puttygen.exe , and i'm having a hard time pasting it into authorized_keys , any help ? [19:36] <_Techie_> orudie, if you use puttygen you will have to do some modification [19:37] <_Techie_> orudie, if you pastebin your public key, i can format it correctly and re paste it [19:37] <_Techie_> ONLY PASTE YOUR PUBLIC KEY [19:37] * RoyK hits _Techie_'s caps lock key [19:38] _Techie_, hmm. pastebin.org is down ? whats the other site [19:38] <_Techie_> RoyK, sorry, had to make sure that orudie only pasted the public key [19:38] orudie: pastebin.com? [19:38] _Techie_: :) [19:39] http://pastebin.com/fF4JXhx2 [19:40] <_Techie_> orudie, http://pastebin.com/Ly33f9n6 - note it is all one line of text [19:42] orudie: I've sometimes seen the rsa key didn't work, but testing with dsa did - no idea why, though [19:42] ssh-keygen -t dsa [19:42] <_Techie_> RoyK, RSA keys work fine [19:43] _Techie_, doesn't look right , whats the 3. doing in front of A ? [19:43] <_Techie_> i have the same RSA key across 3 servers, ubuntu-server debian and CentOS, and they all work perfectly [19:43] <_Techie_> orudie, thats your key [19:44] <_Techie_> wait [19:44] <_Techie_> i did make a mistake [19:44] _Techie_: I know, but I've still seen ubuntu (I think that was 9.04) failing with rsa, but succeding with dsa. As I said, I haven't the faintest idea why... [19:44] <_Techie_> ill correct that now [19:45] <_Techie_> orudie, http://pastebin.com/m5VUG1yb [19:46] ok thanks [19:46] not sure why my user can't edit authorized_keys [19:47] <_Techie_> orudie, use sudo to edit them, and chmod them when your done [20:01] ppetraki - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/669621 [20:01] Launchpad bug 669621 in linux "MCE being triggered" [Undecided,New] [20:01] what timing [20:02] sheetzam, thanks, I'm subscribed now [20:02] awesome. Please let me know how i can help [20:03] sheetzam, https://launchpad.net/ubuntu/+source/fwts/0.16.14/+build/1891976 [20:04] sheetzam, run it as root, fwts --no-s3 --no-s4 -p, and upload the results to the bug [20:04] sheetzam, on the system with no extra switches [20:04] sorry, what do you mean with no extra switches? [20:04] sheetzam, like nosmp or noacpi [20:04] ah [20:04] ok [20:05] and what does that do? [20:05] sheetzam, it's not in lucid but it works just the same, just install the deps manually [20:05] it's a firmware test suite we developed here to diagnose buggy bioses [20:05] ah, got it [20:05] cool [20:05] sheetzam, sudo apt-get install -y iasl pciutils, libpcre3 [20:06] sheetzam, and then just install the deb [20:06] yeah, on it :) [20:12] ppetraki - is this what I should paste in? http://pastebin.com/6YrAHFsA [20:13] sheetzam, yeah, just put a preamble in saying it's the result of fwts [20:13] done [20:13] sheetzam, crap, no table errors [20:14] :( [20:17] again, anything I can do to help, let me know. [20:24] <|rt|> ugh I figured out my problem....i must need more coffee [20:25] <|rt|> you can't read the manpage for adduser when trying to run useradd :) [20:28] personally, I hate how close those two are [20:30] <|rt|> yeah keeps you on your toes [20:30] <|rt|> i was about to file a bug on launchpad when I figured it out heh [20:33] thanks again for your help ppetraki and RoyK [20:33] sheetzam, np [20:49] ? [20:56] ! [21:04] Is there any step by step guide to install X on a ubuntu 10.04 server from shell i only got txt mode. and i want a gui on it. [21:06] Eventyret: I'd guess reinstalling with ubuntu desktop will be the best choice [21:06] Eventyret: btw, why on earth would you want X on a server? [21:06] <_Techie_> Eventyret, if you want the ubuntu GUI, you can sudo apt-get install ubuntu-dekstop [21:06] <_Techie_> ubuntu-desktop* [21:07] * RoyK didn't know that one [21:07] RoyK: its a VPS from a server i have. and im new to ubuntu so. thats why [21:07] <_Techie_> =) [21:07] _Techie_: ok and once that is done you just start x ? or something [21:07] <_Techie_> RoyK, theres also lubuntu, kubuntu and xubuntu [21:07] Eventyret: lær kommandolinja - det er mye, mye bedre [21:08] <_Techie_> Eventyret, once those packages are insatlled, X will load on bootup like a normal ubuntu install [21:08] RoyK: jauda men er vrient og sette opp kommando linja når jeg ikke har gjort så mye med den før skal egenltig ha den som en FIL og web server >< [21:08] _Techie_: ok so to get it remote then you install VNC or something oO [21:08] <_Techie_> yeah [21:08] <_Techie_> you would need to install ubuntu-desktop [21:08] <_Techie_> then install and configure x11vnc [21:09] <_Techie_> !package x11vnc [21:09] <_Techie_> hrmm [21:09] >< [21:09] Eventyret: you'll spend hours geting x11vnc working and you'll still have to do the management from the commandline [21:09] because its just a fresh server havnt installed anything on it yet so. [21:09] Eventyret: just learn it the hard way [21:09] RoyK: well easy guide to have a Irssi shell + ftp + web server on it then xD [21:10] Eventyret: apt-get install vsftp apache2 [21:10] <_Techie_> tbh, x11vnc isnt that hard to setup [21:10] that'll cover most of it [21:10] <_Techie_> but since its a VPs you will run into ALOT of problems with X [21:10] _Techie_: oh ? [21:10] _Techie_: but he doesn't need it - he's setting up a bloody server, not a workstation [21:10] <_Techie_> RoyK, i know, but its what he wants [21:10] let me try here then xD [21:10] Eventyret: try the commandline first [21:11] <_Techie_> Eventyret, the main thing being that X doesnt like to start without a display device attatched [21:11] forget about X [21:11] X won't help him setting up a file/webserver [21:11] <_Techie_> no [21:11] <_Techie_> it wont [21:11] RoyK: ok :) [21:12] <_Techie_> RoyK, ive given up on trying to convince people that theres no need for something [21:12] just gotta remember how i add my own root user [21:12] _Techie_: giving bad advice is something I try to avoid [21:12] adduser nick admin oO ? [21:12] Eventyret: use sudo [21:12] <_Techie_> RoyK, i dont provide bad advice, i just dont let them know that what theyre considered is bad [21:13] RoyK: well i want to add my OWN user as well >< [21:13] instedd of the preinstalled shitass one xD [21:13] <_Techie_> ermm [21:13] <_Techie_> not possible [21:13] useradd -m username ; passwd username ; visudo [21:13] oO [21:13] and that adds me as sudo user xD [21:13] <_Techie_> there is only one administrator [21:13] <_Techie_> and that is root [21:13] _Techie_: with sudo, no [21:13] <_Techie_> there is no user admin rights like there is with windows [21:17] <_Techie_> if you wish for a user to have admin, use sudo [21:20] !language | Eventyret [21:20] Eventyret: Please watch your language and topic to help keep this channel family friendly. [21:20] guntbert: what??? [21:21] <_Techie_> RoyK, instedd of the preinstalled s*****s one xD [21:21] RoyK: I beg your pardon? [21:22] guntbert: I do as well - what is this language nazi thing in here? [21:22] RoyK: ALL Ubuntu channels follow the same basic language guidelines [21:22] RoyK: this is the second time that you argue that way [21:23] imho an operating system channel shouldn't worry about chistian doctrine, but rather stay focused on the technical bits [21:24] <_Techie_> RoyK, if you want to start arguing, use #ubuntu-offtopic [21:24] no arguing in -offtopic either [21:25] <_Techie_> fine then, take it to PC [21:25] <_Techie_> PM* [21:25] who invented this christian doctrine in #ubuntu\* in the first place? [21:26] !guidelines [21:26] The guidelines for using the Ubuntu channels can be found here: http://wiki.ubuntu.com/IRC/Guidelines [21:26] !codeofconduct [21:26] The Ubuntu Code of Conduct is a community etiquette document to which we ask all Ubuntu users to adhere, and can be found at http://www.ubuntu.com/community/conduct/ . For information on how to electronically sign the CoC, see https://help.ubuntu.com/community/SigningCodeofConduct . [21:26] there is the information. [21:26] I've read that part - it still doesn't make sense [21:27] ok, what part of those pages don't you understand? [21:27] I didn't say I didn't understand them [21:27] well then should be easy to follow them [21:28] I just said it doesn't make sense to ban a significant amount of the English language [21:28] no just the "bad" words are not acceptable [21:28] meaning I disagree totally to that bull [21:29] what are bad words for an engineer or a techie? [21:29] RoyK: do you need a list ? [21:29] IdleOne: please, please, explain why certain words should be left unsaid in here, when they are used all the time other places? [21:30] because I don't want to see those words and thousand of other ubuntu users agree. [21:30] simple as that. [21:32] <_Techie_> !ot [21:32] #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [21:32] and... we do abide by the CoC. [21:32] _Techie_: correct :) sorry for being offtopic [21:39] IdleOne: I'd be delighted to see the list of those users and the discussion about that [21:41] <_Techie_> someone quickly refresh my memore, other than /etc/rc.0 and /etc/rc.6 where are shutdown scripts run from? [21:41] <_Techie_> memory* [21:41] 0 [21:42] 6 is reboot - 0 is shutdown [21:42] <_Techie_> RoyK, please read the question properly [21:42] erm - yes [21:42] upstart? [21:42] <_Techie_> ... what else [21:43] perhaps (x)inetd [21:43] <_Techie_> im asking because i need to add extra functions to a shutdown command i setup, and i cant remeber where i put it [21:43] but nothing else I can think of [21:44] you might want to also add the single-user mode [21:45] <_Techie_> hggdh, thats not productive at all [21:46] ? [21:46] <_Techie_> setting it for single user mode would be most unproductive [21:46] _Techie_: I have no idea on what you are trying to do. Nevertheless, it is common to have services stopped on single-user mode. [21:47] <_Techie_> hggdh, its not a service, its a shutdown script [21:47] then, indeed, single-user does not apply [21:48] <_Techie_> and at no point did i ever notion to it being a service [21:48] er [21:48] ah well. [21:54] <_Techie_> found it [21:55] <_Techie_> still have no idea where it is [21:55] <_Techie_> but i managed to find a way to edit it [21:56] _Techie_: tell us [21:56] <_Techie_> i used webmin [21:56] <_Techie_> i originally created it manually [21:58] This Ubuntu server download page is a bit out of date (see versions): http://www.ubuntu.com/getubuntu/downloadmirrors#bt [21:59] _Techie_: you *do* know that webmin isn't supported on ubuntu any more? [21:59] !webmin [21:59] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. [21:59] <_Techie_> guntbert, yeah, i know [22:00] <_Techie_> however like many other ubuntu-server users, i choose how i administter my system [22:01] <_Techie_> if i wanted the ubuntu team to think for me, then i would have been born a livecd [22:01] _Techie_: you aren't much of a techie if you use web-based admin tools :þ [22:01] _Techie_: its ok with me - just a heads up [22:01] <_Techie_> RoyK, theyre for when i cant get ssh out [22:01] <_Techie_> or when im lazy [22:02] erichammond: how did you get to that one? currently it is http://www.ubuntu.com/desktop/get-ubuntu/alternative-download [22:06] RoyK: so what would you suggest install to get a working shell and such then on the new server [22:06] <_Techie_> i figured out where i put the shutdown script [22:06] <_Techie_> i put it in rc1.d [22:06] <_Techie_> technically its a shutdowna dn startup script, but it does the job [22:07] Eventyret: the standard install should give you what you'll need [22:07] RoyK: ok.. what you said to install a web / ftp / mysql then [22:07] RoyK: is there like a Xampp package or something ? [22:07] _Techie_: remember what hggdh suggested? :-)) [22:08] <_Techie_> guntbert, shusssh [22:08] <_Techie_> i should prolly actualy move it to rc2.d [22:08] <_Techie_> just to spite him [22:08] Eventyret: you really don't want to mix X into a server - the configuration must be done on the commandline anyhow [22:09] _Techie_: it will be difficult to spite me. Anyways, it would be against the CoC. And this is the end of this thread. [22:09] _Techie_: the script should go to /etc/init.d and then be symlinked to various rcX.d dirs [22:10] RoyK: i havnt installed X xD thats why i ask you for some help to setup it xD [22:10] RoyK: like a vhost on it xD [22:10] <_Techie_> RoyK, yeah yeah yeah, my system... my rules [22:10] _Techie_: whatever - you're on your own [22:10] Eventyret: xD? [22:11] xD = smiley :P [22:11] <_Techie_> x = eyes, D = huge smile [22:11] <_Techie_> xD [22:12] lol :P [22:12] * RoyK is setting up a couple of 110TB boxes tomorrow and should go to bed soon [22:13] <_Techie_> 110tb 0.o [22:13] well, net storage is 140 or so [22:13] <_Techie_> i presume its gonna be in a RAID array [22:13] gross I mean [22:13] net storage will be about 110 per box [22:14] zfs ftw! [22:14] <_Techie_> very nice [22:14] not linux no these boxes [22:17] <_Techie_> i have no problem with non linux boxes, every OS has its place [22:18] RoyK: so what you said to setup Mysql / php / apache + ftp ? [22:19] <_Techie_> there is a way to select preconfigured services [22:19] <_Techie_> but [22:20] <_Techie_> sudo apt-get install apache2 php5 libapache2-mod-php5 proftpd mysql-server [22:20] <_Techie_> IIRC [22:23] Eventyret: apt-get install libapache2-mod-php5 vsftpd [22:23] vsftpd is far more used and better supported than proftpd [22:25] RoyK: ok thank you [22:26] Eventyret: add mysql-server to that, as _Techie_ said [22:26] done that :) [22:27] * RoyK is off zzzz [22:27] done. [22:28] that is now done RoyK [23:01] Anybody know of a script that would fix permissions and ownership on a server? A file servers share directorys permissions got applied to the whole machine :( === cmagina-afk is now known as cmagina === _Techie_ is now known as _TechAway_ [23:12] fluvvell, lol, it would probably be easier to restore your backups than try to fix permissions by hand [23:19] anyonw know why my server wont connect at all to the freenode, when i type /connect irc.freenode.net it just says connection refused.. [23:21] Eventyret: what client? [23:21] c0nv1ct_: Psh, fixing perms is easy. Just chmod -r 777 / [23:22] jjcm, our definitions of "fix" differ :P [23:23] I like my files to be like a hippy commune [23:23] Everyone can use anything of anyone elses. [23:23] yay sharing! [23:24] Oh God so hung over. [23:24] Do not want to be at work. [23:25] Want to sleep longer than zz top's beard. [23:30] jjcm: the server is 10.04 ubuntu [23:30] jjcm: its irssi [23:31] Where would I find out what they changed in Maverick to cause my PXE preboot files to no longer work? [23:31] jjcm: i can ssh into it and its a VPS so :) [23:32] Eventyret, firewall issues? [23:32] Eventyret: ping works and everything? [23:34] jjcm: il test one sec [23:34] c0nv1ct_: good one il check [23:35] Eventyret, i had the same issues when setting up shorewall, i forgot to fix some outbound policies [23:37] was the firewall c0nv1ct_ [23:37] c0nv1ct_: would you happend to know how i can change my hostname on it also add vhosts ? [23:37] Here we are xD Worked like a charm === Eventyre1 is now known as Even|Server [23:38] Even|Server, /etc/hostname sets the hostname [23:39] for apache vhosts you'll want to check out /etc/apache2/sites-* [23:39] c0nv1ct_: and the hostname can be anything ? [23:39] sure [23:40] ok thy [23:44] just reboot here [23:45] exit [23:45] exit [23:48] http://blog.makezine.com/archive/2010/10/play_zork_on_an_arduino-controlled.html [23:49] whoops, wrong window [23:49] interesting anyway