Ubuntu :: Squid Does Not Start After Boot
May 19, 2010After upgrade to 10.04 squid does not start automatically after boot.
Starting it manually via: sudo start squid works fine.
After upgrade to 10.04 squid does not start automatically after boot.
Starting it manually via: sudo start squid works fine.
I am on Ubuntu 10.04, running Squid 2.7.STABLE7 Squid refuses to start on my machine unless I give it the -D argument (disable initial DNS tests). I think this is because my machine is offline while I'm testing it, so no DNS server. how to set Upstart to start Squid with the -D argument?
View 2 Replies View RelatedI have installed squid 2.7 and squidguard from OpenSuse repositories,and I use "redirect_program /usr/sbin/squidGuard -c /etc/squidguard.conf -d" in /etc/squid/squid.conf,but seems that the squidguard is not started after restart squid,
however,when I initialize the blacklist by "squidguard -C all",the cursor keeps blinking for quite a long time,what should I do
I am running fedora 10 and webmin squid proxy server, after power failure the squid fails to start. i have tried to start it from command line but failed
[root@ ~]# /etc/init.d/squid start
Starting squid: .................... [FAILED]
[root@ ~]# /etc/init.d/squid reload
[code]...
I am running fedora 10 and webmin squid proxy server, after power failure the squid fails to start. i have tried to start it from command line but failed
[root@ ~]# /etc/init.d/squid start
Starting squid: .................... [FAILED]
[root@ ~]# /etc/init.d/squid reload
[code]....
I have just installed squid and sarg, both are working well. I cannot get squid to start when the machine boots. I installed webmin and configured the setup through the webmin interface where I checked the "start at boot option". I think the problem is that my network card responsible for the web connection is wireless so when squid tries to load during boot it is trying before the Wireless card is up and so it fails. I have tried multiple methods of adding a script to the "dispatcher.d" folder in "NetworkManager" to load squid after wlan0 is up but all have failed to bring up the squid proxy without my interaction. I have not found any two sites that describe the syntax for "dispatcher.d" alike so I may have the command wrong but I have no what to do.
View 9 Replies View RelatedI have installed squid 2.7 in my red hat Linux box.I need some guidance regarding to start and stop squid service. Normally when squid configuration file is n /etc/squid/squid.conf and we want to start the service we use # service squid startand to stop the service we use# service squid stopNow squid is inCode:# /usr/local/squid/etc/squid.confhere the default # service squid start and # service squid stop does not work.
View 6 Replies View RelatedSquid gives the follwoing error messages when i attepmt to start it:Sep 10 12:33:24 localhost (squid): Cannot open '/var/log/squid/access.log' for writing. The parent directory must be writeable by the user 'squid', which is the cache_effective_user set in squid.conf.Sep 10 12:33:24 localhost squid[3423]: Squid Parent: child process 3446 started
View 3 Replies View RelatedWhen ever I reboot my server I always turn on the squid service. Is there any way that without giving command
Code:
#service squid start
my squid service should automatically start ?
Im using PHP and Sun Solaris to do something for Squid Proxy Server. im using......
- LAMP / SAMP
- Linux / Solaris 10
- Squid Server
- PHP
actually i need to know that someone knows about how to start/stop Squid Service using PHP code.
I am using squid to controlling access to the internet all is working fine expect one of the user who is using outside organization portal to connect internet. But whenever he tries to enter in the portal by typing (EXAMPLE)url. Permission denied error from squid occur.
How can i allow this portal in squid. So squid will allow this to access.
My squid server works fine in fedora 11 system . Is there any web like interface for admins to create,change,modify users of squid and to view their logs.
View 1 Replies View RelatedI would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.
View 1 Replies View RelatedI've installed Ubuntu on my new desktop alongside Windows 7 (each OS is on a separate drive), I seem to have run into a small problem. Let me start with what I did:
- Unplugged 1TB drive from the PSU, BIOS was not seeing my formatted (and thus empty) 500GB drive and I couldn't put it into the boot order at all with the 1TB turned on.
- Loaded up the boot CD and was able to install Ubuntu 10.1 on my 500GB drive.
- Did a bit of configuring, shut my PC off and plugged my 1TB (with Windows 7) drive back in. I tried to see if I could now see my Ubuntu drive in BIOS but nothing is there - just the Windows drive is in the list of available drives to boot from (along with DVD-ROM and USB).
This is where I've run into my problem. What I want is to have a nice GRUB boot menu at the start like any other dual-boot system but just have the two operating systems on separate drives altogether.I did it this way because I was having issues with the advanced partition menu on the boot CD so just went ahead and followed the KISS method by unplugging the Windows drive.
I was told by a friend that if I put my Ubuntu drive into the first position in my boot order and the Windows drive in the second, then I could boot into Ubuntu and run a GRUB update command (he told me to google it) and that would create the necessary GRUB that had the entries for Windows 7 and Ubuntu.Both operating systems are 64-bit, I imagine that might make a difference in whatever help you guys can offer me. I love the hell out of both OS's and want to be able to use them interchangeably.
I have installed "open-SUSE 11.4" on a "500GB Free Agent External Hard Drive". I didn't have any problem in booting since last week that I booted it from my laptop. Also I did it before several times from then when I try to boot it e.g. from an "Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz" PC the time between loading INITRD and starting boot sequence messages lasts nearly 30 minutes!(i didn't actually measure it but it take a long time in the same order). after starting boot sequence which is showed on monitor everything looks normal. e.g copy of files would be done by speeds between 2MB/s to 30 MB/s depending on the targets.I used to use the external hard derive to boot from different laptops and PC's from start but I didn't have such a problem anytime.
View 1 Replies View RelatedRunning ubuntu 9.04 and have mpd installed and running good. I just cant seem to get it to start at boot. I want it to run on a headless system so don't want to have to login to start it. I have successfully done this on another system but I cannot remember how I did it and cant seem to find.
View 7 Replies View RelatedSo for the last few days gdm ans not started on boot up. tty7 is a blank screen and I'm automatically put in tty1. There I can log in and run gdm manually.
It has a started automatically a few times with out me doing any changes, but most of the times not. So far I haven't found out what the cause is but I've found some similar (the same?) problems:
[URL]
I'm running 10.04 64-bit if it matters.
does anyone know how I can get my screenlets to boot on start-up? Couldn't find out how through google and I can't find an option on the screenlet or the screenlet manager that sets them to automatically start on start up.
View 4 Replies View RelatedMy monitor only supports 640x480 resolution, so how can I start Ubuntu's live CD at this resolution?
View 1 Replies View RelatedI have a VPS with Ubuntu 10.04 and acces to it via putty. Besides postgres database there should be running two java program which I wrote. It works fine from command line. But I need them to start automatically at boot time.
View 5 Replies View RelatedI installed Ubuntu on my netbook alonside xp. The only problem is that when I start my computer, the boot menu only pops up for a split second and I cannot select "run windows xp". This is preventing me from usintg both OS'.
View 2 Replies View RelatedMy machine is running in Pentium(R) 4 CPU 1.7Ghz, Nvidia legacy Riva tnt/tnt2 and a 512mb ram. I have a Network adapter, Realtek RTL8139 Family PCI Fast Ethernet NIC. I have installed Ubuntu in my Window Xp, and used the ACPI workaround to install ubuntu on my PC. Now that I have installed Ubuntu, when I try to boot ubuntu, it always hang before it start to boot.
View 5 Replies View RelatedA friend of mine installed ubuntu 10.10 alongside with Windows XP. During the installation he manually edited partitions. Now, the grub loader does not start, and in order to start ubuntu he has to use live cd to choose "boot from first hard drive" in the menu. Windows XP is missing from the boot options.
See the output of "fdisk -l" below (he has two identical hard drives). It looks like a big mess. Any idea where to start fixing this?
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x05c605c5
[Code]...
i installed Ubuntu on another partition from windows 7. but before doing that i remember formating 100MB partition i think was called Boot "something" thinking that i created this partition from my previous failures for installing Ubuntu, now every time i restart the computer; i doesn't ask me about what to start! it starts Ubuntu immediately! "i even remember before installing Ubuntu; i couldn't start windows!"
View 3 Replies View RelatedHost - ubuntu 9.10 64bit
Virtualizer - KVM
I need to stop KVM starting at boot. I added following 2 lines at the bottom of /etc/modprobe.d/blacklist.conf
Code: blacklist kvm
blacklist kvm-amd Reboot PC
It doesn't work.
$ lsmod | grep kvm Code: kvm_amd 41556 0
kvm 190648 1 kvm_amd
What further command I have to run in order to activate the new blacklist.conf ?
I am trying to get mysql to start at boot without any success.
The mysqld scripts works fine when run from the command line, but it does not work when i use the links created by chkconfig. I checked the boot.log and found that mysql starts but then it stops or gets shutdown. This is the log message:
Starting mysqld daemon with databases from /data/mysql [ OK ]
Starting cups: [ OK ]
STOPPING server from pid file /var/run/mysqld/mysqld.pid
starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyho
sts/denyhosts.cfg
090727 04:35:47 mysqld ended
The same init script works fine in Ubuntu.
I am trying to get a python script to start when the pc is booted. I'm running ubuntu server without a GUI... just CLI.
I have a python script called /home/username/bin/dropbox.py that runs perfectly if I do:
Code:
sudo python /home/username/bin/dropbox.py start
All I want to do is invoke the command I wrote up there when the pc boots up without any user logging in.
I added the above command just like that in rc.local but that didn't work. I tried creating a bash file, where in the bash file I did:
Code:
#!/bin/bash
cd /home/username/bin/
./dropbox.py start
and then added the bash file to rc.local, but that didn't work (I made sure the bash file was executable).
I'm having some strange problems in my system (Ubuntu 9.10 32 bits). Several services (Cups, MySQL, VirtualBox kernel driver, etc) aren't starting during boot time. It's possible start them manually (e.g. /etc/init.d/cups start). The other problem is that my virtual terminals (ctrl + alt + f[1-6]) aren't starting with the system too
View 9 Replies View RelatedI've been running Ubuntu 9.10 since November '09, and since a month or so I'm having boot problems. Gnome starts, but some core services such as ssh and dnsmasq (that have started on boot somewhere in time), don't start anymore. Neither does rc.local fire, so I basically have to startup these things by hand.
Also, I cannot get into the console anymore by using ctrl+alt+f*, because it gives a message like: Starting ntpd or starting libgcrypt 1.4.4, or something in that fashion.
My belief is that something is holding the boot procedure in a waiting state before services such as ssh get to start, but I can't seem to find anything in the log files.
When I go to 'Places' on my panel, my windows drives are listed. I can click on one, it then asks me for password, then it puts a hard drive icon on my desktop. This is excellent.They are listed as '200 GB Filesystem' etc.My only problem, is how to make these icons stay after I shut down. I don't want to do this every time I boot up.
View 4 Replies View Related