hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : CacheRaq 2 Problems. Please Help
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

CacheRaq 2 Problems. Please Help

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-10-2003, 07:06 AM
Dalek Dalek is offline
Newbie
 
Join Date: Jun 2002
Location: SCOTLAND
Posts: 19
*

CacheRaq 2 Problems. Please Help


Hi

I can't get my CacheRaq2 to cache anything ! Althought its old this is the first time its been used !

Here is the error i get in the cache.log

2003/06/10 11:32:13| With 1024 file descriptors available
2003/06/10 11:32:13| DNS Socket created on FD 1
2003/06/10 11:32:13| Adding nameserver 10.100.53.0 from /etc/resolv.conf
2003/06/10 11:32:13| Adding nameserver 194.42.224.130 from /etc/resolv.conf
2003/06/10 11:32:13| Unlinkd pipe opened on FD 6
2003/06/10 11:32:13| Swap maxSize 7294976 KB, estimated 663179 objects
2003/06/10 11:32:13| Target number of buckets: 13263
2003/06/10 11:32:13| Using 16384 Store buckets
2003/06/10 11:32:13| Max Mem size: 65536 KB
2003/06/10 11:32:13| Max Swap size: 7294976 KB
2003/06/10 11:32:13| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2003/06/10 11:32:13| Store logging disabled
2003/06/10 11:32:13| /home/squid2/cache/08: (2) No such file or directory
FATAL: Failed to verify one of the swap directories, Check cache.log
for details. Run 'squid -z' to create swap directories
if needed, or if running Squid for the first time.
Squid Cache (Version 2.3.STABLE4): Terminated abnormally.
CPU Usage: 0.280 seconds = 0.180 user + 0.100 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 322


I tried telneting on as root and running squid -z but it didn't work. The message i got when i ran that was..

Welcome to the Cobalt CacheRaQ/CacheQube!
Any changes which you make the software or directory structure of this
product may affect its performance, reliability, and security. Proceed
at your own risk.
[root@webcache /root]# squid -z
sh: squid: command not found
[root@webcache /root]#

I'm a microsoft head and therefore don't know whats going on here !

Can somebody help me out please ?

Cheers

Dalek

Reply With Quote


Sponsored Links
  #2  
Old 06-10-2003, 08:14 AM
sehe sehe is offline
Web Hosting Master
 
Join Date: Jun 2003
Posts: 962
to find the "squid" binary try
"whereis squid" then rerun program with full path and -z option
it might fix the problem

Reply With Quote
  #3  
Old 06-10-2003, 08:17 AM
Dalek Dalek is offline
Newbie
 
Join Date: Jun 2002
Location: SCOTLAND
Posts: 19
Quote:
Originally posted by sehe
to find the "squid" binary try
"whereis squid" then rerun program with full path and -z option
it might fix the problem
Hi m8

Thanks for that !

When i run whereis squid i get the following

[root@webcache /root]# whereis squid
squid: /etc/squid

how do i change directory in this thing to get to that directory ?

Cheers

Craig

Reply With Quote
Sponsored Links
  #4  
Old 06-10-2003, 08:21 AM
Dalek Dalek is offline
Newbie
 
Join Date: Jun 2002
Location: SCOTLAND
Posts: 19
ok i've got into the directory but the command does not work...

[root@webcache /root]# cd /etc/squid
[root@webcache squid]# squid -z
sh: squid: command not found
[root@webcache squid]# dir
squid.conf squid.conf.master.orig squid.conf.virgin
squid.conf.master squid.conf.orig squid.conf.virgin.orig
[root@webcache squid]#

I must be coming accross a real tw@t...

Can anybody show me the light

Cheers

Craig

Reply With Quote
  #5  
Old 06-10-2003, 08:23 AM
sehe sehe is offline
Web Hosting Master
 
Join Date: Jun 2003
Posts: 962
you change dir with "cd dirname", but i am not sure if /etc/squid is a binary, might be directory with squid config files, maybe binary is called something else "squid2"
since i dont have one of this boxes its my best guess till now

Reply With Quote
  #6  
Old 06-10-2003, 08:26 AM
CmptrWz CmptrWz is offline
Junior Guru
 
Join Date: Sep 2001
Posts: 238
Damm laggy connection, two people posted in the time it took my comp to post the below.........which now looks like it won't work. But I will leave it anyway.



Try

/etc/squid/squid -z

or

cd /etc/squid
./squid -z

Reply With Quote
  #7  
Old 06-10-2003, 08:30 AM
sehe sehe is offline
Web Hosting Master
 
Join Date: Jun 2003
Posts: 962
Quote:
Originally posted by Dalek

[root@webcache squid]# dir
squid.conf squid.conf.master.orig squid.conf.virgin
squid.conf.master squid.conf.orig squid.conf.virgin.orig
[root@webcache squid]#
only config files there
try "locate squid | less" cause it will produce lot of output, binary should be somewhere like "/usr/sbin/squid"

"find / -name squid" might also help

Reply With Quote
  #8  
Old 06-10-2003, 08:34 AM
Dalek Dalek is offline
Newbie
 
Join Date: Jun 2002
Location: SCOTLAND
Posts: 19
Hi

Thanks for all your help guys!

This is what happens when i run those commands. Which one do i use ?

[root@webcache /root]# locate squid | less

/etc/rc.d/init.d/cacheqube-squid.init
/etc/rc.d/rc0.d/K25cacheqube-squid.init
/etc/rc.d/rc1.d/K25cacheqube-squid.init
/etc/rc.d/rc2.d/K25cacheqube-squid.init
/etc/rc.d/rc3.d/S75cacheqube-squid.init
/etc/rc.d/rc5.d/S75cacheqube-squid.init
/etc/rc.d/rc6.d/K25cacheqube-squid.init
/etc/squid
/etc/squid/squid.conf
/etc/squid/squid.conf.master
/etc/squid/squid.conf.master.orig
/etc/squid/squid.conf.orig
/etc/squid/squid.conf.virgin
/etc/squid/squid.conf.virgin.orig
/home/httpd/html/cobalt/info/squid.html
/usr/bin/check-squid
/usr/bin/squid-log-rotate
/var/lock/subsys/squid


[root@webcache /root]# find / -name squid
/var/lock/subsys/squid
/home/squid2/bin/squid

Cheers

Craig

Reply With Quote
  #9  
Old 06-10-2003, 08:38 AM
sehe sehe is offline
Web Hosting Master
 
Join Date: Jun 2003
Posts: 962
try /home/squid2/bin/squid with that -z option

Reply With Quote
  #10  
Old 06-10-2003, 08:41 AM
Dalek Dalek is offline
Newbie
 
Join Date: Jun 2002
Location: SCOTLAND
Posts: 19
Quote:
Originally posted by sehe
try /home/squid2/bin/squid with that -z option
Did that and it does this...

[root@webcache /root]# /home/squid2/bin/squid -z
FATAL: Unable to open configuration file: /tmp/squid2build/home/squid2/etc/squid
.conf: (2) No such file or directory
Squid Cache (Version 2.3.STABLE4): Terminated abnormally.
CPU Usage: 0.110 seconds = 0.070 user + 0.040 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 220
[root@webcache /root]#

What next ?

Craig

Reply With Quote
  #11  
Old 06-10-2003, 08:43 AM
sehe sehe is offline
Web Hosting Master
 
Join Date: Jun 2003
Posts: 962
try with the "-f configfile" option
i would assume /etc/squid/squid.conf
or /etc/squid/squid.conf is the right one
/home/squid2/bin/squid -z -f /etc/squid/config-file-in-here

Reply With Quote
  #12  
Old 06-10-2003, 08:46 AM
Dalek Dalek is offline
Newbie
 
Join Date: Jun 2002
Location: SCOTLAND
Posts: 19
ok tried that and am getting somewhere ...

[root@webcache /root]# /home/squid2/bin/squid -z -f /etc/squid/squid.conf
2003/06/10 13:43:55| Creating Swap Directories
FATAL: Failed to make swap directory /home/squid2/cache/07/4A: (13) Permission d
enied
Squid Cache (Version 2.3.STABLE4): Terminated abnormally.
CPU Usage: 5.740 seconds = 0.120 user + 5.620 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 7
[root@webcache /root]#

Any ideas ?

Craig

Reply With Quote
  #13  
Old 06-10-2003, 08:50 AM
sehe sehe is offline
Web Hosting Master
 
Join Date: Jun 2003
Posts: 962
well, permission denied sounds strange, since your being already "root", maybe some hardware problems or something, try "dmesg" and checkout last lines for errors ("whereis dmesg" if not found)

if you want pm me your box details and i take a look at it

Reply With Quote
  #14  
Old 06-10-2003, 09:03 AM
Dalek Dalek is offline
Newbie
 
Join Date: Jun 2002
Location: SCOTLAND
Posts: 19
Hi

Here is the results of that.

[root@webcache /root]# dmesg
Loading R4000 MMU routines.
CPU revision is: 000028a0
Primary ICACHE 32K (linesize 32 bytes)
Primary DCACHE 32K (linesize 32 bytes)
ns16550: console I/O
Probing PCI hardware.
Calibrating delay loop.. ok - 249.86 BogoMIPS
Memory: 127876k/131068k available (1144k kernel code, 2048k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
Linux IP multicast router 0.07.
Appletalk 0.17 for Linux NET3.035
VFS: Diskquotas version dquot_5.6.0 initialized
Checking for 'wait' instruction... available.
Linux version 2.0.34 (root@cj.cobaltnet.com) (gcc version 2.7.2) #1 Thu Mar 25 2
0:13:02 PST 1999
Starting kswapd v 1.5
Serial driver version 4.13 with no serial options enabled
tty00 at 0x1c800000 (irq = 7) is a 16550A
Real Time Clock Driver v1.09
Cobalt LCD Driver v2.10
loop: registered device at major 7
ide: Cobalt Networks IDE controller.
GAL CFG[00000003-->00000003]
ide0: BM-DMA at 0x1000cc00-0x1000cc07
ide1: BM-DMA at 0x1000cc08-0x1000cc0f
hda: ST310211A, 9541MB w/1024kB Cache, CHS=19386/16/63, UDMA
ide0 at 0x100001f0-0x100001f7,0x100003f6 on irq 14
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
linear personality registered
raid0 personality registered
raid1 personality registered
raid5 personality registered
scsi : 0 hosts.
scsi : detected total.
PPP: version 2.3.5 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
tulip.c:v0.76 4/22/97 becker@cesdis.gsfc.nasa.gov
eth0: DEC 21142 Tulip at 0x10100000, 00 10 e0 01 45 42, IRQ 4

eth0: Old format EEPROM on 'Cobalt 27' board. Using substitute media control in
fo.
eth0: EEPROM default media type MII 10baseT.
eth0: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
eth1: DEC 21142 Tulip at 0x10101000, 00 10 e0 01 45 45, IRQ 13

eth1: Old format EEPROM on 'Cobalt 27' board. Using substitute media control in
fo.
eth1: EEPROM default media type MII 10baseT.
eth1: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Partition check:
hda: hda1 hda2 hda3 hda4
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 102812k swap-space (priority -1)
rs_close: bad serial port count; tty->count is 1, info->count is 0
eth0: Using user-specified media MII.
eth0: Using user-specified media MII.
[root@webcache /root]#

I don't see any errors m8. You talking about taking a look at my cacheRaq remotley m8 ? I might be able to set up an external ip address for you to gain access ? Would that help or can i do anything else from my end ?

Cheers

Craig

Reply With Quote
  #15  
Old 06-10-2003, 09:05 AM
sehe sehe is offline
Web Hosting Master
 
Join Date: Jun 2003
Posts: 962
looks like no errors
if you setup external ip for your box or something that i can "ssh" into it, i will help you fixing your problem

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
HostingCon Preview: Q&A with David Koston of Fortuity LLC Web Hosting News 2012-07-10 12:54:20
KnownHost Launches Unmanaged VPS Hosting with New Brand, RocketVPS Web Hosting News 2012-02-27 14:54:51
IT Management Software Firm SolarWinds Launches Synthetic End User Monitor Web Hosting News 2011-08-19 18:46:21
CDN Provider Cotendo Secures $17 Million Funding, Launches Mobile Acceleration Suite Web Hosting News 2011-06-15 14:02:38
World IPv6 Day a Success, say Organizers and Web Hosts Web Hosting News 2011-06-09 15:53:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?