/srv/irclogs.ubuntu.com/2012/09/16/#ubuntu-server.txt

uvirtbotNew bug: #1051451 in bind9 (main) "package bind9 1:9.8.1.dfsg.P1-4ubuntu0.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/105145100:31
KentosHey everyone01:45
Kentosim having ome troubles with a website, using a file manager the preview shows a background image however when i load the site via my browser no background image is visable01:47
Kentosi coded it in using plain text, but the editor has a default editor and a switch to plain text option, the images in the directory that are used as image files are not showing01:49
Kentosanyone familiar with website file management?02:06
=== n0ts_off is now known as n0ts
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
mysteriousdarrenKentos: yets05:25
mysteriousdarrenKentos: yes05:25
=== cpg|away is now known as cpg
Kentoshey mysterious05:51
noooOne of my servers is getting a dependency error whenever I try to install or update a package, results of apt-get -f install: http://paste.ubuntu.com/1208279/05:52
=== dendrobates is now known as dendro-afk
=== troy_ is now known as Troy^
Kentosanyone able to help me out here a bit?07:50
MyrttiKentos: difficult to know without knowing your problem07:55
Kentostrue no need to ask if no ones paying attention though =P07:56
Kentosim wondering how i would associate a domain name with my WAN address, ive tried forwarding, but thats still shows an actual IP as the root of the file systemn07:57
Kentosi did a masked forward however that still showed the IP on the bottom link reference, where the browser stays at the .com address bar, but the links all point to the IP07:58
marwhello. anyone got nginx+php working?08:02
marwwhat permissions should the www folder have?08:02
Kentosi've gotten php working before, you have to set certain user/group priviledges, read and write for them08:04
lordievaderGood morning08:04
Kentosmorning08:05
Kentoslord, have you any webserver experience?08:05
lordievaderHey Kentos, how are you? Some, not very much. What is your problem?08:05
Kentostrying to see how i can get the domainname.com i bought to be referenced as the server IP. I did forwarding with masking however that only applies the address bar, it still shows references for links as my wanIP08:07
marwi see that ginx and php are running as the same user (www-data).  i'll try changing some aliases now.08:07
lordievaderKentos: Have you hard coded your wanIP into the links?08:08
marwah, finally oO after tow days of setting it up...08:08
Kentosno, i jut used basic html image/html link08:09
Kentoswhen i hover over the link, it shows on the bottom of browser the link address as being my IP08:09
Kentosand then the www directory08:09
Awakenkentos, u need to set an a-record on the domain to point to the IP of the server08:10
lordievaderKentos: Can you show the source code of the page?08:10
Awakenfor both domain.com and www.domain.com08:10
lordievader!paste | Kentos08:10
ubottuKentos: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.08:10
Kentosthe a-record?08:11
Awakenforwarding doesnt direct traffic it just means whoever u bought your domain off of runs an html frames page on their servers with your destination inside the frame08:11
Awakensetting an a-record to the IP of your server actually points the domain to your server properly08:11
Kentosty guys08:18
Kentosit was was a point of confusion for me there08:19
=== cpg is now known as cpg|away
cassavuotahi all!09:18
cassavuotai'm trying to recover a lost lvm vg but when i use the uuid from the vg archive file i get "too long to be uuid"09:20
cassavuotawhere else do i find an uuid?09:21
cassavuotawhat might cause that error?09:21
jacobwmorning09:24
cassavuotaalright, no double quotes around the uuid ^^09:25
=== dendro-afk is now known as dendrobates
cassavuotanow it says the file system is mounted. but umount doesn't help09:27
=== IdleOne is now known as Guest92513
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== dendrobates is now known as dendro-afk
cassavuotahow do i edit a filein busybox? no editor appears to be available?11:08
=== n0ts_off is now known as n0ts
uvirtbotNew bug: #1051569 in samba (main) "Unable to create share" [Undecided,New] https://launchpad.net/bugs/105156913:16
=== doko_ is now known as doko
=== zz_Kiall is now known as Kiall
=== sre-su is now known as Guest22377
AlphaWolfWhat can I do when I am in the following situation: If I press escape or any F# keys it shows a purple screen with "Ubuntu 12.04" and otherwise a log of messages from a server (in this case sickbeard) and I can't type anything?14:57
AlphaWolf    215:41
=== Guest92513 is now known as IdleOne
=== zz_KristianDK is now known as KristianDK
=== KristianDK is now known as zz_KristianDK
=== cpg|away is now known as cpg
TheLordOfTimewould you recommend zentyal as a good remote-management platform that doesn't need SSH?17:14
TheLordOfTimesince i can't ssh from everywhere, some nets restrict that17:14
AlphaWolfWhat can I do when I am in the following situation: If I press escape or any F# keys it shows a purple screen with "Ubuntu 12.04" and otherwise a log of messages from a server (in this case sickbeard) and I can't type anything?17:17
=== n0ts is now known as n0ts_off
AlphaWolfAs an alternate question, how can I get the MAC Address if when I type nothing is input?17:41
three18tiAlphaWolf, is this from a clean boot?  do you get the login prompt then messages logged to STDOUT?17:52
AlphaWolfthree18ti: From a clean boot it loads up a few services (the last being sickbeard). I don't have a login message (that I can see), and the input line is empty (no "user@ ~/" part)17:54
three18tiAlphaWolf, so it sounds like sickbeard is hijacking the boot process.  how are you starting sickbeard?  command in rc.local?17:55
three18ti(I'm assuming you're running a headless server machine, that's why you're in #ubuntu-server)17:56
AlphaWolfthree18ti: I'm not 100% sure how I'm starting it. I'll have a look to see if I can find the tutorial I used. I am using Ubuntu Server (headless is no GUI, right?)17:57
three18tiAlphaWolf, yes, by "headless" I mean no gui. I had the same problem starting ps3media server because I added an entry in /etc/rc.local (something along the lines of `ps3mediaserver start --whatever --options`) and it would boot fine, but I wouldn't get a login prompt because ps3ms had started in "interactive" mode where it would log everything to STDOUT.  adding an & to the command forked it into the background.  I'm not saying18:00
three18ti that's what's going on here but it sure sounds similar.18:00
three18tiAlphaWolf, I would A) figure out how it is being started, then B) start in single user mode, disable the service, then reboot.  can you boot into single user mode?18:01
AlphaWolfthree18ti: I cannot access the server because I just moved and they need the MAC Address. How could I start it in single user mode?18:02
three18ti(As an aside and a point of clarification, a "headless" box canonically is one that does not have a monitor attached to and and you connect via SSH, VNC, RDP, etc; being this is a linuxbox I often use "headlesss" analogously to mean no GUI.)18:03
three18tiAlphaWolf, maybe I don't understand the problem fully.  Who is "they" and why do they need the MAC?18:04
TheLordOfTimemaybe they have a whitelist on the network(s)18:05
AlphaWolfthree19ti: Sorry, I just moved to University accommodation. They need the MAC Address so I can connect (and get an IP to SSH in), but I can't actually DO anything when I plug in a monitor/keyboard :(18:05
three18tiAlphaWolf, you do have physical access to the server though right?  Not like it's in the uni data center and you're trying to access it from your dorm?18:08
AlphaWolfthree18ti: I do have physical access, yes. Could it work if I plug the ethernet from the server directly into another computer?18:09
AlphaWolfthree18ti: I _think_ I used "sudo update-rc.d sickbeard defaults" to add it to the defaults18:12
qman__AlphaWolf, if you did that, that's not the problem, because that uses a standard init script18:13
AlphaWolfqman__: I _might_ have done that. I'll check if I did. If not, I'll make it do it what way! :)18:14
AlphaWolfIs there any way to not loads these things up and get run an ifconfig?18:15
XATRIXhi guys, i'm trying to install VBox Guest Add... it requires linux kernel headers (dev)18:41
XATRIXany idea how can i install em?18:42
XATRIXif i got it right, i'm using kernel 3.2.0-30-generic-pae18:43
qman__XATRIX, apt-get install linux-headers-generic-pae18:44
XATRIXok. let's try18:45
tim-cthi all I am trying to get my firewall working. Being battling all day. I can see out ie browse the net. My rules are at http://pastebin.ca/2204732. No idea where line 62 and 77 come from...19:03
tim-ctoops   i cant browse19:03
lordievadertim-ct: Why not use ufw?19:10
lordievadertim-ct: You have not forgotten to open port 53 (DNS)?19:11
DiNgL3Hi guys I hope someone may be able to help me with some issues I'm having securing my shared memory19:31
tim-ctlordievader: -A POSTROUTING -s 172.168.2.0/24 -p udp -m udp -m multiport --dports 53,123 -j SNAT --to-source 192.168.0.1519:38
DiNgL3Any one willing to offer some support please I'm really struggling19:38
guntbert_!details | DiNgL319:39
ubottuDiNgL3: Please give us full details. For example: "I have a problem with ..., I'm running Ubuntu version .... When I try to do ..., I get the following output: ..., but I expected it to do ..."19:39
DiNgL3im trying to secure some of my websites so have been doing some reading and came across this guide http:/​/​www.thefanclub.co.za/​node/​50 I have created a test lamp server updated to 12.04.1 and started following the guide didn't want to do it on my live sites.  I have got to securing the shared memory and im stuck.  I add tmpfs     /dev/shm     tmpfs     defaults,noexec,nosuid     0     0 to the end of /etc/fstab. Once I hav19:40
DiNgL3done that I reboot and receive errors upon reboot  - mount: unknown filesystem type tmpfs mountall: mount /dev/shm [312] terminated with status 32 mountall: Filesystem could not be mounted /dev/shm fsck from until-linux 2.20.119:40
DiNgL3I've been getting ddos and god know what else on two of my site the last few days and really want t get them secured up as best I can19:40
DiNgL3I'm confident with windows and os x but am really not so good on Linux I'm learning19:41
DiNgL3I'll be back in a moment or two my daughter is crying19:43
DiNgL3So has anyone got any ideas I've been in a few channels now and I post what's the problem and I get no response back from anyone19:53
DiNgL3guntbert_: Do you have any ideas on this one ?19:57
guntbert_DiNgL3: sorry, no - I never worried about shared memory before - but anyone able to help will need those details anyway19:58
DiNgL3guntbert_: Ok cheers anyway do you think I don't need to worry so much about the shared memory20:00
guntbert_DiNgL3: well, as I said I didn't think about that (I don't manage a server with many users), so I cannot say if you should worry - but generally ubuntu isn't regarded too vulnerable, that should apply to web servers too20:04
guntbert_DiNgL3: can you !pastebin your /etc/fstab?20:11
DiNgL3Ok give me a moment I'll send it to you20:17
guntbert_DiNgL3: please put it in a pastebin and tell us the url20:17
DiNgL3guntbert_: http://pastebin.com/iTebQcpB20:26
DiNgL3guntbert_: Cheers for your time it's appreciated20:26
guntbert_DiNgL3: 1) it looks exactly like the line on the web site 2) see https://help.ubuntu.com/community/StricterDefaults for an explanation of the security problems,  I will research a little20:31
DiNgL3Yeah I've stumbled across that previously too20:32
DiNgL3Thank you I can't find much online about this20:33
guntbert_DiNgL3: please pastebin the output of       mount   too20:34
DiNgL3Is that the errors I get upon reboot20:34
guntbert_DiNgL3: yes, the error states that not all entries coud be mounted20:36
DiNgL3Ok well I can't paste bin that one in because it doesn't load correctly so no ssh I have to get to the box through vsphere so I'll have to take a screen shot20:46
guntbert_DiNgL3: I have to leave - look at the output of  mount  yourself - you will probably see a line like none on /run/shm type tmpfs (rw,nosuid,nodev) - that looks quite sane anyway - and maybe it tells you how to write those lines in /etc/fstab20:48
guntbert_Good luck!20:48
=== AlanBell is now known as zAlanBell
=== zAlanBell is now known as AlanBell
cody-somervilleHey. Is there no simple apache2 juju charm?21:59

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