After the system is restarted, IRCd-ircu cannot be started.

Source: Internet
Author: User

The default configuration file is/etc/IRCd. conf. After installation, you can directly start/etc/init. d/IRCd-ircu start.

The newly installed IRCd-ircu does not run properly, but it cannot be started after the system is restarted. After the startup script is executed, a prompt "Starting IRC server daemon: IRCd-ircu" is displayed. ", but it is not found in the process, and the port is not opened.

Here is the solution

Http://blogold.chinaunix.net/u2/75758/showart_2357885.html

Http://ubuntuforums.org/showthread.php? T = 1427854


Because IRC is not recommended to run with root permissions, IRCd-ircu installed with APT will create an IRC user to run IRCd, after installation, the/var/run/IRCd directory will be created temporarily before the IRCd is automatically run and the owner is the user IRC. However, the startup will fail because the directory does not exist after restart, this is the startup script/etc/init from IRCd. this sentence in D/IRCd-ircu causes "start-stop-daemon -- start -- quiet -- pidfile $ {pidfile} -- chuid IRC -- exec $ {IRCd }", rather than IRCd-ircu. manually create the/var/run/IRCd directory and change the owner to IRC.

Root @ host # mkdir/var/run/ircdroot @ host # chown IRC: IRC/var/run/ircdroot @ host #/etc/init. d/IRCd-ircu restart

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.