lcarsos | Hi, I'm a total newbie so this is a very elementary question, I have a fresh install of server on a box sitting not two feet from me. It's set up as a web server, but I'm just using it to teach myself php. Anyway, I can SSH into it, and I can SCP into my user directory, but I can't SCP files into /var/www what am I doing wrong? | 01:20 |
---|---|---|
sommer | lcarsos: does your user have write access to /var/www? usually /var/www is owned by root | 01:23 |
lcarsos | I don't believe so, and I can't figure out how to give it write access | 01:23 |
sommer | you could change the owner and group to the www-data user (the user apache runs as) then add yourself to the www-data group | 01:24 |
sommer | sudo chown www-data.www-data /var/www; sudo adduser $USER www-data | 01:24 |
storrgie1 | How can I scan for network interfaces in ubuntu server? | 01:25 |
sommer | lcarsos: the chown command changes file/directory ownership, and the chmod command will change permissions | 01:25 |
lcarsos | It says it added me to the group, but /var/www is still owned by root and won't let me copy in | 01:27 |
jmarsden | lcarsos: Then the sudo chown www-data.www-data /var/www did not work. Did you get an error from running that command? | 01:29 |
lcarsos | were they supposed to be typed in seperately? | 01:31 |
lcarsos | I'll try that | 01:31 |
jmarsden | The ; should have separated the two commands, but go ahead and try the sudo chown www-data.www-data /var/www | 01:31 |
lcarsos | I just refreshed WinSCP and it says now that /var/www/ is owned by www-data | 01:33 |
lcarsos | It still says permission denied | 01:33 |
jmarsden | What does ls -ld /var/www/ display? And did you close and reopen winscp -- an old connection from it will not realize you are now a member of the www-data group. | 01:38 |
lcarsos | I closed it down and reopened from the start menu | 01:39 |
lcarsos | ls -ld /var/www says: drwxr-xr-x 2 www-data www-data 4096 2009-05-17 15:12 /var/www | 01:40 |
jmarsden | Ah. sudo chmod g+w /var/www/ so that the group can write to it. | 01:46 |
lcarsos | Cool, thanks so much! | 01:46 |
lcarsos | just for my reference does this impact the security of the server? | 01:47 |
jmarsden | No problem. In a "real" server, you'd not have a single end user be able to write there, you'd give them a virtual web server underneath there, say /var/www/someuser and make that dir owned by and so writeable by someuser... | 01:47 |
jmarsden | Well, it means that the current user who can now write to /var/www has the power to wipe out all of the web data on it... | 01:48 |
jmarsden | This isn't what I'd suggest on a production web server, but you are just doing this for learning PHP locally, so it's fine. | 01:48 |
lcarsos | So, if this were a production box I would create a subdirectory and give myself ownership of that? | 01:50 |
jmarsden | Yes, and then set up a virtual host under /etc/apache/sites-available to use that subdir for "your" www domain... | 01:50 |
jmarsden | perhaps www.someuser.org :) | 01:51 |
jmarsden | if you were doing this larger scale you'd use another app to manage all of the virtual hosts, creating a web control panel so users could manage their own web site but not mess with other people's... | 01:51 |
lcarsos | Alright, thanks again. | 01:52 |
jmarsden | If you want to start down that road, check out ebox . No problem. | 01:53 |
wizardslovak | i want to open a log | 01:54 |
wizardslovak | but log is just tooo long thousands of lines | 01:55 |
wizardslovak | is there command which will show me just the end of log? | 01:56 |
thewrathjr | yes trying to think abou tit | 01:58 |
thewrathjr | tail is the command to show the last 1 lines | 01:58 |
jmarsden | You can also use less to view a file and then move to the end with the G command, search for strings with /somestring, and so forth... | 02:12 |
wizardslovak | damn | 02:26 |
wizardslovak | "telnet localhost imap" connection refused | 02:26 |
wizardslovak | does anyone knows what could be problem | 02:26 |
yann2 | sudo netstat -l | fgrep imap ? | 02:28 |
wizardslovak | nothing happens | 02:29 |
yann2 | sudo netstat -l | fgrep 143 ? | 02:30 |
wizardslovak | nothing | 02:31 |
yann2 | are you sure the server is running? | 02:31 |
jmarsden | wizardslovak: Sounds like imap is not running on your server, or if it is you forgot to open a hole in the firewall to make it visible? | 02:31 |
wizardslovak | ufw firewall has 143 port open | 02:31 |
wizardslovak | but for localhost it shouldnt make difference | 02:32 |
ajmitch | and which imap server do you have installed? | 02:32 |
wizardslovak | dovecot | 02:32 |
ajmitch | I haven't played with its configuration lately, but have you set it to listen for imap connections? | 02:32 |
wizardslovak | whats the command | 02:34 |
ajmitch | the configuration file is /etc/dovecot/dovecot.conf | 02:34 |
ajmitch | you may want to look up info about it on the wiki, I'm not using a standard ubuntu configuration of it, so I can't recall what's on by default | 02:35 |
wizardslovak | i got listen = *:143 | 02:35 |
jmarsden | wizardslovak: check the protocols= line; default in Jaunty is none... did you change that? | 02:36 |
ajmitch | and protocols? | 02:36 |
wizardslovak | no | 02:36 |
wizardslovak | i didnt chanGE no protocols | 02:36 |
jmarsden | If you want some protocols, you need to :) | 02:37 |
wizardslovak | ok so what line am i looking for? | 02:37 |
jmarsden | The one that starts with protocols= :) | 02:37 |
wizardslovak | ok i see imap protocol | 02:39 |
wizardslovak | i see login_executable, mail_executable | 02:40 |
jmarsden | In the default /etc/dovecot/dovecot.conf file, there is a line protocols=none you can comment that out and replace it with the line above it instead (remove the # from that one) | 02:41 |
wizardslovak | i have protocols=imap | 02:43 |
wizardslovak | should i change it to none? | 02:44 |
wizardslovak | pastebin from dovecot -n http://pastebin.com/d2ee23ce3 | 02:48 |
jmarsden | line 4 of that pastebin says you do not really have protocols=imap :) | 02:57 |
wizardslovak | jmarsden: http://pastebin.com/m511ebec6 | 02:58 |
wizardslovak | it does | 02:58 |
jmarsden | That looks better. Now restart dovecot and see what is listening on port 143 and 993 | 03:00 |
wizardslovak | whats command for liten those ports/.' | 03:00 |
jmarsden | sudo netstat -ntlp # will list all listeners on TCP ports | 03:01 |
wizardslovak | nope | 03:02 |
wizardslovak | i dont see 143 nor 993 | 03:02 |
jmarsden | Hmmm. Can you do egrep -v "^ *#|^$" /etc/dovecot/dovecot.conf >/tmp/dovecot-no-comments.conf # and then post the /tmp/dovecot-no-comments.conf file to pastebin ? | 03:04 |
ajmitch | did you restart dovecot? | 03:04 |
wizardslovak | yes '/etc/init.d/dovecot restart" | 03:04 |
jmarsden | Wait... do you have a file called /etc/dovecot/dovecot-postfix.conf ? It overides dovecot.conf ... | 03:05 |
wizardslovak | yes i do have postfix | 03:05 |
jmarsden | Then look in that one not in dovecont.conf... set the protocols= line in there and restart dovecot. | 03:06 |
jmarsden | This is a new thing in Jaunty... | 03:06 |
wizardslovak | yes | 03:08 |
wizardslovak | it works!!!!!!!!!!!!!! | 03:08 |
jmarsden | Good. | 03:10 |
wizardslovak | thanksss | 03:12 |
wizardslovak | people on dovecot caht couldnt help me for last couple days cause they didnt know | 03:12 |
wizardslovak | ubuntu is the best | 03:12 |
wizardslovak | heheh | 03:12 |
wizardslovak | one more think | 03:13 |
wizardslovak | squirrelmail | 03:13 |
wizardslovak | it works but i cant connect/login | 03:13 |
jmarsden | How did you configure it? (It's been a while since I configured squirrelmail...) | 03:16 |
wizardslovak | well i installed it and set it for dovecot imap | 03:18 |
wizardslovak | and apache | 03:18 |
wizardslovak | domain.com/squirrelmail works | 03:18 |
wizardslovak | but i cant log in | 03:18 |
wizardslovak | i am getting this error " | 03:21 |
wizardslovak | Error connecting to IMAP server: tls://localhost. | 03:21 |
wizardslovak | 0 : | 03:21 |
jmarsden | The tls: looks odd... | 03:22 |
jmarsden | Just tried it here, sudo apt-get install squirrelmail ; sudo ln -s /etc/squirrelmail/apache.conf /etc/apache2/conf.d/squirrelmail.conf ; sudo service apache2 restart | 03:24 |
jmarsden | and then I can browse to localhost/squirrelmail and log in as me just fine. | 03:24 |
jmarsden | (Oh, I did configure it as using dovecot with sudo /usr/sbin/squirrelmail-configure ) | 03:25 |
wizardslovak | you login with your username? | 03:25 |
jmarsden | Yes. Is your dovecot listening on 993 as well as 143 ? | 03:25 |
wizardslovak | how can i check it? | 03:27 |
wizardslovak | no 993 doesnt conenct | 03:28 |
jmarsden | By default squirrelmail uses 993 (for security)... so that's your issue. | 03:28 |
wizardslovak | i still can change it in postfix-dovecot.conf right? | 03:29 |
jmarsden | Yes. Try setting that protocols line to protocols = imap pop3 imaps pop3s managesieve and restart dovecot. | 03:29 |
jmarsden | BTW that is the default when I installed dovecot-postfix... so I'm not sure why you are needing to edit that... | 03:30 |
wizardslovak | jmarsden: you are genius | 03:32 |
wizardslovak | it works!!!! | 03:32 |
jmarsden | :) No, I have just been doing this for a long time :) | 03:32 |
wizardslovak | ok now i got other error | 03:33 |
wizardslovak | i tried to send message | 03:33 |
wizardslovak | "error message not sent ,server replied" | 03:34 |
jmarsden | That sounds like you have a messed up postfix configuration, too... but I need to do some other things for the next 2 hours or so... if I am back here (and you are also here) in about 2 hours, ask about it then. | 03:36 |
wizardslovak | ok | 03:36 |
wizardslovak | just for that i will be here | 03:36 |
jmarsden | :) | 03:37 |
Chriz1212 | can i ban all people not from russia | 03:45 |
steelcityjim | I need some help updating my internet connection info in ubuntu server | 03:47 |
steelcityjim | on the install it automatically configured | 03:48 |
steelcityjim | I have recently changed and need to update it | 03:48 |
steelcityjim | can anyone assist | 03:48 |
Chriz1212 | ifconfig? | 03:49 |
jmarsden | steelcityjim: I can't stick around and help right now, but did you read the Server Guide? See https://help.ubuntu.com/9.04/serverguide/C/network-configuration.html | 03:50 |
steelcityjim | yea thats not really helping | 03:53 |
jmarsden | steelcityjim: What exactly are you trying to change that is not documented in there? | 03:57 |
steelcityjim | well im going from pppoe to dhcp | 04:04 |
steelcityjim | and changing int providers | 04:04 |
jmarsden | steelcityjim: And you hook the server directly to the public Internet -- no router/firewall ? Should be fine, the server guide has sample configs for DHCP and static IPs ... | 04:07 |
steelcityjim | not a static | 04:08 |
jmarsden | OK, so use the DHCP example right on the page I pointed you to... ? | 04:08 |
jmarsden | Two lines in /etc/network/interfaces -- did you try that? | 04:09 |
steelcityjim | ok so is it sudo /etc/network/interfaces | 04:10 |
steelcityjim | then I enter this into the file? | 04:11 |
steelcityjim | auto eth0 | 04:11 |
steelcityjim | iface eth0 inet dhcp | 04:11 |
jmarsden | You need to use an editor to edit a file... recheck your sudo command :) | 04:12 |
steelcityjim | ok so i need to edit the /etc/network/interfaces file? | 04:13 |
jmarsden | Yes. | 04:13 |
steelcityjim | to include the two lines | 04:13 |
jmarsden | Yes. That is what the server guide said, right? | 04:13 |
steelcityjim | ok i can probably get through that | 04:13 |
steelcityjim | now I was using no-ip to host my server and my isp blocked it | 04:14 |
steelcityjim | so I recently switched to comcast | 04:14 |
steelcityjim | does comcast use the 80 port ? | 04:14 |
jmarsden | No idea. Read your ISP's acceptable use policy to find out what they permit. | 04:16 |
steelcityjim | I don't believe they care just not sure how to set it up | 04:17 |
jmarsden | If they don't block it and they truly don't mind servers on their home customers setups (most ISPs *do* mind this), then there is nothing to set up... port 80 will "just work". | 04:18 |
jmarsden | Just set up whaetver web server you want to run on port 80. | 04:19 |
steelcityjim | Would that be enabling my personal web page | 04:23 |
steelcityjim | no thats not it | 04:24 |
jmarsden | You had a web server running on port 80 before, right? So leave it running :) | 04:26 |
tonyyarusso | I can save you some time: Comcast's AUP does not allow running servers on residential plans, but does on business plans (which are way more expensive). Qwest does allow servers on residential plans. Verizon FiOS currently does not. | 04:26 |
steelcityjim | well my no ip acct terminated because the isp was blocking it | 04:26 |
tonyyarusso | mobi-sheep: although re: the "just work" comment, you will usually need port forwarding on your router at least. | 04:27 |
tonyyarusso | errr, jmarsden rather - tab-complete fail. | 04:28 |
mobi-sheep | tonyyarusso: And you pinged me. I was watching the anime. :) | 04:28 |
steelcityjim | so tonyyarusso if I foward the port will it work on comcast? | 04:28 |
tonyyarusso | sowwies | 04:28 |
tonyyarusso | steelcityjim: It might work (I don't think they actually block it), but it would violate their terms. | 04:29 |
steelcityjim | im just using it to do some basic file sharing and a basic web page | 04:29 |
steelcityjim | my old provider blocked it | 04:30 |
jmarsden | re port forwarding... that means you have a router, so you do not need to change the /etc/network/interfaces ... I though I asked if if you connected the server directly to the public Internet earlier...?? | 04:31 |
steelcityjim | yes I have a router | 04:32 |
steelcityjim | so If i just enable a new no-ip account it should work with the new isp as previously configured | 04:32 |
mobi-sheep | tonyyarusso: It's a good Failz. :) --- steelcityjim: And I do use occasional server for basic file sharing. I also have Comcast. As expected, the hosting is awful slow but nevertheless it still work. Assuming you did the port forward and use no-ip. That's about it. Right. no-ip account can be updated at interval of your choice. | 04:33 |
steelcityjim | cool | 04:34 |
steelcityjim | so as far as the isp change do I need to update anything on my server? | 04:35 |
jmarsden | steelcityjim: No. Just in the router. | 04:38 |
steelcityjim | ok i updated thr router to dhcp an its working | 04:40 |
steelcityjim | but i cant ssem to acess my server via the web | 04:42 |
steelcityjim | I can access the server via my network | 04:47 |
wizardslovak | did you open port 22? | 04:48 |
jmarsden | steelcityjim: Does the router have an appropriate port forward from port 80 to the server's IP address? | 04:50 |
jmarsden | wizardslovak: port 22 is ssh port 80 is web... :) | 04:51 |
steelcityjim | it should it was previously working | 04:51 |
steelcityjim | 22 and 80 are both enabled in the router | 04:53 |
wizardslovak | jmarsden: so youre here | 04:53 |
jmarsden | I was across the room... working on some hardware stuff (paid consulting...) I'm half here... | 04:53 |
wizardslovak | hehe | 04:54 |
wizardslovak | i found what could be problem | 04:54 |
wizardslovak | but i still cant find whats wrong with it | 04:54 |
wizardslovak | its "SASL suthentication mechanisms" | 04:54 |
jmarsden | installing the dovecot-postfix package *should* set that up for you... | 04:57 |
wizardslovak | it worked before | 04:57 |
wizardslovak | do i have to reinstall it? | 04:58 |
TimReichhart | hi guys I am haivng problems with this code "mysqli_stmt_execute"" | 05:02 |
steelcityjim | yea won't connect via the web | 05:04 |
jmarsden | wizardslovak: I doubt it... I'm still kind of busy... give me a bit more time ... my client just called me wanting it "done"... :) | 05:05 |
wizardslovak | ok | 05:05 |
wizardslovak | take your time | 05:05 |
jmarsden | steelcityjim: Are you sure you have the port forwarding correct in the router? ... | 05:06 |
steelcityjim | external port 80 to internal port 75 | 05:07 |
steelcityjim | no-ip acct set up as port 80 redirect | 05:07 |
steelcityjim | ip address is correct on no-ip acct | 05:07 |
TimReichhart | is there anyway to remove the Suhosin patch? | 05:08 |
wizardslovak | TimReichhart: what is reason to remove it? | 05:08 |
jetole | does anyone know how to make crontab -e with vim use syntax highlighting in ubuntu server 9.04? | 05:09 |
TimReichhart | well I am having a problem with a code that somebody wrote for me and I am getting this error: Fatal error: Call to a member function execute() on a non-object and I spoke to the person who wrote it and he told me he thinks its that patch is causing that error because the code works fine on his server | 05:09 |
steelcityjim | do I possibly need to reboot the server after the ip change? | 05:12 |
jetole | TimReichhart: it looks like execute is part of a library that was not linked in to the compile | 05:12 |
jetole | steelcityjim: no | 05:12 |
jetole | steelcityjim: wait, how did you change the IP? | 05:12 |
steelcityjim | I got a new provider | 05:12 |
TimReichhart | so could you tell me how I can fix this library? | 05:12 |
steelcityjim | I have not changed anything on the server | 05:13 |
jetole | steelcityjim: no I mean how did you change the IP on the server? | 05:13 |
steelcityjim | only the router | 05:13 |
steelcityjim | I did not | 05:13 |
jetole | ok... | 05:13 |
steelcityjim | thats what I think the problem is | 05:13 |
jetole | steelcityjim: how do you access the server? | 05:13 |
jmarsden | steelcityjim: OK, so check the IP of the server PC and the IP you told the router to forward port 80 to... are they the same? | 05:13 |
jetole | actually jmarsden has a point, if you are using NAT then you don't need to change anything | 05:14 |
jmarsden | If not then correct the port forward in your router... :) | 05:14 |
oh_noes | is it possible for vmbuilder to create a thin vmdk file? | 05:14 |
jetole | oh_noes: that doesn't really have anything to do with ubuntu server | 05:15 |
jetole | oh_noes: try #vmware | 05:15 |
jmarsden | or #ubuntu-virt | 05:16 |
oh_noes | vmbuilder is ubuntu server, nothing to do with vmware | 05:16 |
oh_noes | well definitely not in relation to how vmbuilder creates the vmdk, but thanks yeah already asked in virt | 05:16 |
steelcityjim | server ip is correct in router | 05:16 |
steelcityjim | forwarding port 80 to port 50 | 05:17 |
TimReichhart | hey jetole how can I get that library to get install or upgraded | 05:17 |
jmarsden | steelcityjim: OK. and there is a running web server on the server PC, listening on port 75 (since that is what you redirected to, for some reason) | 05:17 |
jetole | oh_noes: vmdk file are vmware virtual disks | 05:18 |
steelcityjim | how do I know if its listening? | 05:18 |
jetole | TimReichhart: ask the developer | 05:18 |
jetole | TimReichhart: I have no idea what library it is | 05:18 |
jetole | TimReichhart: execute() is not a function I have ever heard of | 05:19 |
jmarsden | steelcityjim: Point a browser at it, or telnet to it, or sudo netstat -ntlp and look for it in the output... | 05:19 |
jetole | TimReichhart: exec(), execve(), system() etc are normal C execute functions and part of posix, never heard of execute() | 05:19 |
TimReichhart | like I said I already asked the person who wrote the code and he thinks its that patch because he gots the same mysql and apache | 05:19 |
TimReichhart | but he is using FC9 | 05:20 |
jetole | TimReichhart: ask him where he got the execute function from | 05:20 |
jetole | I don't care if he us using BSD 4.4 | 05:20 |
jetole | ask him where the function came from | 05:21 |
jetole | or look for it in the header files since the name of the header file might help | 05:21 |
jetole | TimReichhart: or just google it | 05:21 |
steelcityjim | ok did the sudo netstat -ntlp | 05:21 |
TimReichhart | he is a Zend PHP5 Certified Engineer | 05:21 |
jetole | TimReichhart: and? | 05:21 |
steelcityjim | got 6 different lines | 05:22 |
jmarsden | steelcityjim: So... is there an httpd listening on port 75...? | 05:22 |
steelcityjim | all in the listen state | 05:22 |
jetole | TimReichhart: if he is barack obama or linux torvalds that doesn't solve your problem | 05:22 |
jetole | *linus | 05:22 |
steelcityjim | no 80 and 22 | 05:22 |
jmarsden | Then why did you redirect port 80 on the router to port 75 on the server?? | 05:22 |
TimReichhart | he is the one who created the code and here is the code what it looks like here is his site:http://white-box.us/manage/index.php this is what it post to do this guy wrote the code just for me | 05:23 |
jetole | TimReichhart: is he dead? why are you not asking him? | 05:23 |
steelcityjim | well I had it at 80 originally and was not working so thought I would try another | 05:23 |
TimReichhart | I been asking him asking about this all day along | 05:23 |
jetole | TimReichhart: thats not code, thats a php page, you posted a C or C++ error | 05:24 |
steelcityjim | so im assuming thats not the problem | 05:24 |
TimReichhart | and only thing he can think of is that dam patch | 05:24 |
jmarsden | steelcityjim: fix the port forward to it forwards port 80 on the outide to port 80 on your server... | 05:24 |
jmarsden | Do not guess and port numbers or change them randomly! | 05:25 |
jmarsden | s/and/at/ | 05:25 |
wizardslovak | i really dont know what happened | 05:25 |
jetole | TimReichhart: I hate to sound cruel but you have no idea what caused it so now that we have that clearified stop making that assumption | 05:25 |
wizardslovak | i checked everything and it seems fime | 05:25 |
steelcityjim | ok fixed in router | 05:25 |
wizardslovak | still cant sent mail out nor receive | 05:25 |
jetole | makes it harder to solve when you guess what the problem already is | 05:25 |
steelcityjim | external 80 | 05:25 |
steelcityjim | internal 80 | 05:25 |
jmarsden | OK. Now test it from the outside... any better? | 05:26 |
TimReichhart | dude its working on FC9 with same mysql and apache as I am using its something to do with that patch | 05:26 |
steelcityjim | no still not finding my page | 05:26 |
jmarsden | What do you see? a 404? Or what? | 05:26 |
jetole | TimReichhart: if it's the same mysql and apache you are using then that means you compiled it yourself or he compiled it himself on the same server and all libraries that it links to | 05:26 |
steelcityjim | no page not found taking me to some lame-delegation domain .com | 05:27 |
TimReichhart | I mean I got one page is working great | 05:27 |
jetole | TimReichhart: I doubt it's even the same versions, I mean so essentially just made a comparison of Windows ME and Windows server 2008 being the same | 05:27 |
TimReichhart | but the others is not | 05:27 |
jetole | TimReichhart: which program is crashing specifically? | 05:28 |
TimReichhart | its my index page and edit page | 05:28 |
TimReichhart | but my add page works alright | 05:28 |
jetole | TimReichhart: no. you posted a C or C++ error | 05:28 |
jetole | I recognize the error, it means a function that was properly coded in but relies on an object that was not linked | 05:29 |
jmarsden | steelcityjim: if you browse using your public Ip instead of a domain name does it work? | 05:29 |
TimReichhart | ok go to this site: http://white-box.us/manage/index.php you see its working great on his server but I get the error message of:Call to a member function execute() on a non-object in | 05:30 |
TimReichhart | on my server | 05:30 |
wizardslovak | jmarsden: http://pastebin.com/m62907dff i think sasl is problem | 05:31 |
jetole | on second though that's not quite the error I thought it was | 05:31 |
jetole | TimReichhart: what is your site? | 05:31 |
TimReichhart | alright hold on I have to change something then you will get to see it | 05:31 |
jetole | on second though, and I may have been a little too overzealous, that sounds like a php error | 05:32 |
steelcityjim | yes if I type in the ip address in the browser it comes up | 05:32 |
steelcityjim | but won't come up by the name | 05:33 |
wizardslovak | dns | 05:33 |
jmarsden | wizardslovak: Yes, I agree, looks like postfix is not configure correctly for SASL auth (which squirrelmail is trying to use.). | 05:33 |
jetole | TimReichhart: also say my handle before every comment, it highlights the line and makes it easier for me to follow your posts | 05:33 |
jmarsden | steelcityjim: OK, so go to the no-ip.org web site and manually associate your current public Ip with your domain name :) | 05:33 |
jmarsden | Thatr is not an issue with your server or your router! | 05:34 |
wizardslovak | steelcityjim: i had same problem , in your domain name reg you gotta change IP for your domain | 05:34 |
steelcityjim | it is correct on my no-ip acct | 05:35 |
wizardslovak | http://pastebin.com/m34fb3e8b this is my postfix conf sasl | 05:36 |
wizardslovak | steelcityjim: you gotta wait for dns server 20min to 6 hours if i am not mistaken | 05:36 |
steelcityjim | oh change don't take effect right away | 05:37 |
steelcityjim | that had the account flagged for termination because of inactivity | 05:38 |
steelcityjim | I re-activated it earlier | 05:38 |
jmarsden | steelcityjim: what is your domain name? | 05:38 |
steelcityjim | 6burgh.no-ip.org | 05:39 |
TimReichhart | ok jetole go to 206.51.163.236:8080 | 05:39 |
jmarsden | steelcityjim: Then if your public IP is 98.227.145.211 you should be fine now. | 05:39 |
steelcityjim | thats what the ip is now | 05:39 |
steelcityjim | and thats what shows on my acct | 05:40 |
jmarsden | Then try browsing from the outside to http://6burgh.no-ip.org now | 05:40 |
jetole | TimReichhart: can you post the code on pastebin.com? | 05:40 |
TimReichhart | there jetole http://pastebin.com/m44b3280b | 05:41 |
steelcityjim | ok appears to be working now | 05:43 |
jmarsden | steelcityjim: Yes. Looks like you are all set, I can see your site at http://6burgh.no-ip.org | 05:43 |
steelcityjim | maybe it just took some time at no-ip to update | 05:43 |
ajmitch | TimReichhart: perhaps checking to see what the error is after line 121 would help | 05:44 |
TimReichhart | alright I will post it again on pastebin | 05:45 |
steelcityjim | thanks jmarsden | 05:45 |
jmarsden | wizardslovak: does postconf -a output two lines that say cyrus and dovecot ? | 05:45 |
jmarsden | steelcityjim: no problem. | 05:45 |
ajmitch | what I mean is that the $db->prepare() is failing somehow, and it's not checking for what the error is at that point | 05:45 |
wizardslovak | jmarsden: no only cyrus | 05:45 |
TimReichhart | this is the part here it gets the error jetrole http://pastebin.com/m86cd3b | 05:46 |
TimReichhart | jetole* | 05:46 |
ajmitch | yes, I could see that, there's no error checking | 05:46 |
wizardslovak | jmarsden: in conf i had dovecot so i change it into cyrus , not when i try to send email ill get " | 05:47 |
wizardslovak | Requested action not taken: mailbox unavailable | 05:47 |
wizardslovak | 550 5.1.1 <test@server1.wizzy.us>: Recipient address rejected: User unknown in local recipient table | 05:47 |
wizardslovak | and i am sending test main to my gmail abount | 05:47 |
jmarsden | wizardslovak: No, don't make random changes...! You are running dovecot, so setting it to cyrus is by definition incorrect. | 05:48 |
jmarsden | wizardslovak: Do postconf -n and pastebin the output please? | 05:48 |
TimReichhart | so any ideas there jetole | 05:48 |
jmarsden | TimReichhart: follow the suggestion of ajmitch -- add some error checking so you can see what the code is doing :) | 05:49 |
TimReichhart | how would I do that jmarsden | 05:50 |
wizardslovak | http://pastebin.com/m612c9b8a | 05:50 |
jmarsden | Either learn PHP or ask your programmer to add error checking to his code. | 05:50 |
TimReichhart | alright I will ask about it | 05:51 |
jmarsden | TimReichhart: I can't teach you PHP programming here on IRC :) | 05:51 |
TimReichhart | alright I will see what the guy will do | 05:52 |
TimReichhart | but like he told me its that patch | 05:53 |
wizardslovak | jmarsden: i think problem might be in smtpd_sasl_path | 05:53 |
jmarsden | wizardslovak: Yes... who put that there? Try smtpd_sasl_path = private/dovecot-auth | 05:55 |
jmarsden | There are a couple of other things different from the default setup, but I think those are fairly harmless... | 05:55 |
jetole | TimReichhart: I was busy doing something else, let me look now | 05:56 |
TimReichhart | k | 05:56 |
wizardslovak | jmarsden: ok so i changed and restarted postfix but still | 05:56 |
wizardslovak | cant send mail | 05:56 |
jmarsden | wizardslovak: Is the error in the maillog the same as before? | 05:57 |
wizardslovak | yes | 05:57 |
wizardslovak | same think | 05:58 |
wizardslovak | "no sasl authentication mechanism" | 05:58 |
jmarsden | Hmmm... OK, I'll try it here in a bit.. need to get back to my hardware stuff for a short while first... | 05:59 |
wizardslovak | ok | 05:59 |
jetole | TimReichhart: this code sucks | 06:02 |
jetole | TimReichhart: I see no real error checking within the code so far | 06:02 |
jetole | althoug I did miss one, there is one error check that I didn't see | 06:03 |
TimReichhart | what is that jetole | 06:04 |
jetole | well no, I saw a part at the top where I thought he didn't check the mysqli connect for errors but he used a different method then I use and I was only skimming at first so I missed it | 06:04 |
jetole | let me keep reading | 06:05 |
jetole | TimReichhart: I just changed the code, try running this (backup the original) and see what happens => http://pastebin.com/m77aa15d9 | 06:08 |
jetole | TimReichhart: That might give you a new which if it does then good however I have other stuff I do have to do now and PHP is not my strong point | 06:09 |
wizardslovak | damn this is making me nuts | 06:14 |
TimReichhart | now I get this jetole Parse error: syntax error, unexpected $end in /var/www/index.php on line 139 | 06:15 |
jmarsden | wizardslovak: Hmmm, postfix and dovecot and squirrelmail "just work" for me here on Ubuntu Jaunty 9.04... | 06:25 |
wizardslovak | hmmm | 06:26 |
wizardslovak | i wodder why myne doesnt work | 06:26 |
jmarsden | wizardslovak: See http://pastebin.com/m216396f1 and put that into your /etc/dovecot/dovecot-postfix.conf file (copy the one you have now to some other filename first, just in case!) | 06:26 |
TimReichhart | alright jetole I tried it on my other server same error | 06:27 |
jetole | TimReichhart: actually that last error was a mistake on my part, forgot a closing } | 06:31 |
jetole | TimReichhart: http://pastebin.com/m2dfb1f2e | 06:31 |
TimReichhart | well now I got a text saying: Prepare error jetole | 06:34 |
jetole | TimReichhart: thats what I thought you would get and he never did a check of prepare so when calling execute based on the prepare statement you get your previous error so execute isn't the problem, prepare is | 06:36 |
TimReichhart | so what should I tell him | 06:36 |
TimReichhart | or how can i fix that | 06:37 |
TimReichhart | there jetole | 06:38 |
jetole | TimReichhart: try this => http://pastebin.com/m6f969623 | 06:38 |
jmarsden | wizardslovak: Any progress when you use my dovecot-postfix.conf file from the pastebin? | 06:39 |
wizardslovak | jmarsden: i dont have dovecot-auth | 06:39 |
wizardslovak | delete all my and replace with yours | 06:39 |
TimReichhart | tired it jetole still same message as before | 06:40 |
jmarsden | Well, renane yours to dovecot-postfix.conf.wizzy and then use mine... that way you still have yours if you need it! | 06:40 |
jetole | TimReichhart: not sure why prepare is failing | 06:41 |
wizardslovak | i did backup but trying to put yours | 06:41 |
jetole | let me look into it | 06:41 |
wizardslovak | give me a minute | 06:41 |
jetole | TimReichhart: http://pastebin.com/m6dbac8fa | 06:49 |
wizardslovak | nah it wont work | 06:49 |
Alex_21 | Hi, All, | 06:50 |
TimReichhart | still getting same error message jetole | 06:51 |
jmarsden | wizardslovak: Same error, or a different one? | 06:51 |
Alex_21 | M main server just went down. I can't figure out why I can't SSH into it. I get "Connection to: 192.168.0.1 port 22: Connection Refused" | 06:51 |
wizardslovak | it didnt want to read conf file at all | 06:51 |
Alex_21 | Please help | 06:52 |
jmarsden | wizardslovak: Are permissions on it the same as the perms on the original one? | 06:52 |
wizardslovak | yes | 06:52 |
jetole | TimReichhart: don't know what to tell you then, prepare is failing and I don't know why and unlike decent programming prepare has no way to tell you what error it is so perhaps uninstall the suhosin patch | 06:52 |
Alex_21 | I lost my DHCP, Media server, AFP Server, ... ETC. | 06:52 |
jmarsden | wizardslovak: but you got an error that it can't read the config file? | 06:53 |
TimReichhart | how do i unstall that jetole? | 06:53 |
jetole | TimReichhart: http://www.ambitonline.com/nextrelease/archives/113-How-to-Ubuntu-PHP-Remove-Suhosin.html | 06:53 |
wizardslovak | give me sec | 06:53 |
jetole | again, thats all the help I can give, I do have other stuff to do so I hope that helps | 06:54 |
Alex_21 | Does anyone have an idea? | 06:54 |
Alex_21 | Please | 06:54 |
jmarsden | Alex_21: Can you log into your server at its console (from its own keyboard and screen)? | 06:54 |
Alex_21 | Nope | 06:54 |
jetole | Alex_21: SSH isn't running | 06:54 |
Alex_21 | That is the problem | 06:54 |
jetole | Alex_21: Connection refused means the server is up and the port is closed | 06:54 |
Alex_21 | Neither is HTTP it seems | 06:55 |
jetole | so log on to the console and see why | 06:55 |
jetole | maybe it's fdsk | 06:55 |
jmarsden | What do you see on its screen... not over the network, but on a screen connected to the server itself... | 06:55 |
jetole | *fsck | 06:55 |
Alex_21 | FSCK? | 06:55 |
Alex_21 | There is no monitor connected to it physicaly | 06:55 |
jetole | Alex_21: it's a disk checking program that runs every so often on boot and delays the start time while it scans your disks | 06:56 |
jmarsden | Alex_21: Then add one :) | 06:56 |
jetole | Alex_21: Then add one :) | 06:56 |
jetole | sorry, had to be said twice :P | 06:56 |
Alex_21 | I'm blind :( | 06:56 |
jetole | Alex_21: is that a joke? | 06:56 |
Alex_21 | I don't see what difference it is if I have a screen plugged in | 06:57 |
jmarsden | Can you attach a screen reader widget to it? or to its serial port and redirect the console to the serial port? | 06:57 |
twb | Alex_21: fsck will probably run before brltty is fully initialized | 06:57 |
jetole | Alex_21: the difference is you cannot connect to it remotely | 06:57 |
Alex_21 | I can't run a screen reader because serial widgets were out of date in the early nineties | 06:57 |
jetole | and if you really are blind then you have my sympathy since I am deaf but without being able to see the console and without being able to connect then you may be blind in more ways then one | 06:58 |
jmarsden | Alex_21: You can't get at it over the network, and we don't know why and can't tell you why. And yes, it's been a while since I helped out a blind friend with his setup... | 06:58 |
twb | Alex_21: are you using a braille display, a screen reader, or what? | 06:58 |
Alex_21 | Yeah. I have a screen reader on this machine but not on my servers | 06:58 |
jetole | Alex_21: can you move it to the server? | 06:58 |
Alex_21 | I use SSH for all of them | 06:58 |
Alex_21 | No, it is a software program not hardware | 06:59 |
jetole | Alex_21: well you can't ssh so unless you find a way to "see" the screen then there really is no solution | 06:59 |
Alex_21 | I'm back in | 06:59 |
Alex_21 | I guess it was FSCK | 06:59 |
* jetole thinks fsck then | 06:59 | |
twb | Alex_21: OK. Things you can do are: 1) wait, and hope that fsck finishes and booting continues normally; 2) find a sighted person to connect an LCD to the server and see what's happening; and finally 3) get a braille reader, and set up brltty on all your servers so you can read what's happening next time, by connecting it. | 06:59 |
twb | Note that braille readers usually support USB as well as the serial port. | 07:00 |
Alex_21 | I know that but I didn't know about BRLTTY | 07:00 |
Alex_21 | Thanks | 07:00 |
jetole | I hope I never lose my sight, no offense but I am already deaf so if I went blind I would be fscked | 07:00 |
twb | If you're permanently blind, setting up all your machines for braille (and buying a braille display) is definitely worth it. | 07:00 |
twb | Assuming you can read braille, of course... | 07:01 |
Alex_21 | $800 for one display just so you know | 07:01 |
twb | Yeah, I know | 07:01 |
jetole | Alex_21: how do you know whats on the screen without some sort of device? | 07:02 |
Alex_21 | So luckily I have one but options are limited. I'll for sure look into it | 07:02 |
twb | There's some cool recent research that will eventually make them cheaper, by using a rotating drum | 07:02 |
twb | jetole: he uses ssh and a screen reader on the ssh client end, e.g. JAWS | 07:02 |
jetole | what is a screen reader? | 07:02 |
Alex_21 | Not JAWS. Ick, ... No. Voiceover | 07:02 |
twb | jetole: it's a program that turns text on your screen into speech. | 07:02 |
jetole | ah | 07:02 |
Alex_21 | Voiceover is a software application that runs on My Mac and allows me to read what is on-screen | 07:03 |
twb | GNOME has one, too, but I forget its name. | 07:03 |
twb | JAWS is the ridiculously expensive one that all the Windows people use | 07:03 |
Alex_21 | Orca. It is ok for most things except administration under Ubuntu | 07:03 |
twb | Alex_21: yeah | 07:03 |
Alex_21 | TWB: JAWS and Window-Eyes are the expensive ones. Voiceover is free, built into OSX and actually works the way that sighted see the screen. | 07:04 |
twb | Alex_21: granted. | 07:04 |
Alex_21 | Voiceover allows me and my sighted coligues work in the same way | 07:04 |
Alex_21 | I Wish ORCA worked that way or some Linux one worked like Voiceover | 07:05 |
twb | Alex_21: patches welcome! | 07:05 |
Alex_21 | I'm forced to use Orca in my Lab | 07:05 |
Alex_21 | TWB: Lol. I am developing my own for ICEWM because ICEWM is light weight | 07:06 |
Alex_21 | But if there is a patch I can make be sure I will be the first to submit one | 07:06 |
Alex_21 | TWB: ARe you blind yourself? | 07:06 |
benkant_ | when i use touch to create a new file it's always, i want it to be group writable... what that umask thing again? | 07:06 |
=== benkant_ is now known as benkant | ||
benkant | sorry that made no sense | 07:07 |
twb | Alex_21: no, but I am an ornery bastard and I usually use visual impairment as an excuse to yell at stupid web devs | 07:07 |
twb | "Your site doesn't work in w3m! If I was visually impaired, I wouldn't be able to use it!" | 07:07 |
Alex_21 | I do that all the time | 07:07 |
Alex_21 | Web Devs can be stupid | 07:07 |
Alex_21 | Flash is inaccessible in all but JAWS and Window-eyes | 07:08 |
twb | I tried to learn emacspeak, but its code is horrible and I couldn't make it use festival/mbrola instead of flite. | 07:08 |
jmarsden | benkant: Maybe you want to do umask 2 | 07:08 |
Alex_21 | Because Adobe is rediculous | 07:08 |
twb | And I haven't gotten around to buying a hardware synth and braille reader (because they're expensive). | 07:08 |
Alex_21 | Get a software Synth | 07:09 |
twb | Alex_21: I'm using software synths. | 07:09 |
Alex_21 | Cepstral or something make a High-Quality one for Linux for $30 | 07:09 |
twb | Alex_21: but I won't use a proprietary synth. | 07:09 |
Alex_21 | I worked on eSpeak and actually still head one of the projects at eSpeak | 07:10 |
Alex_21 | I can't say it is the best voice, but it is what we use for Kurdish in our Planned Labs | 07:10 |
Alex_21 | It is better than Microsoft Sam though :) | 07:10 |
twb | I wouldn't know, I don't use Microsoft stuff. | 07:11 |
Alex_21 | Ubuntu/Edubuntu is what we use in our Planned Labs | 07:11 |
Alex_21 | I remember the days of Microsoft Sam *Alex Shudders* | 07:11 |
jmarsden | wizardslovak: What exact error are you seeing when you try to use my dovecot-postfix.conf file? | 07:11 |
Alex_21 | Mac OSX is by far the best for accessibility | 07:11 |
Alex_21 | TWM: Good on you for hounding Web Devs | 07:12 |
Alex_21 | TWM: You should join my team of people who do the same thing and make the changes on many sites | 07:12 |
Alex_21 | Or at least try to | 07:12 |
Alex_21 | Lol :) | 07:13 |
jetole | Alex_21: what do you do for a living? | 07:20 |
benkant | how do i make any new file i touch be owned by a group other than my own user's ? | 07:20 |
jetole | benkant: change the group after you touch it | 07:21 |
jetole | chgrp command | 07:21 |
benkant | is that the only way? | 07:21 |
Alex_21 | I work with an advocacy organization I cofounded and I also am a student | 07:22 |
jetole | benkant: why do you need another way? | 07:22 |
Alex_21 | Lol: And I am involved with a lot of Open-Source | 07:22 |
jetole | Alex_21: Ah. I was hoping you were gonna say programmer and I was gonna say why don't you write a program like voiceover but guess not | 07:22 |
benkant | jetole: just that everytime i create a new file i need other users in my group to be able to write to it... and i create a lot of files, and don't want to have to chgrp every time | 07:23 |
Alex_21 | Write a script maybe? | 07:23 |
jetole | it's created with your primary group so change your primary group or create a cronjob to keep them all up to date | 07:23 |
benkant | yeah primary group is what i was thinking | 07:23 |
Alex_21 | Well, I am, but it is going to be written for the Android PHones | 07:24 |
jetole | Alex_21: well you were just saying you wish there was something like that for windows and linux and I was thinking if all the blind people wanted it then it would be a good way to make money or you could just do it open source if you prefered but if you don't program then not much you can do about it | 07:24 |
jetole | Alex_21: cool | 07:24 |
jetole | Only thing I can think of to make being deaf better is under testing in two universities right now and 2 - 4 years from hitting the market so unless I get an MD and a doctorate in ICs then I can't think of anything else | 07:26 |
* jetole shrugs | 07:26 | |
Alex_21 | Well, I plan to move into the desktop soon | 07:26 |
jetole | Alex_21: how did you lose your sight anyways | 07:26 |
Alex_21 | Desktop market | 07:26 |
Alex_21 | Genetic condition | 07:26 |
jetole | Ah | 07:27 |
Alex_21 | I have less than 5% and it is progressive though it has been stabel for some years now | 07:27 |
jetole | I got t-boned by a drunk driver and wound up in a 3 week coma and lost my hearing | 07:27 |
Alex_21 | Oh, ... No! | 07:27 |
Alex_21 | That sucks | 07:28 |
jetole | I lost all hearing but got a cochlear implant which allows me to hear when I wear the hearing aid looking peice but it's muffled at best | 07:28 |
jetole | usually I understand 1/10 sentances the first time I hear it and 3/10 I just can't understand no matter how many times it's said or how slow | 07:28 |
jetole | well I am at the office so stepping outside for a smoke, bbiab | 07:29 |
Alex_21 | Ok | 07:29 |
Alex_21 | Bye | 07:29 |
jetole | actually, closing IRC | 07:37 |
jetole | need to focus on work | 07:37 |
jetole | ttyl | 07:37 |
Alex_21 | Lol | 07:37 |
Alex_21 | Good idea | 07:37 |
Alex_21 | Thanks for your help | 07:38 |
Alex_21 | Good night | 07:38 |
twb | Fuuuuuck | 07:41 |
twb | http://www.humanware.com/en-australia/products/blindness/braille_displays/_details/id_71/brailleconnect__12.html | 07:41 |
twb | The smallest resolution braille display; they want nearly four grand for. | 07:41 |
uvirtbot | New bug: #370464 in samba (main) "package samba 2:3.3.2-1ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 139" [Undecided,Invalid] https://launchpad.net/bugs/370464 | 07:41 |
jetole | does anyone know why I would suddenly start getting an error of "no route to host" for all hosts on my network however the gateway seems to be working fine on this same subnet and I can connect to the rest of the net fine | 08:31 |
jetole | this host is also a ids/firewall that uses eth0/eth1 as a bridge and continues to work for accessing all hosts on that network from computers outside of the net and has been setup like this for about 18 moths now | 08:32 |
jetole | Ah screw it. I'm driving to the data center to route a wire around the machine and then rebooting it and hoping that helps | 08:45 |
jetole | that helped :D | 09:11 |
isaac | jetole: :D | 09:12 |
jetole | isaac: :D | 09:12 |
jetole | on another note I switched from mutt back to thunderbird after using mutt for 6 months and I am still used to :x at the end of each e-mail message | 09:13 |
twb | What does :x do? | 09:14 |
jetole | ever used vim? | 09:14 |
twb | No, only ed and vi. | 09:14 |
henkjan | jetole: why did you downgrade to thunderbird? | 09:14 |
jetole | vi = vim... sorta | 09:14 |
twb | vim is for little girls | 09:14 |
jetole | henkjan: html, mark folders as read, etc | 09:14 |
twb | ed is a MAN'S editor | 09:15 |
jetole | I did an html wrapper for mutt but for some messages it just wasn't the same | 09:15 |
twb | jetole: you need to fix your customers so they don't send you HTML email | 09:15 |
jetole | twb: guess you don't use ubuntu then since you can't install vi, only a symlink to vim :P | 09:15 |
henkjan | indeed, no trouble with htmlmail overhere :) | 09:15 |
twb | jetole: you can install nvi and busybox vi. | 09:15 |
jetole | anyways, :x on vi(m) is close message and save if you made changes | 09:15 |
jetole | twb: didn't know that | 09:16 |
twb | jetole: vi is only a symlink to vim on YOUR system because you have vim installed. | 09:16 |
jetole | :x on vi is the same as :w :q | 09:16 |
jetole | twb: vim comes installed | 09:16 |
twb | jetole: depending on how you install Ubuntu, sure. | 09:16 |
jetole | how do you install ubuntu? | 09:16 |
twb | via netinst. | 09:16 |
* jetole shrugs | 09:18 | |
jetole | is that part of an IPX setup? | 09:19 |
jetole | er, not ipx | 09:19 |
jetole | or is it, the protocol that allows you to netboot from POST? | 09:19 |
jetole | post POST | 09:19 |
twb | You can netboot from the PXE ROM stored on your NIC, if your NIC has one. | 09:20 |
jetole | PXE, thats the protocol I was thinking of | 09:21 |
jetole | so do you use netinst as part of some PXE install system you have setup | 09:21 |
jetole | ? | 09:21 |
twb | netinst is just a kernel and ramdisk that you load via a PXE bootloader. | 09:22 |
jetole | ok | 09:22 |
twb | That ramdisk contains d-i and network drivers. The rest of the installer is anna-installed. | 09:22 |
jetole | ok | 09:22 |
twb | It's basically the same code as on mini.iso | 09:22 |
jetole | mini.iso? | 09:23 |
jetole | haven't heard of it | 09:23 |
jetole | just found the page for it | 09:23 |
twb | e.g. http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/karmic/main/installer-amd64/current/images/netboot/ | 09:24 |
jetole | I was looking at https://help.ubuntu.com/community/Installation/MinimalCD | 09:25 |
frojnd | Hello there | 10:19 |
frojnd | Yesterday I couldn't see mydomain.net/phpmyadmin, I did restart /etc/init.d/apache2 restart just to see what's going on, maybe apache2 doesn't allow something: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName httpd (pid 11643?) not running | 10:21 |
frojnd | ...done. | 10:21 |
frojnd | Is this cosing the phpmyadmin not to show when I go to mydomain.net/phpmyadmin? | 10:22 |
Kamping_Kaiser | lamont, are you the bind9 maintainer? | 11:25 |
jpds | 9 | 11:46 |
jpds | Whoops, sorry about that. | 11:46 |
Kamping_Kaiser | :) | 11:46 |
sluimers | Hi, I've got problems connecting to my mail accounts using squirrelmail and receiving e-mails. | 11:50 |
sluimers | http://paste.ubuntu.com/174853/ | 11:54 |
macno | sluimers: which imap server do you use? | 11:55 |
sluimers | courier | 11:55 |
macno | sluimers: do you have also pop enable? | 11:57 |
sluimers | SquirrelMail version 1.4.15, postfix 2.5.5, courier 0.60, ermm... I wouldn't know, I'm a newbie at this. How can I see if it is enabled? | 11:59 |
sluimers | enabled where? | 11:59 |
sluimers | I installed courier-pop | 11:59 |
macno | slide: telnet localhost 110 | 11:59 |
macno | slide: sorry sluimers: telnet localhost 110 | 12:01 |
sluimers | Hello there | 12:03 |
sluimers | :) | 12:04 |
sluimers | that works :) | 12:04 |
sluimers | +OK Hello there. | 12:04 |
macno | sluimers: ok, now try to login via pop to see the mailbox | 12:05 |
sluimers | how would I login via pop? | 12:06 |
macno | sluimers: http://paste.ubuntu.com/174860/ | 12:09 |
sluimers | logins fail | 12:13 |
sluimers | -ERR Login failed. | 12:18 |
lamont | Kamping_Kaiser: yes | 12:31 |
Kamping_Kaiser | lamont, wow... i didnt realise :/ | 12:31 |
uvirtbot | New bug: #377913 in bacula (universe) "package bacula-director-mysql 2.4.4-1ubuntu5 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/377913 | 12:36 |
tadeu_ | guys, i just installed a LTS but the server has no window manager, but i want gnome in clients. What i have to do? chroot to /opt/ltsp/ and install gnome ? | 12:45 |
_dthacker_ | tadeu_: yes you will need to pull in gnome. No x-windows managers by default. | 12:56 |
tadeu_ | _dthacker_, well, any idea how to install a "minimal" gnome environment ? | 12:58 |
tadeu_ | "apt-get install x-window-system-core xserver-xorg gnome-desktop-environment" will download 238MB =s | 12:58 |
_dthacker_ | no, sorry. don't run x-windows on servers in my environment. | 12:58 |
yann2 | _dthacker_ > installing it doesnt mean it is actually running. | 13:11 |
_dthacker_ | agreed. I do not install x windows on servers in my environment. | 13:12 |
=== scfh is now known as scfh_ | ||
=== scfh_ is now known as scfh | ||
j0nr | hi all. I recently acquired a VPS running Ubuntu 8.04. When I ssh into the server, the very first thing I noticed is that I cannot use the tab key very well to auto-complete things...for example, 'apt-g'+tab will complete 'apt-get', then followed by 'in'+tab would usually fill in the command 'install' but it isn't and if i just type it in , whats worse is not being able to then use tab completion to find packages... | 13:43 |
dguitar | j0nr, apt-cache search | 13:45 |
dguitar | you sure it's not a Debian VPS? | 13:45 |
j0nr | dguitar: shouldn't be, I have just rebuilt it again definately selecting ubuntu | 13:46 |
j0nr | #:q | 13:46 |
sluimers | Hi, I've got problems trying to setup a mail server. I'm trying to look at my mail accounts using squirrelmail, but instead I get an error -> http://paste.ubuntu.com/174853/. My e-mails seem to end up in /var/mail/vmail. I don't know if that's good thing. I use SquirrelMail 1.4.15, postfix 2.5.5, courier 0.60, mysql, phpmyadmin and ispconfig 3. | 13:46 |
stickystyle | I can't recall if 8.04 did the package completion. But if its a VPS the person may have installed JeOS and you may not have the bash-completion package | 13:47 |
dguitar | VPS owners tend to do funky things also... | 13:48 |
dguitar | Apt-cache is the best way around this. | 13:48 |
Daviey | It's often for VPS's not to be the "real deal".. if you check out #centos, they won't support people on VPS's for this reason. | 13:49 |
Daviey | Except they are just unhelpful :( | 13:49 |
dguitar | lol | 13:49 |
j0nr | is it because i am root | 13:49 |
dguitar | j0nr, I believe you are correct. | 13:50 |
dguitar | su - gives me no tab completion in apt-get | 13:50 |
j0nr | aha i have it sorted | 13:52 |
j0nr | via: http://forums.debian.net/viewtopic.php?t=26648 | 13:53 |
j0nr | thats better :) | 13:53 |
=== asac_ is now known as asac | ||
a_ok | what is the difference between -386 and -generic kernel? (besides that -generic boots and -386 does not) | 14:28 |
ball | hello a_ok | 14:29 |
a_ok | hi | 14:29 |
joe-mac | is there anyone at all who can possibly help me to get preseeding partman-auto-raid to work in 8.04 LTS? i'm not a noob, but I can't for the life of me get this to work. it's been months of trying and putting it away and going back and now i really kinda need it. | 14:42 |
joe-mac | anybody? http://www.pastie.org/481529 thjere is my preseed. funny thing is debconf-set-selections -c on it fails at line 66 and 67 (the partman-auto-raid recipe), however if i put it all on one line it parses. then when i get to thei nstall debian-installer complains my preseed is corrupt | 14:52 |
=== `6og is now known as Kamping_Kaiser | ||
fevel | hello | 15:05 |
fevel | my syslogd restarted at 7:21 brazillian time... how can I check logs before syslogd restarted? | 15:06 |
fevel | found it | 15:07 |
fevel | ssyslog.o | 15:07 |
ScottK | o/0 | 15:07 |
godsyn | please assist. My google-fu is weak. Looking on how to format a new disk. (ext3, mount, etc) | 15:14 |
ball | mkfs? | 15:17 |
joe-mac | godsyn: http://www.skullbox.net/newsda.php | 15:18 |
joe-mac | "adding a new hard disk to linux" has 9 million results | 15:18 |
joe-mac | i find it hard to belive you googled at all | 15:18 |
godsyn | ok.. how can I tell what drive is what? I'd hate to format /dev/hdc and later realize it is my root partition. | 15:18 |
joe-mac | godsyn: ah, now that's a better question, type fdisk -ls to list all your drives | 15:19 |
joe-mac | you should be able to deduce which is the drive you want to format, if not, take a look at the output of 'mount' which will tell you waht current drives you have mounted. from there, you can rule out that drive as a contender for getting formatted | 15:20 |
godsyn | exactly what I needed. Thank you joe-mac. | 15:20 |
joe-mac | np | 15:20 |
godsyn | yay, question after question.. I'll try googleing 1st.. (partition) | 15:23 |
godsyn | one more question.. your opinion on ext4. Is it too new? or stable enough for a home server.. | 15:32 |
ball | I'm running it. | 15:32 |
ball | It's not given me any grief, but ymmv | 15:33 |
joe-mac | i will probably migrate to it in a few motnhs, since performance on my crappy consumer pc at home is god awful and i'm hoping i can get some better io with ext4 | 15:33 |
godsyn | reformatting to ext4, then :) | 15:34 |
godsyn | well... after the 1tb format of ext3 finishes.. Thanks again for the hand holding. | 15:36 |
joe-mac | np, i would be careful to backup my data though sicne ext4 is pretty new | 15:36 |
godsyn | noted. ciao. | 15:37 |
ball | joe-mac: you might boost your performance by adding a second hard disk. | 15:37 |
ball | ...or just buying a single faster one. | 15:37 |
joe-mac | ball: my speeds are even low going to an external raid5 volume through sata. the machine just sucks. | 15:38 |
joe-mac | i'm ditching it for an ultra 45 once i am caught up on some bills | 15:38 |
ball | joe-mac: RAID5 may be slower than RAID1 | 15:41 |
joe-mac | uhhhh | 15:41 |
ball | joe-mac: how is it connected? | 15:41 |
joe-mac | sata. and how would raid5 ever be slower than raid1 | 15:41 |
joe-mac | ? | 15:42 |
ball | joe-mac: Perhaps I should have said RAID 1+0 | 15:43 |
joe-mac | well, barring hardware differences i meant. yea. | 15:43 |
oruwork | can someone recommend a web based project management software ? | 15:43 |
joe-mac | oruwork: a lot of people use trac. | 15:43 |
joe-mac | idk if i'd 'recommend' it though lol | 15:44 |
oruwork | heh | 15:44 |
oruwork | i need a task management tool for our small organization | 15:44 |
oruwork | to assign to tech and sales guys. | 15:44 |
joe-mac | tghere's also jira, the devs here use that | 15:45 |
yann2 | you still can use launchpad, there is also redmine | 15:50 |
=== LyonJT___ is now known as LyonJT | ||
=== benkant_ is now known as benkant | ||
=== benkant_ is now known as benkant | ||
=== Fumohh is now known as Fumoh|Work | ||
rkitect | i have a quick Ubuntu Server 9.04 install question if someone has a sec | 17:55 |
rkitect | when the install hits CD Drive detection phase, it can not detect the cd drive, yet it's loading the setup from the cd drive. Any ideas as to what the mishap is here? | 17:57 |
W8TAH | hi folks -- on last friday i had a hard drive that is part of a lvm fail. One of the members of the room helped me make a copy of the data from the lvm group using dd the command was (i think) dd if=/dev/sda conv=noerror,sync |gzip -9 >/media/photos/sda.dd i did that, then repaired the server (new drive) rebuilt it -- installed a raid this time, and configured... | 18:03 |
W8TAH | now im moving the data back, i tried just unzipping the file, but it doesent seem to be working as i expected | 18:03 |
oruwork | can someone recommend a web based project management software ? | 18:03 |
W8TAH | so what should i be doing | 18:03 |
oruwork | for a small organization to assign tasks and their priority and dead lines to our tech and sales guys | 18:03 |
phaidros | oruwork: 3 things. 1. trac is python, good community, lots of plugins http://trac-edgewall.org | 18:05 |
phaidros | oruwork: 2. redmine, is rails, multiproject, looks pretty complete though, but .. rails .. http://redmine.org | 18:05 |
phaidros | oruwork: 3. drproject is a 'fork' of trac+tracforge, just got moved to django, might be worth a look http://drproject.org | 18:06 |
phaidros | all those have tickets, sourcecode viewer for different repository types, gantt charts, timelines, roadmaps, milestones .. | 18:06 |
phaidros | .. if that was what you were looking for .. | 18:07 |
oruwork | phaidros-> i apreciate your advice | 18:07 |
phaidros | oruwork: I was just researching alot about all three, which to choose :) | 18:07 |
rkitect | any advice on cdrom not being detected during ubuntu server isntall? | 18:07 |
rkitect | from a cd | 18:08 |
oruwork | is track a wiki like software ? | 18:08 |
phaidros | oruwork: trac has also a wiki part. but it is *lot* more | 18:08 |
oruwork | i need to set up a easy to use task management tool to use within my 9 people organization, easy to use meaning none-tech guys should be able to use it with ease | 18:08 |
phaidros | tasks can be anything, tickets for example. tickets are usually parts of milestones & components, so you can see how many open and such .. | 18:09 |
phaidros | so, trac would be a do-it-yourself thing, brilliant lot of plugins, just take what you need. the basic trac is very useful for start, though | 18:10 |
phaidros | there are webbased groupwares out there, never used one which I liked. | 18:11 |
phaidros | there might be some thing out there, what one can call project management software. but that's a broad term, and I for myself like the trac thing (or alike). | 18:11 |
criminy|w | I'm reading the LDAP section on the ubuntu 8.04 server guide. It talks about Push and Pull LDAP configurations. Can this be done over SSH without a manually run SSH tunnel? | 18:12 |
criminy|w | I've got machines inside of networks I don't run myself, so I can't get 389 (or more likley the SSL ldap port 636) open. It was hard enough just getting the ports we have now. | 18:15 |
W8TAH | hi folks -- on last friday i had a hard drive that is part of a lvm fail. One of the members of the room helped me make a copy of the data from the lvm group using dd the command was (i think) dd if=/dev/sda conv=noerror,sync |gzip -9 >/media/photos/sda.dd i did that, then repaired the server (new drive) rebuilt it -- installed a raid this time, and configured... | 18:17 |
W8TAH | now im moving the data back, i tried just unzipping the file, but it doesent seem to be working as i expected | 18:17 |
W8TAH | so what should i be doing | 18:17 |
oruwork | phaidros-> trac looks a little too much and too complicated of what i'm looking for | 18:18 |
rkitect | where can i find error code listings for ubuntu server? | 18:18 |
rkitect | also, any advice on cdrom not being detected during ubuntu server isntall? | 18:19 |
phaidros | W8TAH: you should unzip the data and pipe that into dd, which is writing it onto a partition or lvm .. | 18:19 |
W8TAH | OHHHH -- ok - -im currently unzipping -- so its gonna be in a dd file of some sort? | 18:20 |
W8TAH | so id use dd of=/sda.dd | 18:20 |
W8TAH | of some sort? | 18:20 |
oruwork | phaidros-> looking for something like this http://www.workzone.com/images/PT-advanced-1005.gif | 18:22 |
rkitect | any advice on cdrom not being detected during ubuntu server isntall? | 18:23 |
=== hessml|away is now known as hessml|away|away | ||
yeason | question... what do you guys use/recommend for an irc server. I tried ircd-hybrid which worked, but I'm wondering if there's anything better? | 18:37 |
W8TAH | yeason: im using charybis and atheme -- works great -- good support - | 18:39 |
yeason | W8TAH: cool, I'll look into those, thanks | 18:40 |
PhotoJim | yeason: I use ircd-ircu because that's what the other servers on my network use, but it has some issues right now on Debian and Ubuntu. | 18:41 |
PhotoJim | I filed a bug report, which is being ignored :) | 18:41 |
yeason | W8TAH, is charybdis in the repos...? I'm not finding it | 18:43 |
phaidros | yeason: I always liked ngircd | 18:50 |
yeason | I'm basically looking for something fairly simple and easy to setup, this irc server will probably not be under much load, and thanks to those of you who have already given some ideas | 18:54 |
cemc | yeason: I'm using unrealircd | 18:55 |
W8TAH | yeason: no - -you have to set it up from source (its easy) | 18:58 |
rkitect | any advice on cdrom not being detected during ubuntu server isntall? | 18:58 |
W8TAH | check and make sure its plugged in, connected etc | 18:58 |
W8TAH | try a diff cdrom drive in case the one you have is bad | 18:59 |
PhotoJim | drive not detected, or media not detected? | 18:59 |
rkitect | drive no detected, but it's loading the setup from the drive it's not able to detect | 19:00 |
W8TAH | ive got the contents of a drive that i backed up using dd and gzip -- need some help with the command syntax to get it back | 19:00 |
rkitect | bios is detecting the drive fine, just the ubuntu instal that can't detect it or load correct modules for it | 19:00 |
yeason | W8TAH: I kind of thought that... after some googling, but the home page is not loading | 19:07 |
stefg | What do you guys think about running a firewall distro inside a VirtualBox machine on a fileserver? I'd like to get rid of the old boxes running endian and consider setting up ebox and put the firewall/gateway/proxy into a virtual machine instead of a separate box. Insecure? Broken thinking? Or green IT (by having 2 boxes less to run) ? | 19:08 |
W8TAH | http://www.stack.nl/~jilles/irc | 19:09 |
W8TAH | check that out | 19:09 |
W8TAH | i copied a drive with dd piping it to gzip -- im having problems reversing the process -- can someone please help | 19:09 |
jmedina | stefg: I run firewall/router inside virtualmachine usin Xen | 19:10 |
jmedina | I think it is the same in vbox | 19:10 |
stefg | jmedina: i was looking at that, too. But xen ruled itself out by the 'old-kernel-issue' and (more important) by having a co-admin which is quite clueless on the cli ... a Gui would come in handy | 19:12 |
yeason | W8TAH: that is the page that wont load for me... I'm not sure why | 19:12 |
W8TAH | try #charybdis on irc.staticbox.org | 19:12 |
yeason | thanks, I'm trying out a few of the other suggestions, if they don't pan out I'll give that a look | 19:14 |
W8TAH | i copied a drive with dd piping it to gzip -- im having problems reversing the process -- can someone please help | 19:25 |
ivoks | zcat file | dd | 19:25 |
W8TAH | thanks | 19:26 |
W8TAH | ivoks: that sent it to the console window -- i need to write the files to my hdd | 19:28 |
W8TAH | i tried zcat file |dd of=/dev/md1 and it says permission denied | 19:28 |
ivoks | zcat cat gziped file | 19:28 |
ivoks | are you root? | 19:28 |
W8TAH | yes | 19:28 |
W8TAH | i tried zcat file |dd /data and it complained that that was a directory | 19:29 |
ivoks | zcat file | dd of=device should work | 19:29 |
W8TAH | hummmmmm | 19:30 |
W8TAH | thats what i would have thought too -- | 19:30 |
W8TAH | is it possibly a problem that the gzipped file is on that partition already? | 19:30 |
ivoks | lol | 19:30 |
ivoks | yes | 19:31 |
W8TAH | oh -- ok -- i'll put it back on a portable then | 19:31 |
ivoks | you can dd only too unmounted device | 19:31 |
ivoks | to | 19:31 |
W8TAH | ohhhhh - so i'll need to boot to a live cd to take care of this then? | 19:31 |
W8TAH | since the os is also on that raid | 19:31 |
ivoks | well, think for a minute | 19:31 |
ivoks | dd is a raw copy of device | 19:31 |
W8TAH | ohh -- ok - -i didnt know that | 19:32 |
ivoks | it will replace everything on your disk | 19:32 |
ivoks | even the partition sizes | 19:32 |
ivoks | and types | 19:32 |
W8TAH | ugh | 19:32 |
W8TAH | not at all what i wanted to have happen | 19:32 |
ivoks | eh | 19:32 |
ivoks | you can do something else | 19:33 |
ivoks | you could gunzip the file | 19:33 |
* W8TAH is all ears | 19:33 | |
W8TAH | ok | 19:33 |
ivoks | and mount it | 19:33 |
W8TAH | mount the file? | 19:33 |
ivoks | and then copy files to partition | 19:33 |
ivoks | yes | 19:33 |
ivoks | mount -o loop file /mnt/dir | 19:33 |
W8TAH | cool | 19:33 |
W8TAH | and can it be on the raid or should it be on a portable drive to do that? | 19:33 |
ivoks | it can be on raid | 19:34 |
ivoks | did you dd partition or the disk? | 19:34 |
W8TAH | at the time it was a disk (part of a lvm that corrupted itself) | 19:34 |
W8TAH | ive replaced the bad disk | 19:34 |
W8TAH | and built it in a raid 1 this time | 19:34 |
W8TAH | and im trying to restore the data | 19:35 |
W8TAH | (i had a backup system failure at the same time) | 19:35 |
ivoks | so you dd if=/dev/sda | 19:35 |
ivoks | not if=/dev/sdaX | 19:35 |
ivoks | dd isn't for backup | 19:36 |
ivoks | dd is raw copy | 19:36 |
ivoks | that's not backup | 19:36 |
W8TAH | dd if=/dev/sda conv=noerror,sync |gzip -9 >/media/photos/sda.dd | 19:36 |
ivoks | why not tar contents of the disk? cccc | 19:36 |
W8TAH | ya -- i know its not - -my backup (tape drive) failed at the same time -- thats why im not just restoringing from tape | 19:36 |
ivoks | dd is for bare metal recovery | 19:36 |
W8TAH | someone here pointed me in that direction | 19:37 |
W8TAH | the drive was failing badly with read errors all over the place | 19:37 |
ivoks | ok | 19:38 |
ivoks | did you gunzip it? | 19:38 |
W8TAH | just getting ready to start now -- its 40 gb | 19:38 |
ivoks | you'll have to find partitions in the image first | 19:39 |
ivoks | fdisk -u -l dd_image | 19:39 |
W8TAH | before i mount it? | 19:39 |
ivoks | you can't mount disk, only partitions | 19:39 |
W8TAH | ok | 19:39 |
ivoks | when you get to that part, ping me | 19:40 |
W8TAH | ok | 19:40 |
W8TAH | its a machine full of our students home directories -- i just sent out a message to see if any teachers have students with anything critical on that drive -- ive spent 2 full days and parts of 2 more working on this -- and im beginning to wonder about the expendature of time | 19:43 |
ivoks | don't worry | 19:43 |
W8TAH | ok | 19:43 |
ivoks | if data is safe in that image, you'll recover it | 19:44 |
W8TAH | ok - -cool | 19:44 |
joe-mac | anybody around who has actually got partman-auto-raid going with 8.04? i have a preseed that looks like it should work, but it doesn't | 19:52 |
ivoks | W8TAH: how's it going? | 19:56 |
W8TAH | bout half done unpacking | 19:59 |
yeason | does ngircd have a nickserv or is that what atheme-services is for? | 20:14 |
W8TAH | that would be what services are for | 20:14 |
yeason | hmm... fun times... *looks for man page...* | 20:14 |
yeason | thanks again | 20:15 |
yeason | funny how a simple idea of starting your own server turns into a full time project | 20:15 |
W8TAH | ya -- it took quite a bit of work, but mine is up -- | 20:15 |
ivoks | brb | 20:17 |
W8TAH | ivoks: ive gotta go do bus dismissal duty back in 15 mins or so | 20:21 |
ivoks | well, it's 9:20pm here | 20:21 |
ivoks | so, don't expect me to be here for long :) | 20:21 |
nat2610 | if in a firewall rule I don't specify a a port, will it grant that rule to all the ports (iptables) | 20:21 |
RoAkSoAx | ivoks, heya master how's it going...? | 20:24 |
ivoks | RoAkSoAx: good, how about you? | 20:24 |
ivoks | RoAkSoAx: did you solve ftbs? | 20:24 |
RoAkSoAx | ivoks, busy as hell... when do you a little time to work on FTBS? | 20:24 |
ivoks | not today :/ | 20:25 |
RoAkSoAx | ivoks, nah I've been busy with work, some paperwork, and other personal stuff | 20:25 |
ivoks | sorry, i have lots of work to do | 20:25 |
RoAkSoAx | ivoks, yeah, me too, that's why i was asking when do you have a little time? | 20:25 |
ivoks | tomorrow? | 20:26 |
ivoks | at this time | 20:26 |
RoAkSoAx | ivoks, ok, awesome | 20:26 |
ivoks | or later | 20:26 |
RoAkSoAx | ivoks, ok i'll be around :) | 20:27 |
wizardslovak | jmarsden: well i didnt install clean 9.04 i upgraded to it , so it might not work lol | 20:35 |
W8TAH | ivoks: still around? | 20:52 |
ivoks | W8TAH: yes | 20:55 |
W8TAH | cool - ok its done extracting - -im getting ready to mount it | 20:55 |
W8TAH | i did the fdisk thing and i see the partitions | 20:55 |
ivoks | nice, paste the output on paste.ubuntu.com | 20:56 |
W8TAH | ok -- hang on -- im working between 3 computers here -- | 20:56 |
W8TAH | http://paste.ubuntu.com/175157 | 20:57 |
W8TAH | there ya go | 20:57 |
ivoks | urgh.. | 20:58 |
W8TAH | uh oh | 20:58 |
ivoks | hard to read | 20:58 |
W8TAH | oh -- want me to try another pastebin? | 20:59 |
ivoks | so, which partition do you want to mount? | 20:59 |
W8TAH | sda.dd3 | 20:59 |
W8TAH | the lvm partition | 20:59 |
ivoks | ok | 20:59 |
ivoks | do this: | 20:59 |
ivoks | mount -o loop,offset=21494970 -t auto image_filename /mnt/dir | 21:00 |
W8TAH | ok | 21:00 |
ajmitch | if it's really LVM, wouldn't it make sense to activate the volume in it? | 21:01 |
W8TAH | says i need to specify the filesystem time | 21:02 |
W8TAH | errr type | 21:02 |
ivoks | ajmitch: :) | 21:02 |
ivoks | right | 21:02 |
ivoks | but... how? | 21:02 |
ivoks | hm hm | 21:03 |
ajmitch | create a loop device from it, pvscan, vgscan, etc? | 21:03 |
ajmitch | it's been too long since I did it though :) | 21:03 |
ivoks | loop device from part of the image | 21:03 |
ajmitch | creating a loop device would be done with losetup --offset (I think) | 21:03 |
ajmitch | or... I could be completely wrong | 21:03 |
ivoks | there's kpartx | 21:04 |
ajmitch | I only did this a couple of years ago with an image from a dying drive | 21:04 |
* ajmitch is also horribly lagged on IRC trying to dput a package | 21:04 | |
ivoks | W8TAH: apt-get install kpartx | 21:04 |
W8TAH | ok | 21:05 |
W8TAH | done | 21:05 |
ivoks | losetup -f dd_image | 21:06 |
W8TAH | done | 21:06 |
ivoks | losetup -a | 21:06 |
ivoks | /dev/loopX - X is ...? | 21:06 |
W8TAH | //dev/loop0 | 21:07 |
W8TAH | one slash -- sorry | 21:07 |
ivoks | kpartx -a -v /dev/loop0 | 21:07 |
W8TAH | tholmes@srvfs-02:/data$ sudo kpartx -a -v /dev/loop0 | 21:08 |
W8TAH | /proc/misc: No entry for device-mapper found | 21:08 |
W8TAH | Is device-mapper driver missing from kernel? | 21:08 |
W8TAH | Failure to communicate with kernel device-mapper driver. | 21:08 |
W8TAH | /proc/misc: No entry for device-mapper found | 21:08 |
W8TAH | Is device-mapper driver missing from kernel? | 21:08 |
W8TAH | Failure to communicate with kernel device-mapper driver. | 21:08 |
ivoks | don't paste here | 21:08 |
W8TAH | Incompatible libdevmapper 1.02.20 (2007-06-15)(compat) and kernel driver | 21:08 |
W8TAH | device mapper prerequisites not met | 21:08 |
W8TAH | 21:08 | |
W8TAH | sorry | 21:08 |
ivoks | you should load device-mapper module | 21:08 |
W8TAH | modprobe? | 21:08 |
ivoks | dm-mod | 21:09 |
ivoks | modprobe dm-mode | 21:09 |
ivoks | modprobe dm-mod | 21:09 |
W8TAH | ok - got some adds | 21:10 |
ivoks | kpartx finished? | 21:10 |
W8TAH | yup | 21:10 |
ivoks | go to /dev/mapper | 21:10 |
ivoks | ther should be loop0p1 p2 and p3 | 21:10 |
W8TAH | control loop0p1 and loop0p2 | 21:11 |
ivoks | right, two | 21:11 |
ivoks | hm... | 21:11 |
W8TAH | device-mapper: reload ioctl failed: Invalid argument | 21:11 |
W8TAH | showed up during the kpartx run | 21:11 |
ivoks | vgchange -a -y | 21:11 |
W8TAH | not installed -- do i want to install lvm2? | 21:12 |
W8TAH | (im guessing yes) | 21:12 |
ivoks | yes | 21:12 |
yeason | I'm playing with ngircd, does somebody know of an irc services package that works with it...? | 21:12 |
W8TAH | the vgchange command choked -- invalid arguement -y | 21:13 |
W8TAH | error during parsing end of command line | 21:13 |
ivoks | -ay | 21:13 |
W8TAH | no volume groups found | 21:13 |
ivoks | or... | 21:14 |
ivoks | vgchange a y | 21:14 |
ivoks | -ay | 21:14 |
ivoks | bah... | 21:14 |
ivoks | :) | 21:14 |
ivoks | run kpartx again | 21:14 |
W8TAH | same command? | 21:14 |
ivoks | yes | 21:14 |
W8TAH | done -- still got the reload ioctl failed result | 21:15 |
ivoks | could you paste the output of kpartx on paste.ubuntu.com? | 21:15 |
W8TAH | http://paste.ubuntu.com/175167/ | 21:16 |
W8TAH | there ya go | 21:16 |
ivoks | then, there are three, not two | 21:17 |
W8TAH | ya --but only 2 show up in /dev/mapper | 21:17 |
ivoks | ok | 21:17 |
W8TAH | the unzip option gave an unexpected end of file -- might that be the issue? | 21:18 |
ivoks | hopefully not | 21:18 |
ivoks | vgchange -a y | 21:18 |
W8TAH | no volume group found | 21:19 |
ivoks | bah... | 21:19 |
W8TAH | ive another file but its 120gb so i was messing with this one first -- as its smaller | 21:19 |
W8TAH | far as i know that one is ok | 21:19 |
ivoks | 120gb of gziped data? | 21:19 |
W8TAH | yes | 21:20 |
ivoks | is your new disk bigger than the old one? | 21:20 |
W8TAH | no | 21:20 |
ivoks | uh | 21:20 |
W8TAH | in the old system, there were 2 250 gb hdd in a lvm configuration -- in the new system, there are 2 250gb disks in a raid 1 | 21:21 |
ivoks | since dd is a disk image, extractd it's size is size of the disk | 21:21 |
W8TAH | oh gag | 21:21 |
ivoks | how come you managed to reduce it to 40GB? | 21:21 |
W8TAH | thats the other disk -- we are working on the image of sda the large one is sdb | 21:22 |
ivoks | ok | 21:22 |
W8TAH | im guessing wondering / guessing that either it was so corrupted that it didnt get it all -- or possibly the portable i was extracting to filled up | 21:22 |
ivoks | find /dev -name loop0p3 | 21:22 |
W8TAH | ok | 21:22 |
W8TAH | nothing | 21:23 |
ivoks | so, it knows about partitions, but can't access them | 21:23 |
ivoks | hm | 21:23 |
W8TAH | im starting to get the feeling that that image is hozed | 21:23 |
ivoks | could be | 21:23 |
W8TAH | dd could be used as a linux equivalent of ghost couldnt it | 21:24 |
ivoks | that's the disk with bad sectors? | 21:24 |
W8TAH | b had the bad sectors yes | 21:24 |
ivoks | dd is exactly that | 21:24 |
W8TAH | ok | 21:24 |
ivoks | i'm out of ideas | 21:25 |
ivoks | anyone? | 21:25 |
Mick27 | hi eveeryone | 21:25 |
W8TAH | i didnt realize that dd was making a copy of the entire disk -- id have handled things differenty :( | 21:25 |
Mick27 | anyone playing with vmbuilder those days ? | 21:26 |
ivoks | W8TAH: eh... | 21:27 |
W8TAH | well.... from what the faculty has told me -- only one student has a critical project on it -- i talked to that teacher and she can grade it another way if necessary | 21:27 |
W8TAH | im beginning to think that just scrapping and picking up with life might be the best way to go | 21:28 |
ivoks | :) | 21:28 |
W8TAH | and making darn sure the backup system is working right :D | 21:28 |
W8TAH | (which it is now) | 21:28 |
ivoks | sorry, but kernel can't read that partition | 21:28 |
W8TAH | ya - i understnad | 21:29 |
W8TAH | its ok -- i appreciate all the help | 21:29 |
W8TAH | ive learned a lot | 21:29 |
ivoks | too bad you can't use new knowledge for this problem :/ | 21:30 |
W8TAH | ya -- however i am using some to prevent it from happening again -- my new servers will be getting raids across the board - -then i'll be going back and where possible installing raids on existing ones | 21:30 |
ivoks | note: raid is not backup | 21:31 |
W8TAH | i know this | 21:31 |
W8TAH | but in this case -- it would have saved my butt | 21:31 |
ivoks | raid saves the day for most hardware disk failures | 21:31 |
W8TAH | yup - | 21:31 |
W8TAH | a combination of that and a valid backup would have made a huge difference | 21:31 |
GullyFoyle | good cheap domain registrar? my domain name is available again | 21:31 |
W8TAH | godaddy.com | 21:32 |
ivoks | 'night all | 21:33 |
W8TAH | night -- thanks again | 21:33 |
W8TAH | ok -- for all you admins out there -- im this week receiving a server with 5 150gb disks -- initially i was going to combine them under LVM and make one monster (3/4tb) file server -- the events of the last week have changed my mind -- how would you configure the system? im thinking a raid 5 (3 disks (critical data)) and a raid 1 (2 disks (os and not as critical data)) | 21:36 |
W8TAH | comments or suggestions? | 21:37 |
nks- | is there any good documentation for the dovecot-postfix meta package? | 21:37 |
Mick27 | anyone has managed to use vmbuilder with lvm without having to convert the image ? | 21:49 |
nks- | is there any good documentation for the dovecot-postfix meta package? does the username&passwords match dose of the real users? | 22:11 |
TimReichhart | hey jetole I finally got my problem fix | 22:20 |
TimReichhart | but now I cant login to my roundcube | 22:22 |
wizardslovak | sooo | 23:10 |
wizardslovak | anyone is here? | 23:10 |
ajmitch | yes, but some of us are working | 23:12 |
wizardslovak | ok | 23:13 |
phaidros | +1 | 23:14 |
ericjoseph | is it possible to install ubuntu server from a live cd using ssh? | 23:26 |
MianoSM | No. | 23:27 |
MianoSM | You would need sshd installed and running in order to even get a session, right? | 23:27 |
ericjoseph | well is it possible to install ubuntu server from an ubuntu desktop live cd if you download some additional files? | 23:29 |
PhotoJim | possible, in a sense... not recommended though | 23:30 |
ericjoseph | so install from CD is really the only supported method? | 23:30 |
PhotoJim | the only easy supported method | 23:30 |
PhotoJim | you'd need to be very familiar with Ubuntu to easily change a desktop install to a server install | 23:31 |
PhotoJim | besides, you probably don't want a GUI on a server | 23:31 |
PhotoJim | better to keep the horsepower and RAM for serving instead of eye candy | 23:31 |
ericjoseph | well i noted that you can install ubuntu desktop from the live cd (booted into the live cd environment, there's an install shortcut on the desktop) just wondering if other installs are possible from that environment | 23:32 |
PhotoJim | not really. you install a desktop system. and then you can add and remove packages to make it whatever you want. | 23:32 |
PhotoJim | on the other hand, you can use the alternate install CD to readily easily install whatever sort of system you need. | 23:32 |
PhotoJim | but the server install CD is optimized to create a server. it's definitely the best way. and the only way I'd recommend to someone without deep Linux knowledge. | 23:33 |
ericjoseph | well i'm used to doing gentoo installs... boot up the livecd and ssh in and you can do the whole install from ssh. i'm sure it can be done in ubuntu as well but probably more of a pain. | 23:33 |
PhotoJim | just do a really minimal install off the alternate CD, then ssh in and actually set up your system. not quite the same, but similar. | 23:35 |
andol | ericjoseph: Well, if you want something really similiar to just booting up and connecting by ssh you can always boot up any live cd and do a manual install using debootsrap. | 23:40 |
andol | ericjoseph: Just not sure if it is worth the effort :) | 23:40 |
ericjoseph | thx andol. i'll look into that | 23:40 |
ericjoseph | well i don't have a CD drive in the system i want to install ubuntu on. i do have a persistent ubuntu 8.1 live CD on an external usb drive though that i can boot off of | 23:41 |
andol | s/debootsrap/debootstrap/ | 23:42 |
Nafallo | hmm. we didn't release any Ubuntu in January 2008. | 23:53 |
Nafallo | I wonder if it might be 8.10 that's meant... | 23:53 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!