Hi,
This is my first report about some DA issues on Ubuntu 14.04 (Debian 8).
If you need any information or want me to post some logs, please let me know.
I installed DA (1.48) on fresh installed Ubuntu 14.04
I choose CustomBuild, option 4.
After the installation was done, I noticed that the port (2222) isn't responding.
I didn't notice any errors during the installation, but could be that I missed them when it was compiling? Not sure if there is a log that I can check?
So I started directadmin with: /etc/init.d/directadmin start
Now the port responds.
After logging in, I found some tickets telling me:
The service 'directadmin' on server serverABC is currently down (I fixed this one by starting it)
The service 'exim' on server serverABC is currently down
The service 'httpd' on server serverABC is currently down
Not sure why these services are down? Which log can tell me more about that?
And when I try to make a database, I see this error
My mysql.sock file is inside /tmp
I already found this: http://forum.directadmin.com/showthread.php?t=51348
But I don't have all these services in the /etc/systemd/, I only have:
I could fix it, by modifying the socket-var /etc/my.cnf.
The problem is, if I change it to /usr/local/mysql/data/mysql.sock, other services will try to use /tmp/mysql.sock instead.
So not sure how to fix it for DA and all other services
If something isn't clear, please let me know
This is my first report about some DA issues on Ubuntu 14.04 (Debian 8).
If you need any information or want me to post some logs, please let me know.
I installed DA (1.48) on fresh installed Ubuntu 14.04
I choose CustomBuild, option 4.
After the installation was done, I noticed that the port (2222) isn't responding.
I didn't notice any errors during the installation, but could be that I missed them when it was compiling? Not sure if there is a log that I can check?
Code:
# ps aux | grep -i directadmin
root 3837 0.0 0.0 11740 952 pts/2 S+ 20:42 0:00 grep --color=auto -i directadmin
root 15028 0.0 0.0 1776 312 ? Ss 14:42 0:00 /usr/local/directadmin/da-popb4smtp
So I started directadmin with: /etc/init.d/directadmin start
Now the port responds.
After logging in, I found some tickets telling me:
The service 'directadmin' on server serverABC is currently down (I fixed this one by starting it)
The service 'exim' on server serverABC is currently down
The service 'httpd' on server serverABC is currently down
Not sure why these services are down? Which log can tell me more about that?
And when I try to make a database, I see this error
Code:
Error connecting to MySQL: Can't connect to local MySQL server through socket '/usr/local/mysql/data/mysql.sock' (2)
Code:
# ls -l /tmp/mysql.sock
srwxrwxrwx 1 mysql mysql 0 May 12 14:42 /tmp/mysql.sock
I already found this: http://forum.directadmin.com/showthread.php?t=51348
But I don't have all these services in the /etc/systemd/, I only have:
Code:
# ls -l /etc/systemd/system/
total 8
drwxr-xr-x 2 root root 4096 May 12 14:39 multi-user.target.wants
drwxr-xr-x 2 root root 4096 May 12 14:35 sockets.target.wants
lrwxrwxrwx 1 root root 31 May 12 14:36 sshd.service -> /lib/systemd/system/ssh.service
lrwxrwxrwx 1 root root 35 May 12 14:26 syslog.service -> /lib/systemd/system/rsyslog.service
I could fix it, by modifying the socket-var /etc/my.cnf.
The problem is, if I change it to /usr/local/mysql/data/mysql.sock, other services will try to use /tmp/mysql.sock instead.
So not sure how to fix it for DA and all other services
If something isn't clear, please let me know