• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: I moved my server, changed ip and now..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I moved my server, changed ip and now..


  • Subject: Re: I moved my server, changed ip and now..
  • From: James Cicenia <email@hidden>
  • Date: Sun, 13 Apr 2008 07:17:02 -0500

New information....

So I went to sleep, go up, tried again. This time something different!

I added a new mysql user with the specfic ip as the server. Then when
I restarted my WO Server it started.. however, now, it only works if I
have the IP instead of the domain name in the URL? I think this is
because I am using localhost in the hosts setup. Which brings me back
to that weird host lookup problem.

James



On Apr 13, 2008, at 5:52 AM, Mr. Pierre Frisch wrote:

James,

Could you have a look into /etc/hostconfig and check the parameter: HOSTNAME=-AUTOMATIC-
I would also dump the file /etc/resolv.conf


Cheers

Pierre
--
Pierre Frisch
email@hidden


On Apr 12, 2008, at 22:07, James Cicenia wrote:

1) Yes I swear and moved it to a new colo.
2) telnet localhost 3306
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
=
5.1.12-beta-log+5h,?9?q,<wckolP,))2\Connection closed by foreign host.


3) No.
4) I tried all four, localhost, 127.0.0.1, 217.yada, and mydomain.com
5) again gives me that weird:
Escape character is '^]'.
=
5.1.12-beta-logeXi'"uKV,Na"~yekl\gs*Connection closed by foreign host.



6) Which error which stack trace? 7) I am using tiger 10.4.11

-j-



On Apr 13, 2008, at 12:01 AM, Mike Schrag wrote:

1) First of all, are you sure you're telling us everything? Did you ONLY change the IP address ... NOTHING else?
2) If you "telnet localhost 3306", does it connect to MySQL?
3) Did you do anything weird, like turn on IPV6 or something that might cause possible incompatibilities between things?
4) What exactly is the connection string you're using for your database from WO? Is it localhost, is it 127.0.0.1, or the new IP?
5) If it's not localhost, can you "telnet thehostthatitisusing 3306" and does THAT connect?
6) You're including an error message that I've never seen before, but no stack trace. What is the FULL error WITH stack trace?
7) Just for grins, try sudo'ing the telnet command as the user your app is running as (this is a total mojo check, but with Leopard's crazy new ACL's and sandboxing, you never know what might be possible).


ms

On Apr 13, 2008, at 12:43 AM, James Cicenia wrote:

Still stumped...

I can't understand it. Everything looks good, my php apps work, my phpmyadmin works,
but WO won't connect to the database?!


Anybody?

Thanks

On Apr 12, 2008, at 7:56 PM, Mr. Pierre Frisch wrote:

Did you run the command line tool changeip?

For MySQL yo need to check the access rights as they are by machine i.e. by IP address.

Pierre
--
Pierre Frisch
email@hidden


On Apr 12, 2008, at 16:11, James Cicenia wrote:

My apps start but can't open a connection to the mysql database.
It is running. I can access it via phpMyAdmin and remotely. So...
What is hanging up my WebObject Applications?

Did i miss something in the IP change? I am running OS X Tiger
Server on an Intel dual core XServe.

Thanks
James Cicenia

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (email@hidden )
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: I moved my server, changed ip and now..
      • From: James Cicenia <email@hidden>
References: 
 >I moved my server, changed ip and now.. (From: James Cicenia <email@hidden>)
 >Re: I moved my server, changed ip and now.. (From: "Mr. Pierre Frisch" <email@hidden>)
 >Re: I moved my server, changed ip and now.. (From: James Cicenia <email@hidden>)
 >Re: I moved my server, changed ip and now.. (From: Mike Schrag <email@hidden>)
 >Re: I moved my server, changed ip and now.. (From: James Cicenia <email@hidden>)
 >Re: I moved my server, changed ip and now.. (From: "Mr. Pierre Frisch" <email@hidden>)

  • Prev by Date: Re: I moved my server, changed ip and now..
  • Next by Date: Re: I moved my server, changed ip and now..
  • Previous by thread: Re: I moved my server, changed ip and now..
  • Next by thread: Re: I moved my server, changed ip and now..
  • Index(es):
    • Date
    • Thread