@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> hi
<1> enyone awake ?
<1> to to use my ip but iam not at home , best way to setup a proxy server on a bsd box ?
<1> *need to use
<2> what?
<2> use your ip for what?
<2> how? more info
<2> you want to do www and have same IP address like at home?
<1> need to connect to some ftp accounts that are locked to my home ip
<2> ok
<2> you can do ssh tunnel
<2> or you can just ftp from home
<2> you ssh into your bsd box, and ftp out from it; or ssh to your bsd box and tunnel out of it
<1> yeah but i want to use a gfx client not ncftp or pftp
<2> ssh tunnel then
<1> would be nice to run a proxy on my home box to go true



<2> yeah, you can do that too
<2> but you would still have to ssh tunnel to it
<2> otherwise everyone can use your proxy
<2> unless you know how to lock it down
<1> stunnel ?
<2> no
<2> you got putty?
<1> yeah
<2> there is a section tunneling
<2> here is how it works
<2> it binds a local port to localhost to whatever remote destination and port
<2> you set it up
<2> or you could use ssh -L 80 google.com:80
<2> which would bind your localhost:80 through your ssh box to google.com on port 80
<1> the ssh/tunnel option ?
<2> yes
<2> thats the same way you setup tunneling in putty
<1> need to setup so i can , ad a proxy in my flashfxp client so the boxes i connect to will think iam connection from my home ip
<1> a1fa: thx for the info , got it working now
<2> lew;
<2> kewl
<2> glad to help
<3> hi
<4> hi, whats the command to execute a script on remote ftp server?
<5> site exec, but it's extremely unlikely you'll be allowed to
<4> Response: 'SITE EXEC' not understood
<4> hah
<4> So how can I run that script?
<6> ssh ?
<4> the FTP server is hosted on lycos :)
<6> hmm.. i'm trying to compile wxWindows 2.8.0 anywone done it before?
<7> Why is openbsd so hard to install the drives?
<8> why it is hard to install the drives?
<7> it just confuses me, theres no option to just select auto/use all of drive...
<5> puhleeze, just use your brain a little
<9> I'm having problems getting mysql-server to run in OpenBSD4.0. I installed it via packages and in my.cnf I set socket = /var/www/var/run/mysql/mysql.sock; Then I did sudo mkdir -p /var/www/var/run/mysql; and when I run mysqld_safe & it says it can't bind to unix port /var/www/var/run/mysql/mysql.sock, any ideas?
<5> there are minimum recommended partition sizes in the faq, but the ideal sizes are entirely dependant on your application, not some hard coded script
<8> Ficus : so, would you figure out what will mean "automatic" ?
<7> ok
<10> ncaller: there's usually an error # as well with that message
<9> I'll check
<7> first time install about to take place, i want to use it for web server, php, mysql, and maybe sendmail/mx eventually...
<7> what do you recommend I set drive size to, and set the slices as?
<7> im running in a vmware env
<10> it's first install who cares, fire away and play around with it :)
<9> [ERROR] Can't start server: Permission Denied: Do you already have another mysqld server running on socket: /var/www/var/mysql/mysql.sock ? [ERROR] Aborting
<8> Plat4m: if you are/will confuse, you could always make a / and swap only :)
<7> I understand the concept of different slices, and why its done, but im not sure what values to set to... I use freebsd at the moment.
<9> think of slices as partitions within a partition
<9> if you don't want your box to crash when /var/log is filled up you put in in a separate slice
<7> I just need some example values of what people use for say, an 8-10gb drive...
<9> what do you intend to run on the box? server of some kind?
<7> Apache, php, mysql, sendmail, f
<7> tp
<10> / 400M, /tmp 1G, /var 3G, /usr 8G, rest for /home
<10> that's mine
<10> rest of storage is made up of big raid partitions freely mounted where I feel i need em
<7> thanks, what do you run on it?
<10> apache, pf, samba
<10> djbdns



<7> ok, thanks
<10> oh, and openvpn, ftpd
<9> I fixed my problem: chown _mysql:_mysql /var/www/var/run/mysql
<7> ok, after I select use all disk space, then write/q, it says about next step will destroy all data, I answer yes to proceed and it gives
<7> newfs: /dev/rwd0a: Device not configured
<7> mount ffs: /dev/wd0a on /mnt: Device not configured
<7> any ideas?
<11> disklabel wd0
<7> ok, then what would I need to do?
<7> its put me into a shell... # instead of >
<11> what show diskalbel wd0?
<11> show the partitions table?
<7> yep.. theres a: and c:
<11> only the a y c?
<11> have any partition SWAP?
<8> it is not neccessary
<11> why?
<8> if it is during install proccess and he can successful disklabel wd0 ran by installaton script; then there are error reporting by newfs..
<8> maybe hard drive failures?
<7> yes only a and c
<7> umm
<12> you should add swap regardless
<6> hmm
<6> so, yeah, i'm trying to compile wxWindows 2.8.0
<6> and after ./configure tells me it doesn't find Xlib.h but doesnt' complain about it ... I launch make, and well, it turns out that file IS required
<6> but that files seems to not exist anywhere
<6> ah, nevermind
<6> it's in xshare40.tgz .... and I though all I needed was xbase40.tgz
<6> silly me
<3> question: i did a "fsck -f /dev/wd2a" because "df -h" shows "/dev/wd2a 144G -38.6G 176G 2959% /wd2"
<3> what means this and what can i do do clean my fs ? " cannot alloc 4294966428 bytes for inphead"
<3> only about 40GB of the disk (total of 144GB) is used
<8> please do disklabel wd2
<3> a: 312581808 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 310100)
<3> do you need more of the output ?
<8> yeah, please give all output
<3> -> disklabel wd2
<3> # /dev/rwd2c:
<3> type: ESDI
<3> disk: ESDI/IDE disk
<3> label: SAMSUNG SP1604N
<12> pastebin it
<12> did you set th disklabel and partition up on openbsd?
<3> argh
<3> i think so.
<3> did it like always. disklabel, then fdisk
<12> you mean fdisk then disklabel
<12> right?
<12> then newfs
<3> ah yes
<3> http://pastebin.ca/323794
<12> has this disk been working fine for a while and then shown this?
<3> yes
<3> working for about 6-12 months.
<3> i am wondering partition start at 0 and not at 63
<8> m.. and fdisk ?
<12> you could try fscking using one of the alternate superblocks
<3> fdisk - device still busy because i copy files .
<12> you should start at a one track offset
<3> fsck on 3.2 had no -b . i wanted to install 4.0 today then relized this issue. no i first back up data
<12> you are running 3.2 now?
<12> or is this problem after installing 4.0?
<3> yes :-) i said i was lazy. this box runs since i don't know when
<12> i wonder if because you didn't start at 63 the superblock has clobbered the disklabel or vice versa
<3> no 3.2
<12> well, once you've backed up, i'd go up to 4.0 and fsck -b
<12> ***uming it doesn't work in 4.0 either
<3> okidok. thats what i though. just wanted to know what actually could have happened to avoid such issues in future
<12> i'm not sure but it looks like something is very confused
<12> 3.2 is years ago so i don't know, maybe you hit a bug
<3> anyway. thanks your for your advice.
<7> OpenBSD here I come :|
<8> welcome back Plat4m :)
<7> thanks


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #openbsd
or
Go to some related logs:

#red
#windows
#beginner
#flash
#windows
#delphi
#computers
word proccese
#worldcup
#beginner



Home  |  disclaimer  |  contact  |  submit quotes