File Permission On FreeBSD

Jan 6, 2008

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 5 Replies


ADVERTISEMENT

Changing File Permission

Feb 25, 2009

i've set all folders,sub folder and files under this folder to be 777 since it is a folder for my users to upload attachments~

however this is the problem. users all failed to upload because the permission of the new folder created by apache for the users to store their attachment are set to 755, which i wanted them to be 777. (those 777 folders were from old server.)

if u take a look at the pic attached , you know what i meant. does anyone have any idea of how i can change the permission for this whole foder to be 777 even with folder created by apache?

i tried chmod -r 777 attachment, but it says operation not permitted @@

View 9 Replies View Related

Output Of 2 Gb File Copy Test On SAS Hdd Under FreeBSD 7?

Oct 24, 2009

Can anyone provide me with output of 2 Gb file copy test on SAS hdd under FreeBSD 7 ?

I got something strange and just need compare results.

View 0 Replies View Related

Document Root And File Permission

Jul 21, 2008

I am running a LAMP server, working to get everything configured and as secure as I can make it. I have been trying to decide weather to change the document root to a different directory, or if it would be better/worse or more/less secure to chown and chmod the current directory.

Any input would be helpful, I just don't want to overlook some small detail as this is my first time handling a server on my own.

View 2 Replies View Related

Changing Multiple File Permission

Apr 2, 2007

in my server there is an issue where a lot of users simply chmod their directories to 0777 and its not easy for me to modified them back or ask them to change it back.

so anyone knows how can i search server via ssh to grep folder with permission 0777 and then automatically chmod these folders to 0755 ?

i think its possible to complete the above task with 1 command but not sure how.

View 2 Replies View Related

Apache :: How To Change Bulk File Permission From All Folder

Sep 14, 2013

Recently I moved my WordPress website to another server, After moving my site I see that my all files permission set to 664, for that I getting many error, now I want change all files permission 644, but problem is I have many subdomain with this site, is there any way to make change all files permission to 644 with SSH or any other way?

View 1 Replies View Related

Plesk 12.x / Linux :: File Permission And Backup Manager

May 27, 2015

I lately decide to change my server provided and I decided to go for pre-installed Plesk12 service , plesk installed with os installation and in the beginning was looking ok , till I faced two problems .

The first problem I found is on Backup manager , I set a daily backup with maximum of 5 but every day I receive the error :The backup backup_website.com_info_1505272137.xml and backup_website.com_info_1505262137.xml was not created , I check the current backup task and the two task shows fails.(picture attached)

The second problem I found It may be related , is concerning the File permission , the user root and on group root are not able to change any file permission but the user pinco on group root is able to change it as well as the user Pinco on group psacln/psaserv , I updated the plesk12 to latest release to see if maybe was some changes but unfortunately nothing

Not migration for domains and was fresh install for os and plesk12

Plesk version:12.0.18 Update #48
OS: CentOS 6.2 (Final)

View 7 Replies View Related

Plesk 12.x / Linux :: Deny User Upload File Via File Manager Or Hidden File Tab?

Feb 10, 2015

I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...

View 2 Replies View Related

1.com/file.php, 2.com/file.php Where File.php Is Hosted On Main.com/file.php

May 26, 2008

Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php.

I want to use the file like this:
website1.com/file.php
website2.com/file.php

View 2 Replies View Related

FreeBSD 6.2 Vs FreeBSD 7.0

Aug 14, 2008

whether if i will an increase in performance or security if I upgrade from 6.3 to 7.0?

View 12 Replies View Related

FreeBSD SMP On

Jan 10, 2007

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 8 Replies View Related

FreeBSD VPS

Aug 4, 2007

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 0 Replies View Related

FreeBSD VPS

Jul 9, 2007

Can anyone please suggest a good FreeBSD VPS hoster?

View 2 Replies View Related

FreeBSD Security

Apr 9, 2009

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 5 Replies View Related

FreeBSD 6.3 - Confiure

Jul 10, 2008

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 4 Replies View Related

Space - FreeBSD

Feb 11, 2008

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 6 Replies View Related

FreeBSD __sbmaskrune

Feb 1, 2008

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 7 Replies View Related

MySQL 5.0.51 For FreeBSD

Jan 8, 2008

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 3 Replies View Related

CentOS Or FreeBSD

Apr 8, 2008

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 14 Replies View Related

Freebsd Disk

Oct 8, 2007

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 1 Replies View Related

FreeBSD Top States

Feb 11, 2007

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 4 Replies View Related

FreeBSD & FFMPEG

Mar 15, 2007

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 14 Replies View Related

RAID1 On Freebsd

Oct 1, 2007

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 4 Replies View Related

Crontab + Php In Freebsd 6.1

Feb 5, 2007

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 5 Replies View Related

FreeBSD 6 Arp Errors

Dec 27, 2007

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 7 Replies View Related

FreeBSd Command

Oct 25, 2007

whats the command to find out what file system do i use on my FreeBSD server?

Linux Cat didnt worked out.

View 2 Replies View Related

FreeBSD 6.2 Installing

Oct 20, 2007

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 3 Replies View Related

Nmap From FreeBSD Jail

Jun 2, 2008

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 2 Replies View Related

Dedicated Server With FreeBSD

Jul 1, 2006

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 1 Replies View Related

Directory Structure For /var/log On FreeBSD

Sep 3, 2006

I deleted my /var/log directory to clean up space, and now Exim won't work.

Can anyone please post the directory and subdirectory structure for /var/log on a FreeBSD system? I am hoping that with the right directories, the files will rewrite themselves...

View 0 Replies View Related

Fully Managed FreeBSD VPS

Jan 8, 2009

I may soon be in the market for a VPS, and would like a fully managed FreeBSD VPS. Preferably with either DirectAdmin or Plesk.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved