[00:00] <arj> force command
[00:01] <arj> or maybe you have that part already
[00:02] <masshuu> i just modified /etc/passwd to run a bash file instead of /bin/bash for that user
[00:03] <masshuu> though its not like i absoutly need it, im just playing around with an idea, ill probably drop the idea if i can't get this done
[00:03] <dragon> masshuu: why do you want to ruin the app by incoming connections?
[00:05] <dragon> Is there a way to set the order in which services are started by upstart? My apache tries to start before tomcat and hence dies.
[00:05] <masshuu> im playing around with the idea of a fake OS(im not gona go into the details cause last time i did i was met with alot of 'wtf' 'theres cygwin, etc, and no one ever answerd my question at the time, though i solved it my self)
[00:06] <masshuu> and i would love the ability to "SSH" into this fake os
[00:06] <dragon> masshuu: aren't you doing it through windows?
[00:06] <masshuu> ?
[00:06] <masshuu> brb real quick
[00:09] <masshuu> main qiestion is, im sure that when a connection is accepted by sshd, its got to run a script or somthing for the login prompt and then the info stuff like
[00:09] <masshuu> Ubuntu comes with ABSOLUTELY NO WARRANTY bla bla bla
[00:09] <masshuu> To access official Ubuntu documentation, bla bla bla
[00:10] <masshuu> though thats the motd file
[00:10] <masshuu> would i need to modify the sshd source directly? to make my custom server?
[00:12] <masshuu> also dragon, check the /etc/rc*.d/
[00:12] <masshuu> or there should be a script to let you change it
[00:14] <dragon> masshuu: it used to be that way until upstart was implemented
[00:16] <ruben23> hi i sload avarge 11.59  normal status for an particular application.r, im running on a dual core processor Xeon..with 4GB Ram..
[00:16] <dragon> ruben23: sudo top
[00:16] <ruben23> yes im using htop
[00:16] <dragon> ruben23: something unusual there?
[00:17] <ruben23> and i can see my average running 11.59 is that a desirable value for my server load..?
[00:17] <ruben23> or my server are putting its power on it to run an application na having that value..
[00:19] <masshuu> ill probably just write a telnet server and use that
[00:19] <ruben23> dragon: any comment
[00:24] <dragon> ruben23: anything over 1 is not desirable for load average.
[00:25] <ruben23> dragon: what option should i have for it..?
[00:25] <ruben23> actually im running 64bit ubuntu server.
[00:25] <dragon> ruben23: in top, sort by processor usage and see what process is using the most.
[00:26] <ruben23> yews i already identified it...it an IP telephony..application..
[00:26] <ruben23> should i upgrade the hardwares.
[00:26] <dragon> ruben23: if everything is configured properly, then yes.
[00:26] <dragon> ruben23: how much processor do you have?
[00:28] <ruben23> whats the command to see the specs of my processor..?
[00:29] <sub> cat /proc/cpuinfo
[00:30] <ruben23> dragon: Intel(R) Xeon(R) CPU Dual Core    3040  @ 1.86GHz
[00:30] <ruben23> thnaks --->sub:
[01:42] <ruben23> hi i ahve setup an LVM on my ubuntu server setup, then why it says on reboot that---> volume have mounted 25 times.. need to scan..
[01:49] <MTecknology> I think I setup remote logging correctly but I don't know where the logs wind up..
[02:22] <magicrobotmonkey> Hi, i just set up a ubuntu server instance on amazon's ec2, but it can't find any of the LAMP packages I want to install, how do i fint them?
[02:24] <magicrobotmonkey> der, had to update, nm
[02:41] <Nwallins> does the minimal cd support wifi for package downloads?
[02:49] <Nwallins> it appears not: http://brainstorm.ubuntu.com/idea/13283/
[03:25] <jmarsden> MTecknology: I'm confused by: "I think I setup remote logging correctly but I don't know where the logs wind up.."  Surely, if you set it up correctly, then they "end up" on the central logging server which you configured the other machines to send their log entries to, by definition.  So, if you don't know where the log entries end up, what evidence leads you to think that you set it up correctly?
[03:26] <MTecknology> jmarsden: I don't know where they're stored on the logging server
[03:27] <jmarsden> MTecknology: You configured it... so they are stored where you configure it to store them... under /var/log is common... ?
[03:28] <MTecknology> jmarsden: I was under the impression there was a default place for the logs to end up at
[03:30] <jmarsden> Read /etc/syslog.conf .  I don't think there is a *.* entry in there active by default in Ubuntu.  But since you already configured both the remote host(s) and the central log server... you must already know what you set up in there... right?
[03:33] <jmarsden> There is a    *.*;auth,authpriv.none          -/var/log/syslog     entry on my system here, so /var/log/syslog is one place to start looking :)
[03:36] <jmarsden> MTecknology: Same line is in /etc/rsyslog.d/50-default/.conf on a Karmic server, so... definitely try /var/log/syslog for (non-auth) log entries.
[03:41] <MTecknology> jmarsden: I read a blog saying I need to edit /etc/sysconfig/rsyslog but the file doesn't exist
[03:42] <jmarsden> MTecknology: Quit reading blogs, start reading man pages :)
[03:42] <MTecknology> jmarsden: the man pages didn't prove very helpful
[03:42] <jmarsden> I think that location is a RedHat-oriented one, BTW.
[03:42] <MTecknology> you know what the alternative is?
[03:42] <jmarsden> MTecknology: What are you trying to find out by reading {blogs,man oages} ?
[03:42] <MTecknology> and ya - in my drunken state i missed that
[03:43] <jmarsden> /etc/rsyslog.conf and /etc/rsyslog.d/*   # in Karmic...
[03:43] <MTecknology> oh
[03:43] <MTecknology> interesting... - it also mentions editing /etc/rsyslog.conf
[03:44] <jmarsden> BTW, a quick    locate rsyslog     would have revealed this to you :)
[03:44] <MTecknology> hm?
[03:44] <MTecknology> that file isn't the equiv
[03:44] <jmarsden> Equiv of what?
[03:45] <jmarsden> What are yo actually trying to configure?
[03:45] <MTecknology> remote logging for 3 servers
[03:46] <jmarsden> Right.  So you configured the 3 remote servers to send some/all of their log events to the central server, right?  and you verified that they really do send such log info to that server, perhaps using jnettop or tcpdump or whatever network tool you prefer, right?
[03:46] <jmarsden> So all that is left is to see what the log server does with those incoming log entries...
[03:46] <jmarsden> am I correct?
[03:47] <MTecknology> nope
[03:47] <MTecknology> thanks
[03:48] <MTecknology> I'll try jnettop
[03:48] <MTecknology> I'm doing this right now :P -> grep 'SYSLOGD_OPTIONS' /* -d recurse
[03:48] <MTecknology> I need to change that; then I'll use jnettop to verify data xfer
[03:48] <jmarsden> MTecknology: Why?  You are (I think) running rsyslog not syslogd
[03:49] <MTecknology> ya
[03:49] <jmarsden> :)
[03:49] <MTecknology> I need to change a value there on each host though
[03:50] <MTecknology> I need -r and -t on the server and -h -t on the clients
[03:52] <jmarsden> I think you may be confused... rsyslogd does not seem to have those options, according to its man page...
[03:52] <jmarsden> What makes you think you need them?  or did I read the wrong man page...?
[03:56] <MTecknology> jmarsden: -t is for tcp
[03:57] <jmarsden> man rsyslogd and look for a -t option in it...
[03:57] <jmarsden> I doubt you will find one.
[04:00] <MTecknology> it also doesn't show -r (remote)
[04:00] <jmarsden> Good, now you're reading a source of information that is likely to be accurate :)
[04:02] <MTecknology> hu?
[04:02] <MTecknology> I know -t and -r are options......
[04:02] <jmarsden> How do you know this?  You read the rsyslogd source code?
[04:03] <MTecknology> I'm considering it
[04:03] <jmarsden> How do you currently "know" this?  What leads you to believe this?
[04:04] <MTecknology> every single page i read online says rsyslog has these options
[04:04] <jmarsden> As I said earlier: <jmarsden> MTecknology: Quit reading blogs, start reading man pages :)
[04:04] <jmarsden> rsyslog has very probably changed...
[04:04] <MTecknology> there were online man pages i read with this
[04:05] <jmarsden> That matched the exact version of rsyslog on your machines?
[04:05] <MTecknology> I just want remote logging
[04:05] <jmarsden> So quit arguing with me and use the man page info to configure remote logging, instead of wasting time with blogs etc... :)
[04:06] <qman__> the local man page is going to be the most accurate source of information for the locally installed version
[04:06] <MTecknology> hm... http://manpages.ubuntu.com/manpages/hardy/man8/rsyslogd.8.html
[04:07] <jmarsden> That's rsyslog 1.19.12-1, Karmic has 4.2.0 ... note the large version number change...
[04:07] <MTecknology> :P
[04:07] <jmarsden> Which version are you actually running?
[04:07] <MTecknology> that's just a quick search
[04:07] <MTecknology> karmic
[04:07] <jmarsden> Then use Karmic documentation :)
[04:08] <qman__> then that information is totally irrelevant
[04:08] <MTecknology> I'm looking at this now - http://manpages.ubuntu.com/manpages/karmic/man8/rsyslogd.8.html
[04:08] <MTecknology> hurray - I'm lost
[04:09] <MTecknology> jnettop
[04:09] <jmarsden> Read the sentence "For details and configuration examples" maybe?  Then follow the link to more docs ...
[04:12] <MTecknology> emplar.kalliki.com <-> li107-143.members.linode.com
[04:12] <MTecknology> That's my CRM server
[04:12] <MTecknology> data is coming into the system
[04:13] <jmarsden> OK.  Are you sending it as UDP syslog, TCP syslog, or RELP ?
[04:13] <MTecknology> TMP
[04:14] <jmarsden> TMP?  What's that?
[04:14] <MTecknology> TCP*
[04:14] <jmarsden> Ah :)
[04:14] <MTecknology>  192.168.1.7                                                           514    TCP  192.168.1.5                                                         53414       0b     74b      74b
[04:15] <MTecknology> it's coming in .... that's a good thing
[04:16] <MTecknology> I have $AllowedSender TCP, 127.0.0.1, xxx.xxx.xxxx, ..
[04:18] <MTecknology> it should be winding up in /var/log/MACHINE/*
[04:21] <jmarsden> MTecknology: You configured expression based filters to do that, before you read the docs?  That would be impressive, if it worked.
[04:22] <MTecknology> jmarsden: such as this - $template DynAuth, "/var/log/%HOSTNAME%/secure.log"
[04:24] <jmarsden> MTecknology: Maybe try filtering just by old fashioned selectors first and see if the msgs then get logged mixed in with the local log entries?  Then if that works, start exploring the expression-based stuff?
[04:25] <jmarsden> Ah... I need to go pick up some kids and drive them home... back fairly soon, I hope...
[04:25] <MTecknology> i just smashed my finger ;"(
[04:25] <MTecknology> :'(*
[04:25] <MTecknology> OW!
[04:27] <MTecknology> jmarsden: so just leave these lines?   $ModLoad imudp.so   $TCPServerRun 514   AllowedSender TCP, 127.0.0.1, 192.168.1.0/24, xxxx   ?
[04:28] <MTecknology> jmarsden: with just that it doesn't seem to do anything wither
[04:37] <MTecknology> jmarsden: actually 0 having it all filter into the same logs might be best
[04:37] <MTecknology> I'm still royally freakin' lost right now :(
[05:07] <MTecknology> jmarsden: I think I have everything getting to the remote server the way I want it to - it's just not being stored
[05:16] <Doonz> Hey guys i have a ubuntu 8.04 server. Was wondering if you could point me to the most correct how-to for installing vmware server onto the box Thanx
[05:21] <MTecknology> twb: make me not go insane
[05:22] <twb> MTecknology: that's beyond my power
[05:23] <MTecknology> twb: help me with logging then?
[05:23] <twb> MTecknology: how so?
[05:24] <MTecknology> twb: I'm trying to have rsyslog log to a remote system over TCP - is seems to be arriving at the loggin server just fine; on the server I have these lines   $ModLoad imtcp.so  $TCPServerRun 514  $InputTCPServerRun 514  AllowedSender TCP, 127.0.0.1, 192.168.1.0/24, xxxx
[05:25] <MTecknology> hrm - I missed "$" at the start of the last line but I doubt that did it
[05:25] <twb> MTecknology: did you look at the local log output after restarting rsyslog?
[05:25] <kees> MTecknology: does the remote rsyslog actually bind to port 514 tcp to listen?
[05:25] <twb> Did you start rsyslog by hand with full debugging and "don't detach from tty" options?
[05:26] <MTecknology> twb: no
[05:26] <twb> MTecknology: do so
[05:28] <MTecknology> kees: hmm... netstat -a doesn't show it
[05:30] <MTecknology> twb: I'm trying to run in debug
[05:33] <MTecknology> paste.ubuntu.com uses openid now?
[05:33] <MTecknology> neat
[05:34] <MTecknology> kees: twb: I found an error but no errors now; still no bind to 514 and here's the debug output - http://paste.ubuntu.com/343845/
[05:37] <MTecknology> ..... this is irritating me
[05:37] <MTecknology> twb: hm... local logs - Dec 19 05:31:42 insto kernel: [118952.786346] [UFW BLOCK] IN=eth0 OUT= MAC=fe:fd:48:0e:bb:c0:00:d0:d3:9f:81:36:08:00 SRC=61.176.216.25 DST=72.14.187.192 LEN=40 TOS=0x00 PREC=0x00 TTL=105 ID=256 PROTO=TCP SPT=6000 DPT=1433 WINDOW=16384 RES=0x00 SYN URGP=0
[05:38] <twb> MTecknology: I've helped all I can.
[05:38] <MTecknology> that's the issue... where's the port?
[05:39] <MTecknology> i forgot tcp is 3-way
[05:39] <MTecknology> dpt must = dest port
[05:39] <MTecknology> uh-oh - no idea what to do now...
[05:39] <MTecknology> maybe I need to use UDP instead
[05:48] <MTecknology> GAH!!!!!!
[05:48] <MTecknology> This should be so simple
[05:51] <MTecknology> YES!
[05:51] <MTecknology> YES!
[05:52] <MTecknology> now I need to figure out ufw rules
[06:04] <MTecknology> and now I think my servers are finally setup.... just need to cofnigure backups; the logging system mailing; and a few other smaller things
[06:46] <MTecknology> HURRAY!
[06:46] <MTecknology> now logcheck won't let me send out any email
[06:48] <MTecknology> I jsut disabled ufw so that's not doing it
[06:49] <MTecknology> sudo -u logcheck logcheck -o givs me expected output so it must just be with smtp now
[06:50] <MTecknology> helps if I install to the right server though
[09:27] <Aiya> Is that possible to make shell using ubuntu?
[12:04] <acovrig> This is a sad question - what exactly is the cloud thing?
[12:18] <fahadsadah> Lol.
[12:18] <fahadsadah> acovrig: Basically, the internet is the cloud

[12:18] <acovrig> so you make your own internet hub?
[13:01] <sektorNBA> hi
[13:01] <sektorNBA> anyone skilled with squid_ldap_group ?
[14:48] <Liberty> I have 2 ubuntu systems Desktop and server Cups is running on server. Dsktop prints through server.but I want to add my windows system. to cups, Drivers installed but windows can't connect
[15:02] <Liberty> Howdo I geet my server to a widows request
[15:09] <MTecknology> twb: what's that runlevel editor you like so much?
[15:11] <Storm3yy> Hey, can somone help me install LAMP?
[15:11] <MTecknology> Storm3yy: sudo tasksel
[15:12] <MTecknology> Storm3yy: pick LAMP Server and press Enter; done
[15:12] <Liberty> I have 2 ubuntu systems Desktop and server Cups is running on server. Dsktop prints through server.but I want to add my windows system. to cups, Drivers installed but windows can't connect
[15:13] <Liberty> how can i print from my windows system
[15:13] <MTecknology> !repeat
[15:15] <Liberty> Sorry i saw some new people join the channel I am on forums too but there there is lots of noise on cups search
[15:15] <Storm3yy> MTecknology - How do I select it? I've scrolled down and hti enter
[15:15] <Storm3yy> but it dosnt select it it just goes back
[15:16] <ScottK> Storm3yy: Hit the space bar
[15:18] <Storm3yy> Nice ty
[15:18] <Storm3yy> Will LAMP start automatically each time I turn it server on etc?
[15:19] <ScottK> Yes.
[15:19] <Storm3yy> Nice ty :D
[15:21] <Diamant> hallo
[15:23] <Storm3yy> Does LAMP come with a control panel?
[15:23] <Storm3yy> a web one?
[15:23] <MTecknology> ScottK: You know of any easy way to manage default cron tasks aside from ls, mv, rm, and vim?
[15:23] <Diamant> ohh install 9.10 after 9.04 my sabmba dony work nobody cant connect and open my folders on server
[15:23] <MTecknology> Storm3yy: no
[15:23] <Storm3yy> Ok
[15:23] <Storm3yy> Anyone used phpmyadmin before?
[15:23] <MTecknology> Storm3yy: LAMP = Linux Apache MySQL PHP; It installs the most common parts that the servers use including modules to interact with each other
[15:24] <MTecknology> Storm3yy: many people use it but learning things via cli can teach you a lot more
[15:24] <Storm3yy> I've just installed phpmyadmin to manage the databases
[15:24] <Storm3yy> How do I get it accessable via the web?
[15:24] <Storm3yy> Yeh I'm working on that.
[15:24] <Storm3yy> I done sudo apt-get install phpmyadmin to install it
[15:27] <Storm3yy> Solved it
[15:27] <Storm3yy> =]
[15:32] <twb> MTecknology: rcconf
[15:34] <Liberty> how do I enable cups to accept print jobs from my vista puter
[15:34] <Storm3yy> Hmm
[15:34] <Storm3yy> How do I make my ubuntu user an admin
[15:34] <Storm3yy> I cant use sftp permision denied
[15:47] <ewook> Storm3yy: you can use it, but you don't have permission for the files in question I guess. try sftp something from your home folder.
[15:47] <Storm3yy> yeh it works
[15:47] <Storm3yy> but I need to edit files in the etc folders etc
[15:49] <jtaji> !sudo | Storm3yy
[15:49] <ewook> Storm3yy: you could enable the root-account, or change the permissions on the files in question, or add your user to the apropriate group owning the files, depending on group rights to the file.
[15:49] <ewook> jtaji: over sftp is the question.
[15:50] <jtaji> yep sorry
[15:50] <Storm3yy> How do I see what group to use?
[15:50] <Storm3yy> I basically want to add my account to the admin group
[15:52] <ewook> acctually, it's usually more sane to enable the root-account and connect with that if you wanna have full permissions to everything - not recommended if your server is public.
[15:55] <Storm3yy> Ok
[15:55] <Storm3yy> Well my servers public
[15:55] <Storm3yy> How do I just add this account?
[15:57] <ewook> I think most of your question could be answered here - https://help.ubuntu.com/community/RootSudo
[15:57] <ewook> it convers the pro's and con's and explains it a bit.
[15:57] <ewook> so, yes, jtaji was right on from the start :)
[15:58] <ewook> sorry jtaji :)
[15:58] <Storm3yy> how do i make a admin group then?
[15:58] <Storm3yy> or edit a user
[15:58] <Storm3yy> it dosnt say there
[15:58] <jtaji> no prob, I was just reading thinking something doesn't make sense ;)
[16:00] <ewook> Storm3yy: there's a follow-link on that page going to http://ubuntuforums.org/showthread.php?t=716201, covering some things I think you need to consider with just adding your user to the root-group.
[16:01] <ewook> Storm3yy: and here's a link to how to control and manage groups/users https://help.ubuntu.com/8.10/serverguide/C/user-management.html
[16:02] <ewook> or a 'never' version if you like https://help.ubuntu.com/9.10/serverguide/C/user-management.html :)
[16:04] <ewook> newer..
[16:04] <ewook> hah.
[16:08] <ewook> Storm3yy: I want to help, but I'm not sure I can avoid doing what I do right now, enabling a useraccount that was is kind of risky - sudo exists for a reason :)
[16:08] <ewook> was = way. god, I can't spell today.
[16:11] <Storm3yy> You dont want to help me
[16:12] <Storm3yy> otherwise you would of told me
[16:12] <Storm3yy> I dont really care anyway I'll just pay for support.
[16:13] <ewook> Then I'm sorry I couldn't assist you, even with the appropriate links.
[16:13] <jtaji> Storm3yy: you need to add your user to the admin group, but didn't you say you already used sudo?
[16:13] <jtaji> I mean you need admin access to give admin access
[16:16] <Storm3yy> Yeh I've used sudo
[16:16] <Storm3yy> but the thing is to sftp the files I  dont have permision
[16:17] <Storm3yy> The servers a public server on a lan
[16:17] <Storm3yy> It's not connected to the internet well it wont be once its setup
[16:17] <jtaji> you need sudo/root account on the destination machine
[16:17] <Storm3yy> Yeh
[16:17] <Storm3yy> thats what i'm trying to setup
[16:18] <jtaji> do you currently have sudo access on that machine?
[16:18] <jtaji> at all?
[16:18] <Storm3yy> On the linux box I'm on
[16:18] <Storm3yy> setting up yes
[16:18] <jtaji> no, the destination
[16:18] <Storm3yy> whats that?
[16:18] <Storm3yy> the computer shhing in?
[16:18] <jtaji> that's the client
[16:18] <Storm3yy> Basically I have the linux server
[16:19] <Storm3yy> and my PC
[16:19] <Storm3yy> and I'm trying to get a full admin prems on the linux server
[16:19] <jtaji> what runs on your pc?
[16:19] <Storm3yy> IRC, Windows 7 etc
[16:19] <Storm3yy> putty winscp
[16:20] <jtaji> so basically you want to use winscp to access files on the server for which you need admin privs
[16:20] <Storm3yy> Yep
[16:21] <jtaji> and you have a router/firewall?
[16:23] <Storm3yy> Yep
[16:23] <jtaji> the best way is probably to just enable the root account, by loggin in to the server and doing 'sudo passwd'
[16:24] <jtaji> you'll also need to edit /etc/sshd/sshd_config, and change PermitRootLogin to yes
[16:24] <jtaji> don't forward the ssh port in on your router (at least not directly) and you should be safe
[16:24] <jtaji> also 'sudo service ssh restart' after you edit the config
[16:25] <Storm3yy> Ok
[16:25] <jtaji> and only login in with root from winscp when you absolutely need to, use regular user for other purposes
[16:27] <jtaji> and make sure you use a good text editor that doesn't change unix line endings
[16:27]  * jtaji much prefers ssh and sudo vi
[16:27] <Storm3yy> Ok
[16:27] <Storm3yy> Now
[16:27] <Storm3yy> I need to run OpenSim.Grid.UserServer.exe
[16:27] <Storm3yy> OpenSim.Grid.GridServer.exe
[16:27] <Storm3yy> OpenSim.Grid.AssetServer.exe
[16:27] <Storm3yy> OpenSim.Grid.InventoryServer.exe
[16:27] <Storm3yy> OpenSim.Grid.MessagingServer.exe
[16:27] <Storm3yy> Those
[16:27] <Storm3yy> and keep them running
[16:27] <Storm3yy> How do I do that?
[16:27] <Storm3yy> Screen?
[16:28] <jtaji> probably not the best choice for a service, but the .exe endings make me suspect that they're even linux programs
[16:28] <jtaji> but I have no idea about what that is
[16:28] <Storm3yy> ok
[16:29] <Storm3yy> they work
[16:29] <Storm3yy> but I can only run one at a time then press ctrl and c
[16:29] <Storm3yy> to end it
[16:29] <Storm3yy> to run the other
[16:29] <Storm3yy> I need to run 1 minimize it
[16:29] <Storm3yy> and run the 2nd and so on
[16:29] <jtaji> you should read their docs on how they are designed to be run
[16:29] <Storm3yy> They dont have any
[16:29] <jtaji> one option would be calling them from /etc/rc.local
[16:29] <Storm3yy> well they are out dated
[16:30] <jtaji> another would be setting up with init/upstart/whatever...
[16:30] <jtaji> probably just rc.local is good, it will run them at the end of the boot process, and they will stay running in the background
[16:31] <jtaji> !boot
[16:31] <jtaji> that wasn't too helpful
[16:32] <Storm3yy> ok
[16:32] <Storm3yy> and another thing where is a www dir for LAMP?
[16:32] <jtaji> eh, I think the default for apache is /var/www, I usually work out of /srv/http/, personally
[16:33] <Storm3yy> Oh I see /var/www yeh
[16:33] <jtaji> on a one partition system it doesn't really matter I guess
[16:33] <Storm3yy> Er can I make that in the home/user/www?
[16:33] <jtaji> well, you can serve out of different places, even if the main site is /var/ww
[16:34] <jtaji> there's a way to make all users able to automatically have their own www like you mentioned
[16:34] <jtaji> study up on apache ;)
[16:34] <Storm3yy> I want the default to be /home/user/www
[16:40] <jtaji> Storm3yy: http://heriman.wordpress.com/2008/08/05/enabling-apache-user-home-public_html-directory-in-ubuntu/
[16:42] <Storm3yy> God sake
[16:43] <Storm3yy> I still not figgured how to my my user a super user
[16:43] <Storm3yy> or get the root acc working
[16:43] <Storm3yy> its not letting me on
[16:43] <jtaji> so your user can not use sudo?
[16:44] <jtaji> or you can not even login?
[16:44] <Storm3yy> my user 'ubuntu' can use sudo and login
[16:44] <Storm3yy> and I've done sudo passwd
[16:44] <Storm3yy> then the password twice
[16:44] <Storm3yy> and not I can tlogin to the root user
[16:45] <Storm3yy> and in the sshd config thing it said rootuser login enabled
[16:45] <guntbert> !root | Storm3yy but I told you that several times already
[16:45] <guntbert> !noroot | Storm3yy
[16:45] <Storm3yy> Oh can somone just tell me how to make this user admin
[16:45] <jtaji> guntbert: what is your solution to his problem?
[16:45] <Storm3yy> and have permision to all files on the server
[16:46] <Storm3yy> I dont care about security its not on the internet
[16:46] <jtaji> guntbert: because I honestly couldn't think of a better way
[16:46] <guntbert> jtaji: use sudo, what else?
[16:46] <Storm3yy> It wont work
[16:46] <jtaji> he want to edit files using WinSCP
[16:46] <Storm3yy> on sftp
[16:48] <Storm3yy> So what should I do?
[16:48] <jtaji> I knew somebody would jump in without understanding the problem, and I almost gave a disclaimer at the beginning
[16:49] <jtaji> using Linux 10+ years and I enforce the no root policy as much as the next guy
[16:49] <jtaji> Storm3yy: did you restart the ssh service?
[16:49] <Storm3yy> no but it was already set as yes
[16:50] <Storm3yy> Can you not tell me how to put this user in a group
[16:50] <jtaji> what is "this" user
[16:50] <guntbert> jtaji: point taken - I shut up :-)
[16:50] <Storm3yy> the user I'm on
[16:51] <Storm3yy> the one that cant access the files
[16:51] <Storm3yy> but i'd like it too
[16:51] <jtaji> Storm3yy: well if you want to edit files with winscp like you do, you need to use root
[16:52] <jtaji> we would much prefer you to just ssh in, and use sudo with a command line text editor
[16:52] <jtaji> and keep root disabled
[16:53] <Storm3yy> I'm not sure how to use that
[16:53] <jtaji> it would be 'sudo adduser thisuser admin'
[16:53] <Storm3yy> plus i have a ton of files to upload
[16:53] <jtaji> to let thisuser use sudo
[16:53] <jtaji> and 'sudo password -l' to re-lock root account
[16:54] <Storm3yy> it says I'm already part of the admin group
[16:54] <Storm3yy> but I still cant access the files :S
[16:54] <jtaji> Storm3yy: yes, because you can't "sudo" with winscp
[16:54] <Storm3yy> ok so I'm added to the group
[16:54] <Storm3yy> now what do I do?
[16:55] <jtaji> I feel like we're going in circles ;)
[16:55] <jtaji> we were enabling root to login to winscp
[16:55] <Storm3yy> Ok
[16:55] <jtaji> did logging in with winscp with user root, and password you just set, not work?
[16:55] <Storm3yy> Right start again
[16:55] <Storm3yy> no
[16:55] <Storm3yy> Access denied
[16:56] <jtaji> and you are sure PermitRootLogin was yes? because the default is no
[16:56] <Storm3yy> Yep
[16:56] <Storm3yy> That said yes
[16:56] <jtaji> you changed it already?
[16:57] <Storm3yy> It was set as yes
[16:57] <Storm3yy> When I looked at the file
[16:57] <jtaji> someone had to change it, sometime after you installed ubuntu
[16:57] <Storm3yy> oh I might have done it
[16:57] <Storm3yy> yesterday
[16:57] <Storm3yy> yeh I think I did
[16:57] <jtaji> so try restarting ssh like I mentioned
[16:58] <Storm3yy> ok how do I do that?
[16:58] <jtaji> sudo service ssh restart
[16:58] <Storm3yy> ok sec then
[17:00] <Storm3yy> ok
[17:00] <Storm3yy> done
[17:00] <Storm3yy> let me see
[17:00] <Storm3yy> Authentication log (see session log for details):
[17:00] <Storm3yy> Using username "root".
[17:00] <Storm3yy> Authentication failed.
[17:01] <jtaji> Storm3yy: let's see the end of your /var/log/auth.log
[17:01] <jtaji> !pastebin | Storm3yy
[17:03] <Storm3yy> this is crazy
[17:03] <Storm3yy> why cant u use groups
[17:03] <Storm3yy> never seen so much rubbish in my life
[17:04] <jtaji> Storm3yy: you can, if you are willing to use the command line
[17:05] <jtaji> or you can stay calm and continue debugging this problem
[17:05] <Storm3yy> i'm using the commandline
[17:05] <Storm3yy> I have no GUI
[17:05] <jtaji> I mean to edit files, and copy files to system locations
[17:05] <Storm3yy> Yes
[17:06] <Storm3yy> If you can be kind enough to tell me how to do it
[17:06] <Storm3yy> All  I've been wanting for the last few hours is to make this user have full server permisions
[17:06] <Storm3yy> without the use of sudo
[17:06] <jtaji> you can't do that
[17:06] <Storm3yy> ok
[17:06] <Storm3yy> tell me what to do
[17:06] <Storm3yy> I want the root account
[17:07] <Storm3yy> what should I do to do this
[17:07] <jtaji> I did, and we were trying to get it working
[17:07] <Storm3yy> tell me what to type please
[17:07] <Storm3yy> I'm lost so far
[17:07] <jtaji> Storm3yy: let's see the end of your /var/log/auth.log
[17:07] <jtaji> on your server
[17:07] <Storm3yy> Its got my IPs
[17:07] <Storm3yy> let me see
[17:08] <jtaji> don't worry, your IP is 213.106.41.208
[17:08] <jtaji> :P
[17:08] <Storm3yy> no server ips afaik
[17:09] <jtaji> but there are no IPs in that file
[17:09] <Storm3yy> ok
[17:10] <jtaji> Storm3yy: and then paste it into pastebin, link ubottu gave you above ^
[17:10] <jtaji> only need the last 20 or so lines
[17:10] <Storm3yy> I pmed u the url
[17:10] <Storm3yy> http://pastebin.ca/NOHjJeBv
[17:10] <Storm3yy> pass 1
[17:13] <Storm3yy> jtaji - did you get it?
[17:21] <jtaji> I don't know what's going on
[17:21] <jtaji> also I guess I misunderstood and thought you were doing this over a private LAN
[17:23] <Storm3yy> god sake
[17:23] <Storm3yy> ubuntu is shit
[17:23] <Storm3yy> why didnt I choose somthing else
[17:23] <jtaji> any Linux distro would be the same
[17:23] <twb> Yea, verily, AHS and ASS.
[17:24] <Storm3yy> No
[17:25] <Storm3yy> Lots of distros have the root account enabled
[17:25] <Storm3yy> rofl
[17:25] <Storm3yy> all I want to do is have a fucking root account
[17:25] <Storm3yy> no shit
[17:25] <jtaji> !ops | Storm3yy
[17:25] <Storm3yy> Eh
[17:25] <Storm3yy> Whats that?
[17:25] <twb> Storm3yy: the root account is only "disabled" in that it has no password.  If you had performed an "expert" (i.e. priority=low) install, you would have been asked whether you wanted to have an "active" root account.
[17:26] <Storm3yy> I used an amazon EC2 EBS to try this out on
[17:26] <jtaji> !language | Storm3yy
[17:26] <jtaji> sorry maybe that was more appropriate
[17:26] <twb> Storm3yy: assuming you're still using traditional flat file auth, you can use "sudo passwd" to activate the root account.
[17:26] <Storm3yy> thats not letting me login to it tho
[17:27] <veebull> Storm3yy, have you tried 'sudo su -l' to drop you into a root login session for the duration
[17:27] <Storm3yy> that wont work with winscp
[17:27] <twb> Storm3yy: your current user has no sudo privileges?
[17:28] <twb> Storm3yy: you can check with "sudo -l"
[17:28] <Storm3yy> passwd: password updated successfully
[17:28] <Storm3yy> Matching Defaults entries for ubuntu on this host:
[17:28] <Storm3yy>     env_reset
[17:28] <Storm3yy> User ubuntu may run the following commands on this host:
[17:28] <Storm3yy>     (ALL) ALL
[17:28] <Storm3yy>     (ALL) NOPASSWD: ALL
[17:29] <twb> Storm3yy: you should now be able to log in as root with the password you just set.
[17:29] <Storm3yy> Ok
[17:29] <twb> Storm3yy: note that some applications, such as ssh, might be configured to specifically disallow root logins
[17:29] <jtaji> we changed sshd_config already
[17:30] <jtaji> and restarted ssh
[17:30] <twb> jtaji: OK
[17:30] <Storm3yy> argh putty is saying Disconnected: no suppored auth methods available
[17:31] <twb> Of course, two-factor authentication (i.e. ssh keys) would be more secure than enabling password auth
[17:31] <Storm3yy> ok so whats wrong?
[17:32] <jtaji> Dec 19 17:01:05 ubuntu sshd[9913]: Accepted publickey for root from 213.106.41.208 port 52399 ssh2
[17:32] <twb> And it seems a bit silly to enable login for TWO accounts (i.e. root and the user with full sudo privileges), though I concede it's possible to shoot yourself in the foot with /etc/sudoers.
[17:32] <jtaji> looks like it did use a key?
[17:32] <twb> jtaji: buggered if I know.
[17:32] <Storm3yy> it didnt now
[17:32] <Storm3yy> god you dont understand
[17:33] <Storm3yy> I want ACCESS to ALL files on this server
[17:33] <twb> Storm3yy: I've lost patience with you.  Good luck.  Plonk.
[17:33] <Storm3yy> I CAN NOT access the files outside of the home dir
[17:33] <Storm3yy> on my user acc
[17:33] <Storm3yy> since they belong to root
[17:33] <Storm3yy> so i want to know why I cant connect to the root account now
[17:38] <Storm3yy> Ok so what should I do?
[17:39] <veebull> I may have missed it in the above... but have you checked the config file for ssh?
[17:39] <veebull> A very common setting is 'PermitRootLogin No' (or something to that effect)
[17:40] <veebull> because most system admins acknowledge that logging in directly as root, even over ssh, is a bad idea
[17:40] <twb> veebull: the Right Thing is to teach Storm3yy how to use sudo to escalate privileges as necessay.
[17:40] <twb> *necessary
[17:40] <Storm3yy> It says yes
[17:40] <Storm3yy> Ok so what should I do
[17:41] <veebull> twb, agreed.  But he seems to not be able to figure that part out <shrug>
[17:41] <Storm3yy> Basically I want to edit the files using this user account
[17:41] <Storm3yy> using winscp
[17:41] <Storm3yy> when I try to edit files outside my home directory it says permision denied
[17:41] <Storm3yy> thats becuase everything is 'owned' by root
[17:41] <Storm3yy> So if it was your server what would you do to fix this?
[17:42] <twb> Storm3yy: winscp isn't an editor.  sudoedit(1) is the appropriate way to edit files in e.g. /etc.
[17:42] <veebull> because while you are logged in as that user, you don't have the privileges to access other peoples files - thats what *nix file permissions are all about
[17:42] <Storm3yy> I also want to upload files
[17:42] <jtaji> Storm3yy: we log in over ssh with our user accounts, then use sudo
[17:42] <twb> Storm3yy: if you're trying to do web shite, ~/public_html is probably the Right Thing
[17:42] <Storm3yy> is that directory too
[17:43] <Storm3yy> no, I need to edit, upload files in the /etc folders etc
[17:43] <veebull> you might be able to add your user to the 'admin' or 'wheel' group (I forget what ubuntu uses) and thereby be able to gain some flexibility
[17:43] <jtaji> Storm3yy: you could use winscp to copy the files to your user home directory, then log in and 'sudo cp' them to their desination
[17:43] <Storm3yy> why cant I just use the root account?
[17:43] <Storm3yy> or set the permision to those other folders to my account?
[17:43] <veebull> sorry, I only use WinSCP very rarely so I'm not so hot with it.
[17:43] <twb> veebull: unfortunately, there's no stock RBAC
[17:43] <jtaji> Storm3yy: never change system file permissions, period
[17:44] <twb> veebull: the first user created has full sudo, that's it
[17:44] <jtaji> unless you know what you are doing
[17:44] <Storm3yy> argh
[17:44] <veebull> twb, ah.  Did not know that, thanks.
[17:44] <Storm3yy> im nackerd then
[17:44] <Storm3yy> the server is useless?
[17:44] <jtaji> Storm3yy: spend a couple of days, and learn linux command line usage
[17:44] <Storm3yy> Unless I want to keep copying stuff which will make my life hell
[17:44] <Storm3yy> How do I setup root?
[17:45] <jtaji> you seem to be somewhat proficient acutally, which is confusing me
[17:45] <twb> jtaji: possibly via cargo cult training
[17:50] <Storm3yy> what a load of rubbish :S
[17:50] <veebull> Storm3yy, help us understand what you're trying to do.  What files do you need to upload to /etc?  Why not simply open them in PuTTY (after sudoing to root privileges)?
[17:51] <veebull> and do your editing that way?
[17:51] <frojnd> Hello there...
[17:52] <frojnd> Till recently I had static IP for server
[17:52] <frojnd> but since I don't need to have it anyomre
[17:52] <frojnd> I'd like to make it dhcp
[17:52] <frojnd> I went to /etc/network/interfaces
[17:52] <frojnd> and type in auto lo
[17:52] <frojnd> iface lo inet loopback
[17:52] <frojnd> auto eth1
[17:52] <frojnd> iface eth1 inet dhcp
[17:53] <Storm3yy> veebull - basically Ineed to upload files to the /etc folder
[17:53] <Storm3yy> for apache and software im running
[17:53] <frojnd> saved it and after that I run a command /etc/init.d/networking restart
[17:53] <Storm3yy> and editing them
[17:53] <Storm3yy> since they are ran by root
[17:53] <frojnd> but I got somethging interesting
[17:53] <Storm3yy> I can tdo it on my account
[17:53] <Storm3yy> i get permision denied
[17:53] <twb> veebull: I think Storm3yy wants to edit files using a local GUI editor instead of using e.g. vi (via sudoedit).
[17:54] <frojnd> something about broadcast adress...
[17:54] <jtaji> frojnd: comment out #iface eth1 inet dhcp
[17:54] <frojnd> jtaji: it is
[17:54] <twb> frojnd: that file looks fine to me
[17:54] <jtaji> frojnd: yeah sorry, ignore me
[17:54] <Storm3yy> twb - correct
[17:54] <frojnd> when I had static I configured also adresses
[17:54] <Storm3yy> and upload files
[17:55] <veebull> Storm3yy, could you edit the files in a local editor, then cut-n-paste them in a PuTTY window?
[17:55] <twb> He could use a GUI editor that understands transparent remote file access using both ssh and then sudo -- Emacs is such an editor.
[17:55] <frojnd> I get there is already a pid file /var/rin/dhclient.eth1.pid with pid 134519072
[17:56] <frojnd> and I get repitedly
[17:56] <twb> frojnd: is network-manager (NetworkManager) installed and/or running?
[17:56] <veebull> twb, I don't generally wish emacs on people ;)
[17:56] <Storm3yy> veebull - No
[17:56] <frojnd> DCPDISCOVER on eth1 to 255.255.255.255 port 67 interval [1-9[1-9]
[17:56] <Storm3yy> I want to upload them
[17:56] <frojnd> twb: er... no
[17:56] <twb> frojnd: good
[17:57] <frojnd> I only edit some files that I can't remember now
[17:57] <twb> frojnd: next time, install etckeeper.  It'll help you remember
[17:57] <frojnd> maybe hosts also beside /etc/network/interfaces
[17:57] <jtaji> Storm3yy: it's the same thing really, just start with an empty file in putty
[17:57] <veebull> Then you have a problem.  You don't have the permissions (you are a regular user), and the system will not let you login remotely as the root user for security reasons (as you've found)
[17:57] <jtaji> and paste in the whole contents
[17:57] <frojnd> ok but now can someone please help me connect to the internet the server?
[17:57] <Storm3yy> I cant
[17:57] <frojnd> from then on I'm good
[17:58] <Storm3yy> I cant make new files in any folder outside my HOME DIRECTORY
[17:58] <Storm3yy> PERMISION denied
[17:58] <Storm3yy> caps sorry
[17:58] <veebull> do you not understand file permissions?
[17:58] <veebull> *nix style?
[17:58] <jtaji> Storm3yy: you can with sudo
[17:59] <veebull> Storm3yy, here, I searched the WinSCP site for you:
[17:59] <frojnd> ok so noone knows
[17:59] <frojnd> that's sad :<
[17:59] <Storm3yy> I cant use sudo with winscp
[17:59] <veebull> http://winscp.net/eng/docs/faq_su
[17:59] <Storm3yy> for goodness sake
[17:59] <veebull> yes you can, read the faq
[18:00] <veebull> 'Use sudo on login'
[18:00] <twb> veebull: ha
[18:00] <Storm3yy> Ok
[18:01] <Storm3yy> let me see
[18:01] <twb> frojnd: what you're doing SHOULD work.  Use mii-tool or ethtool to ensure that the cable is connected
[18:01] <Storm3yy> sorry im stressed been working on this for 3 days
[18:01] <twb> frojnd: otherwise, check that your DHCP server is serving DHCP
[18:01] <frojnd> twb: erm i'm pretty sure it is :>
[18:02] <frojnd> 2 computeres happily on right now
[18:20] <veebull> Storm3yy, any luck?
[18:21] <Storm3yy> no cant seem to find ou thow to issue the sudo cmd
[18:21] <Storm3yy> with winscp
[18:21] <frojnd> I'm desperate here
[18:22] <frojnd> can someone please help me connect to the internet
[18:22] <frojnd> I hae 8.04
[18:23] <veebull> Storm3yy, Did you go and read the link I sent you?
[18:23] <frojnd> how can I force server that it will get Ips via dhcp?
[18:23] <frojnd> anyone please?
[18:24] <veebull> Specifically the part where it talks about specify a specific command as a custom shell
[18:24] <veebull> and then tells you how to go do that
[18:24] <frojnd> ok..
[18:24] <Storm3yy> yeh
[18:24] <frojnd> I give up
[18:24] <frojnd> how can I configure server that it would have static IP?
[18:25] <veebull> And it still doesn't work when you specify 'sudo -s' as the login shell?
[18:25] <Storm3yy> i dont see how to do that
[18:25] <Storm3yy> it dosnt say
[18:26] <veebull> If you go to http://winscp.net/eng/docs/faq_su, go to the section titled 'Use sudo on Login'
[18:27] <veebull> about 10-12 lines down it starts 'With SCP protocol, you can specify following commands as custom shell on the SCP/Shell tab...'
[18:28] <veebull> click on the green text 'SCP/Shell tab'... it's a link to the page for *that*
[18:29] <veebull> specifically http://winscp.net/eng/docs/ui_login_scp#shell
[18:30] <Storm3yy> It dosnt tell me where to put the command tho
[18:31] <Storm3yy> ok fixed
[18:32] <Storm3yy> how do i setup lamp to point to /home/user/www
[18:32] <veebull> I was starting to think maybe you *shouldn't* be allowed access to /etc at all! ;) (just kidding)
[18:32] <Storm3yy> instead of var/www/
[18:32] <Storm3yy> Sorry i thought it was a box I typed it in
[18:32] <Storm3yy> it was a drop down menu lol
[18:32] <diplo> frojnd, http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/
[18:33] <veebull> I'm less experienced w/ Apache config...
[18:33] <veebull> is there a reason /var/www won't work, or http://<hostname>/~username?
[18:34] <Storm3yy> it does but I'd prefer to keep everything in my home directory like that
[18:35] <veebull> perhaps a link from a folder in your home dir to /var/www/whatever?
[18:36] <Storm3yy> Done it I think
[18:39] <frojnd> diplo: I tried
[18:40] <frojnd> how can Icheck ifconfig /all in linux?
[18:40] <frojnd> ifconfig /all is for windows
[18:41] <guntbert> frojnd: ip ad
[18:42] <frojnd> I don't understand
[18:42] <frojnd> in /etc/resolv.conf I add 192.168.1.1 my router's IP
[18:42] <frojnd> and I still can't ping router :S
[18:44] <diplo> frojnd, ifconfig on it's own will display the results from all your adaptors
[18:44] <Liberty76> My server hosts a printer. The printer will print from my desktop, but when I try to print from my vista machine it won't print. I think I need to tell my server about the Vista machine.. How?
[18:44] <diplo> Do you get nothing ?
[18:44] <diplo> Resolv.conf is for DNS
[18:48] <diplo> You can check a paticular NIC by doing ifconfig eth0 or eth1 etc
[18:50] <frojnd> that's just insane
[18:50] <frojnd> I'll reinstall server
[18:51] <diplo> Wat results do you get when you do ifconfig
[18:51] <diplo> ?
[18:51] <frojnd> and installe nex time etckeeper
[18:51] <frojnd> I just  get one ifconfig
[18:51] <frojnd> I mean eth1
[18:51] <frojnd> and lo
[18:51] <diplo> and eth1 have any ip's against it ?
[18:51] <frojnd> well yes
[18:52] <frojnd> wwhen Trying to static I p yes
[18:52] <diplo>  inet addr:192.168.1.24  Bcast:192.168.1.255  Mask:255.255.255.0
[18:52] <frojnd> but I only need dhcp
[18:53] <diplo> Well that's all you should need from that page
[18:53] <diplo> auto eth0
[18:53] <diplo> iface eth0 inet dhcp
[18:53] <diplo> change the 0 to 1 obviously
[18:53] <frojnd> just 2 lines?
[18:54] <diplo> Yup
[18:54] <diplo> Should *just* work
[18:54] <diplo> ifdown eth1 ; ifup eth1 after
[18:54] <frojnd> what about /etc/resolv
[18:54] <frojnd> there is 192.168.1.1 <- my router's ip
[18:54] <diplo> resolv is for dns
[18:54] <frojnd> do I need that?
[18:55] <diplo> if it's already in the resolv and it's correct for your router that's fine
[18:55] <frojnd> diplo: :(
[18:55] <diplo> not worked ?
[18:55] <frojnd> I keepg getting DHCPDISCOVER on eth1 to 255.255.255.2555 port 67 interval ...
[18:56] <frojnd>  no unforunatelly no
[18:56] <diplo> defo got dhcp running on the router ?
[18:56] <frojnd> diplo: I just tested with live puppy cd
[18:56] <frojnd> and I just clicked dhcp for eth1
[18:56] <frojnd> and I was on the internet
[18:56] <frojnd> so I'm pretty sure
[18:57] <frojnd> maybe some other files are doing a mess
[18:57] <frojnd> also
[18:57] <diplo> Can't think of anything else that should affect it
[18:57] <frojnd> I get there is already a pid file /var/run/dhclient.eth1.pid with pid 134519072
[18:58] <frojnd> surprisingly I get this always after restarting network
[18:58] <frojnd> and now I need to download again ubuntu 8.94
[18:58] <frojnd> 8.04 just because I screwed something up :s
[18:58] <sub> that's an abnormal pid
[18:59] <frojnd> it's big yeah _D
[18:59] <frojnd> ah
[18:59] <diplo> Could try /etc/init.d/networking restart ?
[18:59] <frojnd> where can I get ubuntu 8.04 LTS 64bit?
[18:59] <frojnd> diplo: I did the same error
[18:59] <diplo> Never had to do that before but i suppose worth a go
[18:59] <frojnd> as with ifdown...
[18:59] <diplo> Hmm
[19:00] <frojnd> I need to reinstall server in order to increase /
[19:00] <diplo> Got two NIC's in the machine ?
[19:00] <frojnd> and to isntall 64bit
[19:00] <frojnd> diplo: yes one is dead
[19:00] <frojnd> diplo: it isn't even shown in ifconfig
[19:01] <frojnd> the dead one is also integrated... it suffered too much of electricity :P
[19:01] <frojnd> so where can I get ubuntu 64bit
[19:01] <frojnd> 8.04
[19:01] <jtaji> frojnd: ubuntu.com
[19:02] <jtaji> they have made it difficult to find
[19:02] <frojnd> jtaji: i know
[19:02] <frojnd> that's why I'm asking
[19:02] <jtaji> oh not so much, just click alternate download options
[19:02] <frojnd> and that's not sarcastic :>
[19:02] <jtaji> http://www.ubuntu.com/getubuntu/download-server
[19:03] <frojnd> jtaji: thanx :>
[19:03] <jtaji> no prob
[19:03] <diplo> http://cdimages.ubuntu.com/ubuntu-server/hardy/daily/current/
[19:03] <diplo> Not sure if that's the right link
[19:03] <frojnd> hm
[19:03] <frojnd> but..
[19:03] <frojnd> how can I DL it with wget?
[19:03] <frojnd> I prefer wget and screen
[19:03] <frojnd> I really do
[19:03] <jtaji> ^^ diplo just linked
[19:04] <frojnd> thanx jtaji
[19:04] <ghostlines> my filesystem has erros and i sometimes I can't mount it, and when i do mount it i can't write to it
[19:04] <ghostlines> i did a fsck check to automatically repait it and that didn't work
[19:05] <ghostlines> now fsck says i should run fsck manually, my question is what i can do manually?
[19:05] <ghostlines> all I suppose i can do is hit y everytime it asks me if it should repair a block
[19:05] <diplo> Can automate the -y
[19:05] <ghostlines> isn't that what the -a switch does
[19:06] <ghostlines> yeah used that switch too
[19:06] <ghostlines> but to no avail
[19:06] <diplo> -p ?
[19:06] <ghostlines> hmm let me check that one out
[19:07] <diplo> That's automic repair ( No Questions )
[19:07] <diplo> automatic*
[19:08] <ghostlines> the -a switch does automatic repairs according the manpage
[19:10] <ghostlines> i don't see -p but do see -P in the manpages don't understand what that's exactly for though
[19:11] <ghostlines> ahh my bad man
[19:11] <frojnd> is tere a way to DL this from slovenian server?
[19:11] <frojnd> arnes?
[19:11] <frojnd> the speed from this server jtaji gave is kinda slow
[19:11] <ghostlines> I think i gotta use the -p switch with e2fsck not fsck
[19:13] <frojnd> jtaji: the link you gave me... can you privide me the one with arnes server?
[19:15] <jtaji> frojnd: http://www.ubuntu.com/getubuntu/downloadmirrors
[19:16] <frojnd> jtaji: thanx!!
[19:19] <frojnd> aaah what a speed == relief :D
[19:35] <MTecknology> twb: thanks
[19:58] <MTecknology> I'm close... "ufw enable" remote logging server only logs local logs; "ufw disable" remote logging server logs everything
[20:00] <ruben23> hi , how do i set an application to run on reboot automatically..?
[20:00] <ruben23> like tomcat
[20:01] <MTecknology> ruben23: you mean run a command that starts it on reboot or a service?
[20:01] <MTecknology> idk how tomcat works..
[20:02] <MTecknology> for something like supybot; I add this line in "crontab -e"  "sudo -u mtbot supybot mtbot.conf --daemon"
[20:03] <ruben23> MTecknology:yeah as a service
[20:03] <MTecknology> ruben23: for a service; aptitude install rcconf; use that - it's much much nicer than the default tools
[20:08] <MTecknology> ... I LOVE ufw; this is everything for iptables I ever wanted
[20:09] <ruben23> MTecknology: how about adding script just to run the application on reboot..
[20:09] <MTecknology> ruben23: I'd add an entry in cron
[20:10] <frojnd> ok
[20:10] <frojnd> HOw can I check if my downloaded file is ok?
[20:10] <jmarsden> ruben23: @reboot /path/to/script/that/runs/application
[20:10] <MTecknology> instead of the "* * * * *" part use "@reboot" Then every reboot/startup it'lll be ...........
[20:10] <MTecknology> there's that
[20:10] <guntbert> !md5sum | frojnd
[20:10] <MTecknology> jmarsden: type slower
[20:11] <jmarsden> :)
[20:11] <MTecknology> I need to figure out why logcheck is mailing out every hour....
[20:12] <MTecknology> it's pretty much mailing on 2 * * * *
[20:12] <frojnd> damn it :S
[20:12] <frojnd> How come has failed .S
[20:12] <frojnd> :S
[20:13] <frojnd> I didn't get any errors while wget
[20:13] <frojnd> :s
[20:14] <MTecknology> frojnd: watch the language
[20:14] <frojnd> MTecknology: my bad
[20:14] <MTecknology> frojnd: it happens sometimes... in most cases I install without checking
[20:15] <MTecknology> frojnd: can you use firefox to download instead of wget?
[20:15] <frojnd> ha
[20:15] <frojnd> maybe isn't the whet
[20:16] <frojnd> I dl'ed 8.04.3
[20:16] <frojnd> and on the has site there is only 8.04
[20:16] <frojnd> server
[20:16] <frojnd> does this make any sense?
[20:16] <frojnd> pardon :(
[20:16] <MTecknology> !ltd
[20:16] <MTecknology> !lts
[20:17] <frojnd> MTecknology: I can use chromium yes
[20:17] <frojnd> but what would change this
[20:17] <frojnd> in wget I have -c option
[20:17] <frojnd> also -bandwith option
[20:17] <frojnd> and so on
[20:17] <MTecknology> I think firefox has a few tools built-in to prevent bad downloads
[20:18] <MTecknology> http://cdimage.ubuntu.com/hardy/daily/current/MD5SUMS
[20:18] <frojnd> that's for alternate
[20:19] <MTecknology> I thought cdimage.u.c had more than just alternate :S
[20:20] <MTecknology> there
[20:20] <MTecknology> http://releases.ubuntu.com/hardy/MD5SUMS
[20:20] <frojnd> that's weird
[20:20] <frojnd> I have the same sum
[20:21] <MTecknology> then be happy :)
[20:21] <frojnd> why would checking the test report that either CD-ROM or some data is corrupted?
[20:21] <frojnd> maybe I've burn't wrong
[20:21] <MTecknology> probably
[20:21] <frojnd> I'll try with 10x  and not with 4x speed
[20:22] <MTecknology> My issue is usually burning and not downloading
[20:23] <frojnd> yeah
[20:23] <frojnd> cds sux
[20:23] <frojnd> there is always something worng
[20:27] <Liberty76> why LTS? Isn't karmic newer and better and still have as much support life left
[20:28] <MTecknology> Liberty76: for some people running with LTS is a better option
[20:28] <Liberty76> LTS for server though is 5 years though I suppose
[20:28] <ScottK> Liberty76: Yes. For server, Hardy has longer support left
[20:29] <Liberty76> hmm but why is LTS better?
[20:29] <ScottK> Fewer upgrade cycles.
[20:29] <ScottK> For some that won't matter
[20:29] <MTecknology> Personally; I like the 6mo releases; if I had >30 servers to manage I'd probably use LTS
[20:30] <Liberty76> I built new server on karmic... Will likely upgrade in April but don't expect to ever again
[20:32] <MTecknology> GAH! I can't figure out why logcheck is mailing out hourly.....
[20:45] <MTecknology> !ntp
[20:59] <frojnd> is there a way to install lxde from ubuntu server 8.04 ?
[20:59] <frojnd> apt-cache search won't find it
[21:00] <mcdermmn> is there a easy way to get the number of block groups in a partion without mounting it?
[21:01] <MTecknology> frojnd: It's recommended to use cli instead of gui to manage your server
[21:01] <MTecknology> !lxde
[21:01] <MTecknology> !info lxde
[21:01] <MTecknology> frojnd: You need to enable universe repos for it
[21:01] <MTecknology> mcdermmn: doesn't fdisk show you that?
[21:02] <frojnd> MTecknology: it's not  for managing the server :D
[21:02] <frojnd> MTecknology: it's for my sis...
[21:02] <frojnd> MTecknology: all the background is done by me and ssh
[21:02] <frojnd> I upgraded with 1gb ram
[21:02] <MTecknology> !enter
[21:02] <frojnd> so this shouldn't be a problem
[21:03] <frojnd> MTecknology: to be hones I don0t even know how to manage a server with x :D
[21:03] <mcdermmn> MTecknology it shows blocks, i dont think it does block groups
[21:03] <MTecknology> mcdermmn: oh, beyond that I have noe idea - sorry
[21:04] <frojnd> MTecknology: universe are enabled... that's odd
[21:04] <MTecknology> frojnd: apt-get update; apt-get install lxde
[21:04] <frojnd> MTecknology: there is no package named lxde
[21:05] <frojnd> MTecknology: and I did update and upgrade frist thing after installation
[21:05] <MTecknology> what version of ubuntu?
[21:05] <frojnd> 8.04.3
[21:06] <frojnd> LTS
[21:06] <MTecknology> !info lxde hardy
[21:06] <MTecknology> !info lxde intrepid
[21:06] <MTecknology> Need to be on at least 8.10 for it
[21:07] <frojnd> MTecknology: yeah.. but those versions have like 6months of support
[21:07] <MTecknology> then you need to pick something different
[21:07] <frojnd> I installed 8.4 so I don't have to dist-upgrade every half a year
[21:07] <frojnd> hm
[21:07] <frojnd> :(
[21:07] <MTecknology> 8.04*
[21:07] <frojnd> fluxbox
[21:07] <frojnd> yeah I don't have time for another installation
[21:08] <MTecknology> aptitude install ubuntu-desktop
[21:08] <frojnd> that would install gnome?
[21:08] <MTecknology> ya
[21:08] <MTecknology> and all tools
[21:08] <MTecknology> why didn't you start with that if it's for a desktop
[21:08] <MTecknology> also - desktop support is #ubuntu
[21:09] <frojnd> MTecknology: it ain't
[21:09] <frojnd> X would be just an extension for my sis
[21:09] <MTecknology> I need to go
[21:09] <frojnd> She only needs a browser epiphany file browser nad mplayer
[21:09] <frojnd> MTecknology: have fun
[21:09] <frojnd> whatever your gonna do :)
[21:10] <MTecknology> that's a desktop system...
[21:10] <MTecknology> xdm+openbox
[21:10] <frojnd> MTecknology: no
[21:10] <frojnd> MTecknology: 90%of time server will do other work
[21:49] <MTecknology> :S - I can't figure out why I can't change how often logcheck sens out email
[21:49] <MTecknology> It's default 1x/hr but I want less often
[21:51] <MTecknology> I have a cron to run @daily; I need to figure out how to disable the hourly
[21:55] <MTecknology> !logcheck
[21:58] <MTecknology> GOT IT!
[21:58] <MTecknology> /etc/cron.d/logcheck
[23:31] <KismetGFX> was wondering if anyone has insight on this issue, seems a lot of people are experiencing it. hitachi drives reporting false positive / bad sectors when fsck has no problems https://bugs.launchpad.net/ubuntu/+source/libatasmart/+bug/438136
[23:39] <mike3> Anyone experiencing CPU soft lockups?
[23:45] <mike3> is the latest dist-upgrade fix a lot of bugs?
[23:47] <mike3> well i managed with the latest dist-upgrade
[23:48] <mike3> I'm running ubuntu in a XEN guest and it's locking up my other systems... I noticed from the Xen host that I was getting cpu soft locks that seem to be coming from Ubuntu... So I'm hoping this upgrade fixes the issue. I've even reinstalled Ubuntu with the newest 9.10 and it still didn't fix the issue.