Coder Social home page Coder Social logo

afetr run Squid ... about siri-api HOT 8 CLOSED

robinmeis avatar robinmeis commented on July 17, 2024
afetr run Squid ...

from siri-api.

Comments (8)

RobinMeis avatar RobinMeis commented on July 17, 2024

Which user did you use to start squid?

On 5 Nov 2014, at 13:45, quiquoi [email protected] wrote:

hello,
after install Squid, it don't run :

cm@cm-E1210:~$ /usr/local/squid/sbin/squid -NCd9
2014/11/05 13:41:51| SECURITY NOTICE: auto-converting deprecated "ssl_bump allow " to "ssl_bump client-first " which is usually inferior to the newer server-first bumping mode. Update your ssl_bump rules.
2014/11/05 13:41:51| WARNING: auto-converting deprecated "ssl_bump deny " to "ssl_bump none ". Update your ssl_bump rules.
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
messages will be sent to 'stderr'.
2014/11/05 13:41:51| SECURITY NOTICE: auto-converting deprecated implicit "ssl_bump allow all" to "ssl_bump client-first all" which is usually inferior to the newer server-first bumping mode. New ssl_bump configurations must not use implicit rules. Update your ssl_bump rules.
2014/11/05 13:41:51| SECURITY NOTICE: auto-converting deprecated "ssl_bump allow " to "ssl_bump client-first " which is usually inferior to the newer server-first bumping mode. Update your ssl_bump rules.
2014/11/05 13:41:51| Current Directory is /home/cm
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
messages will be sent to 'stderr'.
2014/11/05 13:41:51| WARNING: Closing open FD 2
2014/11/05 13:41:51| Starting Squid Cache version 3.4.4 for i686-pc-linux-gnu...
2014/11/05 13:41:51| Process ID 4580
2014/11/05 13:41:51| Process Roles: master worker
2014/11/05 13:41:51| With 1024 file descriptors available
2014/11/05 13:41:51| Initializing IP Cache...
2014/11/05 13:41:51| DNS Socket created at [::], FD 4
2014/11/05 13:41:51| DNS Socket created at 0.0.0.0, FD 5
2014/11/05 13:41:51| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2014/11/05 13:41:51| helperOpenServers: Starting 5/32 'ssl_crtd' processes
2014/11/05 13:41:51| WARNING: no_suid: setuid(0): (1) Operation not permitted
2014/11/05 13:41:51| WARNING: no_suid: setuid(0): (1) Operation not permitted
2014/11/05 13:41:51| WARNING: no_suid: setuid(0): (1) Operation not permitted
2014/11/05 13:41:51| WARNING: no_suid: setuid(0): (1) Operation not permitted
2014/11/05 13:41:51| WARNING: no_suid: setuid(0): (1) Operation not permitted
2014/11/05 13:41:51| Logfile: opening log daemon:/usr/local/squid/var/logs/access.log
2014/11/05 13:41:51| Logfile Daemon: opening log /usr/local/squid/var/logs/access.log
2014/11/05 13:41:51| WARNING: no_suid: setuid(0): (1) Operation not permitted
fopen: Permission denied
2014/11/05 13:41:51| Store logging disabled
2014/11/05 13:41:51| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2014/11/05 13:41:51| Target number of buckets: 1008
2014/11/05 13:41:51| Using 8192 Store buckets
2014/11/05 13:41:51| Max Mem size: 262144 KB
2014/11/05 13:41:51| Max Swap size: 0 KB
2014/11/05 13:41:51| Using Least Load store dir selection
2014/11/05 13:41:51| Current Directory is /home/cm
2014/11/05 13:41:51| Finished loading MIME types and icons.
2014/11/05 13:41:51| commBind: Cannot bind socket FD 18 to [::]:3128: (98) Address already in use
2014/11/05 13:41:51| HTCP Disabled.
2014/11/05 13:41:51| /usr/local/squid/var/run/squid.pid: (13) Permission denied
2014/11/05 13:41:51| Closing HTTP port [::]:3128
FATAL: Could not write pid file
Squid Cache (Version 3.4.4): Terminated abnormally.
CPU Usage: 0.144 seconds = 0.116 user + 0.028 sys
Maximum Resident Size: 39968 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 4228 KB
Ordinary blocks: 4170 KB 3 blks
Small blocks: 0 KB 1 blks
Holding blocks: 580 KB 2 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 57 KB
Total in use: 4750 KB 112%
Total free: 57 KB 1%
Abandon (core dumped)

how resolve it and run squid ?

thank you


Reply to this email directly or view it on GitHub.

from siri-api.

quiquoi avatar quiquoi commented on July 17, 2024

normal this : cm@cm-E1210:~$ /usr/local/squid/sbin/squid -NCd9

this my error ?

from siri-api.

RobinMeis avatar RobinMeis commented on July 17, 2024

You have to run squid with user squid (if you created during the installation) or as user root. Running squid as root is dangerous!

On 5 Nov 2014, at 15:26, quiquoi [email protected] wrote:

normal this : cm@cm-E1210:~$ /usr/local/squid/sbin/squid -NCd9

this my error ?


Reply to this email directly or view it on GitHub.

from siri-api.

quiquoi avatar quiquoi commented on July 17, 2024

no it's not running as root
how run with user squid ? with command line ?
thanks

from siri-api.

LanhVo avatar LanhVo commented on July 17, 2024

let's try it
sudo /usr/local/squid/sbin/squid

from siri-api.

Secita avatar Secita commented on July 17, 2024

I am getting "Maximum Resident Size: 16096 KB
Page faults with physical i/o: 0" when attempting to run it on my RPi.
Max resident memory is way more than the Pi offers.
Any ideas?

from siri-api.

RobinMeis avatar RobinMeis commented on July 17, 2024

Do you have running a lot of applications on you RPi? I'm also running it on a raspberry and it works without problems

from siri-api.

RobinMeis avatar RobinMeis commented on July 17, 2024

no reply - closed

from siri-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.