Ysul: Difference between revisions
(Still 12.2) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Ysul''' is an FreeBSD | '''Ysul''' is an FreeBSD 12 bare metal server. It actually hosts the legacy webservers not available on Docker. Formerly it was also the main development server. | ||
== Basic information == | == Basic information == | ||
Line 8: | Line 8: | ||
** 177.27.26.33 (Drake) | ** 177.27.26.33 (Drake) | ||
* '''Hostname:''' ysul.nasqueron.org | * '''Hostname:''' ysul.nasqueron.org | ||
* '''Homepage:''' | * '''Homepage:''' https://ysul.nasqueron.org/ | ||
* '''Configuration:''' | * '''Configuration:''' 4 Gb RAM | ||
* '''ISP:''' [http://www.online.net Online] (FR) | * '''ISP:''' [http://www.online.net Online] (FR) | ||
* '''Network:''' Illiad (FR) | * '''Network:''' Illiad (FR) | ||
* ''' | * '''Policy:''' To determine. Formerly, access for any Nasqueron or Wolfplex project, access for general public seeking a development purpose shell account or a staging environment. | ||
* '''Started:''' 2014-07-06 | * '''Started:''' 2014-07-06 | ||
'''This section is historical note and not currently deployed.''' | |||
== Services == | == Services == | ||
Line 59: | Line 59: | ||
== Decentralized networks peers == | == Decentralized networks peers == | ||
'''This section is historical note and not currently deployed.''' | |||
{| class="wikitable" | {| class="wikitable" | ||
!rowspan=2|Interface | !rowspan=2|Interface | ||
Line 80: | Line 83: | ||
[[Category:Ysul]] | [[Category:Ysul]] | ||
== Troubleshoot == | |||
=== php-fpm service has been modified by php package === | |||
After a <kbd>pkg upgrade</kbd>, the php package will overwrite the <code>/usr/local/etc/rc.d/php-fpm</code> file. As PID files path change between their version and ours, you can't reload the php-fpm services anymore. | |||
To solve this issue, call Salt to restore the amended multi instances services: <kbd>salt-call --local state.apply roles/webserver-legacy/php-sites/php-fpm</kbd>. | |||
To avoid this issue in the future, you can also amend the Salt state to provide a new service name, and replace php-fpm by a message inviting to use the new one. | |||
=== A service can't connect to MySQL "localhost" === | |||
MySQL library hardcodes the default socket path. | |||
We provide the correct path at /usr/local/etc/my.cnf and in php.ini configuration, but some services, like TCL fbsql, don't read the my.cnf file and don't offer alternative configuration. | |||
In such case, use <code>127.0.0.1</code> to connect to MySQL. |
Latest revision as of 13:00, 28 February 2022
Ysul is an FreeBSD 12 bare metal server. It actually hosts the legacy webservers not available on Docker. Formerly it was also the main development server.
Basic information
- IP:
- 212.83.187.132
- DN42 still to configure
- 2001:470:1f13:9e1:0:c0ff:ee:1 (Hurricane Electric)
- 177.27.26.33 (Drake)
- Hostname: ysul.nasqueron.org
- Homepage: https://ysul.nasqueron.org/
- Configuration: 4 Gb RAM
- ISP: Online (FR)
- Network: Illiad (FR)
- Policy: To determine. Formerly, access for any Nasqueron or Wolfplex project, access for general public seeking a development purpose shell account or a staging environment.
- Started: 2014-07-06
This section is historical note and not currently deployed.
Services
- SSH (*:22)
- Nginx (*:80), see Operations grimoire/Sites on Ysul
- Mumble (*:64738)
Ports table
The table doesn't include dgram and streams (e.g. socket files).
If you start a new service or want to make reservations for a port or a port range for occasional services (e.g. a range of ports for DCC transfers on a IRC bot or client), indicate them here.
If you wish to check the table is accurate, sockstat | grep "*:"
could be helpful.
Service | Application | Port | Listening to | Notes |
---|---|---|---|---|
SSH | sshd | 22 | world | |
DNS | unbound | 53 | localhost | A distinct world DNS server will be soon installed (through djbdns?) |
Web | nginx | 80 | world | Currently IPv4 only |
Identd | oidentd | 113 | world | |
Logging | syslogd | 514 | world | |
MySQL | mysqld | 3306 | world | MariaDB 5.5 |
Mumble | murmurd | 64738 | world | |
6502 | localhost | ZeroC Ice socket |
Decentralized networks peers
This section is historical note and not currently deployed.
Interface | Peer name | Pipeline network | Decentralized network | Remote contact | Notes | |||
---|---|---|---|---|---|---|---|---|
Local IP | Remote IP | Network | Local IP | Remote IP | ||||
gre0 | Ubald | 212.83.187.33 | 213.189.173.103 | Drake | 172.27.26.33 | 172.27.26.30 | Dereckson | Remote IP is dynamic |
gre1 | Dwellers | 212.83.187.33 | 212.129.32.223 | Drake | 172.27.26.33 | 172.27.26.49 | Dereckson |
Troubleshoot
php-fpm service has been modified by php package
After a pkg upgrade, the php package will overwrite the /usr/local/etc/rc.d/php-fpm
file. As PID files path change between their version and ours, you can't reload the php-fpm services anymore.
To solve this issue, call Salt to restore the amended multi instances services: salt-call --local state.apply roles/webserver-legacy/php-sites/php-fpm.
To avoid this issue in the future, you can also amend the Salt state to provide a new service name, and replace php-fpm by a message inviting to use the new one.
A service can't connect to MySQL "localhost"
MySQL library hardcodes the default socket path.
We provide the correct path at /usr/local/etc/my.cnf and in php.ini configuration, but some services, like TCL fbsql, don't read the my.cnf file and don't offer alternative configuration.
In such case, use 127.0.0.1
to connect to MySQL.