Search:

Type: Posts; User: astarmathsandphysics; Keyword(s):

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    I will try that
  2. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    I will execute as root and have written another cron job to change owbership of all files in /var/www to www-data:www-data once a week.
    Once is not enough because the script generates more files...
  3. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    I opened astarmathsandphysics.log an emptied the contents then saved it without starting rsyslog.
    Then I ran
    sudo /usr/bin/google-sitemapgen...
  4. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    Ok I will look at that
  5. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    All foldersdown to the file are accessible and file is reable
  6. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    as user astarmathsandphysics I get the message

    touch: cannot touch ‘/var/log/apache2/astarmathsandphysics.log’: Permission denied
  7. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    I could but I thought it would be bad practiice to have a file owned by root accessible via the internet. I have gone hot on security this year. All my websites have gone hhtps, I have a static ip...
  8. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    That doesnt work unfirtunately
  9. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    The file /var/log/apache2/astarmathsandphysics.log soes exist and all directories in this path are readble
  10. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    I have put this line in root crontab

    0 12 20 * * sudo -u www-data /usr/bin/google-sitemapgen --config=/usr/share/doc/google-sitemapgen/examples/astarmathsandphysics.xml

    and tested it in root...
  11. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    Thanks. Will follow your advice
  12. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    Is it safe to do that? Will www-data be able use terminal without a passwoed?
  13. Replies
    25
    Views
    963

    Re: Cant run cron job as www-data

    No cron job works on that crontab
  14. Replies
    25
    Views
    963

    Cant run cron job as www-data

    I have several websites in /var/www/ each in a folder. The folders are owned by www-data.
    I have installed google sitemap generator and have set up cron jobs for each domain to run the sitemap...
  15. Re: Unmet dependencies message when installing red5 [SOLVED]

    Installed dependencies in terminal
  16. Unmet dependencies message when installing red5 [SOLVED]

    I tried to install red5 through software center but got this message:

    Package dependencies cannot be resolved

    This error could be caused by required additional software packages which are...
  17. Replies
    2
    Views
    187

    Re: Cant open port 80

    Fixed it by reinstalling apache2
  18. Replies
    2
    Views
    187

    Re: Cant open port 80

    Other ports - 25,465,993, 587 - are open ok
  19. Replies
    2
    Views
    187

    Cant open port 80

    I have opened port 80 in router and ufw, and netstat -ntlp | grep LISTEN tells me apache2 is listening on port 80. Still port 90 is not open externally. This has been so for two days and I cant fix...
  20. Re: Deleted My MYSQL privileges in phpmyadmin

    Saved my life

    Not quite actually. The process fails at
    GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';

    because I log in as the root user but dont have root priveleges

    Found...
  21. Deleted My MYSQL privileges in phpmyadmin

    By mistake I deleted my root privileges in phpmyadmin.
    I can still log in to mysql but do not have any privileges there and about 4 hours of trying have got me nowhere.
    How can I recover my root...
  22. Can't Install via Software-center

    I can install any software in software-center. In can uninstall things, and install/update/upgrade in the terminal.
    I have reinstalled software center with no effect. When starting softwar-e-center...
  23. Cant log into pop3s using dovecot/postfix with mysql

    I am almost there setting up an email server but now I can't log in with an email client to read the email - I get connection refused message.using mutt and wring username or password or...
  24. postfix/smtpd[24862]: fatal: no SASL authentication mechanisms

    For the fourth or fifth time I am trying to configure postfix with dovecot and I get the error

    postfix/smtpd[24862]: fatal: no SASL authentication mechanisms

    I understand there are issues with...
  25. Re: blank page at domain but page loads at ip/domain

    Resinstalled apache2 and wortks nnow
Results 1 to 25 of 133
Page 1 of 6 1 2 3 4