/srv/irclogs.ubuntu.com/2011/12/26/#ubuntu-server.txt

zastaphMaybe https://help.ubuntu.com/community/KVM/Networking needs to be updated .. because the CAP_NET_ADMIN section refers to Sep 200600:11
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
sw0rdfishhey00:58
pmatuliszastaph: please proceed00:58
zastaphI'm just a user of KVM00:59
njacintoquit00:59
qman__that's where ubuntu community docs come from, users01:04
zastaphyep and then I'm a kvm n00b too :)01:05
=== sixstringsg|away is now known as sixstringsg
=== sixstringsg is now known as sixstringsg|away
=== sixstringsg|away is now known as sixstringsg
deviantgeekOk, is there any guides to getting ftp working on oneric?03:34
TJRanaUm...03:35
TJRanaWhat's oneric?03:35
deviantgeek11.1003:35
deviantgeekubuntu server03:35
TJRanaOh Ubuntu 11.10 Oneiric Ocelot03:36
deviantgeekyeah03:36
TJRanaThese names… geez03:36
TJRanaI'm no expert, but I managed to set up ftp for my server, which I then got rid of and had to start all over.03:37
TJRanaI'll try to help.03:37
TJRanaI don't think there's a guide, but do you use a program to access your server? Like Dreamweaver or something?03:37
deviantgeekwell, its currently running on ESXi (virtulization)03:38
qman__FTP should never be used03:38
deviantgeekif that matters03:38
qman__SFTP is superior in all ways03:38
deviantgeekqman__: then how do I get sftp working03:38
deviantgeekdoes it come with openssh?03:38
qman__apt-get install openssh-server03:38
qman__the default sshd configuration allows all users standard SFTP access to anywhere on the system they have permission03:39
TJRanayeah, go and log onto your server03:39
TJRanatype in "sudo apt-get install openssh-server"03:39
qman__if you need more control, you can configure chroots in the config03:39
TJRanawhat qman__ said03:39
deviantgeekwhat is the default sftp port?03:41
qman__2203:41
patdk-lapit' basically kindof ftp tunneled over ssh03:41
qman__it's actually nothing like FTP on a technical level03:41
patdk-lapya03:41
qman__the command syntax and general purpose are the only similarities03:41
patdk-lapbut only way to explain it easily03:41
patdk-lapit's unlike scp though, that works at the command/shell level03:42
qman__and for good reason, FTP is, was, and always will be a stupid protocol03:42
deviantgeekI currently am using root to login to the SSH, I need full filesystem access though, any way I can do that without root?03:43
deviantgeek*make ssh sftp03:43
qman__why do you need full access?03:43
qman__it's much easier to solve that problem than safely allow full access03:44
deviantgeekwell, so I can edit every aspect of the server from sftp03:44
qman__use ssh for that03:44
deviantgeekok03:44
qman__shell in, do your editing directly on the server03:44
qman__SFTP is for transferring files03:44
=== sixstringsg is now known as sixstringsg|away
deviantgeekqman__: ok03:45
deviantgeekwhat about getting xfce installed?03:45
qman__don't know why you'd want to do that03:46
qman__but you'd do it with apt-get03:46
deviantgeek(just makes moving files around easier, I dislike doing everything through ssh)03:46
qman__just FYI, as a general rule GUIs and the associated packages aren't supported in this channel, since this is the server channel03:47
TJRanadeviantgeek, so you want some type of GUI instead of looking at lines of code?03:47
qman__you'll get more help on that subject in the desktop channels03:47
deviantgeekwell, I do use ssh, but if I need to move lots of files, the gui helps03:47
deviantgeek(Probably because I need to learn more linux commands)03:47
qman__this03:48
patdk-lapheh, I normally drop to a shell to move files around03:48
TJRanadeviantgeek, not when you have some type of FTP or SFTP and a program03:48
patdk-lapgui is so ugly at it03:48
qman__same03:48
qman__file operations are easier from the shell03:48
deviantgeeksftp works too.03:48
deviantgeekqman__: I download everything from shell03:48
TJRanadeviantgeek, you can use Dreamweaver, and it's great for moving lots of files03:48
deviantgeekwget is awesome03:48
qman__I do most of my work in the shell, only reason I have a GUI is for easier web browsing and such03:48
patdk-lapI use gui to manage my xterms :)03:49
TJRanadeviantgeek, I use Dreamweaver all the time and it's a great and powerful tool03:49
deviantgeekDreamweaver looks good03:49
TJRanadeviantgeek, do you have dreamweaver?03:49
deviantgeekyeah03:49
TJRanadeviantgeek, then use it! lol03:49
deviantgeekI use filezilla for all my sftp03:49
deviantgeektoo lazy to set up dreamweaver03:49
qman__I usually use scp03:50
patdk-lapI normally use rsync03:50
TJRanasame difference03:50
TJRanait doesn't really matter, you still get the point03:51
patdk-lapunison?03:51
TJRanadeviantgeek, what's the point of putting a GUI on the server when you have something like filezilla?03:51
qman__precisely, GUIs belong on desktops, not servers03:51
qman__with the exception of LTSP and similar03:52
TJRanayeah, putting a GUI just slows the server down03:52
TJRanauses more memory and whatnot03:52
Resistanceanyone able to help me diagnose fcgiwrap / spawn-fcgi when trying to run the apcupsd cgi scripts (for internet monitoring of the apcupsd status data): https://pastebin.com/tBTPSeSg03:53
patdk-laphmm? cgi isn't fcgi compatable03:54
Resistancepatdk-lap:  give me a working nginx & cgi setup then03:55
patdk-lapheh?03:55
patdk-lapcgi is so straight forward, there really isn't any setup needed03:55
Resistancepatdk-lap:  okay, you're no help...03:56
Resistancepatdk-lap:  nginx has no ootb support for serving CGI content03:56
patdk-lapnope, I don't do nginx03:56
Resistancetheir examples and their wiki said to use fastcgi / fcgiwrap to serve cgi content03:56
Resistance*grumbles something about downsides to nginx*03:56
patdk-lapwell, why not use a webserver that supports what you mean?03:56
patdk-lapI don't get why people attempt to shove square box's though round holes03:57
Resistancesystem resources are the issue03:57
Resistanceapache's too mem-intensive03:57
patdk-lapthat is 2, out of atleast 100 webservers03:57
Resistance*yawn* cba to try *all* of them03:58
Resistance*goes back to testing package backports*03:58
qman__you have to be dealing with a huge volume for that to matter03:59
qman__I've been using apache for years and never had a problem with its resource usage03:59
Resistanceqman__:  did i mention this is a 128MB RAM VM?04:01
Resistance:/04:01
patdk-lapunless you really messup the apache config, it should only need 20megs of ram, or so04:01
qman__yeah04:02
patdk-lapmuch more than nginx at 3megs or whatever it is04:02
Resistancethere's not even 10 megs available atm :/04:02
Resistanceanyway its not super important, i've got other things to be fixing/testing anyways04:02
patdk-lapI would say, install lighttpd04:02
qman__personally I'd just get more RAM04:04
qman__not worth the hassle04:05
TJRanaI'm going to leave now. I might be back later. Bye everyone. And Merry Christmas!!!!!04:05
qman__don't get me wrong, I appreciate efficient software04:05
qman__but time spent working on it is valuable too04:05
patdk-lapheh04:06
patdk-lapdunno, I've been running lighttpd since 200604:06
patdk-lapswitch off between it and apache often, depending on needs04:06
qman__I've just been using apache since forever, and I don't know anything else04:07
qman__even if it was a couple bucks a month on a hosted VPS, I'd pay it, not worth the time learning a whole new package to solve a problem I already know how to solve04:08
patdk-lapfor me, defently a performance issue04:08
patdk-lapatleast one place I switched it too04:08
qman__on the other hand, if it's a genuine performance problem, it'd be worth looking into04:09
patdk-lapsomething in apache kept going nuts and using 400mb ram, randomly04:09
patdk-lapbut normally unless there is something I specifically need apache for, I use lighttpd instead04:09
=== Guest73636 is now known as shadowe9899
TJRanaHello, now I am stuck setting up ubuntu. I wanted to make a DNS Server so I am using the following website for a step-by-step tutorial: http://www.server-world.info/en/note?os=Ubuntu_11.04&p=dns&f=1 The only problem is I don't know what my global IP address is in brackets. I do know my global IP adress but not the one in brackets. And what is my private IP adress? and what would it look like in brackets?07:04
TJRana Thank you.07:04
twbAre you using 11.04?07:04
TJRanano I'm using 11.1007:04
twbThen why are you reading documentation for 11.04?07:05
TJRanaI had to compromise, and I was hoping the code would be similar so there would be little to no difference07:05
twbHave you tried the 11.10 server guide?07:05
TJRanaand there aren't many tutorials out there… the server guide?07:05
twbhttps://help.ubuntu.com/11.10/serverguide/C/07:06
twbIt's mentioned in the /topic07:06
twb(That's the thing at the top of the screen, that you're supposed to read before commenting)07:06
TJRanaoh that… one…07:06
TJRanaI'll take another look and see what I can do.07:07
twbOf course if you have read that and are still having problems, then we can talk abut it07:07
TJRanaHi um, I have a question. How do I find the IP Address of my ISP's DNS servers?07:22
TJRana*IP addresses07:22
twbCall your ISP's tech support07:22
twbIf you have working internet elsewhere, google for "<ISP name> nameserver" or something07:23
TJRanaokay07:23
twbThere's no form of in-band discover of nameservers out on the internet07:23
twb(DNSSD/MDNS, but that doesn't normally propagate across routers.)07:24
TJRanaokay so I got more information07:29
TJRanaISP : Optimum Online07:29
TJRanaHost : ool-44c5ee43.dyn.optonline.net07:29
TJRanaThat's all I know07:29
twb18:22 <twb> Call your ISP's tech support07:30
TJRanaI have another question07:32
TJRanaSee on the following page: https://help.ubuntu.com/11.10/serverguide/C/dns-configuration.html it says that07:32
TJRana"The DNS configuration files are stored in the /etc/bind directory. The primary configuration file is /etc/bind/named.conf."07:32
TJRanaNow, there are probably changes made to those configuration files… so how do I restore the default files?07:33
twbpurge and install the package07:34
twbAnd learn etckeeper and git so you can avoid that next time07:34
TJRanaokay07:35
twbWhy do you want a DNS server07:36
TJRanaum……..............07:37
TJRanawait, what does a DNS server do again?07:37
twbServes a zone to DNS clients.07:38
TJRanaum… Okay, so I used to use a free hosting server and I thought it would be more efficient if I had my own server, so I wouldn't have limitations to a bunch of stuff07:39
twbIf it's an authoritative nameserver.  If it's a caching resolver, then it basically acts as a proxy for name resolution requests between clients and authoritative servers (or other resolvers).07:39
twbTypically a home network will have a caching resolver in the router, and at the ISP, and that will talk to the various authoritative servers out on the internet.07:40
TJRanaso I thought maybe I needed to do a bunch of stuff to the server… like NTP, SSH, DNS, DHCP, Virtualization, NFS, NIS, LDAP, WEB, database, FTP, MAIL, Samba, Proxy, Desktop env to the server07:40
twbUnless you own a domain like dick.head.name or example.net, you do not need an authoritative nameserver.07:41
TJRanaoh07:41
TJRanaso a dns server is unnecessary?07:41
twbA network should have at least one caching resolver, but your ISP typically provides this for you.07:41
TJRanaI own a domain. It's tjrana.com07:41
TJRanaSo since I own a domain, it's necessary?07:44
twbOr you could just pay someone like zoneedit to host it for ou07:49
twbWhich for one domain will be $0/mo07:49
TJRanaokay I went onto zoneedit.com and signed up07:51
TJRanawhat do I do next?07:53
TJRanaWhat is a zone name?07:55
TJRanaI keep on getting the same error, I got it before.08:03
TJRanahttp://paste.ubuntu.com/783147/08:04
TJRanahttp://pastebin.com/TFSL4tsz08:06
TJRanaHello?08:11
TJRanatwb are you there?08:11
arooni-mobilefor some reason i'm kinda locked out of my server... i could ssh into before rebooting... now i see: https://gist.github.com/1520745 ... when i try to connect.  i didnt change ssh or anything as far as i know08:21
lalagirlis anyone there?09:14
=== onre is now known as Guest21359
linxehIs there a recommended RADIUS server package to use on Ubuntu LTS? Is FreeRADIUS the way to go?13:16
=== Guest48061 is now known as robglas
arooni-mobilehi folks; for some stupid reason i can't ssh into my server; so the server support people gave me access to KVM.  how can i use KVM in orerder to recover my server and be able to SSH into it again?  running ubuntu 11.10.  i have an admin account and a root account but I believe i have disabled root login via ssh15:18
raubvogelarooni-mobile: can you vpn into your server's console?15:19
arooni-mobileraubvogel, this is what i have access to now: http://global.avocent.com/us/olh/dsr/v_3.7.1/global/en/index.html15:21
arooni-mobilenot sur eif thats different than kvm15:21
raubvogelOh15:21
raubvogelso by KVM you mean the switch, not the emulator :)15:22
StevenRarooni-mobile: can you login to the server using the KVM ?15:22
arooni-mobileim not sure how to use the switch software i have now to connect ot the server15:23
arooni-mobileany suggestions?15:23
raubvogelarooni-mobile: Take a look under "The Video Viewer->Launching a KVM Session"15:23
raubvogelIn http://manpages.ubuntu.com/manpages/oneiric/man5/nss_ldap.5.html they mention some features require schema  mapping  support. How to find out if the libnss-ldap package has that?15:26
arooni-mobilehi folks; for some stupid reason i cant ssh to my server:  https://gist.github.com/1521495 ... no idea what to do now.16:11
SpamapSarooni-mobile: your key may be in the wrong format, ssh-keygen can convert it16:22
SpamapSarooni-mobile: man ssh-keygen16:23
arooni-mobileSpamapS, key on the side trying to connect?16:25
qman__you're not supposed to include the ----BEGIN---- -----END---- lines16:32
qman__but yeah, it could be totally wrong16:32
qman__take that back, id_rsa does have those16:34
qman__thinking of authorized_keys, which has a one key per line format16:34
raubvogelarooni-mobile did you try to ssh -vvv and watch the messages?16:39
arooni-mobilei have done that yes16:47
arooni-mobilethis is sooo weird16:47
arooni-mobileeverything was setup on the server16:47
arooni-mobileand alli did was reboot it to test it16:47
arooni-mobilewaiting on a kvm recovery session16:47
arooni-mobilededicated server support people claim they can ssh with same creds16:47
arooni-mobile__hi folks;  i'm trying to ssh into my server; but when i use the correct username17:20
arooni-mobile__nothing happens17:20
arooni-mobilere-setting up my ssh config.  is there any problem with putting the SSH port at 22222 ?17:33
uvirtbotNew bug: #908824 in openvpn (main) "Unable to connect to VPN as a non-admin user" [Undecided,New] https://launchpad.net/bugs/90882417:36
uvirtbotNew bug: #908833 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/90883318:16
JoshuaPHow do I keep the SSH MOTD from updating itself?19:03
smwJoshuaP, I think it is a cron job.19:04
smwJoshuaP, it uses /etc/motd.d or something like that, let me check19:04
JoshuaPk19:05
smw/etc/update-motd.d/ controls it19:06
smwyou may want to leave it and just change the footer19:06
smwthat is what I do19:06
JoshuaPOkay19:08
JoshuaPDoes that make the MOTD not update?19:10
rbasakI think /etc/motd is a symlink and if you replace it with a normal file then it won't auto-update. IIRC. I may be wrong.19:21
JoshuaPWhen I put my own text in there, it earases.19:25
rbasakHave you replaced the symlink with a normal file?19:29
JoshuaPHow do I set write permissions of a file to a user?19:44
=== Hetep-AFK is now known as ReshAyin
=== mrmistletoe is now known as mrmist
koolhead17hi all23:15
Warp4hi23:17
koolhead17supp Warp423:18
Warp4not much23:18
Warp4just sitting on the channel in case i or anyone else needs help :)23:18
koolhead17Warp4, great. ^^23:19

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!