Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions installing from source #1920

Open
raba34 opened this issue Jan 1, 2025 · 21 comments
Open

Questions installing from source #1920

raba34 opened this issue Jan 1, 2025 · 21 comments
Labels

Comments

@raba34
Copy link

raba34 commented Jan 1, 2025

Version

Sympa 6.2.72

Installation method

Installing from source

Expected behavior

After entering “https://sympa.schule.de/sympa”, the web interface should appear.

Actual behavior

After entering “https://sympa.schule.de/sympa” I see "Service Unavailable"

Steps to reproduce

This is is reproducible

Additional information

The Apache2 error log says:
[proxy:error] [pid 140889] (111)Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/var/run/sympa/wwsympa.socket (*:80) failed
[proxy_fcgi:error] [pid 140889] [client 91.52.3.22:59260] AH01079: failed to make connection to backend: httpd-UDS

@raba34 raba34 added the bug label Jan 1, 2025
@ikedas
Copy link
Member

ikedas commented Jan 2, 2025

Hi @raba34 ,
Please describe the Steps to reproduce the problem, e.g. "I run a command 'foo ee aa', entered 'yes', edited a file 'foo.conf' as below: (entire copy the configuration file), and then runa command 'bar uu oo', ..., and I saw baz is not boo but foo".

@raba34
Copy link
Author

raba34 commented Jan 2, 2025 via email

@racke
Copy link
Contributor

racke commented Jan 2, 2025

@raba34 I think you need to check the sympa log files to determine what is going on with WWSympa.

@raba34
Copy link
Author

raba34 commented Jan 2, 2025 via email

@racke
Copy link
Contributor

racke commented Jan 2, 2025

@raba34 It is odd that you see no entries in the sympa log.

Where is your sympa log located and which permissions has the file?
Which Linux distribution + release do you use?

@ikedas
Copy link
Member

ikedas commented Jan 3, 2025

@raba34

Fundamentally, it is difficult to know where you went wrong without knowing everything you did during the installation process.

I think the better way to be sure is to delete everything you installed and then start the installation process over again, following the instructions in the documentation and recording every operation you perform.

@racke
Copy link
Contributor

racke commented Jan 3, 2025

@raba34 Set log_level to at least 1 to get log entries.

@raba34
Copy link
Author

raba34 commented Jan 5, 2025 via email

@raba34
Copy link
Author

raba34 commented Jan 5, 2025 via email

@ikedas
Copy link
Member

ikedas commented Jan 6, 2025

@raba34 ,

See the description in the documentation. You may refer to the cpanfile file.

@ikedas ikedas added question and removed bug labels Jan 6, 2025
@raba34
Copy link
Author

raba34 commented Jan 6, 2025 via email

@raba34
Copy link
Author

raba34 commented Jan 6, 2025 via email

@ikedas
Copy link
Member

ikedas commented Jan 7, 2025

after some searching and a "make" I finally got symba.service and installed it under systemd.

It is difficult for us to know where you went wrong without knowing how you did 'some searching and a "make"', 'got symba.service' and 'installed it'.

@raba34
Copy link
Author

raba34 commented Jan 7, 2025 via email

@racke
Copy link
Contributor

racke commented Jan 7, 2025

Please show how your sympa.service looks like:

systemctl cat sympa.service

@raba34
Copy link
Author

raba34 commented Jan 7, 2025 via email

@ikedas
Copy link
Member

ikedas commented Jan 8, 2025

I was simply asking where in the documentation the creation of symba.service is described. I didn't find this place and only got to the sympa-6.2.74/service directory via a search and created sympa.service there via "make" and then integrated it into systemd without any problems.

The document describes a variety of possible options. So you’d be better to explain what you actually did instead of simply saying “I read the document”, and someone might suggest correct (or at least better) way.

For example: After reading this section of the document, could you please explain what you did, i.e. the command lines you typed etc.?

@raba34
Copy link
Author

raba34 commented Jan 8, 2025 via email

@ikedas
Copy link
Member

ikedas commented Jan 9, 2025

./configure --enable-fhs --prefix=/usr/local --with-confdir=/etc/sympa was executed.

See the section described in above. In a subsection “Other useful options”, you will find what you need:

  • --without-initdir --with-unitsdir=/lib/systemd/system

Installs Systemd unit files into specified directory.


Now we know what you did, in other words what you didn’t, and we can finally answer your question. That’s why I’ve been asking “Please say what you actually did”.

@raba34
Copy link
Author

raba34 commented Jan 9, 2025 via email

@ikedas
Copy link
Member

ikedas commented Jan 9, 2025

Not all operating systems adopt Systemd (and probably GNU/Linux-based). The fact is that the conditions that vary from environment to environment are described as broadly as possible. Your environment is not the only thing that matters.

@ikedas ikedas changed the title Apache2 cannot be started Questions installing from source Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants