Search found 24 matches

by jatz76
Thu Jun 25, 2015 12:45 am
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

Cool. Thanks so much for your input, it is greatly appreciated.
Jac
by jatz76
Wed Jun 24, 2015 3:36 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

systemctl status 123solar returns an error. pi@rPi ~ $ sudo systemctl status 123solar Failed to get D-Bus connection: No connection to service manager. However I changed/etc/rc.local to use local:88 and after reboot it works! :lol: Finally! What a pain. Sorry to for taking your time on a stupid mist...
by jatz76
Wed Jun 24, 2015 3:13 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

OK, I've finally worked out why localhost is not working. My apache is set to use port 88 as port 80 is used by another service (I totally forgot). So now if I try "/usr/bin/curl http://localhost:88/123solar/scripts/boot123s.php" then the logger starts. The problem is that I edited 123solar.service ...
by jatz76
Tue Jun 23, 2015 11:03 am
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

Looks like outside works: pi@rPi ~ $ curl -v http://www.123solar.org/ * About to connect() to http://www.123solar.org port 80 (#0) * Trying 213.186.33.87... * connected * Connected to http://www.123solar.org (213.186.33.87) port 80 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.26.0 > Host: http://www.1...
by jatz76
Mon Jun 22, 2015 9:21 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

Same result:
pi@rPi ~ $ curl http://127.0.0.1/123solar/
File not found.
pi@rPi ~ $
by jatz76
Mon Jun 22, 2015 1:11 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

Sorry, I don't understand what you mean by posting full message. This is from my console:
Last login: Mon Jun 22 07:18:38 2015 from 1.128.96.56
pi@rPi ~ $ curl http://localhost/123solar/index.php
File not found.
pi@rPi ~ $
by jatz76
Sun Jun 21, 2015 10:20 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

curl http://localhost/123solar/index.php returns "File not found."
by jatz76
Fri Jun 19, 2015 6:02 am
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

Hi, It does work, there is a problem on your configuration. Please post the full message. What return curl http://localhost/123solar/index.php ? Returns: -bash: http://localhost/123solar/index.php: No such file or directory You can see my logger from the following address: http://58.96.48.213:88/12...
by jatz76
Thu Jun 18, 2015 1:28 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

Is there another way to start the logger?
by jatz76
Tue Jun 16, 2015 9:07 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 22149

Re: 123solar.service

the ping seems to work: ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.118 ms 64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.143 ms And yes, not using quotes. I tried replacing localhost with the actual IP ...