Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







FreeBSD & CentOS (MySQL)


Setting up a storage and web server.

For transferring files from the storage to the web server, i was planning on streaming it over a private gigabit network line.

FreeBSD would be the best choice in terms of network thorouput correct?

Would FreeBSD also be a good choice for the web server as well? ( web + database on 15k scsi drives )

I've been reading a few posts on google about MySQL performance on FreeBSD but am not sure how well those results are substantiated - so I'm looking for a bottom line comparison between FreeBSD and CentOS in terms of network thoroughput and MySQL performance.


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
CentOS Or FreeBSD
We are basically looking for advice on which OS to choose. CentOS appeals as it is basically RHEL - and since people are paying for that they must be doing something right. It is apparently uber stable because the versions have been tested to death... but because the packages are so out of date, or just not there, we will need to install many things from source, which defeats the point to using it for its stability.

FreeBSD seems to have an awful lot of up to date packages, took a look at it on Distrowatch and was very impressed by many are the latest versions. This would make life so much easier because the package manager can handle installs and updates, really can't be bothered with messing around compiling software for install/updates.

In my mind, if an open source project as mature as the likes of Apache, PHP or MySQL, I am pretty sure you are very unlikely to experience problems by using the latest stable version. Surely by using older versions you are more likely to experience problems as of the result of bugs/security exploits that have only been fixed in the more recent releases.

Would you use FreeBSD or CentOS/RHEL? Or are both equally as good?

View Replies!   View Related
FreeBSD Or CentOS :: Which Is Better For Cpanel?
which is better for cPanel and more quality?

centOS

freeBSD?

View Replies!   View Related
Fedora, FreeBSD, Or CentOS
I am about to sign up for a dedicated server, and I have three options to choose from... actally, 6 options:

FEDORA C7 BASIC
FEDORA C7 PLESK 8.3

FREEBSD 6.3 BASIC
FREEBSD 6.3 PLESK 8.3

CENTOS 5.1 BASIC
CENTOS 5.1 PLESK 8.3

Which one should you pick and (most importantly) why?

View Replies!   View Related
OpenSUSE, CentOS Or FreeBSD?
*NIX systems and am only used to FreeBSD so far. My other only very small and modest experience was with SuSE Enterprise Server (SLES 10). I love FreeBSD (sorry Linux fans) and am somewhat biased towards Linux in general. Although I know the majority of websites are probably hosted by Linux. I am going colo so OS choice is down to me.

However what bothers me even more than this is whether OS should be properly supported (like SLES, RHEL) or totally free (like OpenSUSE, CentOS or FreeBSD)?

What would you recommend as a stable OS for i386 platform and what would be your choice support-wise?

View Replies!   View Related
CentOS, FreeBSD Or Gentoo
What would you choose for a high-end x64 server aimed at shared web hosting with cPanel? CentOS, FreeBSD or Gentoo?

View Replies!   View Related
Which Operating System Fedora Core, CentOS, FreeBSD
I currently run a dedicated with redhat 9 and am looking at a new server with either Fedora Core, CentOS, or FreeBSD.

I'd like your opinions on the best o/s to go with overall and also bearing in mind I'm coming from redhat and will be running cpanel on it...

View Replies!   View Related
MySQL 5.0.51 For FreeBSD
gAs per MySQL official page [url]

there is no MySQL 5.0.51 available for FreeBSD.

The latest available version is 5.0.45

5.0.51 was officially released more than a month ago.

View Replies!   View Related
MySQL Restart On CentOS - Chown
I have a lot of tables, being that I host multi forums. One thing I noticed when doing a mysql start up or restart is that it takes at least 15 minutes to do it. The server isn't bad, it's a Pentium D with 3GB of RAM and it runs perfectly fine. What I noticed is that after I do an SQL restart, I checked "top." The command that was running is "chown" and it sat at the top of the list, and kept going. Until finally mysql started and it stopped.

I imagine that all of the files in the data folder are being CHOWNed... and that's why it takes forever. If this is the case, how can I stop this, if at all? I don't see why they need to be CHOWNed?

View Replies!   View Related
PHP 4.3.9 MYSQL 4.1.20 UPGRADE On CENTOS 4 With Plesk 8
I am planning on upgrading to php 5. I really don't need to upgrade to mysql 5 but do you guys think I will face problems with PHP 5.2.9 and Mysql 4.1.20 working together...

I am planning on doing the upgrade like this (if I decide to upgrade PHP and MYSQL all together)

1. STEP
nano /etc/yum.repos.d/CentOS-Base.repo

2. STEP
change the enabled=0 to 1 as follows

[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=2
protect=1

4.STEP
yum install php-xml

5.STEP
yum update httpd* php* mysql*

and restart the server do you guys think I will face any problems.

If I am only upgrading the php to latest I am planning on doing

1.STEP
I will do the 2.STEP above

2.STEP
wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
yum install php-xml php-pdo
yum install php-pear
mv /etc/php.ini.rpmnew /etc/php.ini

and reboot

View Replies!   View Related
PHP 4.3.9 MYSQL 4.1.20 UPGRADE On CENTOS 4 With Plesk 8
I am planning on upgrading to php 5. I really don't need to upgrade to mysql 5 but do you guys think I will face problems with PHP 5.2.9 and Mysql 4.1.20 working together...

I am planning on doing the upgrade like this (if I decide to upgrade PHP and MYSQL all together)

1. STEP
nano /etc/yum.repos.d/CentOS-Base.repo

2. STEP
change the enabled=0 to 1 as follows

[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=[url]
release=$releasever&arch=$basearch&repo=centosplus
#baseurl=[url]
gpgcheck=1
enabled=1
gpgkey=[url]
priority=2
protect=1

4.STEP
yum install php-xml

5.STEP
yum update httpd* php* mysql*

and restart the server do you guys think I will face any problems.

If I am only upgrading the php to latest I am planning on doing

1.STEP
I will do the 2.STEP above

2.STEP
wget -q -O - [url]
yum install php-xml php-pdo
yum install php-pear
mv /etc/php.ini.rpmnew /etc/php.ini

and reboot

View Replies!   View Related
Enabling PDO W/ MySQL Extension On CentOS
I have a server running CentOS with PHP 5.2 and I'm trying to figure out how to enable PDO with the MySQL extension. I had thought PDO always came enabled with 5.2, but that apparently isn't so with this box. I am only familiar with Ubuntu/Debian, and am not sure how things are done on CentOs.

View Replies!   View Related
Apache, Mysql Automatically Start After Reboot Under CentOS
I have one bare server and installed everything myself. however, I found apache, mysqld can not automatically start after reboot, may I know how to enable them to automatically start after reboot?

View Replies!   View Related
MySQL Administrator GUI Disappear When Restore Backup On CentOS 5.x
I have some server with OS: CentOS 5.x

one day, I have to replicate 2 servers together. so, I have to stop webserver and use MySQL Administrator GUI Tool to backup it. My steps follow: (i work directly on Server 2 and i wantna to use mysql administrator gui to monitor and config replication).

1. Server 2: ssh to server 1-> connect mySQL -> add any host to root access

2. Server 2: use mySQL Administrator connect to server 1 with root

3. Server 2: backup from server 1 on Desktop location

4. Server 2: Restore it use mysql administrator tool.

It works well but when i click Restore button, MySQL Administrator GUI Tool disappear!

What's problem with this tools or server 2?

View Replies!   View Related
Installed MySQL In /usr/local/mysql But Error In /var/lib/mysql
I installed the MySQL binary packages in /usr/local/mysql/ after removing the MySQL RPM package. MySQL is functioning when I executed /usr/local/mysql/bin/safe_mysqld. I reinstalled MySQL before I installed PHP. When I used a PHP script to access a MySQL database, it outputs an error:

Code:
Warning: mysqli::mysqli() [function.mysqli-mysqli]: (HY000/2002): can't connect to local mysql server through socket /var/lib/mysql/mysql.sock in index.php on line 2
However, I installed MySQL in /usr/local/mysql, not in /var/lib/mysql. How do I fix MySQL?

View Replies!   View Related
I Moved Mysql From /var To /backup/mysql, Mysql Is No Longer Working
Since my /var partition is full, so I moved /var/lib/mysql to /backup/mysql/.

Seems all the files are copied and I changed my.cnf reboot mysql, but all the web sites using db is not working anymore..

View Replies!   View Related
Difference Between CentOs 5.0 And Centos 4.5? Both With Plesk
What is the difference between CentOs 5.0 and Centos 4.5? (Both contains Plesk)

Would CentOS 5 contain more updates and fixes? CentOS 4.5 be more stable?

View Replies!   View Related
FreeBSD 6.2 Vs FreeBSD 7.0
whether if i will an increase in performance or security if I upgrade from 6.3 to 7.0?

View Replies!   View Related
FreeBSD Security
I haven't really messed with FreeBSD very much, but I'm picking up a FreeBSD server and needed to know of a good free firewall for it.

On my CentOS/Debian servers I use CSF and have had good luck with it, so I would like something like that if there is one out there.

View Replies!   View Related
FreeBSD 6.3 - Confiure
I installed FreeBSD 6.3 with minimum packedges. (pkg.txt on attach)

Install Apache+PHP+MySQL

But then I load Drupal or Magento (CMS) browser say that:

Warning: include_once(includes/install.inc) [function.include-once]: failed to open stream: No such file or directory in /ftp/drupal.web/includes/database.inc on line 129

Warning: include_once() [function.include]: Failed opening 'includes/install.inc' for inclusion (include_path='/usr/local/share/phpmailer') in /ftp/drupal.web/includes/database.inc on line 129

Fatal error: Call to undefined function install_goto() in /ftp/drupal.web/includes/database.inc on line 130

I didn't udestand WHY?

In joomla and wordpress all work normla.

In attacment I send apache and php configs.

View Replies!   View Related
Space - FreeBSD
I am using FreeBSD with Cpanel.

df -h:

Filesystem Size Used Avail Capacity Mounted on
/dev/twed0s1a 496M 491M -35M 108% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/twed0s1h 86G 67G 12G 85% /home
/dev/twed0s1d 248M 21M 207M 9% /tmp
/dev/twed0s1g 15G 6.9G 6.5G 51% /usr
/dev/twed0s1f 4.8G 3.6G 827M 82% /var
procfs 4.0K 4.0K 0B 100% /proc

This is creating Problem at Cpanel,How can i recover space from /dev/twed0s1a.

View Replies!   View Related
FreeBSD __sbmaskrune
My system is affected with something named __sbmaskrune

I can't connect to FTP at this moment..

I am running FreeBSD

/scripts/ftpup
Ftp Setup Script Version 6.1
This is the proftpd installer
Searching ports for proftpd .....................................found proftpd in /usr/ports/ftp/proftpd....Done
proftpd (1.3.1-1) is already installed.
dedi01# /scripts/ftpup --force
Ftp Setup Script Version 6.1
This is the proftpd installer
/libexec/ld-elf.so.1: /usr/local/lib/libruby18.so.18: Undefined symbol "__sbmaskrune"
Removing old ftp server (pure-ftpd)
pkg_delete: no packages match pattern(s)
The ProFTPd configuration file /usr/local/etc/proftpd.conf appears to be ok!
No matching processes were found
Waiting for ftpserver to restart..............finished.

ftpserver has failed,

View Replies!   View Related
Freebsd Disk
i having an issue with FreeBSD...

I have a Raid5 setup and working fine, I just put 2 new 18gig drives for raid1.

Now i see in dmesg this.

amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 104193MB (213387264 sectors) RAID 5 (optimal)
amrd1: <LSILogic MegaRAID logical drive> on amr0
amrd1: 17365MB (35563520 sectors) RAID 1 (optimal)

In bold is the 'new' array.

in fdisk i get....

fdisk /dev/amrd1
******* Working on device /dev/amrd1 *******
parameters extracted from in-core disklabel are:
cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 35551782 (17359 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 164/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

I get write errors when i use sysinstall. As for the raid status. Its fine.

Logical Drive : 1( Adapter: 0 ): Status: OPTIMAL
---------------------------------------------------
SpanDepth :01 RaidLevel: 1 RdAhead : Adaptive Cache: CachedIo
StripSz :064KB Stripes : 2 WrPolicy: WriteThru

Logical Drive 1 : SpanLevel_0 Disks
Chnl Target StartBlock Blocks Physical Target Status
---- ------ ---------- ------ ----------------------
0 00 0x00000000 0x021ea800 ONLINE
0 03 0x00000000 0x021ea800 ONLINE

View Replies!   View Related
FreeBSD SMP On
How do I check if SMP is on in FreeBSD? And if its off what do I need to do to turn it on?

View Replies!   View Related
RAID1 On Freebsd
I plan to install one server with RAID with that run on a dedicated card which support FreeBSD. As i have not much experience in this,

View Replies!   View Related
FreeBSD VPS
I know someone probably asked this question... I am looking for a VPS provider that offers unmanaged VPSes with FreeBSD + Cpanel, 512RAM guaranteed, ~250-300GB bw, and 10-15GB hdd, for a price of $40-55/mo.

Can anyone recommend a good VPS provider that meets the above requirements?

View Replies!   View Related
FreeBSD VPS
Can anyone please suggest a good FreeBSD VPS hoster?

View Replies!   View Related
FreeBSd Command
whats the command to find out what file system do i use on my FreeBSD server?

Linux Cat didnt worked out.

View Replies!   View Related
FreeBSD 6.2 Installing
I'm facing this issue with FreeBSD 6.2.

After FreeBSD 6.2 install completely with no errors, the server is rebooted, then it says "no boot loader" even though the boot loader was installed during the setup.

I have tried to reinstall several times by 3 different sources, but no lucks.

View Replies!   View Related
Nmap From FreeBSD Jail
Does anybody has an experience with running nmap from FreeBSD Jail?

Nmap runs on main host OK, but when I try to run it from jail... NO CHANCE! Still has some problem...

View Replies!   View Related
Dedicated Server With FreeBSD
I've been a web developer for some years now, and I've been working with PHP/MySQL in Linux quite a lot, but I've never worked with Linux. But now, I'm in a project where the last programmer was a FreeBSD-guru, but not so good in PHP/MySQL, so they hired me to take over. So the project is hosted on a dedicated FreeBSD-server, and I need to get all sftp-accounts and change them. How do I do that? I have root-access with PuTTY, and I know the basic commands, but I don't know where to start looking for account-settings. Is there anyone who knows how to do this?

I also need to reset the root-login to MySQL. I've only done this on Windows, and I'm not to comfortable testing without knowing. I found this guide: ...

View Replies!   View Related
FreeBSD Make.conf
I was playing with a backup machine I have today. It's been running FreeBSD 6.3 a while now. I just realised today that CPUTYPE in make.conf was set wrong. When I set it to what it should be, according to the list of valid values, I got odd errors during world and kernel rebuilds, along with some from some ports. I googled it and found many people do not suggest setting that directive in make.conf. May I ask if anybody has experience with this, and what impact it would have on my box should I remove the directive and recompile?

View Replies!   View Related
Why Using FreeBSD For Shell Hosting
I have several question for make shell hosting company:

1. Most of shell hosting company using FreeBSD, why?

2. Is it possible to use linux as OS for shell hosting company?

3. How to secure linux OS for shell hosting company?

View Replies!   View Related
Bruteforce Detector For FreeBSD
I didn't find any bruteforce detector for FreeBSD, so just sharing a simple one I coded in case anyone is interested

I'm running it on cronjob each 5 minutes

any contribution is appreciated (maybe using BerkleyDB, but I don't think it will help unless you get a really big blacklist)

new version

I believe it's working correct now

changes
- not blocking 127.0.0.1 anymore (it could happen when some there are failed attempts to login using webmail, for example)

- it wasn't unblocking the IPs after the "timetoban" because ipfw didn't work the way I expected (you can't delete a rule by giving the rule, you must give the rule number)
If I knew that, I'd use another approax, but since it's already done, I just did a quick & dirty fix and it works now ....

View Replies!   View Related
File Permission On FreeBSD
I have problem with a file permission on FreeBSD.

The permission of that file is 0000, so I tried to change that
permission using chmod command. However, I got the following error:

chmod: file.php: Operation not permitted

I know that I have to check for file attributes. In redhat I used to
check that using lsattr command. However, I couldn't find it anywhere in FreeBSD.

Anyone here aware of an equivalent command that check file attributes?

View Replies!   View Related
The FreeBSD Vs. Cent OS Debate
I am about to buy a server to lease... and I was wondering FreeBSD or Cent OS?

I wanted to go with FreeBSD because it is known for the best uptime; but, are there drawbacks?

View Replies!   View Related
FreeBSD 6 And Zend Studio
I know its not on the System Req. page that Zend Studio supports it, but has anyone gotten Zend Studio to work on FreeBSD ( 5 or 6 ?? ), and if so, how?

View Replies!   View Related
FreeBSD 7 Outperforms Linux
Dramatic improvements in performance and SMP scalability shown by various database and other benchmarks, in some cases showing peak performance improvements as high as 350% over FreeBSD 6.X under normal loads and 1500% at high loads. When compared with the best performing Linux kernel (2.6.22 or 2.6.24) performance is 15% better. Results are from benchmarks used to analyze and improve system performance, results with your specific work load may vary.

View Replies!   View Related
FreeBsd Disk Geometry
a while since we have had to deal with a FreeBSD install as most of our customers have migrated to Centos 5.2. However, I am having an issue with an install of FreeBSD 7 on an AMD x64 server using the AMD build of FreeBSD on a 160GB SATA disk.

During the install process the setup program does not detect the drive geometry and adjusts the value to its "best guess". However, its best guess value does not appear to be the full available space on disk and after choosing the partition scheme the format seems to be successful however the install then fails when trying to copy the installation files from CD-Rom or Network boot to the local hard drive.

View Replies!   View Related
How To Mount SL Lockbox Under FreeBSD
I have a hard time to mount SL's Lockbox under FreeBSD. Can anyone help how the exact command should looks like?

View Replies!   View Related
Data Recovery On FreeBSD
Does anyone know whether if its possible to recover data on FreeBSD server?

View Replies!   View Related
Apache22 Security On Freebsd
I m configuring webserver on FreeBSD with Apache2.2+mysql50-server+php. What are the things that i can take into consideration for securing the web services and my server?

View Replies!   View Related
FreeBSD Top States
I've been using FreeBSD for a while now, but I still feel like a novice when looking at top because I don't understand or know what all of the STATES mean. I know that many of them represent different kernal states and certain programs have their own unique STATES, but what do the usuals mean? man top only has 2-3 listed with very vague descriptions.

Does anyone here understand many of them? If so it would be greatly appreciated if you could write up a few of the basic ones.

select
nanslp
kserel
RUN
pause
lockf
kqread
sbwait
pipered

Those are the ones I currently see in top. I know there are probably thosands of others, but those are the ones I usally look at.

View Replies!   View Related
FreeBSD & FFMPEG
after many painstaking hours, im at a loss as to where to go now (finally managed to get up to the point of running phpize in the ffmpeg directory)

...

Originally I thought i had compiled it in when compiling PHP,

Infact:

Code:
'./configure' '--disable-debug' '--disable-rpath' '--with-bz2' '--with-curl' '--with-gd' '--with-openssl' '--with-png' '--with-zlib' '--with-mcrypt' '--with-mysql' '--with-pear' '--enable-bcmath' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--with-ffmpeg=yes' '--with-apxs2=/usr/local/sbin/apxs'
But when i go to the tests/ffmpeg_test.php file I get:

Code:
Warning: dl() [function.dl]: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so" in /usr/local/www/apache22/data/tests/test_ffmpeg.php on line 17
Can't load extension /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so
I used the ports tree to install FFMPEG and here is the version info:

Code:
bsd# ffmpeg -v
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
built on Mar 14 2007 20:42:22, gcc: 3.4.6 [FreeBSD] 20060305
After finally getting to this point, i say the heck with it and just decide to try and use phpize and compile it in that way as an extension ( following: http://ffmpeg-php.sourceforge.net/ ).

However, after I got phpize to work ( had to cp autoconf259 and autoheader259 to autoconf and autoheader since it was complaining about it ), it gave me this set of errors:

Code:
/bin/sh /usr/local/src/ffmpeg-php-0.5.0/libtool --mode=compile gcc -I. -I/usr/local/src/ffmpeg-php-0.5.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.5.0/include -I/usr/local/src/ffmpeg-php-0.5.0/main -I/usr/local/src/ffmpeg-php-0.5.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c -o ffmpeg-php.lo
gcc -I. -I/usr/local/src/ffmpeg-php-0.5.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.5.0/include -I/usr/local/src/ffmpeg-php-0.5.0/main -I/usr/local/src/ffmpeg-php-0.5.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c -fPIC -DPIC -o ffmpeg-php.o
In file included from /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:25:
/usr/local/include/ffmpeg/avcodec.h:14:27: ffmpeg/common.h: No such file or directory
In file included from /usr/local/include/ffmpeg/avcodec.h:15,
from /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:25:
/usr/local/include/ffmpeg/rational.h: In function `av_cmp_q':
/usr/local/include/ffmpeg/rational.h:36: error: syntax error before "tmp"
/usr/local/include/ffmpeg/rational.h:38: error: `tmp' undeclared (first use in this function)
/usr/local/include/ffmpeg/rational.h:38: error: (Each undeclared identifier is reported only once
/usr/local/include/ffmpeg/rational.h:38: error: for each function it appears in.)
In file included from /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:26:
/usr/local/include/ffmpeg/avformat.h: In function `av_init_packet':
/usr/local/include/ffmpeg/avformat.h:48: warning: implicit declaration of function `int64_t_C'
/usr/local/include/ffmpeg/avformat.h:48: warning: integer constant is too large for "long" type
/usr/local/include/ffmpeg/avformat.h:49: warning: integer constant is too large for "long" type
*** Error code 1

Stop in /usr/local/src/ffmpeg-php-0.5.0.

After I get all this working and install it on a another machine I plan on writing a guide for FreeBSD users inside the tutorials section - but this one part has stumped me.

The only thing I can think of is something along the lines of maybe i downloaded a 64 bit version of something along the way?

Should i continue along this route with phpize adding it as an extension, or does someone else have some information on that ffmpeg_test.php file?

View Replies!   View Related
Nameserver On Freebsd Machine
i had made my own nameserver on my cpanel server running freebsd OS

im testing one domain uletbulu.org using the nameserver i had set but its seem the domain cannot resolved properly

im try checking it and here is the result

ERROR: Some of your nameservers listed at the parent nameservers did not respond. The ones that did not respond are:

64.85.161.121 Error=Port Unreachable
64.85.161.120 Error=Port Unreachable

completely result is here

[url]

from error msg i think that my server blocked bind port and also tcp connection to bind port

View Replies!   View Related
Sendmail Setup On FreeBSD 6.x
I got a new server running FreeBSD 6.x and WHM/Cpanel.
mail() in php does not work, so I am looking for guidance in setting up sendmail.

PHP info shows the following:
sendmail_path /usr/sbin/sendmail -t -i

View Replies!   View Related
FreeBSD Linux Compatibility
I have some linux binaries that I would like to run on a FreeBSD.

Now I understand that there is a linux compatibility layer to run these programs. If I am correct this is not an emulator, therefore there is no performance lost. Is this correct?

I want to run FreeBSD on an opteron server. There is a AMD64 version of FreeBSD, and there are also AMD64 versions of the binaries I want to run. If possible I would like to run the AMD64 versions in order to get better performance from the Opterons. Will the compatibility layer still work fine, or will it be converting to 32 bit processing, or even just giving an error?

View Replies!   View Related
Crontab + Php In Freebsd 6.1
i created a new cron job with "crontab -e" command by using the "root" user.

* * * * * php -f /path/file.php

i tried it for php -q too. while i type this command on the shell the php file works. there is no problem with crontab rule too. the chmod of file.php is 777, user root group wheel..

but it cant work. i couldnt understand why it aint.

i created a shell file and changed the cron like:

* * * * * /path/file.sh

and in file.sh:

#!/bin/sh
php -q /path/file.php
mkdir /path/anydir

so, /path/anydir have been created but file.php not executed. so the problem is not about cron rule.

View Replies!   View Related
Protection / Security Of FreeBSD !
I would like to request from people here that use FreeBSD to give us some tips of what should we do to protect and secure our FreeBSD dedicated servers.. I know there are many threads about it and i have searched them, but none of them are talking specifically for FreeBSD (most of them are for linux) and i would like to know exactly what do so as to be 100% protected..

If possible give and some tutorials or sites with tutorials so as to help us..

i am going to run a personal dedicated server which means that none else except me will have access to the server (if that helps you to give more specific info)

View Replies!   View Related
Data Recovery On FreeBSD
if its possible to recovred deleted data on Freebsd based systems?

Forum search didnt returned similar topics,anyone?

View Replies!   View Related
Apache Won't Restart (FreeBSD 6.1)
Server runs FreeBSD 6.1 and WHM/CPanel. Everything was working as usual, no changes were being made to the server, and all of a sudden all the web sites went down. WHM and CPanel and SSH remained accessible.

Restarting Apache (HTTPD) through WHM gives an error: "httpd has failed, please contact the sysadmin."

Rebooting the server didn't help, httpd still won't restart.

Attempting to do it via SSH gives this error:

server# /etc/rc.d/init.d/httpd restart
/etc/rc.d/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 210 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/lib/mysql/libmysqlclient.so.14: Undefined symbol "gethostbyname_r"
/etc/rc.d/init.d/httpd restart: httpd could not be started

# tail -f /usr/local/apache/logs/error_log
only shows some standard http errors for files not being found.

View Replies!   View Related
FreeBSD 6 Arp Errors
This is the current setup for the user (which is a normal setup)

ISP
|
switch
|WAN |LAN 10.10.10.0/24
servers

switch is a cisco 2924XL

So on the servers there's dual ports one serves for WAN traffic and the other serves Local traffic.

Ive added in the sysctl net.link.ether.inet.log_arp_wrong_iface = 0 still no affect.

error...

Quote:

arp: IP_ADDRESS is on fxp0 but got reply from HW_ADDRESS on fxp1
arp: IP_ADDRESS is on fxp0 but got reply from HW_ADDRESS on fxp1
arp: IP_ADDRESS is on fxp0 but got reply from HW_ADDRESS on fxp1
arp: IP_ADDRESS is on fxp0 but got reply from HW_ADDRESS on fxp1
arp: IP_ADDRESS is on fxp0 but got reply from HW_ADDRESS on fxp1
arp: IP_ADDRESS is on fxp0 but got reply from HW_ADDRESS on fxp1

View Replies!   View Related
FreeBSD Software RAID
We are planning on using FreeBSD's in-built mirroring to create a RAID disk. We've tested this with two drives, but they had different geometry and we think this is the reason that the second drive was unable to boot when connected alone instead of the first drive

If we get a server with 2 identical HDs, will this mean that the software RAID will make a full duplicate on the mirrored drive, including master boot record, partitions etc?

View Replies!   View Related
How To Secure A FreeBSD Server For Shell?
For hosting irc and shells i heard that the best choice for OS is the FreeBSD..

I would like to know if there are any toturials or if someone can write one.. (or give some tips) of how can i secure a machine running FreeBSD and used for irc + shells!

For example how can i install a firewall, a rootkit etc etc..

Also what about putting users at jail? (not allowing them see other dirs except theirs) how can i do that?

Also what about dont allow users use some commands like dmesg, ping, traceroute, and also how can i make them when they do ps -aux to only see their processes (to not be able see the other processes from other users..)

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved