Go to advanced search

by sim_tcr
Fri Jan 18, 2019 4:25 am
Forum: Media centres
Topic: ffserver and ffmpeg question
Replies: 0
Views: 838

ffserver and ffmpeg question

Hello, I am trying to stream a video file from raspberry pi using ffserver and ffmpeg, command I ran is, ffserver -d /home/pi/ffserver.conf & ffmpeg -r 25 -s 352x288 -i /home/pi/fatal.mp4 http://localhost:8090/feed1.ffm When I try to access http://192.168.0.40:8090/test.swf from my windows computer ...
by sim_tcr
Tue Jul 18, 2017 8:02 am
Forum: General discussion
Topic: https on apache2. https does not work out side home network
Replies: 9
Views: 2500

Re: https on apache2. https does not work out side home netw

so I tried to change the apache ssl port to 8443 and forwarded 8443 in my router (external and internal port as 8443) and https://raspiabita.ddns.net:8443/ worked. my apache2.conf looks like below now <VirtualHost *:8443> ServerName raspiabita.ddns.net:8443 ServerAlias raspiabita.ddns.net DocumentRo...
by sim_tcr
Tue Jul 18, 2017 4:11 am
Forum: General discussion
Topic: https on apache2. https does not work out side home network
Replies: 9
Views: 2500

Re: https on apache2. https does not work out side home netw

rollingcircle wrote:Try replacing your local IP address in the VirtualHost specification with a wildcard:

Code: Select all

<VirtualHost <my local ip>:443>

Code: Select all

<VirtualHost *:443>
That did not work
by sim_tcr
Tue Jul 11, 2017 5:54 pm
Forum: General discussion
Topic: https on apache2. https does not work out side home network
Replies: 9
Views: 2500

Re: https on apache2. https does not work out side home netw

Usually, different rules apply to LAN vs. WAN due to the security implications - especially when we are talking SSL/TLS. Is the certificate authorized by a CA? If not, this may be the problem. Is the common name (host / IP) in the certificate valid for the domain "raspiabita.ddns.net"? If not, that...
by sim_tcr
Tue Jul 11, 2017 4:29 pm
Forum: General discussion
Topic: https on apache2. https does not work out side home network
Replies: 9
Views: 2500

Re: https on apache2. https does not work out side home netw

Well, when you test inside the home, are you on the same machine as the server? It sounds like you haven't put the cert on the client you are using when you are outside of the home. When I tested inside home, I tested from a windows 10 Dekstop and it works. The same desktop i have the ability to sw...
by sim_tcr
Tue Jul 11, 2017 4:33 am
Forum: General discussion
Topic: https on apache2. https does not work out side home network
Replies: 9
Views: 2500

https on apache2. https does not work out side home network

Hello, I have a personal website running on apache2 on my raspberry pi(raspbian) with no-ip dynamic dns service. Port 80 is forwarded on my home router and the website is accessible outside home network. Now I am trying to enable https for the website. I have placed the certs on the server, I ran be...
by sim_tcr
Mon Oct 26, 2015 4:02 pm
Forum: General discussion
Topic: [SOLVED] custom rc script not being called while shutdown.
Replies: 1
Views: 476

[SOLVED] Re: custom rc script not being called while shutdow

stop singal will get initiated only if there is a file in /var/lock/subsys/<rcscriptname>
So i put a touch stalemate as part of start section.

Code: Select all

start() {
/apps/splunk/bin/splunk start
touch /var/lock/subsys/rcsplunk
}
and everything worked as expected.
by sim_tcr
Sun Oct 25, 2015 11:31 am
Forum: General discussion
Topic: [SOLVED] custom rc script not being called while shutdown.
Replies: 1
Views: 476

[SOLVED] custom rc script not being called while shutdown.

Hello, I am trying to make an rc script to shutdown our app (splunk) while system is rebooting. Below is the content of my rc script at /etc/init.d/rcsplunk #!/bin/sh # # /etc/init.d/rcsplunk # Subsystem file for "Splunk" server # # chkconfig: 23456 95 05 # description: Splunk server daemon # # proc...
by sim_tcr
Tue Oct 06, 2015 6:19 am
Forum: General discussion
Topic: web based gui crontab editor for raspbian?
Replies: 4
Views: 1942

Re: web based gui crontab editor for raspbian?

I think i did not write enough in my first post.

What i am looking for is, a tool where we can enter the time/interval/schedule in a simple way and the tool set it to crontab.
by sim_tcr
Mon Oct 05, 2015 11:51 am
Forum: General discussion
Topic: web based gui crontab editor for raspbian?
Replies: 4
Views: 1942

web based gui crontab editor for raspbian?

Hello,

Is there any web based gui crontab editor for raspbian?

So we can design the cron in the gui and save and it is being installed on actual crontab?

Thanks,
Simon Mandy
by sim_tcr
Sun Mar 08, 2015 11:29 am
Forum: General discussion
Topic: Trying compile and install Apache from source. [RESOLVED]
Replies: 6
Views: 1462

Re: Trying compile and install Apache from source. [RESOLVED

I resolved my issue by downloading the source to my home directory (/home/splunk/) and then compiling.
Earlier it was at /Splunk.
by sim_tcr
Sun Mar 08, 2015 6:49 am
Forum: General discussion
Topic: Trying compile and install Apache from source. [RESOLVED]
Replies: 6
Views: 1462

Re: Trying compile and install Apache from source.

Here is an update. I tried compiling Apache on my raspberry pi 2 by following the exact same steps and it was successful. Differences are, on pi I ran it as user 'pi' where on other machine I ran it as "splunk" on pi I set '--prefix=/home/pi/apache' where on other machine '--prefix=/Splunk/apache' I...
by sim_tcr
Sat Mar 07, 2015 10:26 am
Forum: General discussion
Topic: raspberry pi 2 steady small color pattern squre near top rig
Replies: 2
Views: 1279

Re: raspberry pi 2 steady small color pattern squre near top

joan wrote:http://www.raspberrypi.org/forums/viewt ... 29&t=82373

red square over temperature (>85)
rainbow square under voltage (<4.65)
Thank you.

I increased the voltage (have a voltage regulator) and the rainbow square went away.
by sim_tcr
Sat Mar 07, 2015 10:06 am
Forum: General discussion
Topic: raspberry pi 2 steady small color pattern squre near top rig
Replies: 2
Views: 1279

raspberry pi 2 steady small color pattern squre near top rig

Hello,

I am a raspberry pi 2 model user now. It works fine.

On the desktop top right corner I see a steady (not blinking) small square color pattern. Does that mean pi is getting enough power?

Thanks,
Simon Mandy
by sim_tcr
Fri Mar 06, 2015 11:38 am
Forum: General discussion
Topic: Trying compile and install Apache from source. [RESOLVED]
Replies: 6
Views: 1462

Re: Trying compile and install Apache from source.

Wait a minute. If you cannot get root permissions how did you create the /Splunk directory ? If that directory already existed presumably you don't have enough permissions to access it. The answer is to install it to some place you do have permission to use. Hence the --prefix=/home/username/apache...
by sim_tcr
Mon Mar 02, 2015 11:53 am
Forum: General discussion
Topic: Trying compile and install Apache from source. [RESOLVED]
Replies: 6
Views: 1462

Re: Trying compile and install Apache from source.

Heater wrote:You don't have permissions to do that. Try using:

$ sudo make install
I do not have sudo permission. Only reason I want to install to /Splunk is because I do not have sudo permission.
by sim_tcr
Mon Mar 02, 2015 11:15 am
Forum: General discussion
Topic: Trying compile and install Apache from source. [RESOLVED]
Replies: 6
Views: 1462

Trying compile and install Apache from source. [RESOLVED]

Hello, I am trying compile and install Apache from source (2.4.12). I am trying to install to /Splunk dir as user splunk. [splunk@xxxxxxxxxxxxx /]$ ls -la | grep Splunk drwxrwxr-x 5 splunk splunk 9 Mar 2 06:04 Splunk [splunk@xxxxxxxxxxxxx /]$ I downloaded httpd-2.4.12.tar.gz and extracted the packag...
by sim_tcr
Sat Feb 14, 2015 8:57 am
Forum: General discussion
Topic: PNY PowerPack Fancy 5200 and raspberry pi question.
Replies: 0
Views: 443

PNY PowerPack Fancy 5200 and raspberry pi question.

Hello, I am looking for a power pack to power my raspberry pi. Requirements are below, 1) Back up power for min 2 hours for my raspberry pi. 2) Ability to power the pi from the power bank and charge the power bank using AC current (wall charger) at same time. I came across PNY PowerPack Fancy 5200 h...
by sim_tcr
Sun Mar 30, 2014 1:35 pm
Forum: General discussion
Topic: stability issues.
Replies: 2
Views: 602

stability issues.

Hello, I have 2 piS and one is running a 1 year old version of raspbian and never updated. Its used as nas , torrent downloads, web server. And it works beautifully. Second pi running latest raspbian. Samba is the only thing running on it. Every now and then it crashes. Tried 3 different SD cards an...
by sim_tcr
Sat Mar 22, 2014 5:23 pm
Forum: General discussion
Topic: Minidlna 1.1.2 is released. apt-get installed 1.0.24
Replies: 20
Views: 6534

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

I got minidlna 1.1.2 installed. I can access http://<ip>:8200/ and it shows the status. However i am not able to locate minidlna conf file. Earlier it used to be at /etc/minidlna.conf Can you help? There is a sample configuration file in the source code archive. Look in the same directory where you...
by sim_tcr
Sat Mar 22, 2014 3:55 pm
Forum: General discussion
Topic: Minidlna 1.1.2 is released. apt-get installed 1.0.24
Replies: 20
Views: 6534

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

I got minidlna 1.1.2 installed.
I can access http://<ip>:8200/ and it shows the status.
However i am not able to locate minidlna conf file. Earlier it used to be at /etc/minidlna.conf
Can you help?
by sim_tcr
Sat Mar 22, 2014 3:34 pm
Forum: General discussion
Topic: Minidlna 1.1.2 is released. apt-get installed 1.0.24
Replies: 20
Views: 6534

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Can you help please? Looks like gettext is missing. Install it and try again. Compiling worked without errors for me. Install needed libraries first by executing apt-get build-dep minidlna HTH pi@raspiabita ~ $ sudo apt-get build-dep minidlna Reading package lists... Done Building dependency tree R...
by sim_tcr
Fri Mar 21, 2014 11:34 am
Forum: General discussion
Topic: Docking Power Bank to use with Pi question.
Replies: 1
Views: 477

Docking Power Bank to use with Pi question.

Hello, I found a power bank ( http://www.ithyperstore.com/?cur=catalog/product&id=13&pid=48&title=iWalk_2500mAh_Docking_Power_Bank_Micro_USB in internet. Specification says, Capacity : 2500mAh Input : Micro USB 5V / 1.0A Output : Micro 5V / 1.0A Any one tried this to power raspberry pi? Can it be us...
by sim_tcr
Mon Mar 17, 2014 5:08 pm
Forum: General discussion
Topic: Calculating apache bandwidth from /var/log/apache2/access.lo
Replies: 2
Views: 1025

Calculating apache bandwidth from /var/log/apache2/access.lo

Hello, I am trying to calculate apache bandwidth from /var/log/apache2/access.log. I have several log files from March 2013 (in *.gz format) in the location. I have got below command from internet which is supposed to get bandwidth used in GB for a given time range (even by going inside *.gz files) ...
by sim_tcr
Sat Mar 15, 2014 12:17 pm
Forum: General discussion
Topic: Minidlna 1.1.2 is released. apt-get installed 1.0.24
Replies: 20
Views: 6534

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

To follow on from DeeJay, RPi is designed to encourage users to learn. It seems unrealistic for the Foundation's limited resources to keep rebuilding thousands of Linux packages. It can be daunting to attempt some major package builds, so often some research is necessary to find missing bits of the...

Go to advanced search