--
You received this message because you are subscribed to the Google Groups "Cagayan de Oro Ubuntu Linux Users Group" group.
To post to this group, send email to Ubunt...@googlegroups.com.
To unsubscribe from this group, send email to Ubuntu-CDO+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/Ubuntu-CDO?hl=en.
what part sa page hdwyrd ga error? di ko man makita
best regards -botp
--
You received this message because you are subscribed to the Google Groups "Cagayan de Oro Ubuntu Linux Users Group" group.
To post to this group, send email to Ubunt...@googlegroups.com.
To unsubscribe from this group, send email to Ubuntu-CDO+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/Ubuntu-CDO?hl=en.
my problem is i cannot see the problem ;-)
--
You received this message because you are subscribed to the Google Groups "Cagayan de Oro Ubuntu Linux Users Group" group.
To post to this group, send email to Ubunt...@googlegroups.com.
To unsubscribe from this group, send email to Ubuntu-CDO+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/Ubuntu-CDO?hl=en.
yes, stephen, the funny thing is that that link works on my pc here...
i've already set my client to no-cache...
best regards -botp
now i'm more puzzled. digging thru the dns, it seems that qitc is just
a cname to ciso-www. if the hostname just resolves to the same server,
ip ie, then there should be no problem w regards to qitc if ciso-www
is working, no?
$ irb
+---------------------------------------------------------------------
| hello, botp
| this is the irb conf (find me at /disk2_2/home/botp/.irbrc)
| happy irb/rubying.
| you can now enter ruby commands
| type "quit" anytime to exit irb..
+---------------------------------------------------------------------
puts `dig qitc.xu.edu.ph`.each_line.select {|x| x !~ /^(;|$)/ }
qitc.xu.edu.ph. 591978 IN CNAME ciso-www.xu.edu.ph.
ciso-www.xu.edu.ph. 591978 IN A 202.84.119.212
#=> nil
best regards -botp
On Mon, Jan 10, 2011 at 2:26 PM, botp <bot...@gmail.com> wrote:
> On Mon, Jan 10, 2011 at 2:03 PM, Stephen Piana <stephe...@gmail.com> wrote:
>> sa qitc.xu.edu.ph na link ga Database error dli ka connect sa mysql. :D
>
> yes, stephen, the funny thing is that that link works on my pc here...
> i've already set my client to no-cache...
now i'm more puzzled. digging thru the dns, it seems that qitc is just
a cname to ciso-www. if the hostname just resolves to the same server,
ip ie, then there should be no problem w regards to qitc if ciso-www
is working, no?
$ irb
+---------------------------------------------------------------------
| hello, botp
| this is the irb conf (find me at /disk2_2/home/botp/.irbrc)
| happy irb/rubying.
| you can now enter ruby commands
| type "quit" anytime to exit irb..
+---------------------------------------------------------------------
puts `dig qitc.xu.edu.ph`.each_line.select {|x| x !~ /^(;|$)/ }
qitc.xu.edu.ph. 591978 IN CNAME ciso-www.xu.edu.ph.
ciso-www.xu.edu.ph. 591978 IN A 202.84.119.212
#=> nil
best regards -botp
yes, i'd like to help troubleshoot but "unfortunately", i do not get
any error msg that i can tract :-)
> Gadugo jud akong ilong sa ruby dah. Hehe.
warning: ruby session ahead :-))
as much as possible, i'd like to run scripts using ruby. just one way
to hone ruby skill..
>> puts `dig qitc.xu.edu.ph`.each_line.select {|x| x !~ /^(;|$)/ }
puts is just like printf with an autonewline if needed
the meat is just the dig command wc is executed thru the os shell.
the backquotes is similar to *nix's shell that returns the ouput
string after execution.
the dot in ruby is an oop speak. it separates the object and the
message/method, and it's chainable.
each_line makes the dig string output into an enumerator/iterator as per line.
select will select and output only those lines that are not comments
and not empty
kung sa bash pa, i'd do that as
$ dig qitc.xu.edu.ph | egrep -v "^(;|$)"
qitc.xu.edu.ph. 595554 IN CNAME ciso-www.xu.edu.ph.
ciso-www.xu.edu.ph. 595554 IN A 202.84.119.212
sa ruby, there's a more o-o way to do that (apologies for more bleed
if any) ... iow, you can simply do,
puts Resolver("qitc.xu.edu.ph").answer
qitc.xu.edu.ph. 595087 IN CNAME ciso-www.xu.edu.ph.
ciso-www.xu.edu.ph. 595087 IN A 202.84.119.212
that is we only want the answer section of the resolver..
best regards -botp
On Mon, Jan 10, 2011 at 4:17 PM, Jon Doblados <jon.do...@gmail.com> wrote:yes, i'd like to help troubleshoot but "unfortunately", i do not get
> Yes that should be the case. It may be possible that the db connection
> scripts are using fqdn for the host param and the server does not resolve to
> internal IP (since it's trying to connect via public IP and ports aren't
> open from the outside). Perhaps a change to "localhost" as host param in the scripts would help?
any error msg that i can tract :-)
warning: ruby session ahead :-))as much as possible, i'd like to run scripts using ruby. just one way
to hone ruby skill..