.:: Bots United ::.  
filebase forums irc server wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps waypoints yapb

Go Back   .:: Bots United ::. > Cyborg Factory > HPB_bot
HPB_bot The trusty good ole mechs by botman HLDMTFCOpposing ForceDMCFront Line Force

Reply
 
Thread Tools
please rename HPB bots hostname
Old
  (#1)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default please rename HPB bots hostname - 04-03-2004

The underscore in hpb_bot.bots-united.com is an "illegal" DNS character.
Renaming the site to hpb-bot.bots-united.com would be appropirate as this causes errors by some proxies. Or at least add this as an alternative hostname.
  
Reply With Quote
Re: please rename HPB bots hostname
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 4643'60N 043'0W 0.187A
Default Re: please rename HPB bots hostname - 04-03-2004

Eek! Thanks for the tip.

Could you tell memed about this ? I'm over busy right now and I don't think I'll have time to change it but memed can help. Tell him to do a grep on /home/bots-united.com and change all the links that point to hpb_bots.bots-united.com as well.

Thanks again! (and thank him for me btw )



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: please rename HPB bots hostname
Old
  (#3)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: please rename HPB bots hostname - 04-03-2004

ok, i made a full search (4 results) and i completly sed'ed the database. no more links to hpb_bot.... should be found.
(yes i did dump, sed and re-import the whole database, _thats_ what i like on db's you can dump and work on them ...)

cheers

p.s. for the interessted, thats why i like beeing a DBA:
Code:
 mysqldump -c --add-drop-table -u <some-user> -p<some-pass> botsunited_database |grep -v "^--"|sed  's/http://hpb_bot.bots-united.com/http://hpb-bot.bots-united.com/g'>botsunited_vb3-04032004-restore.sql ;mysql -u <some-user> -p<some-pass> botsunited_database < botsunited_vb3-04032004-restore.sql


sunny morning view from my balcony:

see our WIKI!
see our filebase!

Last edited by Onno Kreuzinger; 04-03-2004 at 15:08..
  
Reply With Quote
Re: please rename HPB bots hostname
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 4643'60N 043'0W 0.187A
Default Re: please rename HPB bots hostname - 04-03-2004

you rock, memed

Just for my information, what did the grep -v "^--" do ? what's the characteristic of a ^-- pattern in a database dump ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: please rename HPB bots hostname
Old
  (#5)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: please rename HPB bots hostname - 04-03-2004

that grep -v is just to remove the comments starting with -- which mysqldump prints out by default. one of these silly default options i refuse to correct by looking for command line options. i just use the tools i know, like grep

p.s. grep -v "^--" removes all lines starting with "--", obviously no sql statement

p.p.s.
FYI:
the db is 24 mb in size


sunny morning view from my balcony:

see our WIKI!
see our filebase!

Last edited by Onno Kreuzinger; 04-03-2004 at 15:32..
  
Reply With Quote
Re: please rename HPB bots hostname
Old
  (#6)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: please rename HPB bots hostname - 04-03-2004

nice work, that's the way to do things
  
Reply With Quote
Re: please rename HPB bots hostname
Old
  (#7)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: please rename HPB bots hostname - 04-03-2004

hmm most "planners" and "chief programmers" don't like my way, its too pwerfull i guess and heck, mistakes are less often if you do it the KISS way [KEEP IT STUPID SIMPLE].


sunny morning view from my balcony:

see our WIKI!
see our filebase!
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com