Re: can't get subversion/Apache2 to work properly



On Apr 12, 10:23 am, "jamesromeongmail.com" <jamesr...@xxxxxxxxx>
wrote:
On Apr 9, 10:57 pm, "jamesromeongmail.com" <jamesr...@xxxxxxxxx>
wrote:



On Apr 9, 9:28 pm, "jamesromeongmail.com" <jamesr...@xxxxxxxxx> wrote:

On Apr 9, 7:32 pm, Michael Soibelman <in-...@xxxxxxxxx> wrote:

jamesromeongmail.com wrote:
On Apr 9, 5:04 pm, Michael Soibelman <in-...@xxxxxxxxx> wrote:
jamesromeongmail.com wrote:
I do have php5-pdo installed. Is that were the pdo mysql drivers are?

No.  It is provided by php5-mysql

I have that installed. So now what?

So what happens when you start:

http://localhost/usvn ;?

Still the same warnings ?

Suspect you have still not got the modules loading.

post the results of loading the url above..

By now I'm not sure where you're at..

Whoops. mysql is having problems. Now when I try to log into it, I
get:
jargw:/etc/init.d # mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
jargw:/etc/init.d # rcmysql status
Checking for service MySQL:
running

What does this mean?

Well, this error is very common on the mysql forums. So I moved the
socket to /tmp in the server and client sections of my.cnf.
I can log into mysql as root (the system root using the mysql root
pwd).
jargw:/etc/init.d # mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.51a SUSE MySQL RPM

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

But if I do it as myself, it still thinks the socket is in /var/lib/
mysql:
 jar@jargw:~> mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

The socket is in /tmp:
ls -l /tmp/my*
srwxrwxrwx 1 mysql mysql 0 Apr  9 21:58 /tmp/mysql.sock

So something is still strange in the configuration

Well, I reinstalled SUSE 10.3 because it was mysteriously rebooting,
and was able to install usvn successfully. But how does it actually
work? I created the projects, but they are empty. How do I get data
into them, and how do I check in and check out files via the Web
interface. The usvn documentation is almost non-existent.

I do not have an existing subversion database, so I cannot use thier
import from subversion option.

Thanks,
Jim

I figured this out finally. For others that are stuck, here is what I
did:

Subversion issues
0) You must install subversion from subversion.tigris.org (or the
Linux rpms).

1) You must use a real ip address if anyone external needs to access
it. I got an alias from dyndns.org
https://myip.dyndns.org/usvn/svn/project_name/trunk as the URL.
Of course, open the 443 port to this internal machine and put on some
type of authentication.

2) But this will not work until you manually accept the snake oil
https certificate. So do (at a command prompt)
svn list https://myip.dyndns.org/usvn/svn/project_name/trunk
and accept the certificate permanently.

3) Then you can configure NetBeans to find it.
-> In options/miscellaneous/version control, give the path to the svn
directory. Restart Netbeans.
-> In Versioning/Checkout, you can insert the above URL, and then
check out your project. You can also import your project into the
database this way.

4) I initially loaded the database after having done 'su wwwrun'
because wwwrun owns the repository. That may be unnecessary if you
load it using a client via, say NetBeans.
.



Relevant Pages

  • cant connect to mysql
    ... I got a report from sysinstall that MySQL was installed. ... Can't connect to local MySQL server through socket ... a password for root on MySQL yet. ...
    (freebsd-questions)
  • Re: cant get subversion/Apache2 to work properly
    ... Can't connect to local MySQL server through socket ... Checking for service MySQL: ... I can log into mysql as root (the system root using the mysql root ...
    (alt.os.linux.suse)
  • Re: cant get subversion/Apache2 to work properly
    ... Checking for service MySQL: ... Can't connect to local MySQL server through socket ... The usvn documentation is almost non-existent. ...
    (alt.os.linux.suse)
  • Re: cant get subversion/Apache2 to work properly
    ... Checking for service MySQL: ... Can't connect to local MySQL server through socket ... I do not have an existing subversion database, ... Then you can configure NetBeans to find it. ...
    (alt.os.linux.suse)
  • Re: [SLE] MySQL not working
    ... On Thursday 10 June 2004 05.30, Nick Mudge wrote: ... > My MySQL was working fine but now it won't run. ... Can't connect to local MySQL server through socket ...
    (SuSE)