/srv/irclogs.ubuntu.com/2010/02/21/#ubuntu-server.txt

skuldGoddesscan anybody help me with spamassassin + postfix?00:51
uvirtbotNew bug: #525109 in postfix (main) "while abort an installation process" [Undecided,New] https://launchpad.net/bugs/52510901:41
uvirtbotNew bug: #523862 in postfix (main) "package postfix (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/52386202:51
=== dendrobates is now known as dendro-afk
=== jasonb_ is now known as jasonb
ChmEarlnam-myoho-renge-kyo07:26
ChmEarlciao07:26
sacardehi10:30
sacardeI try to configure xdmcp on ubuntu8.4server10:31
sacardeI installed xorg + fluxbox + xdm10:31
sacardesomeone experienced with this?10:32
Callum__http://repos.srb2.org/HNI_0079.JPG my baby10:39
mealstromyou should use some extra light sources or blink :P10:42
Callum__heh, it doesn't stay there, I just pulled it out there to do a decent wiring job...notice you can10:42
Callum__'t see much wires in that photo =P10:42
Callum__they're all tucked around the nooks and crannies of the rack for maximum airflow and that shit...most of the time right now that rack sits in a toilet with a fan in it, it has to be there for the moment because we are moving it downstairs in the building in a couple of months time but we have to have SOMEWHERE to put it where we can minimize the noise10:44
Callum__the loudest thing on that rack by far is the radio transmitter (the big thing up the top)10:44
Callum__drowns out the servers, hard drive enclose and the signal exciter (machine below the transmitter) noise quite easily10:44
Callum__enclosure*10:45
Callum__http://repos.srb2.org/HNI_00030.JPG =P10:46
Callum__http://repos.srb2.org/HNI_00020.JPG the UPS (1500VA) is under max load with everything turned on10:48
Callum__the servers (and the computers being served by it) all run Ubuntu10:48
Callum__those two machines running Server Edition 9.10, one running general-purpose 9.10 and two running Ubuntu Studio10:49
mealstromnice, any portable diesel generator at backyard?10:49
Callum__no unfortunately, we don't have the money for anything flash like that as we're a non-profit organisation with most of our equipment being donated =P the radio-related stuff is brand new though10:51
Callum__however if power does go out, the UPS should hold everything for about 30 minutes.... I don't need so much time as I live pretty much 30 seconds away =P10:52
mealstromwe ve got 4 UPS 1000(VA) for about 2-3 hours with no power plugged. But when light goes away for 4 hours -- its disaster. And we cannot put there some diesel generator cos of "close distance to houses" too much noice at 2 a.m. or so10:53
Callum__I see... we're the same, the radio station (where that rack is located) is in the middle of a shopping center10:54
Callum__you would think with car engines being so quiet they'd have quiet generators too10:55
mealstrommy friend has got 2.4 kV generator ... it sounds like a tank10:56
dotancohen_You can put a muffler on a generator10:56
dotancohen_I don't know why they don't come with them, though10:56
Callum__Yeah...10:57
dotancohen_It doesn't kill the power really, but it is a bit expensive considering the cost of the whole thing10:57
dotancohen_And it takes a bit of space, and it gets _hot_10:57
Callum__2.4kV is somewhere between 5-10hp =P or something10:58
dotancohen_By the way, car engines aren't really so quiet. Open the hood and pull some of the plastic away. If it's got a chain driving the cams, it's loud10:58
mealstromyes. it is cheaper to buy another 4 UPS.10:58
mealstrombut we work with wood and there is some rules with fire protection. And we should put them backyard or something like that/10:58
mealstromcar engines with air cooling ? )10:59
Callum__heh10:59
mealstromthey sounds like tank too )10:59
Callum__well, they're quiet considering what little cars do to drain the noise outside10:59
Callum__generators could have endless amounts of soundproofing and exhaust muffling on them without any problems11:00
maxagazhow to check on which /dev is assigned my webcam ?11:00
mealstromlshw -short ?11:01
sacardecan you help me to configure xdmcp on ubuntu-server?11:01
maxagazmealstrom, no...11:04
maxagazdmesg returns this : /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input10 when i plug it11:06
mealstromg  dmesg | less11:07
mealstromoh11:07
mealstromlook here dev/v4l/by-id11:09
mealstrom/dev/11:09
mealstromand check /dev/video011:10
Malekocan anyone give me a iptable rule to limit the number of outgoing connection to particular ip destination11:34
Davedancan I rotate a log file maunally?11:53
sacardecan you help me to configure xdmcp on ubuntu-server?12:22
twbsacarde: X -query <terminal-server's-ip>, you're done.12:32
sacardeI try this12:32
sacardebut i dont view anythings12:32
twbAnd what did the logs say?12:33
sacardeI use ubuntuserver as server12:33
sacardeI configure xdm12:33
sacardeI view: netstat -an| grep xdm --------> port 177 is open12:33
twbYou configured Ubuntu as the X server, or the app server?12:34
sacardeI install xorg on ubuntuserver12:34
twbOK, so xdm and all your apps are installed on the app server, right?12:36
sacardeyes12:36
twbWhat is the output from X -query <IP>?12:37
twbIf it doesn't work, you should get some kind of error output12:37
sacardeX :1 vt8 -dpi 100 -query 192.168.1.312:38
sacarde_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet612:38
sacarde_XSERVTransOpen: transport open failed for inet6/arch64:112:38
sacarde_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet612:38
sacardeXDMCP warning: INET6 UDP socket creation failed12:38
ivoksargh12:38
ivoksipv612:38
sacardeI blacklisted ipv612:39
ivoksthere's nothing on vt8?12:39
sacardeno12:39
twbWhy the fuck is it trying to use UDP over IPv6?12:39
twbsacarde: what version of ubuntu?12:40
RoyKsacarde: why did you install X on your poor server?12:40
RoyKwhy not?12:40
sacarde8.412:40
twbRoyK: well, firstly because he's giving it an IPv4 address12:40
twbBut I guess it might be because he's not -nolistening?12:41
twbsacarde: so "lsmod | grep ipv6" is empty?12:41
sacardenow, yes..... I try to load this module12:41
RoyKhm... yeah12:42
sacardeah12:42
RoyKwierd12:42
sacardein my client system..... I not have ipv612:43
twbsacarde: you need to look at your log files, on both systems12:46
ivoksX :1 -query localhost12:46
ivoksdoes that work on app server?12:46
twbsacarde: your basic technique is correct, so something must be misconfigured.12:46
twbivoks: you're assuming there's an X server on his app server :-)12:47
ivoksi think ipv6 error are not errors12:47
sacardehow can I remove ipv6 from ubuntuserver?12:47
sacardeno?12:47
twbI agree, I suspect the IPv6 stuff is spurious.12:47
twbIt usually is12:47
sacardeah12:47
ivoksjust notification that ipv6 isn't available12:47
twb(I ran off on a bit of an anti-ipv6 tangent before.)12:47
sacardeI try loading ipv6 in client too12:52
sacardebut I havent errors.... bu I dont view anythings12:52
sacardebut I read:12:53
sacardeXDMCP fatal error: Session failed Session 179920002 failed for display 192.168.1.20:1: Cannot open display12:53
twbsacarde: Xorg said that?12:54
ivoksthat's an real error12:55
sacardeyes12:55
twbsacarde: is xauth installed on both ends?12:55
sacardemmm12:55
twbsacarde: if you have firewalls, do they have the appropriate gaping holes?12:55
sacardeno firewall12:55
twbI wonder if it's worth just forcing a (non-XDMCP) remote connection, to test it12:56
twbX :2 & ssh 192.168.1.20 -f env DISPLAY=192.168.1.30:2 xlogo12:56
twbWhere 192.168.1.30 is your X terminal12:57
ivoksbah13:01
ivoks  Clustered snapshots are not yet supported.13:01
ivoksfsck13:01
sacardeError: Can't open display: 192.168.1.20:213:01
twbsacarde: you're starting X by hand?13:08
twbsacarde: i.e. not via xdm, gdm, xinit, or anything else13:08
sacardeno13:08
twbWell, no wonder it fails, then.13:08
sacardein runlevel 2 I start xdm13:08
twbAll those wrapper things disable remote X for your protection13:08
sacarde?13:09
sacardeI check hosts.allow and deny13:09
twbThis has nothing to do with tcpwrappers13:09
sacardeno?13:10
ehndeanyone know of any good guide for lighttpd+sqlite+php ?14:03
heath|OTGHello, I'm trying to learn / configure iptables as a router / gateway. So far I have the router set to accept ssh which is working fine and it allows traffic through from other machines on the network but I can't ping any outside address from the router itself15:30
heath|OTGit's as if eth0 doesn't pass it's traffic through to the wan eth115:31
merianosHello .  .  .16:08
Jeeves_heath|OTG: Have you configured NAT?16:08
merianosI need your help please . . . :)16:08
merianosI'm new on Linux and I use an ubundu desktop16:09
merianosI like to setup a system for development with LAMP16:09
merianosThis part is already set it up16:09
merianosWhat I like to do now is to setup BIND16:09
merianosI want to use domain name for each of my local domain names16:10
heath|OTGJeeves_: I had a bad DNS entry16:10
merianosAny person to help me please ?16:10
Jeeves_heath|OTG: Ah, ok.16:10
Jeeves_merianos: Just ask your question, and someone will help, or not16:10
merianosOk then . . .16:10
heath|OTGmerianos: you don't need bind for that just configure your host file if it is just for one machine16:11
merianosHow to setup BIND for custom domain names in my localhost only, not shared domain names in my network16:11
merianosAh ok . . .16:11
merianoswhere is located the host file in Ubundu ?16:11
heath|OTG/etc/hosts16:12
merianosand then how can I build Virtual Hosts for Apache ?16:12
Jeeves_merianos: see /etc/apache2/sites-enabled/000-default16:13
heath|OTGyou will need to create configs in /etc/apache2/sites-available. there should be a default16:13
heath|OTGonce configured you enable it with a2ensite siteconfigfile16:13
merianosslowly slowly :)16:14
merianosI'm new on linux . . .16:14
merianosfirst day that I'm using it :)16:15
merianosOk now . . .16:16
merianosI found the hosts file . . .16:16
merianosIn example if I will use the domain www.testdomain.ext16:16
merianoshow will I setup a virtual host on apache ?16:17
merianosin hosts I will add the record 127.0.0.1 www.testdomain.ext16:17
merianoswhat is the setup on apache for test ?16:18
merianosi mean the testdomain virtual host16:18
merianosHave I to make a copy of default file in /etc/apache2/sites-available and then rename it to the domain name I like to use ?16:21
merianosin www.testdomain.ext ?16:21
merianosand then enable it by using a2ensite www.testdomain.ext ?16:22
merianosAny help please ?16:24
merianosSomebody to help me ?16:25
merianosNone ?16:28
heath|OTGmerianos: that should work fine and remember to change the path to the web root16:28
heath|OTGmerianos: please understand that must of us in here are working as well16:29
merianos:$ sorry :)16:29
merianosI try to paste the file and I can't16:29
merianoshow to change the permisions ?16:29
heath|OTGsudo nano -w file_you_want_to_creat16:35
tarvidafter karmic upgrade, i am battling named failure18:52
tarvidany hints on where to start?18:53
tarvidresolve queries from outside but not locally18:56
tarvidresolv.conf has nameserver localhost18:57
tarvidworks with hard address18:58
d4n1hey, how can i access the phpmyadmin page, is there supposed to be something inside www in /var/www?19:20
qman__d4n1, the distribution phpmyadmin page is located elsewhere, but should be accessible with http://yourserver/phpmyadmin/19:23
d4n1qman__: well, ive tried that, which i expected to work, but it doesn't so i don't know if i did something wrong/19:26
qman__I don't have one accessible right now, but I believe it's in /usr/share/phpmyadmin19:26
qman__and it should have created or modified your site config in /etc/apache2/sites-available19:27
d4n1ok, if anything ill check sites-available out19:27
qman__a lot of packaged web software works that way in ubuntu, such as torrentflux19:27
uvirtbotNew bug: #525435 in samba (main) "utf-8 characters cause permission denied error" [Undecided,New] https://launchpad.net/bugs/52543519:32
uvirtbotNew bug: #525395 in backuppc (main) "Missing dependency to libtime-modules-perl" [Undecided,Confirmed] https://launchpad.net/bugs/52539520:16
tprankdI'm using ircd-hybrid.  I'm able to connect to 127.0.0.1, however when I'm trying to connect to a domain that points to the server IP, the connection is refused.  How can I set it up so I can connect from an external computer?  port 6667 is open20:33
qman__tprankd, you probably have to configure the daemon to listen on your LAN IP20:39
qman__if your machine is 192.168.1.5, try connecting to that from inside20:40
qman__if it doesn't work, you have your answer20:40
tprankdhmm cannot connect to the lan IP20:46
tprankdHow would I make it listen on .7?20:46
VSpikecan anyone tell me when you should use vga= and when you should use video= on the kernel boot line?21:05
VSpikeI can't find the right search recipe because they are both such common words21:06
sherrVSpike: I think vga= gives you a video "mode" i.e. resolution, and video= loads a video device driver21:16
qman__tprankd, There should be a "listen" directive somewhere in the configuration file. Change it from localhost or 127.0.0.1 to your LAN IP, restart the service, and everything should work.21:21
tprankdqman__:  Thanks!  Do you know where the configuration file is for irc-hybrid?21:23
tprankdI was looking in /etc/irc-hybrid21:23
qman__I don't know about that one in particular, but you're looking in the right places21:24
qman__there should be a main config or a network config, something like that21:24
VSpikesherr: thanks21:26
ChmEarlusing karmic 9.10 as VM manager, what size initrd.img is about right? its 7MB now. I need to rebuild it21:42
ChmEarllooking at initramfs.conf for hints21:44
heynowI've got a dell box t310 that 8.04 will not install on - doesnt find nic or the cdrom - however 9.10 installs well. If I install and configure 9.10 will i be able to upgrade to 10.4 and pin it there for the life of 10.4?21:54
sherrheynow: yes22:06
VSpikeHm. I had a booting box, and then I followed the instructions at http://harrison3001.blogspot.com/2009/09/grub-2-graphical-boot-tips-to-set.html and now it doesn't seem to boot22:15
VSpikeI can get the grub menu (and it is at 1024x768 as I requested) but whatever boot option I use, or however I edit the kernel line, I get nothing after the grub output22:16
VSpikeE.g. I'll get "Booting a command list" and perhaps a couple of lines about the initrd location and so on.  After that, I have about 10 seconds of HDD activity and then nothing22:17
VSpikeI suppose it's just possible that it may be booting, but I haven't got the networking up yet so I can't tell22:18
VSpikeAny ideas how to fix? I'm stuck22:18
marsjehi22:20
marsjea friend of mine want to have a little home server but he also wants a multimedia pc... in one!22:21
marsjeI myself use debian on my little server and ubuntu on my desktop22:21
marsjewould ubuntu server be right for both?22:21
marsjecan ubuntu server be upgraded to ubuntu desktop (or vice versa)?22:22
AdamDVmarsje: Yes.22:23
marsjeit's just a matter of aptituding the right packages, e.g.g gnome22:24
VSpikemarsje: by the same token, you could install server components on the desktop version too22:27
marsjeright22:27
marsjeso actually there is no difference between ubuntu server and desktop besides the packages installed by default?22:27
VSpikemarsje: i suppose the advantage of going with server is you can build a leaner system22:27
marsjeyes, that would be better22:28
AdamDVUghh22:34
AdamDVI hate it when compiz crashes.22:34
VSpikegah. this is driving me nuts22:38
VSpikeHm, quiet isn't it? Do most people normally here come while at work?22:39
marsjewhile "working"... :)22:49
bogeyd6or you could issue the command "sudo apt-get install ambalamps"22:53
camillahi!23:43
camillai just installed ubuntu server and now i need to get ssh23:43
camillahow can i do that?23:43
heynowsudo apt-get install openssh-server23:44
camillathanks!23:44
heynownp23:44
camillathis is my first server:)23:45
heynowgoogle around for a server guide maybe lot's to do23:46
camillai have found one23:46
ChmEarlvirtio_net speed test: 300MB file from bare metal across 1Gbit netw to VM - 32MB/s23:54

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