[12:59] <kshah> command line cmd for the active processes? i need to kill mysql, it just crapped itself
[12:59] <Kamping_Kaiser> whats your question?
[01:00] <kshah> I need to kill mysql and restart
[01:00] <kshah> it just went nuts
[01:00] <kshah> lspci I thought listed processes
[01:00] <kshah> when I try it, I get input / output error
[01:01] <ajmitch> no, 'ps aux' would give you a list of active processes
[01:01] <ajmitch> but you don't need to kill mysql that way
[01:01] <ajmitch> sudo invoke-rc.d mysql restart
[01:01] <kshah> unable to execute
[01:01] <kshah> (i just tried it, thats what i got)
[01:01] <Kamping_Kaiser> ajmitch, is that a upstartism or a way of restarting i havent seen before?
[01:02] <ajmitch> Kamping_Kaiser: no, it's a debianism way of running the initscripts
[01:02] <Kamping_Kaiser> ajmitch, neat. never seen it before
[01:02] <kshah> nor had I
[01:02] <ajmitch> kshah: what did you try & run?
[01:03] <kshah> sudo invoke-rc.d mysql restartt
[01:03] <kshah> won't work
[01:04] <ajmitch> I hope that 'restartt' was a typo
[01:04] <kshah> it was :)
[01:05] <kshah> I'm using drupal (a LAMP based CMS) and I just started getting mysql errors, someone told me to repair the table
[01:05] <kshah> but I can't even restart mysql, or shut it down, or apparently anything
[01:05] <ajmitch> mysql from ubuntu packages?
[01:06] <kshah> yeah, I used the Ubuntu Server 7 guide to install everything
[01:06] <kshah> so it came pre installed i guess
[01:07] <ajmitch> ok, and what did you say you got when you tried to run that?
[01:08] <ajmitch> and what do  you mean by mysql going nuts, also?
[01:09] <kshah> the error was:
[01:09] <kshah> unable to execute /usr/sbin/invoke-rc.d: Input/output error
[01:09] <ajmitch> sigh, I'm being called away, I'll let Kamping_Kaiser help :)
[01:09] <ajmitch> back later
[01:09] <kshah> k thx
[01:09] <Kamping_Kaiser> gah. i'm only here for 10 more min :S *reads up*
[01:09] <Kamping_Kaiser> ajmitch, catch you later
[01:11] <Kamping_Kaiser> pity i almost never use mysql.
[01:11] <Kamping_Kaiser> kshah, can you stop it?
[01:11] <kshah> don't think so
[01:11] <kshah> kill -9 mysql ?
[01:11] <Kamping_Kaiser> /etc/init.d/mysql-server stop
[01:11] <Kamping_Kaiser> ouch, my RSI is kicking in :S
[01:12] <kshah> lol
[01:12] <kshah> uh oh
[01:12] <kshah>  you may have been right
[01:12] <kshah> well, scorpking might have been
[01:12] <kshah> Read-only file system
[01:12] <kshah> how can I check diskspace?
[01:12] <Kamping_Kaiser> df -h
[01:13] <Kamping_Kaiser> and df
[01:13] <Kamping_Kaiser> (-h is human readable, but the rounding may confuse things)
[01:13] <kshah> no, less than 1% of everything is used
[01:13] <Kamping_Kaiser> what about `mount`
[01:13] <kshah> I just logged in, it said new mail, I wrote mail, it says 'read only'
[01:13] <Kamping_Kaiser> check if anythings marked ro
[01:13] <kshah> oh the TEMP folder maybe
[01:13] <kshah> could that be it?
[01:13] <Kamping_Kaiser> temp is ro??
[01:13] <kshah> a memory leak, causing the temp folder to be filled, unemptied
[01:14] <kshah> causing other bad shit to go down?
[01:14] <Kamping_Kaiser> if temp is full, thats a bad look
[01:14] <kshah> temp is ro?? I don't know what you mean
[01:14] <kshah> I'm new to linux
[01:14] <Kamping_Kaiser> ro=read only
[01:14] <Kamping_Kaiser> kshah, can you put the output of `df -h && mount` in pastebin for me to look at?
[01:14] <Kamping_Kaiser> !paste
[01:14] <ubotu> pastebin is a service to post large texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the #ubuntu channel topic)
[01:14] <kshah> yes, temp is RO in that case, the error returned from the 'mail' command was /tmp/mail.Rx(some other chars here): Read only file system
[01:15] <Kamping_Kaiser> temp being read only is a bad thing
[01:15] <kshah> I can't run mount command
[01:15] <kshah> Input / output error
[01:15] <kshah> df -h works
[01:15] <Kamping_Kaiser> give me the df -h output then
[01:15] <mathiaz> kshah: do you see any hardware problems ?
[01:16] <kshah> I don't believe there, this is a server running off of a laptop thought
[01:16] <kshah> *though
[01:16] <kshah> so...
[01:16] <ajmitch> I/O errors like that generally aren't good
[01:16] <ajmitch> usually dmesg will have more info in that case
[01:16] <kshah> going to pastebin in a sec
[01:18] <kshah> http://pastebin.com/m72ef7083
[01:18] <kshah> Kamping_Kaiser: ^^
[01:18] <Kamping_Kaiser> kshah, i'd look in dmesg like ajmitch suggests - `dmesg | tail -n 30`
[01:19] <ajmitch> if dmesg will run :)
[01:19] <kshah> I can't run that command
[01:19] <Kamping_Kaiser> ajmitch, quite *heh*
[01:19] <kshah> I've already tried at scorpkings behest
[01:19] <ajmitch> sounds like you have some far more serious issues there
[01:19] <Kamping_Kaiser> what about `tail -f /var/log/syslog`
[01:19] <kshah> that works
[01:19] <kshah> ill pastebin
[01:20] <Kamping_Kaiser> when i started getting errors like that i put the drive in the fridge and started data recovery stuff.. :|
[01:20] <Kamping_Kaiser> that was a laptop hdd too
[01:20] <kshah> http://pastebin.com/m6853111d
[01:21] <Kamping_Kaiser> could you run with -n 30? `tail -n 30 -f /var/log/syslog`
[01:21] <Kamping_Kaiser> er, no -f
[01:21] <mathiaz> kshah: yeah.. it seems that your hd is dead
[01:21] <kshah> shut it down ?
[01:22] <Kamping_Kaiser> kshah, what season is it where you are?
[01:22] <kshah> summer, i'm in in NJ
[01:22] <Kamping_Kaiser> summer, your going to have trouble finding somewhere cold then *heh*
[01:22] <kshah> http://pastebin.com/m245a3225
[01:23] <kshah> it is in an air conditioned office, I guess its just too old and too much of a over heating laptop to handle it all
[01:23] <Kamping_Kaiser> drive doesnt look good
[01:23] <kshah> how can I shut it down?
[01:23] <Kamping_Kaiser> halt
[01:23] <kshah> sudo halt?
[01:23] <Kamping_Kaiser> or the power button
[01:23] <Kamping_Kaiser> yea
[01:23] <kshah> lol input output error
[01:23] <Kamping_Kaiser> try method B
[01:23] <kshah> I'm not there
[01:23] <ajmitch> looks like it can't run anything not in the cache
[01:23] <kshah> it's about 20 miles away
[01:23] <ajmitch> oops
[01:24] <kshah> yeah...
[01:24] <Kamping_Kaiser> ah
[01:24] <kshah> init 6?
[01:24] <Kamping_Kaiser> you can try it
[01:25] <kshah> init: not being executed as init
[01:25] <kshah> I don't know what that means
[01:25] <Kamping_Kaiser> it means you need to get on the phone :)
[01:25] <kshah> oh NOs lol
[01:25] <kshah> oh jeez... this is going to suck
[01:25] <kshah> kill -9 kills a process right?
[01:26] <Kamping_Kaiser> yes. term, iirc
[01:26] <ajmitch> echo O > /proc/sysrq-trigger
[01:26] <ajmitch> a truly evil way of shutting down
[01:27] <kshah> if it works..
[01:27] <Kamping_Kaiser> its still evil.
[01:27] <kshah> why is that?
[01:27] <Kamping_Kaiser> ajmitch, is that 'shut down' or 'die now'
[01:28] <kshah> permission denied (ran as sudo)
[01:28] <jdstrand> kshah: sudo sh -c 'echo O > /proc/sysrq-trigger'
[01:29] <kshah> command didn't do anythin jdstrand
[01:30] <kshah> well, it may have..
[01:30] <kshah> but..
[01:30] <kshah> i'm still connected ssh
[01:30] <Kamping_Kaiser> i'm heading out
[01:30] <ajmitch> there's always the option of getting in a car & going there
[01:30] <Kamping_Kaiser> catch you all later on
[01:30] <kshah> that is what is going to happen it looks like
[01:30] <kshah> thank you all for the help
[01:30] <ajmitch> always a nice time for a scenic drive
[01:31] <jdstrand> kshah: I was addressing only the 'permission denied' error.  try 'tail -f /var/log/syslog' and see if stuff is shutting down.  I looked at your errors in pastebin-- my sympathies...
[01:32] <ajmitch> jdstrand: triggering a shutdown that way should just do a poweroff, no gentle shutdown
[02:39] <briansp> I'm trying to install postfix and somehow I seem to have deleted /etc/init.d/postfix
[02:40] <briansp> apt-get/dpkg complain that its missing, so I touch it, remove, and reinstall, but its still just the empty file I created
[02:40] <briansp> how do I get a completely clean reinstall from scratch?
[02:50] <leonel> apt-get --purge --force-all postfix
[02:52] <leonel> ups ..
[02:52] <leonel> briansp:  sudo apt-get --purge --force-yes remove postfix
[05:59] <mignish> Could someone direct me to a howto or some documentation on creating a user in proftpd
[06:00] <mignish> i'm having trouble with write access.
[06:29] <mignish> Does anyone know anything about proftpd user privileges?
[08:49] <kraut> moinm
[11:12] <mwh_> Hello, I have a simple question on installing ubuntu-server
[11:12] <mwh_> during the setup the installer halts
[11:12] <mwh_> writing: Initializing gfx code...
[11:12] <mwh_> then static memory: 0x40020 - .... etc
[11:13] <mwh_> and some mallocs
[11:13] <mwh_> 0, 1, 2, 3
[11:13] <mwh_> then it just halts
[11:13] <mwh_> any idea what might be the case?
[11:23] <soren> mwh_: What's the very last thing you see?
[11:23] <soren> mwh_: And which version?
[11:24] <mwh_> latest stable
[11:24] <mwh_> the very last thing is malloc 3: 0x0 - 0x0
[11:26] <soren> mwh_: What's the hardware? Does it work with a regular (non-server) Feisty CD?
[11:26] <soren> Ah, no, forget about trying it with another CD. It's the same kernel. I forgot.
[11:27] <mwh_> fails on both desktop and server
[11:27] <soren> What's the hardware?
[11:28] <mwh_> let me see
[11:28] <mwh_> its not a regular pc ...  that might be the problem
[11:28] <mwh_> its a tiny box
[11:29] <mwh_> anyways working to get some hardware data
[11:29] <soren> EPIA motherboard, perhaps?
[11:32] <soren> Or even tinier?
[11:33] <mwh_> its not that tiny ... 30x25 centimeters I think
[11:35] <soren> It doesn't sound like something I've encountered before. Could you try with Gutsy Tribe-5?
[11:39] <mwh_> Its called Mini Pc its a K6-350MHz, socket supe r7, with a cyberpro2010 gfx card
[11:39] <mwh_> anyways .. we are thinking about buying a small box designed for linux
[11:58] <mwh_> soren: anyways, thank you
[12:21] <soren> mwh_: Did you try with gutsy?
[12:35] <mwh_> no
[02:17] <jordi> ahoy
[02:18] <jordi> I'm looking into customising gutsy server to do automated installs, or at least no-question installs, and I wonder how different is the ubuntu server installer from the etch installer
[02:18] <jordi> I'm guessing seed vs tasksel changes will be in place
[02:18] <jordi> are there any docs out there?
[02:41] <sommer> jordi: here's an article about kickstart...it looks a little dated though:  https://help.ubuntu.com/community/KickstartCompatibility
[02:43] <sommer> jordi: also clonezilla may be what you're looking for:  http://clonezilla.sourceforge.net/
[02:45] <sommer> jordi: There was a presentation on clonezilla at Ubuntu Live...I think this is the link:  http://video.google.com/videoplay?docid=1037666355089325851
[02:58] <jordi> jesus, SF is *slow*
[02:58] <jordi> sommer: will poke at these two directions, thanks!
[02:59] <jordi> my initial idea was to make the necessary changes tp the installer
[02:59] <jordi> I don't know what clonezilla does yet, but the idea is that debian-installer is flexible that you can do network, cd, usb, etc installs
[02:59] <jordi> which is good, specially network
[02:59] <jordi> aha
[03:00] <jordi> clonezilla webpage downloads me a php file. yay
[03:09] <nealmcb> less than 2 hours from now: https://wiki.ubuntu.com/ServerTeam/Meeting
[03:28] <halcyonCorsair> i'm trying to run bind9 on a system with about 759 vlans over two interfaces, but from 497th vlan onwards, bind says it can't listen because there aren't enough free resources
[03:28] <halcyonCorsair> can anyone help?
[03:55] <BenC> quick question, what is the default firewall GUI for gutsy?
[03:58] <mathiaz> BenC: I don't think there is one.
[03:58] <BenC> is there a suggested GUI?
[03:59] <nealmcb> BenC: with a "no ports by default" security policy, firewalls are of less value in general
[04:00] <nealmcb> ...no ports open by default....
[04:00] <BenC> I'm not asking for a lecture on firewalls, I'm trying to answer a customers question :)
[04:00] <nealmcb> what sort of firewall needs do you have?
[04:00] <BenC> like a local firewall, like windows offers
[04:01] <kshah> my temp folder has become read only, something bad happened and I may have a hardware failure, how can I clear the cache by the command line?
[04:01] <BenC> kshah: sudo sync
[04:02] <nealmcb> BenC: you may get a better answer on that in #ubuntu
[04:02] <BenC> kshah: but that may fail if you already have a failure in hw
[04:02] <kshah> BenC: it did indeed fail
[04:02] <BenC> nealmcb: I'm not trying real scroll through on #ubuntu, I'm hoping the server team can answer a question for the kernel team :)
[04:03] <mathiaz> BenC: there are a couple of GUI that exists, but I don't remember them right now.
[04:04] <nealmcb> I've heard of firestarter, kraal (mentioned in an old note from a blueprint I have), etc
[04:04] <nealmcb> but I can't recommend anything personally
[04:04] <mathiaz> nealmcb: are these in main ?
[04:04] <nealmcb> no idea.  I don't use them :-)
[04:04] <nealmcb> BenC: moving up the stack, I see :-)
[04:05] <BenC> nealmcb: yes, but basically it's reality already matching title though :)
[04:05] <nealmcb> i've uses shorewall years ago and liked it, but it may be more complicated than they want
[04:06] <nealmcb> wasn't gui as I recall
[04:06] <mathiaz> nealmcb: correct. shorewall has a set of text files
[04:07] <BenC> yeah, this customer is looking for a desktop solution, and even though I agree it's a "warm fuzzy" sort of thing, it is a selling point for getting users to switch from os-competitor to ubuntu
[04:07] <mathiaz> nealmcb: to describe your network. It's then translated into iptables rules.
[04:07] <mathiaz> BenC: you could point him to firestarter
[04:07] <mathiaz> BenC: it's in universe
[04:07] <BenC> mathiaz: ok, thanks
[04:07] <mathiaz> BenC: and it seems to be maintained upstream
[04:07] <mathiaz> BenC: However I've never used it - so I don't know how simple it is
[04:10] <BenC> mathiaz: customer mentioned that program, so I'll let them know it's in universe
[04:28] <soren> jordi: If you're familiar with preseeding d-i, just go with that. We use d-i, too.
[04:35] <sommer> soren: is there docs somewhere on preseeding?
[04:35] <soren> sommer: Yes, hang on.
[04:35] <sommer> ubuntu specific anyway
[04:36] <soren> https://help.ubuntu.com/7.04/installation-guide/i386/appendix-preseed.html
[04:36] <soren> Knock yourself out :)
[04:36] <sommer> soren: genious...thanks
[04:36] <soren> sommer: np
[04:40] <nealmcb> any thoughts on ifolder?  I looked it up after the question earlier on.  packaging status: https://bugs.launchpad.net/ubuntu/+bug/87122
[04:40] <ubotu> Launchpad bug 87122 in ubuntu "[needs-packaging]  iFolder for Edgy and Feisty" [Wishlist,Confirmed] 
[04:42] <nealmcb> 20 minutes, in #ubuntu-meeting:  https://wiki.ubuntu.com/ServerTeam/Meeting
[05:04] <kshah> server (aka laptop) bit the bullet yesterday, hdd fail, recommendations on a sub $500 machine? where to?
[05:35] <lynx_hamp> Hello all
[05:37] <lynx_hamp> I have a problem trying to install a S5000VSA board ... can't detect the SLI Raid
[05:37] <lynx_hamp> any ideia ???
[05:37] <mralphabet> What cd are you trying to install off of?
[05:38] <lynx_hamp> I try with Ubuntu 7.04 Desktop, 7.04 Server and 6.06 server
[05:40] <lynx_hamp> S5000 (ESB2) SATA RAID and LSI1064e/1068 SAS RAID
[05:42] <mralphabet> too new?
[05:51] <lynx_hamp> maybe ... but SuSe and RedHat already have support
[10:50] <Yahooadam> ive got a problem with my server (again)
[10:51] <Yahooadam> getting grub error 24 (again i think)
[10:52] <Yahooadam> How would i go about fixing it, if i do a sudo mount hda1 /mnt/temp
[10:52] <Yahooadam> i get a wrong FS type error
[10:52] <Yahooadam> and dmesg logs - "[  843.992000]  EXT3-fs: hda1: couldn't mount because of unsupported optional features (1000100)."
[10:57] <sommer> Yahooadam: not sure if this applies to you but:  http://ubuntuforums.org/archive/index.php/t-330229.html
[10:57] <sommer> looks like the grub 24 error is bad news for your hard drive.
[10:59] <sommer> more from the grub manual: http://www.gnu.org/software/grub/manual/grub.html#Stage1-errors
[11:07] <Yahooadam> dang :(
[11:07] <Yahooadam> u mean i have to re-install again :'(
[11:11] <sommer> Yahooadam: possibly.  You might try booting from a CD and seeing if you can access the partition.
[11:12] <Yahooadam> im on a booted CD :p
[11:12] <Yahooadam> and when i try and mount, thats the error
[11:15] <Yahooadam> no way to repair ?
[11:15] <Yahooadam> or atleast recover my hda1 ...
[11:24] <sommer> Yahooadam: sorry I don't have much experience trying to recover hard drives...if you have a backup you can restore from backup.
[11:25] <Yahooadam> fraid not :(
[11:25] <Yahooadam> dont even know how u would backup ...
[11:25] <Yahooadam> it was on my todo list :p
[11:26] <sommer> heh...ya that's happened to me too.
[11:26] <Fibres> Hi all
[11:26] <Fibres> Hi can anyone tell me where the kernel sources on a standard install of ubuntu server 6.06?
[11:26] <sommer> Yahooadam: you might try another LiveCD...are you using Gutsy?
[11:27] <Yahooadam> zomg theres a new revision ? :o
[11:27] <Yahooadam> im on feisty
[11:27] <Yahooadam> fiesty - or however u speel it :p
[11:27] <Yahooadam> never could get it right
[11:27] <sommer> Gutsy isn't out, but there's test CD's
[11:27] <dho_ragus> Fibres: /usr/local/src
[11:27] <sommer> s/test/Tribe/
[11:28] <Yahooadam> well new case, new HDD caddys, and a new HDD on order :(
[11:29] <sommer> Yahooadam: here's a link if you want to try it:  http://cdimage.ubuntu.com/releases/gutsy/tribe-5/
[11:29] <Fibres> Does not have anything in it.
[11:29] <Fibres> Do I need to install them via apt-get. If so what do i need to install. Name of package would be good.
[11:30] <mathiaz> Fibres: linux-source
[11:31] <soren> Fibres: linux-source-2.6.15
[11:31] <Fibres> Ah thanks hopefully might vmware installed soon
[11:31] <soren> Fibres: And then it's in /usr/src
[11:32] <Yahooadam> 700mb :(
[11:32] <Yahooadam> dang
[11:32] <Fibres> Which would I be better installing linux-source or linux-source-2.6.15?
[11:32] <soren> Fibres: Either.
[11:32] <soren> Fibres: :)
[11:32] <soren> Fibres: Installing linux-source will also install linux-source-2.6.15
[11:32] <Fibres> Ah thanks
[11:33] <Yahooadam> adam@ubuntu:/dev$ fdisk -l /dev/hda
[11:33] <Yahooadam> Cannot open /dev/hda
[11:34] <Fibres> ahok it has now given me a .tar.bz2 file. How do I unzip that. Im used to tar.gz
[11:35] <sommer> Yahooadam: try fdisk -l /dev/sda
[11:36] <Yahooadam> forgot to sudo it :p
[11:36] <Yahooadam> Disk /dev/hda: 41.1 GB, 41110142976 bytes
[11:36] <Yahooadam> 255 heads, 63 sectors/track, 4998 cylinders
[11:36] <Yahooadam> Units = cylinders of 16065 * 512 = 8225280 bytes
[12:06] <Yahooadam> if i get a new HDD
[12:06] <Yahooadam> how easy is it to transfer the OS drive over to it
[12:06] <Yahooadam> and have it bootable and all that jazz
[12:08] <soren> It's not that hard.
[12:08] <soren> ...if you know how. :)
[12:08] <Yahooadam> any good guides around ? ;)
[12:08] <soren> Dunno, actually.
[12:09] <Yahooadam> :(
[12:09] <soren> I've never done it, really. I usually have my data stored in /home (and /var/lib/mysql) and all my config is in /etc, so I just grab the list of installed packages and install them on a fresh system.
[12:10] <Yahooadam> you can grab a list of installed packages ?
[12:10] <Yahooadam> dang i need to learn linux :p
[12:10] <soren> But moving it to a new disk isn't really that hard. Install the new disk, partition it, mount the filesystems where they should be and restore from the old system.
[12:10] <soren> Yahooadam: dpkg --get-selections
[12:10] <soren> Yahooadam: That's the machine-readable version.
[12:10] <soren> Yahooadam: ...which you can feed to dpkg --set-selections.
[12:11] <soren> Yahooadam: 'dpkg -l' is more human readable.
[12:14] <Yahooadam> wow
[12:14] <Yahooadam> i just fixed my problem :o
[12:14] <Yahooadam> i think
[12:14] <Yahooadam> w00t :D :D
[12:15] <Yahooadam> mke2fs -S /dev/hda1
[12:15] <Yahooadam> fixed
[12:15] <Yahooadam> ok how can i backup HDA1 b4 it breaks :p
[12:15] <Yahooadam> (or prefeferable, HDA)
[12:16] <halcyonCorsair> hi, i'm trying to run bind9 to supply dns to either 759 (over 2 interfaces; 253, 506) or 1012 vlans (over 3 interfaces; 253, 253, 506), but am running into resource issues, can anyone help? syslog is displaying this: http://rafb.net/p/M9xUdJ51.html
[12:16] <halcyonCorsair> otherwise, what alternatives are there to bind9?