[00:00] <qman__> 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] <qman__> which is best depends on your priorities
[00:01] <qman__> 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] <NightDragon> hello
[02:00] <NightDragon> i apt-get installed ubuntu-desktop on top of my 10.10 server edition
[02:00] <NightDragon> how can i get it to start up without launching X11?
[02:10] <k56731> NightDragon: are you using gnome?
[02:10] <NightDragon> yes
[02:10] <k56731> NightDragon: update-rc.d gdm disable
[02:11] <k56731> NightDragon: try it
[02:11] <NightDragon> 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
[02:56] <NightDragon> hey party people
[02:56] <NightDragon> i'm trying to set IPMI up for my server
[02:56] <NightDragon> i apt-get installed ipmitool, but it cant find /dev/ipmi or anything like
[03:54] <NightDragon> hello all
[03:54] <NightDragon> i'm trying to set up IPMI
[03:54] <NightDragon> and i get this msg
[03:54] <NightDragon> Could not open device at /dev/ipmi0
[04:06] <NightDragon> wow, this is certainly active :-/
[04:11] <NightDragon> is anyone around?
[04:13] <khussein> NightDragon: Yes, but I am sorry I don't know much about ipmi :(.
[04:13] <NightDragon> :(
[04:14] <NightDragon> i'm just trying to clear out the stupid event log on my PE 6600
[04:14] <NightDragon> to get rid of the stupid amber light
[04:30] <ryan___> Hello
[05:00] <hggdh> soren: there?
[05:02] <hggdh> soren: when you get in -- how do I subscribe to the openstack teams on LP? I see no option to request membership...
[05:02] <hggdh> soren: and I want to vote :-)
[05:17] <nagchampa> 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] <joschi> nagchampa: no, it'll scan in- and outgoing mails
[06:01] <ndroftheline> hello
[06:01] <ndroftheline> how do you change the display mode in ubuntu server
[06:02] <ndroftheline> my display is really weird, it's a laptop with no screen that i have attached to an external monitor
[06:02] <ndroftheline> i can see text from the server but it's split and it keeps blinking
[06:03] <ndroftheline> Server doesn't come with iwconfig?!
[06:03] <ndroftheline> hrm.
[06:13] <nagchampa> joschi: do i need to make any modifications if my server is acting as an incoming relay?
[06:20] <joschi> nagchampa: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall
[06:53] <MTecknology> yup... bringing a server back from destruction blows...
[07:38] <MTecknology> root@insto:/usr/local/sbin# sudo -H -u www-data -i -- "ls"
[07:38] <MTecknology> /bin/ls: /bin/ls: cannot execute binary file
[07:38] <MTecknology> :S
[07:44] <jpds> MTecknology: Nice.
[07:45] <MTecknology> jpds: ya....
[07:45] <MTecknology> jpds: that's what I get for dealing with old distros.. incompatibnilities
[08:21] <NightDragon> aah, i just love my sexy new server
[10:23] <Wakko10Warner> 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] <Wakko10Warner> how can I set my smtpd to allow me to relay messages from other computers ....
[11:29] <Robbster> hi all,
[11:30] <Robbster> 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] <Robbster> 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] <Robbster> http://ubuntu-ky.ubuntuforums.org/showthread.php?p=6441798
[11:34] <Robbster> these are my exact symptoms, but the hdd is SATA and the cdrom is standard IDE
[11:58] <coop0a> what should I use to secure my server: apparmor or selinux or something else?
[12:05] <peterva> 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] <pipedream> I want to fix this:
[12:09] <pipedream> 0 root@oystercatcher:~#dpkg-reconfigure man-db
[12:09] <pipedream> /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] <pipedream> thanks, not sure why that didn't work for me before. Caused by a ro /usr, I think
[12:34] <databits> 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] <databits> when adding files through ftp, the files are taking ownership of that user
[12:34] <ikonia> databits: change the permissions on /var/www
[12:34] <ikonia> databits: set the uid/gid
[12:34] <ikonia> databits: http://en.wikipedia.org/wiki/Setuid
[12:34] <databits> ok kinda new to all this
[12:36] <tgwoollard> 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] <ikonia> tgwoollard: it should use the local repo if you built the usb correctly
[12:38] <tgwoollard> 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] <databits> ok ikonia, that is exactly what I am looking for
[12:40] <Ninjix> tgwoollard: it's easier to use the one built into Ubuntu distro System >
[12:40] <Ninjix> Administration > Startup Disk Creator
[12:40] <databits> so I would do chmod g+s www-data ?
[12:40] <ikonia> databits: that would set the guid
[12:40] <tgwoollard> 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] <databits> so if I set chmod g+s www-data /var/www
[12:41] <databits> that would make it so no matter what user uploads a file to that directory
[12:41] <databits> apache should be able to access the file
[12:41] <databits> apache is running as www-data
[12:51] <databits> 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] <databits> I'm not having very much luck here :(
[12:55] <peterva> chown -R www-data:www-data /var/wwww
[12:56] <databits> which works for the files currently in the directory
[12:56] <databits> but when I ftp files to that directory they are not accessable by apache
[12:56] <coop0a> 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] <Pici> coop0a: Thats the normal setup.
[12:57] <databits> 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] <coop0a> Pici: it is "normal" to run windows, that does not mean it's a safe thing to do.
[12:58] <Pici> coop0a: I'd like some information on why doing what was suggested is a bad idea.
[13:03] <coop0a> 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] <coop0a> 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] <coop0a> databits: basically, you should make /var/www/ writable only for users which you will use for uploading files.
[13:06] <Jeeves_> (apt-get install apache2-mpm-itk)
[13:07] <databits> coop0a: the issue with that is I am going to have multiple users uploading files to the webserver
[13:08] <coop0a> 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] <databits> sudo chmod -R a+rw /var/www
[13:09] <databits> when I issue this command all the file currently that are in the directory are able to be accessed by the webserver
[13:09] <databits> but if I upload a new file, the server is denied access to the file
[13:09] <coop0a> databits: the approach I just mentioned has the advantage that you can see who uploaded what.
[13:11] <databits> 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] <databits> 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] <coop0a> databits: ?
[13:26] <databits> ok I did everything
[13:26] <databits> still isn't working
[13:26] <coop0a> index.html is still not owned by the correct group.
[13:26] <coop0a> databits: please pastebin ls -la /var/www/
[13:27] <coop0a> databits: btw, you haven't set the permissions correctly.
[13:27] <coop0a> databits: Radiant pdf files are only readable/writeable by the owner
[13:28] <databits> I did sudo chmod -R root:www-upload /var/www
[13:28] <coop0a> *chown*
[13:28] <databits> 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] <databits> funny thing is I am still able to view the index.html
[13:28] <databits> but I cannot pull up any of the other files
[13:28] <coop0a> because you didn't do what I told you.
[13:29] <databits> I created group www-upload
[13:29] <databits> added my user to it
[13:29] <databits> databits
[13:29] <coop0a> databits: sudo chown -R root:www_upload /var/www/
[13:29] <roflwafflez> the www-data user and group have absolutly no read/write to any of those files
[13:29] <coop0a> exactly.
[13:29] <databits> I added www-data to the www-upload group
[13:30] <coop0a> that defeats the whole purpose of this.
[13:30] <databits> like I said I am new to this in the learning process :) :(
[13:30] <databits> please tell me
[13:30] <databits> what commands should I issue laugh
[13:30] <coop0a> databits: I did.
[13:30] <coop0a> databits: sudo chown -R root:www_upload /var/www/
[13:31] <databits> when I upload a file they have ownership of databits:www-upload
[13:31] <coop0a> databits: sudo chmod 775 /var/www/
[13:31] <coop0a> s/www_upload/www-upload
[13:31] <databits> do you mean www-upload
[13:31] <coop0a> s/www_upload/www-upload/
[13:31] <coop0a> yes
[13:31] <progre55> 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] <databits> ok
[13:32] <databits> done
[13:32] <databits> now what ?
[13:32] <coop0a> note that it is ch*OWN* and ch*MOD*, two different commands
[13:32] <databits> I just cut and paste
[13:32] <coop0a> okay, now try again.
[13:32] <databits> it will work not because I just changed the permissions with that command
[13:33] <databits> but if I upload a new file from ftp it will not work to access that file
[13:33] <databits> I can tell you that righ tnow without even checking .... I will do so anyways
[13:33] <coop0a> that is because you didn't set the permissions correctly. I just told you how to do it.
[13:33] <ssureshot> why wouldn't this respawn when the Xvfb process is killed.. (upstart) http://pastebin.ca/1978684
[13:34] <databits> sudo chmod 775 /var/www/
[13:34] <databits> correct ?
[13:35] <coop0a> yes, but if you have files with wrong permissions already, you must use -R... as in sudo chmod -R 775 /var/www/
[13:35] <databits> ok
[13:35] <databits> I am able to view files allready in the directory
[13:35] <coop0a> ...
[13:35] <databits> now lets try uploading from ftp and try to access it
[13:36] <databits> 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] <databits> as you can see the new uploaded file
[13:37] <coop0a> please pastebin ls -la
[13:39] <databits> error.log
[13:39] <databits> 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] <coop0a> databits: if you continue to ignore what I tell you, I'm done helping you.
[13:40] <coop0a> databits: the problem is obviously that group and others have no read/executable privileges on the files.
[13:40] <coop0a> databits: please pastebin "ls -la /var/www/"
[13:41] <databits> 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] <databits> ok so what do I do from here
[13:42] <coop0a> databits: check that whatever program you use to upload the files doesn't set the permissions incorrectly.
[13:44] <databits> it is not changing any permissions
[13:44] <databits> using flashfxp
[13:45] <coop0a> 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] <databits> I am ftping the files from my windows machine to my linux box
[13:51] <databits> coopOa: any idea's ?
[14:32] <progre55> 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] <AbhiJit> hi
[14:51] <AbhiJit> 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] <AbhiJit> apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[14:51] <AbhiJit> httpd not running, trying to start
[14:51] <AbhiJit> any help?
[14:53] <jpds> 127.0.1.1?
[15:24] <andres_> hi every body, i have a hard disk than the most of sector is whit errors
[15:25] <andres_> whitch tools i may to use to repair it
[15:26] <patdk-wk> 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] <LyonJT> Heyy
[15:31] <LyonJT> 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] <patdk-wk> depends on your definition of repare, I would say forcing the harddrive to remap the sector, is repared, but still data lost :)
[15:34] <consumerism> 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] <patdk-wk> that has nothing to do with the server, ssh or anything
[15:36] <patdk-wk> that would be your terminal settings on your desktop
[15:36] <patdk-wk> 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] <patdk-wk> if I could only get rhel to understand that
[15:44] <LyonJT> _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] <LyonJT> well no because its a ubuntu-server
[15:45] <LyonJT> with ubuntu-desktop installed on it
[15:45] <patdk-wk> heh
[15:46] <patdk-wk> X and vnc are part of ubuntu-desktop, not server
[15:46] <patdk-wk> so still offtopic :)
[15:47] <LyonJT> okay fine ill ask in another channel if its to hard to get answer from u
[15:50] <hallyn> LyonJT: what problem are you having with vnc?
[15:50] <hallyn> LyonJT: it should just work...
[15:51] <hallyn> 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] <NightDragon> 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] <shauno> NightDragon: check out /etc/modules, format is simply name per line
[16:01] <NightDragon> aah
[16:01] <NightDragon> nice, thanks
[16:02] <NightDragon> well another thing... let me ask the rest of the class this
[16:02] <NightDragon>  20 | 11/01/2010 | 15:48:22 | Memory #0x01 | Correctable ECC | Asserted
[16:02] <NightDragon> should i be worried?
[16:12] <kpettit> 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] <ivoks> pdftotext
[16:13] <ivoks> then diff :)
[16:14] <NightDragon> lol
[16:14] <kpettit> I wish I could do that
[16:14] <NightDragon> truely a sysadmin answer
[16:14] <kpettit> users need it to look the same.  But I tried to pitch that idea first :)
[16:14] <ivoks> well, it's #ubuntu-server
[16:14] <NightDragon> lol
[16:14] <ivoks> 'users' are here computer literate and understand < and >
[16:15] <NightDragon> and also miss their classes
[16:15] <ivoks> diffpdf - compare two PDF files textually or visually
[16:15] <NightDragon> because their new server drowned out their alarm :(
[16:15] <NightDragon> o_O
[16:15] <kpettit> ivoks, that one rocks.  Using it right now.
[16:15] <NightDragon> cool
[16:16] <NightDragon> google is your friend
[16:16] <kpettit> But I need a web based tool.  Trying to figure out what makes this one tick,
[16:16] <ivoks> actually, apt-cache is your friend :)
[16:16] <kpettit> I've seen a few think clients but nothing that's usefull for a web app.
[16:16] <NightDragon> then in that case, couldnt you make a very simple web wrapper for diffpdf?
[16:17] <kpettit> I'm trying to figure that out.  But the app has no cli option
[16:17] <ivoks> i beleive there's a python pdf library; i'm sure you could wrote a web app that would do that
[16:17] <ivoks> believe
[16:17] <ivoks> or whatever :)
[16:17] <kpettit> 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] <ivoks> ah... i have things to do
[16:18] <NightDragon> why do you look so shifty-eyed when you say that?
[16:18] <patdk-wk> like helping kpettit :)
[16:18] <kpettit> that's for the suggestions
[16:44] <nimrod10> 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] <patdk-wk> if your installing via pxe, where does debootstrap come into it at all?
[16:54] <sheetzam> ppetraki - have an update on that server from last week, when you get a minute
[16:54] <failsnail-d> is it possible to apt-get php5 and NOT get apache?
[16:55] <sheetzam> try the cli version of php5
[16:55] <sheetzam> php5-cli
[16:55] <failsnail-d> mkay
[16:56] <failsnail-d> aha! very good. hopefully that'll include everything I need
[16:56] <sheetzam> :)
[16:57] <failsnail-d> 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] <failsnail-d> apache always wants to get its claws in there
[16:58] <zul> failsnail-d: instal php5-cgi
[16:58] <failsnail-d> presumably sqlite needs it?
[17:07] <sheetzam> failsnail-d - zul is probably right, you might prefer the php5-cgi to php-cli
[17:20] <ppetraki> sheetzam, hi
[17:21] <sheetzam> ppetraki - so the server restarted sometime Friday.  Unfortunately I was not here to get a look at what brought it down
[17:21] <sheetzam> so, we're back to noacpi
[17:21] <sheetzam> and I haven't been able to crash the server yet
[17:22] <ppetraki> sheetzam, so refresh my memory, what switches was the server running with with it presumably crashed?
[17:22] <sheetzam> noacpi
[17:51] <sheetzam> ppetraki - noacpi
[17:52] <ppetraki> sheetzam, ok... time to rewind you acpi runtime :)
[17:52] <ppetraki> sheetzam, which kernel were you running on the LTS that was stable?
[17:54] <sheetzam> sorry, it just now crashed with just noacpi enabled
[17:55] <sheetzam> and it was a machine check exception
[17:56] <sheetzam> so, to answer your question, it was whatever the latest stable server kernel was for 8.04 two weeks ago
[17:56] <sheetzam> no idea what it was, unfortunately
[18:00] <RoyK> sheetzam: perhaps an obvious thought, but have you checked the memory?
[18:02] <sheetzam> RoyK - memcheck86 turns up no problems.  This problem goes away when I set the machine to nosmp
[18:02] <sheetzam> thanks tho
[18:02] <RoyK> nosmp helps?
[18:02] <RoyK> do you have a panic dump?
[18:03] <sheetzam> RoyK - I have a screen cap of the screen at panic time, that's about it.  Want to see it?
[18:03] <RoyK> sure
[18:04] <sheetzam> remind me the image dump url?
[18:04] <ppetraki> sheetzam, http://pastebin.com/ie1VZjX9
[18:04] <sheetzam> thanks
[18:04] <ppetraki> sheetzam, sure
[18:04] <ppetraki> oh, I forget :)
[18:04] <sheetzam> mm, sorry, the one for images, not text
[18:04] <RoyK> http://imagebin.ca/
[18:05] <sheetzam> http://imagebin.ca/view/2RKhPD45.html
[18:05] <sheetzam> thanks
[18:06] <ppetraki> sheetzam, so what this does is removes windows2009 from the list of ACPI OS NAMES
[18:06] <sheetzam> ok
[18:06] <ppetraki> sheetzam, essentially forcing the bios to respond as windows vista
[18:06] <ppetraki> sheetzam, which is what your old LTS would have done
[18:06] <sheetzam> so, this bios definitely predates windows 2009
[18:06] <sheetzam> ok
[18:07] <shauno> 'This is not a software problem!' is a rather worrying line
[18:07] <sheetzam> ya, no kidding!
[18:07] <ppetraki> 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] <sheetzam> ok
[18:07] <ppetraki> sheetzam, it's a toss up really, which side the bug is on
[18:08] <sheetzam> :)
[18:08] <sheetzam> I understand
[18:08] <ppetraki> sheetzam,  but we'll find it :)
[18:08] <sheetzam> so, let me run that, and reboot
[18:08] <ppetraki> sheetzam, I wrote this script because getting this right from grub is "painfull"
[18:08] <sheetzam> heh
[18:08] <sheetzam> ok, I appreciate that!
[18:08] <RoyK> sheetzam: tried nomce?
[18:09] <sheetzam> RoyK - no
[18:09] <RoyK> http://ubuntuforums.org/showthread.php?t=1474477 <-- just saw it mentioned here
[18:11] <bogeyd6> royk is back, long time no see buddy. of course i have been away awhile myself
[18:11] <ppetraki> sheetzam,  for the curious, http://lxr.linux.no/linux+v2.6.36/drivers/acpi/acpica/uteval.c#L62
[18:11] <sheetzam> ok
[18:11] <ppetraki> linux basically starts at the end and rolls back until the acpi tables respond with something valid
[18:12] <ppetraki> and yes we pretend to be windows, because no linux distro has actually participated in the standards body to make ourselves relevant :)
[18:12] <sheetzam> so, that script is supposed to edit the grub boot command, right
[18:12] <sheetzam> ?
[18:12] <ppetraki> yup
[18:12] <sheetzam> ok, my grub does not live at /etc/default...
[18:12] <sheetzam> hmm
[18:12] <ppetraki> just takes the error out of it
[18:13] <ppetraki> this is ubuntu right?
[18:13] <sheetzam> yeah
[18:13] <sheetzam> I have no /etc/default/grub
[18:13] <sheetzam> lots of others, but not that one
[18:13] <sheetzam> was that added with grub2?
[18:13] <RoyK> iirc it was
[18:13] <sheetzam> ok
[18:13] <sheetzam> still working with the older grub
[18:14] <sheetzam> seems like as good a time as any to update grub
[18:14] <sheetzam> https://help.ubuntu.com/community/GrubHowto
[18:14] <ppetraki> oughta be there, 10.04 right?
[18:15] <ppetraki> either way
[18:15] <sheetzam> this box has been upgraded from 6.04 to 8.04, and most recently to 10.04
[18:15] <sheetzam> so
[18:15] <ppetraki> oh...
[18:15] <sheetzam> let me update grub, then run your script
[18:15] <ppetraki> ok
[18:15] <sheetzam> give you an idea of the age of the hardware, too...
[18:15]  * ppetraki fingers crossed
[18:16] <sheetzam> I should probably also check to see if there's an update to the bios firmware...
[18:21] <skrite> 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] <patdk-wk> draw?
[18:24] <patdk-wk> normally it has to do with key length, fragmentation, ...
[18:24] <patdk-wk> how much ram you give the keybuffer
[18:28] <RoyK> sheetzam: iirc grub2 is installed when you upgrade to 10.04.1, but not to 10.04
[18:28] <sheetzam> no, it's installed only when you tell it to, it seems
[18:29] <sheetzam> regardless, it's upgraded, and ppetraki's script has been executed
[18:29] <RoyK> I'm quite sure 10.04.1 upgrades will add it without asking
[18:29] <sheetzam> about to restart again
[18:29] <sheetzam> huh
[18:29] <ppetraki> sheetzam, great
[18:30] <RoyK> sheetzam: http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/install-guide/ch-bootopts.html <-- a short description of nomce
[18:32] <sheetzam> hmm
[18:32] <sheetzam> what's the downside of that?
[18:33] <sheetzam> I mean, if it's checking for a problem, and one has been encountered, seems like ignoring it would be a bad thing
[18:34] <RoyK> sheetzam: no idea, really - what sort of CPUs do you have in this thing?
[18:35] <sheetzam> a single Core 2
[18:35] <sheetzam> 2Ghz
[18:35] <sheetzam> mainly I'm concerned that upgrading to 10.04 busted it, and would like to get the underlying problem fixed
[18:35] <orudie> greetings. with for sftp, how can I "jail" user in home directory /
[18:36] <sheetzam> ok, ppetraki - that script did not end up helping - just got it to lock up again
[18:36] <sheetzam> after I had rebooted
[18:36] <RoyK> sheetzam: I'm running 10.04 on those processors
[18:37] <RoyK> sheetzam: are you running 10.04 or 10.04.1?
[18:37] <sheetzam> yeah, not thinking it's the processors at fault
[18:37] <sheetzam> one sec
[18:37] <sheetzam> pretty sure it's 10.04.1, but let me check
[18:37] <ppetraki> sheetzam, ok
[18:37] <RoyK> lsb-release -a
[18:37] <ppetraki> sheetzam, file a bug, it's a regression
[18:37] <sheetzam> Ubuntu 10.04.1 LTS
[18:38] <RoyK> k
[18:38] <sheetzam> ppetraki - can you give me a pointer to get started on filing that bug?
[18:38] <RoyK> sheetzam: try to 'apt-get update && apt-get dist-upgrade' before doing anything else
[18:38] <sheetzam> lol
[18:38] <sheetzam> yeah, way past that :)
[18:39] <RoyK> https://help.ubuntu.com/community/ReportingBugs
[18:39] <ppetraki> RoyK, we've been chipping away at this for a while now
[18:39] <ppetraki> sheetzam, though that does beg the question, are you running the latest LTS kernel?
[18:39] <sheetzam> one sec
[18:39] <ppetraki> sheetzam, should be atleast 2.6.32-25-generic
[18:40] <sheetzam> 2.6.32-25-generic-pae
[18:40] <RoyK> sheetzam: I don't think I run 32bit kernels on my core2 installs
[18:40] <ppetraki> sheetzam, yeah that's fine
[18:41] <ppetraki> sheetzam, sudo apport-bug -p linux
[18:41] <sheetzam> 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] <RoyK> sheetzam: that is - I'm certain I don't run anything but 64bit on those
[18:41] <sheetzam> ya
[18:41] <RoyK> sheetzam: understandable, but still, there might be something there
[18:41] <ppetraki> RoyK, shouldn't make a difference, and if it does, it's a platform bug
[18:41] <RoyK> I doubt very many run 32bit on those
[18:41] <ppetraki> you'd be surprised
[18:41] <RoyK> ppetraki: sure - just opting my thoughts :)
[18:42] <ppetraki> :)
[18:42] <ppetraki> sheetzam, be sure you detail the troubleshooting steps we went through
[18:42] <sheetzam> ok
[18:44] <sheetzam> apport-bug?
[18:45] <sheetzam> thinking that's not a command line thing?
[18:46] <sheetzam> helps to spell
[18:57] <sheetzam> ppetraki - just fyi - I'm trying the upstream kernel package now
[18:57] <sheetzam> or, rather, the mainline kernel
[18:59] <sheetzam> don't suppose someone has a good writeup of upgrading from 32 bit ubuntu server to 64 bit?
[18:59] <ppetraki> well...
[19:00] <ppetraki> 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] <ppetraki> because the 32/64 bit packages are designed to co-exist
[19:01] <ppetraki> but frankly, I don't think it's reasonable to put yourself through that hassle
[19:01] <ppetraki> let's fix the bug :)
[19:01] <sheetzam> ya
[19:01] <sheetzam> well, for the moment, I'm running with the mainline kernel, we'll see what that brings
[19:02] <sheetzam> that was quick - a crash
[19:03] <RoyK> sheetzam: try the -server kernel
[19:04] <RoyK> boot with nosmp or nomce
[19:04] <RoyK> I have no idea if it'll help, though - just a guess
[19:08] <sheetzam> royk - happy to try, can you tell me what the actual package name is?
[19:10] <sheetzam> looking through apt-cache search, I nly see linux-image for generic, generic-pae and 386
[19:10] <RoyK> sheetzam: linux-image-server
[19:10] <sheetzam> ah
[19:10] <sheetzam> ok
[19:11] <sheetzam> hmm
[19:11] <sheetzam> is that a virtual package for generic-pae?
[19:11] <orudie> what is the ls command to view hidden files that begin with . ?
[19:11] <sheetzam> ls -a
[19:11] <orudie> tnx
[19:12] <RoyK> sheetzam: how much memory do you have?
[19:12] <sheetzam> 2g
[19:13] <RoyK> no need for pae then
[19:14] <sheetzam> 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] <sheetzam> so
[19:15] <RoyK> sheetzam: dunno - how much will you need to setup again if you reinstall with 64bit lucid?
[19:16] <sheetzam> enough to make it painful
[19:16] <RoyK> what's the server doing? fileserver? web? apps?
[19:16] <|rt|> does anyone know if adduser supports the --conf option?
[19:17] <sheetzam> 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] <RoyK> sheetzam: I see
[19:17] <sheetzam> and nomce just means it restarts without telling me it had an mce :)
[19:18] <sheetzam> looks like it's nosmp if I want the server to stay up
[19:18] <RoyK> sheetzam: but then, nomce might leave both cores usable?
[19:18] <RoyK> oh]
[19:18] <RoyK> ic
[19:21] <sheetzam> and, of course, the bios update requires a windows 95 or 98 boot floppy
[19:21]  * sheetzam facepalms
[19:22] <RoyK> sheetzam: DOS FTW!
[19:23] <sheetzam> riiight
[19:24] <RoyK> sheetzam: if you have an USB pen drive or something, perhaps testing a vanilla 10.04 x86 might be worth a try?
[19:25] <sheetzam> thinking the only other change I'd be willing to test at this point is 64bit
[19:26] <sheetzam> beyond that...
[19:26] <sheetzam> since it happens with the mainline kernel also...
[19:26] <sheetzam> not sure what further testing is going to help with
[19:28] <orudie> 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] <orudie> _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] <consumerism> 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] <RoyK> _Techie_: chmod go-rwx -R $HOME/.ssh is my way of doing it - that works
[19:36] <orudie> 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] <orudie> _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] <RoyK> orudie: pastebin.com?
[19:38] <RoyK> _Techie_: :)
[19:39] <orudie> http://pastebin.com/fF4JXhx2
[19:40] <_Techie_> orudie, http://pastebin.com/Ly33f9n6 - note it is all one line of text
[19:42] <RoyK> orudie: I've sometimes seen the rsa key didn't work, but testing with dsa did - no idea why, though
[19:42] <RoyK> ssh-keygen -t dsa
[19:42] <_Techie_> RoyK, RSA keys work fine
[19:43] <orudie> _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] <RoyK> _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] <orudie> ok thanks
[19:46] <orudie> 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] <sheetzam> ppetraki - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/669621
[20:01] <sheetzam> what timing
[20:02] <ppetraki> sheetzam, thanks, I'm subscribed now
[20:02] <sheetzam> awesome.  Please let me know how i can help
[20:03] <ppetraki> sheetzam, https://launchpad.net/ubuntu/+source/fwts/0.16.14/+build/1891976
[20:04] <ppetraki> sheetzam, run it as root, fwts --no-s3 --no-s4 -p, and upload the results to the bug
[20:04] <ppetraki> sheetzam, on the system with no extra switches
[20:04] <sheetzam> sorry, what do you mean with no extra switches?
[20:04] <ppetraki> sheetzam, like nosmp or noacpi
[20:04] <sheetzam> ah
[20:04] <sheetzam> ok
[20:05] <sheetzam> and what does that do?
[20:05] <ppetraki> sheetzam, it's not in lucid but it works just the same, just install the deps manually
[20:05] <ppetraki> it's a firmware test suite we developed here to diagnose buggy bioses
[20:05] <sheetzam> ah, got it
[20:05] <sheetzam> cool
[20:05] <ppetraki> sheetzam, sudo apt-get install -y iasl pciutils, libpcre3
[20:06] <ppetraki> sheetzam, and then just install the deb
[20:06] <sheetzam> yeah, on it :)
[20:12] <sheetzam> ppetraki - is this what I should paste in? http://pastebin.com/6YrAHFsA
[20:13] <ppetraki> sheetzam, yeah, just put a preamble in saying it's the result of fwts
[20:13] <sheetzam> done
[20:13] <ppetraki> sheetzam, crap, no table errors
[20:14] <sheetzam> :(
[20:17] <sheetzam> 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] <sheetzam> 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] <sheetzam> thanks again for your help ppetraki and RoyK
[20:33] <ppetraki> sheetzam, np
[20:49] <alex88> ?
[20:56] <RoyK> !
[21:04] <Eventyret> 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] <RoyK> Eventyret: I'd guess reinstalling with ubuntu desktop will be the best choice
[21:06] <RoyK> 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] <Eventyret> RoyK: its a VPS from a server i have. and im new to ubuntu so. thats why
[21:07] <_Techie_> =)
[21:07] <Eventyret> _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] <RoyK> 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] <Eventyret> 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] <Eventyret> _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] <Eventyret> ><
[21:09] <RoyK> Eventyret: you'll spend hours geting x11vnc working and you'll still have to do the management from the commandline
[21:09] <Eventyret> because its just a fresh server havnt installed anything on it yet so.
[21:09] <RoyK> Eventyret: just learn it the hard way
[21:09] <Eventyret> RoyK: well easy guide to have a Irssi shell + ftp + web server on it then xD
[21:10] <RoyK> Eventyret: apt-get install vsftp apache2
[21:10] <_Techie_> tbh, x11vnc isnt that hard to setup
[21:10] <RoyK> 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] <Eventyret> _Techie_: oh ?
[21:10] <RoyK> _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] <Eventyret> let me try here then xD
[21:10] <RoyK> 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] <RoyK> forget about X
[21:11] <RoyK> X won't help him setting up a file/webserver
[21:11] <_Techie_> no
[21:11] <_Techie_> it wont
[21:11] <Eventyret> RoyK: ok :)
[21:12] <_Techie_> RoyK, ive given up on trying to convince people that theres no need for something
[21:12] <Eventyret> just gotta remember how i add my own root user
[21:12] <RoyK> _Techie_: giving bad advice is something I try to avoid
[21:12] <Eventyret> adduser nick admin oO ?
[21:12] <RoyK> 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] <Eventyret> RoyK: well i want to add my OWN user as well ><
[21:13] <Eventyret> instedd of the preinstalled shitass one xD
[21:13] <_Techie_> ermm
[21:13] <_Techie_> not possible
[21:13] <RoyK> useradd -m username ; passwd username ; visudo
[21:13] <Eventyret> oO
[21:13] <Eventyret> 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] <RoyK> _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] <guntbert> !language | Eventyret
[21:20] <RoyK> guntbert: what???
[21:21] <_Techie_> RoyK, <Eventyret> instedd of the preinstalled s*****s one xD
[21:21] <guntbert> RoyK: I beg your pardon?
[21:22] <RoyK> guntbert: I do as well - what is this language nazi thing in here?
[21:22] <IdleOne> RoyK: ALL Ubuntu channels follow the same basic language guidelines
[21:22] <guntbert> RoyK: this is the second time that you argue that way
[21:23] <RoyK> 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] <IdleOne> no arguing in -offtopic either
[21:25] <_Techie_> fine then, take it to PC
[21:25] <_Techie_> PM*
[21:25] <RoyK> who invented this christian doctrine in #ubuntu\* in the first place?
[21:26] <IdleOne> !guidelines
[21:26] <IdleOne> !codeofconduct
[21:26] <IdleOne> there is the information.
[21:26] <RoyK> I've read that part - it still doesn't make sense
[21:27] <IdleOne> ok, what part of those pages don't you understand?
[21:27] <RoyK> I didn't say I didn't understand them
[21:27] <IdleOne> well then should be easy to follow them
[21:28] <RoyK> I just said it doesn't make sense to ban a significant amount of the English language
[21:28] <IdleOne> no just the "bad" words are not acceptable
[21:28] <RoyK> meaning I disagree totally to that bull
[21:29] <RoyK> what are bad words for an engineer or a techie?
[21:29] <IdleOne> RoyK: do you need a list ?
[21:29] <RoyK> IdleOne: please, please, explain why certain words should be left unsaid in here, when they are used all the time other places?
[21:30] <IdleOne> because I don't want to see those words and thousand of other ubuntu users agree.
[21:30] <IdleOne> simple as that.
[21:32] <_Techie_> !ot
[21:32] <hggdh> and... we do abide by the CoC.
[21:32] <IdleOne> _Techie_: correct :) sorry for being offtopic
[21:39] <RoyK> 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] <RoyK> 0
[21:42] <RoyK> 6 is reboot - 0 is shutdown
[21:42] <_Techie_> RoyK, please read the question properly
[21:42] <RoyK> erm - yes
[21:42] <RoyK> upstart?
[21:42] <_Techie_> ... what else
[21:43] <RoyK> 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] <RoyK> but nothing else I can think of
[21:44] <hggdh> you might want to also add the single-user mode
[21:45] <_Techie_> hggdh, thats not productive at all
[21:46] <hggdh> ?
[21:46] <_Techie_> setting it for single user mode would be most unproductive
[21:46] <hggdh> _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] <hggdh> 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] <hggdh> er
[21:48] <hggdh> 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] <guntbert> _Techie_: tell us
[21:56] <_Techie_> i used webmin
[21:56] <_Techie_> i originally created it manually
[21:58] <erichammond> This Ubuntu server download page is a bit out of date (see versions): http://www.ubuntu.com/getubuntu/downloadmirrors#bt
[21:59] <guntbert> _Techie_: you *do* know that webmin isn't supported on ubuntu any more?
[21:59] <RoyK> !webmin
[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] <RoyK> _Techie_: you aren't much of a techie if you use web-based admin tools :þ
[22:01] <guntbert> _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] <guntbert> erichammond:  how did you get to that one? currently it is http://www.ubuntu.com/desktop/get-ubuntu/alternative-download
[22:06] <Eventyret> 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] <RoyK> Eventyret: the standard install should give you what you'll need
[22:07] <Eventyret> RoyK: ok.. what you said to install a web / ftp / mysql then
[22:07] <Eventyret> RoyK: is there like a Xampp package or something ?
[22:07] <guntbert> _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] <RoyK> Eventyret: you really don't want to mix X into a server - the configuration must be done on the commandline anyhow
[22:09] <hggdh> _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] <RoyK> _Techie_: the script should go to /etc/init.d and then be symlinked to various rcX.d dirs
[22:10] <Eventyret> RoyK: i havnt installed X xD thats why i ask you for some help to setup it xD
[22:10] <Eventyret> RoyK: like a vhost on it xD
[22:10] <_Techie_> RoyK, yeah yeah yeah, my system... my rules
[22:10] <RoyK> _Techie_: whatever - you're on your own
[22:10] <RoyK> Eventyret: xD?
[22:11] <Eventyret> xD = smiley :P
[22:11] <_Techie_> x = eyes, D = huge smile
[22:11] <_Techie_> xD
[22:12] <Eventyret> 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] <RoyK> well, net storage is 140 or so
[22:13] <_Techie_> i presume its gonna be in a RAID array
[22:13] <RoyK> gross I mean
[22:13] <RoyK> net storage will be about 110 per box
[22:14] <RoyK> zfs ftw!
[22:14] <_Techie_> very nice
[22:14] <RoyK> not linux no these boxes
[22:17] <_Techie_> i have no problem with non linux boxes, every OS has its place
[22:18] <Eventyret> 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] <RoyK> Eventyret: apt-get install libapache2-mod-php5 vsftpd
[22:23] <RoyK> vsftpd is far more used and better supported than proftpd
[22:25] <Eventyret> RoyK: ok thank you
[22:26] <RoyK> Eventyret: add mysql-server to that, as _Techie_ said
[22:26] <Eventyret> done that :)
[22:27]  * RoyK is off zzzz
[22:27] <Eventyret> done.
[22:28] <Eventyret> that is now done RoyK
[23:01] <fluvvell> 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 :(
[23:12] <c0nv1ct_> fluvvell, lol, it would probably be easier to restore your backups than try to fix permissions by hand
[23:19] <Eventyret> 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] <jjcm> Eventyret: what client?
[23:21] <jjcm> c0nv1ct_: Psh, fixing perms is easy. Just chmod -r 777 /
[23:22] <c0nv1ct_> jjcm, our definitions of "fix" differ :P
[23:23] <jjcm> I like my files to be like a hippy commune
[23:23] <jjcm> Everyone can use anything of anyone elses.
[23:23] <jjcm> yay sharing!
[23:24] <jjcm> Oh God so hung over.
[23:24] <jjcm> Do not want to be at work.
[23:25] <jjcm> Want to sleep longer than zz top's beard.
[23:30] <Eventyret> jjcm: the server is 10.04 ubuntu
[23:30] <Eventyret> jjcm: its irssi
[23:31] <centaur5> Where would I find out what they changed in Maverick to cause my PXE preboot files to no longer work?
[23:31] <Eventyret> jjcm: i can ssh into it and its a VPS so :)
[23:32] <c0nv1ct_> Eventyret, firewall issues?
[23:32] <jjcm> Eventyret: ping works and everything?
[23:34] <Eventyret> jjcm: il test one sec
[23:34] <Eventyret> c0nv1ct_: good one il check
[23:35] <c0nv1ct_> Eventyret, i had the same issues when setting up shorewall, i forgot to fix some outbound policies
[23:37] <Eventyret> was the firewall c0nv1ct_
[23:37] <Eventyret> c0nv1ct_: would you happend to know how i can change my hostname on it also add vhosts ?
[23:37] <Eventyre1> Here we are xD Worked like a charm
[23:38] <c0nv1ct_> Even|Server, /etc/hostname  sets the hostname
[23:39] <c0nv1ct_> for apache vhosts you'll want to check out /etc/apache2/sites-*
[23:39] <Eventyret> c0nv1ct_: and the hostname can be anything ?
[23:39] <c0nv1ct_> sure
[23:40] <Eventyret> ok thy
[23:44] <Eventyret> just reboot here
[23:45] <Eventyret> exit
[23:45] <Eventyret> exit
[23:48] <qman__> http://blog.makezine.com/archive/2010/10/play_zork_on_an_arduino-controlled.html
[23:49] <qman__> whoops, wrong window
[23:49] <qman__> interesting anyway