/srv/irclogs.ubuntu.com/2011/07/31/#ubuntu-server.txt

=== bhook is now known as Coder7
=== N is now known as Guest51785
=== Guest51785 is now known as Bystander
pukekohi all - i want to tunnel an rdesktop over ssh but my sshd runs on a non standard port whats the syntax for this please ?01:27
jmarsdenpukeko: add -p YOURPORT  to the ssh command that will do it for an sshd on the standard port.01:30
Delerium_pukeko, check this: http://www2.informatik.hu-berlin.de/~jbirkhol/rdesktop-math.html01:30
Delerium_pukeko, and add the -p swtich for your sshd port01:30
pukekohmm ok cool ... what if the rdesktop is also on the sshd ( example a VM host ) ?01:34
Delerium_pukeko, can you describe the network flow please? (ie: Client -> sshd (port?!) -> where the rdesktop server is / where the rdesktop client is...01:36
pukekobrb01:36
pukekook...server which is a VM-Host runs sshd -p 8165, i want to connect to a VM running in the same box via rdesktop port 3389  ( over the ssh connection/tunnel )01:42
Coder7ssh -p 8165 -D 8080 <user>@<vm-host-IP-address>01:44
Coder7if your rdesktop supports a socks proxy01:45
Coder7otherwise: ssh -p 8165 -L 8080:<vm-host-IP-address>:3389 <user>@<vm-host-IP-address>01:46
Coder7first one sets up a socks proxy on local port 8080. Second sets up a local tunneled port forward on 808001:47
pukeko2nd looks good to me...01:47
pukekobrb01:47
pukekocoder7: think i'll have to check my sshd_config  : )01:52
Coder7why?01:53
Coder7pukeko: if you can ssh into it, then your config should be fine01:53
pukekomay have some things turned off01:53
pukekoBBL02:00
owen1I use alternate cd (rescue mode) to install ubuntu. here is the error i get: 'An error occured while mounting the device you entered for your root file system(/dev/sda1) on /target. please check the syslog for more information'.  here is the last part of my syslog: http://pastebin.com/iAqPQRjG02:39
owen1here are some errors I see there: FATAL: Module ext2 not found. and this one: umount: can't umount /target: Invalid argument02:39
Coder7owen1: you used rescue mode to install? huh?02:46
owen1Coder7: i tried rugular cd but it just froze02:49
Coder7owen1: okay, but you still can't use rescue mode to install02:50
Coder7owen1: you use the alternate CD, that's fine, but you use it in install mode02:51
Coder7owen1: it has been a while, but iirc the alternate cd just runs the install without loading the Gnome desktop02:52
Coder7owen1: rescue mode will not work on a machine that has never had ubuntu successfully installed02:54
owen1Coder7: oh.02:57
owen1Coder7: every time i try regular install. the cd rom spinns for a minute but than stopps02:58
Coder7owen1: there are probably some boot options you can pass to get the disk to boot on your hardware02:59
Coder7owen1: what version of ubuntu02:59
Coder7?02:59
Coder7owen1: and what kind of hardware?02:59
owen1Coder7: it's a an old sharp - http://pastebin.com/8A6urLcw03:02
Coder7owen1: and which version of ubuntu?03:05
owen1Coder7: your advice was great. i tried the regular install option and it works. i guess i had to be patient.03:18
owen1it's not the latest so i might need to slowly upgrade, or burn the latest cd.03:18
owen1i guess when it's done i should install xubuntu-desktop or whatever desktop environment i want.03:19
owen1i wonder if it comes with xorg.03:19
Coder7owen1: I was actually going to recommend you NOT run the 11 series03:21
Coder7I've had a horrible time with it... 10.04 LTS seems better supported03:21
owen1Coder7: ok. thanks!03:21
Coder7I just downgraded my cloud after a week of having absolutely no luck with 11.0403:21
owen1Coder7: xubuntu or ubuntu, server or desktop?03:26
Coder7owen1: for me? ubuntu server03:35
owen1Coder7: what issues did u have with 11.0403:40
bkerensaHi All06:53
bkerensa:)06:54
erichammondbkerensa: 'lo07:18
bkerensaerichammond: Hi :)07:21
KGB_plagueplease PM me if theirs an APP to host a VPN server guys , my friend pings the game server that we play in 150ms , but I ping the game server 30ms , however my friend pings me 10ms from hes home to my home , so i would like to host a VPN server for him so he can be routed to me to join the game server with 40ms instead of 150ms ( 10ms to me + 30ms from me to game server = 40ms for him )08:17
bkerensaKGB_plague: Did you need some help? There are quite a few VPN solutions available depending on your needs and preference08:20
KGB_plaguebkerensa, im in the UAE , i have VPN solutions for Europe , but the case is not for Europe ,  the case is for joining a game server to india , its a diffrent story , theirs no VPN solution to india , luckily the game server provider have made dedicated routing to my ip address and thats why i ping it 30ms from my home , sadly Dubai pings it 150 , im in Abu Dhabi , however Dubai pings Abu Dhabi 10ms , so the only solution is if i host a VPN serve08:24
KGB_plaguer for my friend to connect through me to join the game server , i know how VPN works because i have purevpn to play WOW in European servers with 150ms instead of 350ms , this case is not the issue , the case i need is the question i mentioned above08:24
nickmoeck_KGB_plague: OpenVPN might be suitable for your needs08:25
KGB_plaguei need a GUI app for Gnome Desktop ubuntu which i can make a use of in an easy environment , like running a dedicated server of Quake3 forinstantce or Counterstrike , so people can use the service easily by opening a VPN client connection from their windows and connect through me when i enter the settings from the GUI server VPN like user abc pass abc then < my ip >08:25
KGB_plaguenickmoeck_, i have tried Teamviewer VPN GUI which is built in the software sadly it uses a VPN server from Teamviewer then to me instead of me being the server for the client08:27
nickmoeck_KGB_plague: OpenVPN is my recommendation.  It's secure, reliable, and pretty easy to set up. Unfortunately, I don't think there's actually a GUI for it - I know I've never used a GUI for it.08:29
bkerensaKGB_plague: I concur with nickmoeck_'s suggestion OpenVPN is a good choice.08:30
KGB_plaguenickmoeck_, if i do a VPN server with OPEN VPN software , will it let my friend connect to OPEN VPN server < IP > then from their to my < server > ? that adds extra ping dont u think?08:30
bkerensaKGB_plague: Yeah the way your explaining things it would seem VPN would potentially add latency to the equation unless I'm misreading08:31
KGB_plaguesorry coz i used teamviewer and it have put my homes down in understanding how the system works08:31
KGB_plaguehopes*08:31
KGB_plaguei mean when i host OPENvpn server , my computer must connect to the OPENVPN corporation  server? and when clients like my friend trying to connect through me , they have to bypass through OPENvpn corporation server then to my openVPN server?08:32
nickmoeck_KGB_plague: OpenVPN is a VPN program that you run on a computer that you own/operate. You install OpenVPN, and they install OpenVPN, and they connect from their computer directly to yours08:33
KGB_plague<308:33
bkerensaKGB_plague: OpenVPN is a application which you run and then a client connects via the VPN08:33
nickmoeck_There's no central server that they have to go through like with Teamviewer08:33
bkerensayep08:33
KGB_plaguenickmoeck_, thanks , i got brainwashed abit from my phobia and stressing nerves when trying softwares that all failed to correspond my idealogy which is logical as you mentioned thankyou =)08:34
bkerensaKGB_plague: I honestly thing you will add more latency to the equation unless you reduce hops and latency somehow by using the VPN? My experience has been that bandwidth is pretty low quality in India so it could just worsen the latency you are already encountering08:35
KGB_plagueil test it out =) and Thanks alot , btw i am from UAE and from time to time ,i have small tasks for my HUBANME? community theirs no site right now , HUBANME? means HUB-Asia)_N_(MiddleEast , if your interested please add me , the tasks are some programming / game scanners etc..08:36
KGB_plaguebkerensa,  i ping india game server 30ms from my home im on fibreoptics 50MB line , my friend is on Fibreoptics 16mb and hes a city beside Abu Dhabi which he ping me 10ms , however my friend pings india server 150ms , so if he pings me 10ms he goes throguh me then gets my 30ms that i ping to that server which is 10 + 30 = 40ms08:38
bkerensaKGB_plague: In that case VPN could/should reduce latency for you08:39
KGB_plagueu get my point , i am paying 200$ a month for dedicated routing from the game server GSP to my ip08:39
bkerensayeah08:39
KGB_plagueand whenever my ip changes i just sms them my new ip and they update it for me=)08:40
KGB_plaguethanks bkerensa08:40
bkerensaKGB_plague: No problem08:40
bkerensaGood night all08:41
KGB_plaguegn08:41
proliantehy anyone stay on line ossia cìè qualcuno ?????09:06
Corey!it | proliant09:06
ubottuproliant: Vai su #ubuntu-it se vuoi parlare in italiano, in questo canale usiamo solo l'inglese. Grazie! (per entrare, scrivi « /join #ubuntu-it » senza virgolette)09:06
proliantI speack english also I need support about linux ubuntu server edition 8.04 lts I install the OS now I have the command line at the start-up... The question is which is the command for install a graphic user interface ?????  for example gnome09:11
CoreyThat's not really a part of Ubuntu server; ask in #ubuntu09:12
IdleOnesudo apt-get install ubuntu-desktop09:12
IdleOneCorey: he is banned in #ubuntu09:12
IdleOnefor ban evasion no less09:14
CoreyIdleOne: Ban status in other channels doesn't change the purpose of this one. :-)09:14
IdleOneCorey: true09:15
IdleOneso now that he has the command to install a GUI he should be all set and not have any other questions in here09:15
oCean!google | oCean09:39
ubottuoCean, please see my private message09:39
g0t_Results for | oCean on Google:09:39
g0t_--09:39
bugbrainsi am getting 502 gateway time-out when installing any packages using ubuntu 10.04 server12:49
bugbrainsboth apt-get and aptitute12:50
johndoe273hello12:56
johndoe273folks12:56
johndoe273kurze frage12:56
johndoe273kann man durch apt oder aptitude die quelle eines bestimmten pakets ermitteln12:57
johndoe273hab kurz gegugelt, jedoch nichts gescheites gefunden12:57
bugbrainsubuntu 10.04 server lucid12:57
bugbrainserror when installing any packages using aptitute or sudo apt-get12:58
johndoe273what kinda error?12:58
bugbrains504 gatway time -out12:58
johndoe273have you checked your connection12:58
johndoe273does pinging work12:59
johndoe273ping google.com or whatever works?12:59
bugbrainsyes i can access server from my room remotely12:59
bugbrainsand server is also up12:59
johndoe273so lan is okey12:59
johndoe273but have you tried ping from your server12:59
bugbrainsyes13:00
johndoe273and its ok?13:00
bugbrainsping google.com is working13:00
johndoe273aptitude update?13:00
bugbrains1 min13:00
bugbrainsit s saying waiting for headers and finally same error13:02
johndoe273and both of them do have the same issue?13:02
johndoe273apt-get and aptitude?13:02
bugbrainsyes13:02
johndoe273hmmm13:05
johndoe273any firewall running somewhere13:05
johndoe273on the machine or on the lan?13:05
bugbrainsnot in my server13:06
bugbrainslan may be i am not sure13:06
bugbrainsbut before i installed packages using apt-get from server13:07
bugbrainsbut it was karmic13:07
johndoe273ok13:07
bugbrainsafter upgrading to lucid i cant install any..13:07
johndoe273do you have iptables running on your server?13:08
bugbrainsyes13:08
johndoe273did alleady disable it for a check?13:08
bugbrainscan you tell me how13:08
johndoe273#/etc/init.d/iptables stop13:09
bugbrainsdone13:10
johndoe273and now aptitude update13:10
bugbrainssudo: /etc/init.d/iptables: command not found13:11
johndoe273it seems to work different on debian/ubuntu13:13
johndoe273try the following13:13
johndoe273http://www.cyberciti.biz/faq/turn-on-turn-off-firewall-in-linux/13:13
johndoe273look for other systems13:13
johndoe273there you have debian/ubuntu13:14
johndoe273do the steps one after another13:14
johndoe273hey guys13:15
johndoe273anyone knows how i can find out the source of a specific package in ubuntu13:15
bugbrainsjhondoe273: did u mean dpkg -L gedit13:18
bugbrainsi stopped iptables and done aptitude update but same error13:19
bugbrainshey johndoe273: i solved it changed the proxy settings in /etc/apt/apt.conf13:29
bugbrainsyou quick and nice help is appreciated13:29
args[0]Hi, I have a VPS server running ubuntu 10.04, having some problems with PHP.. i installed it but doesnt seem to run from /var/www, no idea why, hope somoneone can help, thanks!16:13
dyingprismis there a website other than browsershots.org that i can use to quickly check if my site is working externally?16:13
StevenRargs[0]: what did you install?16:18
args[0]StevenR: LAMP server16:20
args[0]LAMP*16:20
ChmEarlargs[0], pastebin grep -ir php /etc/apache2/*16:27
args[0]ChmEarl: http://pastebin.com/XPS9dDbd16:29
ChmEarlargs[0], you have no default site configured here: /etc/apache2/sites-available/default16:30
ChmEarlargs[0], you have php turned on for ssl and https16:32
args[0]ChmEarl: actually it just worked, created a test.php file and it did output the phpinfo()16:33
args[0]what do you mean by default site? isn't var/www the default location?16:33
oCeanargs[0]: don't crosspost in multiple channels16:33
args[0]oCean: no one answered here at first16:34
oCeanyou took a whole of 4 minutes to wait for an answer.16:36
oCeandon't crosspost, it's simple16:36
args[0]Maybe minding your own business is simpler for both you and me16:40
args[0]I'd like to stream my own music from my VPS, any software recommendations? thanks17:08
Jareargs[0]: ampache17:30
StevenRargs[0]: I use MPD17:30
args[0]Jare: does ampache play FLAC?17:31
args[0]MPD does17:31
bkerensaargs[0]: Did you get your apache issue sorted?17:32
args[0]bkerensa: yes, I did thanks for asking17:32
bkerensaExcellent :)17:33
args[0]StevenR: does MPD work fully from CLI?17:34
args[0]StevenR: I just have ubuntu server cli installed on my vps17:34
StevenRargs[0]: I think there are CLI control programs, though you can run the control program on your desktop17:34
args[0]StevenR: what is a good control program for MPD?17:35
StevenRargs[0]: I use GMPC17:35
StevenRand vlc to listen to the http stream on my laptop17:35
args[0]StevenR: thank you17:36
=== erichammond1 is now known as erichammond
Jareargs[0]: yes it does and it can do realtime transcoding too. The web-ui flashplayer supports only mp3 though..17:41
args[0]I have a 256MB RAM VPS, can it handle it? Jare StevenR17:42
StevenRyou'll have to try it :) (it's really quite simple to set up).... make sure you look at how much bandwidth you're using (I only use it over LAN, so I haven't looked to closely at how much BW is used)17:45
Jaredunno. Why not just try it? It's only a package of PHP scripts17:45
qman__if it's all php, then it will17:45
qman__because by default PHP only has 16MB to work with17:45
args[0]qman__: oh ok, thanks for your input17:46
args[0]im already over 70% of RAM, will try it out17:46
StevenRargs[0]: I don't think mpd is php17:47
qman__yeah, it probably isn't17:48
qman__wasn't following the whole conversation17:48
Jarewell i was talking about Ampache, mpd is a totally different thing17:48
qman__still, decoding music isn't exactly a memory heavy operation17:49
args[0]qman__: but I will be working with FLAC files which are huge and have high bitrates17:55
qman__yes, but it doesn't load the whole file into memory to decode17:56
qman__it buffers it17:57
args[0]StevenR: qman__: Jare: can I use just mpd and grab stream with VLC?18:09
StevenRyou'll need a control application too18:09
args[0]StevenR: to control the stream..18:10
StevenRto control playback, like pausing, etc.18:10
StevenRchanging track18:10
args[0]FLAC files will be saved on server but can be seen using the control to choose what to play on buffer, is that it?18:10
yann_Hello! I've got a server whose clock appears to be "stuck", it litteraly goes from 19h08m36s to 19h08m42s and then back to 19h08m36s in some sort of eternal loop (turned ntp off to make sure that wasnt making it crazy)  http://pastealacon.com/2821218:10
yann_any idea warmly welcome, this won't work too well with samba&ad integration :(18:11
RoyKyann_: a VM?18:11
yann_not even18:11
RoyKis ntp installed and setup correctly?18:12
yann_had ntpd yeah, actually noticed the error when nagios suddenly notived me of a 1300sec clock drift...18:12
RoyKwhich check did you use for that?18:13
yann_uh, can't remember18:13
yann_but even an inappropriate check won t make the clock go backwards will it... :/18:14
JanCsounds like multiple things trying to set the time?18:14
RoyKno, just curious18:14
yann_mmh restarted the box now it's stuck, great18:14
yann_RoyK, give me 2secs I ll find out18:14
RoyKyann_: what does hwclock have to say?18:14
yann_check_ntp_time18:16
RoyKk18:16
RoyKthanks18:16
RoyKdidn't know that one18:16
* RoyK reconfigures Icinga18:16
yann_RoyK, > I'm afraid we'll have to guess blind now :( machine down, won't come up again, and got no ilom on this, so will have to wait for tomorrow and someone nice enough to press the button :(18:17
RoyKwhat happened?18:18
yann_stupid windowsy reflex I guess, tried to reboot it to see if that would fix it :/18:19
yann_I ll keep that as a proof that usually in unix world, rebooting actually makes things worse18:20
RoyKusually it doesn't18:21
RoyKif the box didn't come up, then it smells to me like hardware failure18:21
RoyKat least if you didn't change anything18:21
RoyK 20:21:53 up 573 days,  3:38,  1 user,  load average: 0.09, 0.11, 0.0418:21
skxhey, are there any decent irc services (anope, atheme...) available in the repositories or from a trusted ppa for maverick and up? atheme was available for lucid but now it's gone18:22
yann_oh well at least it'll make a point to my argument that boxes over 10 years should be replaced...18:23
RoyKheh18:23
yann_although this one might not be that old :)18:23
RoyKyeah18:23
RoyKwe had an old SPARC machine from 1999 or so, dual 360MHz CPUs18:24
RoyKwhen it eventually died after a power failure, we were quite happy to replace it :)18:24
yann_got servers from 2001 with win2k powering our active directory :/18:24
RoyKhehe18:26
qman__yeah, something like that, I'd definitely say hardware failure18:26
qman__clocks don't just do that for no reason18:27
qman__might be some weird hardware bug too18:28
qman__time overflow18:28
RoyKhuh?18:33
RoyKit's not 2037 yet18:33
dominicdinadaquick question, where in mysql is the settings to allow remote hosts to access the server.... i have a laptop and i had it set to the old laptop IP but since then my laptop ip has changed and i am unable to login19:33
RoyKbind-address in /etc/mysql/my.cnf19:38
RoyKand then you need to grant blah to blah@somehost identified by 'password';19:38
RoyKfor a developer/admin, grant all to blah...19:39
RoyKthat is, for a developer, grant all... for an admin grant all to user@somehost identified by 'password' with grant option;19:39
dominicdinadaRoyK:  All my confs are gone19:44
dominicdinadai cant login from any of the machines, this is a headless server :/19:45
RoyKdominicdinada: erm - what happened?19:50
=== vDubG is now known as vDubG__Gone
dominicdinadaRoyK: nothing really19:54
dominicdinadajust havent logged in in along time hmm19:54
dominicdinadaRoyK: it must be to do with phpmyadmin20:05
draikHello everyone. I installed apache and php on my desktop so I can test something, but now want to remove it. I went through the process of removing and purging the apache2, apache2.2-common libapache2-mod-php5 packages, but I still have the configs.20:23
draikHow do I completely remove apache2 and PHP?20:23
RoyKdominicdinada: phpmyadmin doesn't have rights to touch what's under /etc/mysql20:23
RoyKdraik: the usual way is apt-get remove --purge20:23
=== zz_ng_ is now known as ng_
RoyKdraven: but it may leave some config files behind - those won't hurt much, though, and you can just delete them manually20:24
draikRoyK: I did that with apt-get and aptitude. Says it is removed, but configs are still lingering.20:24
RoyKthey probably won't fill up your disk :P20:24
draikOh, OK. I will just remove them20:24
draikI didn't want to brick the desktop in removing a crucial library or something of the sort.20:25
RoyKdraik: check if you have packages like mysql-common installed20:25
RoyK-common packages may contain those config files20:25
dominicdinadaRoyK: right but i have no access to phpmyadmin20:27
* RoyK has no idea20:27
RoyKnite, guys20:28
lifelessSpamapS: in your lxc branch...20:32
lifeless+N  ensemble/providers/common.py.THIS.THIS20:32
lifeless+N  ensemble/providers/lxc.py20:32
lifeless+N  ensemble/providers/tests/test_common.py.THIS.THIS20:32
lifelessSpamapS: I think that that is unintentional :P20:33
draikAny issue with nuking /etc/apache2 and /etc/php5 ?20:38
ikoniayes20:39
ikoniadraik: they are important20:39
draikThis is on my desktop and I'm not using them. It was just to test something.20:40
ikoniadraik: why don't you just remove the packages20:40
draikI did20:40
Davieydraik: try purging20:42
draikDid that, too20:42
draikapt-get and aptitude20:42
nigelbthen nuke away (after taking a backup of course)20:42
Davieydraik: apt-get remove --purge apache2 (or variant) )should remove the confs.20:43
draikDaviey: Keyword there is "should"20:43
draikBut it didn't :(20:43
draikI also just removed apache2 from rc.d20:44
draikupdate-rc.d -f apache2 remove20:44
nigelbwait, did you install those with apt-get ?20:44
draikYes20:44
Davieydraik: If it didn't, then it's a bug. :)20:44
lifelessSpamapS: ping21:20
lifelessSpamapS: the storage-directory param to lxc probably wants a sane-default.21:22
lifelessSpamapS: (or to be listed in optional)21:22
=== med_out is now known as medberry
=== Patrickdk_ is now known as PatrickDK
=== koolhead171 is now known as koolhead17
uvirtbotNew bug: #819040 in lxc (main) "cannot find archive-keyring making onieric guest" [Undecided,New] https://launchpad.net/bugs/81904022:42
=== ng_ is now known as zz_ng_
uvirtbotNew bug: #819044 in puppet (main) "puppet in natty can't enable services" [Undecided,New] https://launchpad.net/bugs/81904423:06

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